@keyframes hero-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gentle-float {
  0%, 100% { transform: rotate(1deg) translateY(0); }
  50% { transform: rotate(.35deg) translateY(-10px); }
}

@keyframes stat-pulse {
  0%, 100% { box-shadow: 0 12px 30px #294d3b33; }
  50% { box-shadow: 0 16px 42px rgba(201, 255, 103, .52); }
}

.hero-copy > * {
  animation: hero-rise .7s both cubic-bezier(.2,.75,.25,1);
}

.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }

.product-visual {
  animation: gentle-float 5.5s ease-in-out infinite;
  will-change: transform;
}

.floating-stat {
  animation: stat-pulse 2.8s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(.985);
  transition: opacity .58s ease var(--reveal-delay, 0ms), transform .68s cubic-bezier(.2,.75,.25,1) var(--reveal-delay, 0ms);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.button {
  position: relative;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
  transition: left .65s ease;
  pointer-events: none;
}

.button:hover::after {
  left: 125%;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
}
