/* ============================================================
   landing-5.css — floating elements, scroll reveals,
   redesigned final CTA panel
   ============================================================ */

/* ---------- Floating (gentle levitation) ---------- */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%      { transform: translateY(-9px) rotate(-1deg); }
}
@keyframes floatCoupon {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-14px) rotate(-3deg); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}

.hero__mockup-wrap { animation: floatY 6.5s ease-in-out infinite; }
.mockup__float-badge { animation: floatBadge 5s ease-in-out infinite; }
.affinity-mock { animation: floatY 7s ease-in-out infinite; }
.pm-mock { animation: floatSlow 8s ease-in-out infinite; }

/* Floating soft orbs (decorative) */
.float-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

/* ---------- Scroll reveal ---------- */
.reveal-ready {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal-in { opacity: 1; transform: none; }

/* ---------- Final CTA · redesigned panel ---------- */
.final-cta--v2 { padding: 110px 0; }
.cta-panel {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  background:
    radial-gradient(circle at 18% 12%, rgba(0,232,193,0.16), transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(67,83,255,0.30), transparent 50%),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  padding: 64px 72px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 40px 90px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: visible;
}
/* dashed perforation ring like a coupon */
.cta-panel::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1.5px dashed rgba(255,255,255,0.14);
  border-radius: 18px;
  pointer-events: none;
}
.cta-panel__body { position: relative; z-index: 2; }
.cta-panel h2 { margin: 18px auto 0; max-width: 16ch; }
.cta-panel .lead {
  margin: 18px auto 32px;
  color: rgba(255,255,255,0.8);
  max-width: 56ch;
}

/* Floating coupon badge */
.cta-panel__coupon {
  position: absolute;
  top: -34px;
  right: -26px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 112px; height: 112px;
  border-radius: 50%;
  background: linear-gradient(150deg, #00FAD0, var(--turquoise));
  color: #00261F;
  box-shadow: 0 18px 40px rgba(0,232,193,0.45);
  animation: floatCoupon 5.5s ease-in-out infinite;
}
.cta-panel__coupon::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1.5px dashed rgba(0,38,31,0.35);
  border-radius: 50%;
}
.cta-panel__coupon-pct { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.cta-panel__coupon-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }

/* Chips row */
.cta-chips {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.cta-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
}
.cta-chips li svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--turquoise);
}

@media (max-width: 720px) {
  .final-cta--v2 { padding: 72px 0; }
  .cta-panel { padding: 48px 24px 40px; border-radius: 22px; }
  .cta-panel::before { inset: 10px; }
  .cta-panel__coupon { width: 88px; height: 88px; top: -26px; right: 50%; transform: translateX(50%) rotate(-6deg); animation: none; }
  .cta-panel__coupon-pct { font-size: 24px; }
  .cta-panel h2 { margin-top: 28px; }
  .cta-chips { gap: 8px; }
  .cta-chips li { font-size: 13px; padding: 8px 13px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__mockup-wrap, .mockup__float-badge, .affinity-mock,
  .pm-mock, .cta-panel__coupon { animation: none !important; }
  .reveal-ready { opacity: 1 !important; transform: none !important; }
}
