/* =========================================================================
   SILICON VALLEY KINETIC ANIMATIONS: LEFT-TO-RIGHT ENGINE
   Why it works: Uses cubic-bezier(0.16, 1, 0.3, 1) easeOutExpo physics.
   Cards glide from left with momentum, feeling tactile & high-budget.
   ========================================================================= */

/* Top Nav Slide Down with Fade */
.animate-nav {
  opacity: 0;
  transform: translateY(-20px);
  animation: navSlideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

@keyframes navSlideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Center Entrance: Dramatic Glide from Left (-40px to 0) */
.animate-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  animation: glideLeftToCenter 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes glideLeftToCenter {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll-Triggered Cards: Initial State offset to the left */
.slide-on-scroll {
  opacity: 0;
  transform: translateX(-45px);
  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;
}

/* Activated State when Scrolled into View */
.slide-on-scroll.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger Delays for Multiple Half-Cards */
.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.18s;
}

.delay-3 {
  transition-delay: 0.28s;
}

/* Master Logo Floating */
.hero-master-logo {
  animation: logoFloating 5s ease-in-out infinite alternate;
}

@keyframes logoFloating {
  0% {
    transform: translateY(0px);
    filter: drop-shadow(0 0 25px rgba(51, 111, 183, 0.25));
  }
  100% {
    transform: translateY(-6px);
    filter: drop-shadow(0 0 45px rgba(51, 111, 183, 0.45));
  }
}

/* Pulse Ring Animation */
.pulse-ring {
  animation: radarPing 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radarPing {
  0% {
    box-shadow: 0 0 0 0 rgba(51, 111, 183, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(51, 111, 183, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(51, 111, 183, 0);
  }
}