/* Защита от горизонтального скролла */
html, body { 
  overflow-x: hidden; 
  max-width: 100vw; 
}

/* Адаптация к светлой теме */
.bg-dark {
  background-color: var(--dark) !important;
  color: var(--light) !important;
}

.bg-light {
  background-color: var(--light) !important;
  color: var(--dark) !important;
}

.card {
  border: none;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.timeline-item {
  position: relative;
  padding-left: 40px;
  margin-bottom: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--light);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 24px;
  width: 2px;
  height: calc(100% + 10px);
  background: var(--primary);
  opacity: 0.3;
}

.timeline-item:last-child::after {
  display: none;
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0;
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--light);
  border-radius: 12px;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.team-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  padding: 40px;
  color: var(--light);
  margin: 40px 0;
}

.cta-section {
  background: var(--accent);
  border-radius: 16px;
  padding: 50px 30px;
  text-align: center;
  margin-top: 50px;
}