/**
 * animations.css — Refined Motion & Accessibility Overrides
 */

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-mesh-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-fade-in {
  animation: fade-in var(--transition-normal) forwards;
}

.animate-slide-up {
  animation: slide-up var(--transition-smooth) forwards;
}

.hero-mesh-background {
  background: radial-gradient(circle at 50% 0%, rgba(31, 94, 255, 0.08) 0%, transparent 70%);
}

/* Reduced Motion Mode for Accessibility (WCAG 2.2 AA) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .status-running::before {
    animation: none;
  }
}
