@keyframes hero-bg-pan {
  0% {
    transform: scale(1.05) translate(0, 0);
  }
  50% {
    transform: scale(1.08) translate(-1%, -0.5%);
  }
  100% {
    transform: scale(1.05) translate(0, 0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-accent {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.35);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(34, 211, 238, 0);
  }
}

@keyframes stat-glow {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

.hero__bg-animate {
  animation: hero-bg-pan 28s ease-in-out infinite;
}

.is-visible {
  animation: fade-up 0.65s ease-out forwards;
}

.stat-card--pulse {
  animation: pulse-accent 3.2s ease-in-out infinite;
}

.stat-value--animating {
  animation: stat-glow 0.4s ease-out;
}

.nav-link--active {
  background-color: #163a45;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg-animate,
  .stat-card--pulse {
    animation: none;
  }

  .is-visible {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
