/* Animations & Motion System - Shivora Labs */

/* Smooth Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Stagger entrance delays */
.stagger-1 { transition-delay: 80ms; }
.stagger-2 { transition-delay: 160ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 320ms; }
.stagger-5 { transition-delay: 400ms; }
.stagger-6 { transition-delay: 480ms; }

/* Micro-interactions & Pulses */
@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.15)) drop-shadow(0 0 30px rgba(138, 43, 226, 0.1));
  }
  50% {
    filter: drop-shadow(0 0 25px rgba(0, 229, 255, 0.3)) drop-shadow(0 0 45px rgba(138, 43, 226, 0.25));
  }
}

.animate-logo-glow {
  animation: logoGlow 6s infinite ease-in-out;
}

/* Pulse animation for active states / dots */
@keyframes dotPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.5);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(0, 229, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
  }
}

.pulse-dot {
  animation: dotPulse 2s infinite;
}

/* Floating effect for CSS Phone mockup */
@keyframes floatPhone {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

.float-mockup {
  animation: floatPhone 6s infinite ease-in-out;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.7)) drop-shadow(0 0 1px rgba(82,239,229,0.18));
  border-radius: 28px;
}

/* Hero elements entry layout */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-enter {
  opacity: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Interactive Mockup Wave Chart bar animation */
@keyframes waveGrow {
  0%, 100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

.mockup-wave-bar {
  transform-origin: bottom;
  animation: waveGrow 1.5s infinite ease-in-out;
}

/* Stagger mockup wave animation bars */
.wave-1 { animation-delay: 0.1s; }
.wave-2 { animation-delay: 0.4s; }
.wave-3 { animation-delay: 0.2s; }
.wave-4 { animation-delay: 0.6s; }
.wave-5 { animation-delay: 0.3s; }
