/* BoostNet Flow - Animations & Fluid Effects */
/* Stepped Reveal Transitions */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }

/* Floating Devices Animation */
@keyframes floatGentle1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
}

@keyframes floatGentle2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-0.5deg); }
}

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

.float-device-1 {
  animation: floatGentle1 6s ease-in-out infinite;
}

.float-device-2 {
  animation: floatGentle2 7.5s ease-in-out infinite 0.5s;
}

.float-device-3 {
  animation: floatGentle3 5s ease-in-out infinite 1s;
}

/* Fluid Pulse & Flow Animations */
@keyframes fluidGlowPulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

.fluid-pulse-glow {
  animation: fluidGlowPulse 4.5s ease-in-out infinite;
}

/* SVG Data Flow Animation on Paths */
@keyframes dashFlow {
  to {
    stroke-dashoffset: -100;
  }
}

.svg-data-path {
  stroke-dasharray: 6 8;
  animation: dashFlow 3s linear infinite;
}

.svg-data-path-fast {
  stroke-dasharray: 4 6;
  animation: dashFlow 1.8s linear infinite;
}

/* Elastic Click Feedback */
.elastic-touch {
  transition: transform var(--transition-fast) !important;
}

.elastic-touch:active {
  transform: scale(0.97) !important;
}

/* Pointer Glow / Light Spotlight */
.hero-glow-spot {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(167, 243, 208, 0.08) 50%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
  z-index: 1;
}

/* Reduced Motion Override */
@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;
  }
}
