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

/* Адаптация к теме сайта */
.bg-light {
  background-color: var(--dark-surface) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card {
  background-color: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  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.3);
}

.bg-dark {
  background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-surface-light) 100%);
}

.text-light {
  color: var(--text-primary) !important;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--primary), 0.4);
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-accent);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--dark-bg);
}

.stats-box {
  text-align: center;
  padding: 2rem;
  border-radius: 10px;
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

.value-card {
  height: 100%;
  padding: 2rem;
  border-radius: 10px;
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.lead {
  color: var(--text-secondary);
  font-size: 1.25rem;
  line-height: 1.6;
}

h2 {
  color: var(--text-primary);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.highlight-text {
  color: var(--accent);
  font-weight: 600;
}