/* v2.2.0: Stats counter section styles */
.stats-section {
  padding: var(--space-3xl) 0;
}

.stats-section--default {
  background: white;
}

.stats-section--accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark, #1a5a3a) 100%);
  color: white;
}

.stats-section--accent .section-title,
.stats-section--accent .stat-value,
.stats-section--accent .stat-label {
  color: white;
}

.stats-section--accent .stat-description,
.stats-section--accent .section-subtitle {
  color: rgba(255,255,255,0.8);
}

.stats-section--dark {
  background: var(--gray-900);
  color: white;
}

.stats-section--dark .section-title,
.stats-section--dark .stat-value,
.stats-section--dark .stat-label {
  color: white;
}

.stats-section--dark .stat-description {
  color: var(--gray-400);
}

.stats-grid {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.stats-grid--2 { grid-template-columns: repeat(2, 1fr); }
.stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
.stats-grid--4 { grid-template-columns: repeat(4, 1fr); }

.stat-item {
  text-align: center;
  padding: var(--space-lg);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
}

.stat-description {
  font-size: 0.875rem;
  color: var(--gray-500);
  max-width: 200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .stats-grid--3,
  .stats-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-value {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .stats-grid--2,
  .stats-grid--3,
  .stats-grid--4 {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: var(--space-md);
  }
}
