/* =====================================================================
   First-look section
   ===================================================================== */
.stage { min-height: calc(100vh - 118px); min-height: calc(100svh - 118px); }

.peek-cue { margin-top: 26px; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; opacity: 0; animation: rise 0.9s 1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; transition: color 0.2s ease; }
.peek-cue:hover { color: var(--ink); }
.peek-cue svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.preview { position: relative; z-index: 2; padding: 84px clamp(16px, 5vw, 56px) 70px; text-align: center; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; }
.preview h2 { font-size: clamp(30px, 5.4vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.06; }
.preview h2 em { font-style: normal; background: linear-gradient(100deg, #ffd27a, var(--gold) 45%, var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 14px auto 0; max-width: 520px; font-size: 16px; color: var(--muted); }

.devices { display: flex; justify-content: center; align-items: flex-start; gap: clamp(20px, 3.4vw, 48px); max-width: 1080px; margin: 56px auto 0; }
.device { flex: 0 0 auto; width: 262px; }
.device-mid { transform: translateY(-22px) scale(1.05); }
.device figcaption { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.device figcaption strong { font-size: 17px; letter-spacing: -0.02em; }
.device figcaption span { font-size: 14px; color: var(--muted); }

.phone { position: relative; width: 262px; height: 510px; padding: 9px; border-radius: 44px; background: linear-gradient(160deg, #2c374b, #0a111d 60%); box-shadow: 0 34px 90px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 0 70px rgba(245, 166, 35, 0.12); }
.notch { position: absolute; z-index: 6; top: 17px; left: 50%; width: 86px; height: 23px; border-radius: 14px; background: #02050a; transform: translateX(-50%); }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; text-align: center; background: linear-gradient(180deg, #4a2608 0%, #1a0f08 42%, #070606 100%); }
.screen .bar { display: flex; justify-content: space-between; align-items: center; padding: 46px 20px 8px; font-size: 14px; }
.screen .bar span { width: 14px; }
.screen .bar b { font-weight: 600; }
.screen .back { font-size: 24px; line-height: 1; color: var(--muted); }

/* --- phone 1: tap to pay --- */
.tap-stage { position: relative; flex: 1; }
.tap-orb { position: absolute; left: 50%; top: 62px; width: 0; height: 0; }
.tap-core { position: absolute; left: -34px; top: -34px; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 32% 26%, #ffe2a6, var(--gold) 46%, #c97a0a); box-shadow: 0 8px 30px rgba(245, 166, 35, 0.55), 0 0 60px rgba(245, 166, 35, 0.35); }
.tap-core svg { width: 32px; height: 32px; fill: #1a1004; }
.tr { position: absolute; left: -34px; top: -34px; width: 68px; height: 68px; border-radius: 50%; border: 1.5px solid rgba(245, 166, 35, 0.7); opacity: 0; animation: ripple 2.6s ease-out infinite; }
.tr2 { animation-delay: 1.3s; }
.tap-texts { position: absolute; left: 14px; right: 14px; top: 176px; height: 190px; }
.t { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; opacity: 0; transform: translateY(10px); animation-duration: 10s; animation-iteration-count: infinite; animation-timing-function: ease; }
.t b { font-size: 19px; letter-spacing: -0.02em; }
.t small { font-size: 13px; color: var(--muted); }
.t1 { animation-name: w1; }
.t2 { animation-name: w2; }
.t3 { animation-name: w3; }
.t4 { animation-name: w4; }
@keyframes w1 { 0%, 22% { opacity: 1; transform: none; } 28%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes w2 { 0%, 24% { opacity: 0; transform: translateY(10px); } 30%, 46% { opacity: 1; transform: none; } 52%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes w3 { 0%, 48% { opacity: 0; transform: translateY(10px); } 54%, 74% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes w4 { 0%, 76% { opacity: 0; transform: translateY(10px); } 82%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.amt { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; }
.swipe { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.swipe i { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); animation: lift 1.6s ease-in-out infinite; }
@keyframes lift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.ok { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(34, 197, 94, 0.16); border: 1.5px solid rgba(34, 197, 94, 0.7); margin-bottom: 4px; }
.ok svg { width: 26px; height: 26px; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* --- phone 2: shop QR --- */
.shop-body { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 6px 22px 0; }
.shop-amt { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; margin-top: 6px; }
.qr-box { position: relative; width: 176px; padding: 12px; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.qr-box img { display: block; width: 100%; height: auto; }
.beam { position: absolute; left: 0; right: 0; top: 0; height: 36px; background: linear-gradient(180deg, transparent, rgba(245, 166, 35, 0.55), transparent); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateY(-40px); } 100% { transform: translateY(190px); } }
.shop-status { position: relative; width: 100%; height: 44px; margin-top: 4px; }
.shop-status p { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; animation-duration: 8s; animation-iteration-count: infinite; }
.shop-status .w { color: var(--muted); animation-name: sw; }
.shop-status .r { color: var(--ok); font-weight: 700; font-size: 17px; opacity: 0; animation-name: sr; }
.shop-status .r svg { width: 20px; height: 20px; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes sw { 0%, 66% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes sr { 0%, 68% { opacity: 0; transform: translateY(8px); } 76%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* --- phone 3: insights --- */
.ins-body { flex: 1; padding: 6px 20px 0; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.pills { display: flex; gap: 6px; margin-bottom: 18px; }
.pills i { font-style: normal; font-size: 11px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.pills i.on { background: var(--gold); color: #1a1004; }
.ins-label { font-size: 12px; color: var(--muted); }
.ins-amt { font-size: 38px; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 18px; }
.bars { align-self: stretch; height: 150px; display: flex; align-items: flex-end; gap: 8px; border-bottom: 1px solid var(--line); }
.bars span { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: rgba(245, 166, 35, 0.4); transform-origin: bottom; animation: grow 3.6s ease-in-out infinite alternate; }
.bars span:nth-child(6) { background: var(--gold); box-shadow: 0 0 24px rgba(245, 166, 35, 0.5); }
.bars span:nth-child(2) { animation-delay: 0.1s; }
.bars span:nth-child(3) { animation-delay: 0.2s; }
.bars span:nth-child(4) { animation-delay: 0.3s; }
.bars span:nth-child(5) { animation-delay: 0.4s; }
.bars span:nth-child(6) { animation-delay: 0.5s; }
.bars span:nth-child(7) { animation-delay: 0.6s; }
@keyframes grow { 0% { transform: scaleY(0.35); } 40%, 100% { transform: scaleY(1); } }
.ins-foot { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* --- what you get --- */
.gets { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 920px; margin: 70px auto 0; text-align: left; }
.gets li { display: flex; gap: 14px; padding: 18px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.gi { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #1a1004; background: linear-gradient(135deg, #ffd27a, var(--gold)); }
.gets strong { display: block; font-size: 15px; letter-spacing: -0.01em; }
.gets span:not(.gi) { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }

.video { max-width: 760px; margin: 64px auto 0; }
.video[hidden] { display: none; }
.video h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 16px; }
.video video { width: 100%; border-radius: 22px; border: 1px solid var(--line); background: #000; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6); }

.cta-alt { display: inline-flex; align-items: center; justify-content: center; margin-top: 56px; text-decoration: none; }

@media (max-width: 900px) {
  .devices { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; padding: 24px 12vw 34px; margin: 40px calc(-1 * clamp(16px, 5vw, 56px)) 0; scrollbar-width: none; }
  .devices::-webkit-scrollbar { display: none; }
  .device { scroll-snap-align: center; }
  .device-mid { transform: none; }
  .gets { grid-template-columns: 1fr; margin-top: 36px; }
}

@media (max-width: 560px) {
  .preview { padding-top: 64px; }
  .cta-alt { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .t { animation: none; }
  .t3 { opacity: 1; transform: none; }
  .shop-status .r { animation: none; }
  .shop-status .w { animation: none; opacity: 1; }
  .bars span, .beam, .swipe i, .tr, .peek-cue svg { animation: none; }
  .peek-cue { opacity: 1; }
}

.tabbar { position: absolute; left: 18px; right: 18px; bottom: 16px; height: 46px; border-radius: 26px; display: flex; align-items: center; justify-content: space-around; background: rgba(22, 16, 12, 0.92); border: 1px solid var(--line); }
.tabbar i { width: 22px; height: 22px; border-radius: 7px; background: rgba(148, 163, 184, 0.35); }
.tabbar i.on { background: var(--gold); box-shadow: 0 0 14px rgba(245, 166, 35, 0.6); }
