/* ==========================================================================
   ANIMATIONS — subtle, GPU-friendly (transform / opacity only)
   ========================================================================== */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

.hero-in { opacity: 0; transform: translateY(22px); animation: hero-in 1.1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 120ms + 150ms); }
.card-in { animation: card-in 0.55s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }

@keyframes hero-in { to { opacity: 1; transform: none; } }
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes hero-drift { from { transform: scale(1.06) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
@keyframes light-sway { from { transform: rotate(-2deg) translateX(-2%); opacity: 0.6; } to { transform: rotate(2deg) translateX(2%); opacity: 1; } }
@keyframes particle {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  15% { opacity: 0.8; }
  100% { transform: translate3d(var(--drift), -105vh, 0); opacity: 0; }
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(61, 220, 132, 0); } }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.8; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
@keyframes pin-pulse { 0% { box-shadow: 0 0 0 0 rgba(15, 43, 66, 0.3); } 100% { box-shadow: 0 0 0 26px rgba(15, 43, 66, 0); } }
@keyframes badge-bump { 0% { transform: scale(1); } 30% { transform: scale(1.5); } 60% { transform: scale(0.9); } 100% { transform: scale(1); } }
@keyframes heart-pop { 0% { transform: scale(1); } 35% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes btn-pop { 0% { transform: scale(1); } 40% { transform: scale(0.95); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .particles, .hero__light, .scroll-cue, .wa-float__icon::before { display: none !important; }
  .hero__media img { transform: none !important; }
  .js .reveal, .hero-in { opacity: 1 !important; transform: none !important; }
}
.no-motion .reveal { opacity: 1 !important; transform: none !important; }
