/* Landing motion — respects prefers-reduced-motion */

@keyframes bg-drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(2%, 3%) scale(1.04);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(61, 219, 132, 0.12),
      0 20px 56px -24px rgba(61, 219, 132, 0.22);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(61, 219, 132, 0.22),
      0 24px 64px -20px rgba(61, 219, 132, 0.38);
  }
}

.bg-glow {
  animation: bg-drift 22s ease-in-out infinite alternate;
}

.hero__intro .pill {
  animation: fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__intro .hero__title {
  animation: fade-up 0.7s 0.07s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__intro .hero__lead {
  animation: fade-up 0.7s 0.14s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__intro .hero__cta {
  animation: fade-up 0.7s 0.21s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__stage .product-frame {
  animation: fade-up 0.85s 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__float--ai .hero__float-tag:nth-child(1) {
  animation: float-soft 4.2s ease-in-out infinite;
}

.hero__float--ai .hero__float-tag:nth-child(2) {
  animation: float-soft 4.2s 0.45s ease-in-out infinite;
}

.hero__float--ai .hero__float-tag:nth-child(3) {
  animation: float-soft 4.2s 0.9s ease-in-out infinite;
}

.hero__float--ai .hero__float-tag:nth-child(4) {
  animation: float-soft 4.2s 1.35s ease-in-out infinite;
}

.hero__float--wf .hero__float-wf {
  animation: float-soft 5s 0.6s ease-in-out infinite;
}

.price-card--featured {
  animation: glow-pulse 5s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.path-card.reveal:nth-child(1) {
  transition-delay: 0.04s;
}
.path-card.reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.path-card.reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.path-card.reveal:nth-child(4) {
  transition-delay: 0.22s;
}

.price-card.reveal:nth-child(1) {
  transition-delay: 0.04s;
}
.price-card.reveal:nth-child(2) {
  transition-delay: 0.12s;
}
.price-card.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.feat.reveal:nth-child(1) {
  transition-delay: 0.03s;
}
.feat.reveal:nth-child(2) {
  transition-delay: 0.07s;
}
.feat.reveal:nth-child(3) {
  transition-delay: 0.11s;
}
.feat.reveal:nth-child(4) {
  transition-delay: 0.15s;
}
.feat.reveal:nth-child(5) {
  transition-delay: 0.19s;
}
.feat.reveal:nth-child(6) {
  transition-delay: 0.23s;
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow,
  .hero__intro .pill,
  .hero__intro .hero__title,
  .hero__intro .hero__lead,
  .hero__intro .hero__cta,
  .hero__stage .product-frame,
  .hero__float--ai .hero__float-tag,
  .hero__float--wf .hero__float-wf,
  .price-card--featured {
    animation: none;
  }

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