.nav-link-active {
  background-color: #f1e8ff;
  color: #6b21a8;
  font-weight: 600;
}

@keyframes cc-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cc-slide-up {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stat-pop {
  0% {
    transform: scale(0.92);
    opacity: 0;
  }
  60% {
    transform: scale(1.02);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes soft-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(126, 34, 206, 0.18);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(126, 34, 206, 0);
  }
}

.cc-animate-in {
  animation: cc-fade-in 0.45s ease-out both;
}

.cc-banner-enter {
  animation: cc-slide-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stat-animate {
  animation: stat-pop 0.7s ease-out both;
}

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

.reveal-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .cc-animate-in,
  .cc-banner-enter,
  .stat-animate,
  .stat-card-pulse {
    animation: none !important;
  }

  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
