/* ==========================================================================
   ACUROINDIA — MOTION & ANIMATION SYSTEM
   Precision, calm, computational, premium
   ========================================================================== */

@keyframes signalPulse {
  0%, 100% {
    box-shadow: 0 0 6px #38bdf8, 0 0 12px rgba(2, 132, 199, 0.4);
    opacity: 0.7;
    transform: translateX(-50%) scale(1);
  }
  50% {
    box-shadow: 0 0 14px #38bdf8, 0 0 28px rgba(56, 189, 248, 0.8);
    opacity: 1;
    transform: translateX(-50%) scale(1.3);
  }
}

@keyframes nodePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(56, 189, 248, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
  }
}

@keyframes scanline {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(1000%);
  }
}

@keyframes dataFlow {
  0% {
    stroke-dashoffset: 100;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes radarSweep {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Interaction and Hover Classes */
.animate-pulse {
  animation: nodePulse 2.5s infinite;
}

.animate-float {
  animation: floatSlow 6s ease-in-out infinite;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }
.delay-5 { transition-delay: 500ms; }

/* Interactive Signal Node */
.signal-node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #38bdf8;
  position: relative;
  display: inline-block;
  box-shadow: 0 0 10px #38bdf8;
}

.signal-node::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.6);
  animation: nodePulse 2s infinite;
}

/* Accessibility: Reduced Motion */
@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;
  }
  
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
