/* ═══════════════════════════════════════════════════════════════
   THE HUNT – Animations
   ═══════════════════════════════════════════════════════════════ */

/* Keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes pulse-badge {
  0%, 100% { transform: translateX(-50%) scale(1);   box-shadow: 0 0 0   0   rgba(255,107,26,.4); }
  50%       { transform: translateX(-50%) scale(1.04); box-shadow: 0 0 18px 6px rgba(255,107,26,.25); }
}

@keyframes countdown-flip {
  0%   { transform: rotateX(0deg);   }
  50%  { transform: rotateX(-90deg); }
  100% { transform: rotateX(0deg);   }
}

@keyframes glow-ring {
  0%, 100% { box-shadow: 0 0 0   0px rgba(255,107,26,.5); }
  50%       { box-shadow: 0 0 24px 8px rgba(255,107,26,.15); }
}

/* Scroll-driven entrance animations (Intersection Observer) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* Hero entrance */
.hero-badge   { animation: fadeInUp .6s ease .1s both; }
.hero-title   { animation: fadeInUp .7s ease .2s both; }
.hero-subtitle{ animation: fadeInUp .7s ease .35s both; }
.countdown-wrapper { animation: fadeInUp .7s ease .45s both; }
.hero-cta     { animation: fadeInUp .7s ease .55s both; }
.hero-stats   { animation: fadeInUp .7s ease .65s both; }
.phone-img    { animation: fadeIn .9s ease .4s both, floatY 5s ease-in-out 1.5s infinite; }

/* Countdown digit change */
.countdown-num.changed {
  animation: countdown-flip .3s ease;
}

/* Glowing border on scroll */
.step-card:hover .step-icon,
.feature-card:hover .feature-icon { animation: glow-ring 1.5s ease-in-out infinite; }

/* Navbar transition */
.navbar { animation: fadeIn .5s ease; }
