@keyframes stat-count-up {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-card--visible .stat-card__value {
  animation: stat-count-up 0.6s ease-out forwards;
}

.stat-card--visible .stat-card__label {
  opacity: 0;
  animation: stat-count-up 0.65s ease-out 0.08s forwards;
}

@keyframes hero-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.12);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(225, 29, 72, 0.06);
  }
}

.hero-visual-card {
  animation: hero-glow 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .stat-card--visible .stat-card__value,
  .stat-card--visible .stat-card__label {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-visual-card {
    animation: none;
  }
}
