/* PhotoFlix website — the app's own palette (royal blue, navy, the logo's
   orange), one sans family, soft depth, motion that explains the product. */
:root {
  --blue: #0048E5;
  --blue-2: #2F6BFF;
  --navy: #14205A;
  --navy-2: #0B1440;
  --orange: #FEA702;
  --green: #16A34A;
  --ink: #14205A;
  --ink-2: #4A5578;
  --ink-3: #7A84A3;
  --bg: #FFFFFF;
  --bg-2: #F4F7FE;
  --line: #E3E8F5;
  --card: #FFFFFF;
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 32, 90, .06), 0 2px 8px rgba(20, 32, 90, .05);
  --shadow: 0 2px 6px rgba(20, 32, 90, .05), 0 18px 40px -12px rgba(20, 32, 90, .16);
  --shadow-lg: 0 30px 80px -20px rgba(11, 20, 64, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.025em; line-height: 1.1; font-weight: 800; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.grad-text { background: linear-gradient(100deg, var(--blue) 10%, #6C8CFF 55%, var(--orange) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  background: linear-gradient(135deg, var(--blue-2), var(--blue) 45%, var(--navy));
  background-size: 160% 100%; background-position: 0 0;
  color: #fff; box-shadow: 0 8px 22px -8px rgba(0, 72, 229, .65), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-position .5s var(--ease);
}
.btn:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 14px 30px -10px rgba(0, 72, 229, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn.lg { --h: 54px; padding: 0 28px; font-size: 16px; }
.btn.sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-sm); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px #C9D3EE, var(--shadow); }
.btn.white { background: #fff; color: var(--navy); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.btn.glass { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.btn.glass:hover { background: rgba(255,255,255,.18); }
.btn.full { width: 100%; }

/* ---------- Top bar ---------- */
.top { position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none; }
.top-in {
  pointer-events: auto; display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease), backdrop-filter .35s;
}
.top.scrolled .top-in { background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 0 0 1px rgba(20,32,90,.06), 0 10px 30px -12px rgba(20,32,90,.18); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; }
.brand b { color: var(--orange); font-weight: 800; }
.links { display: flex; gap: 4px; margin-inline: auto; }
.links a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color .2s, background .2s; }
.links a:hover { color: var(--ink); background: rgba(20,32,90,.05); }
.top-actions { display: flex; align-items: center; gap: 6px; }
.top-actions .link { padding: 8px 14px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.top-actions .link:hover { color: var(--blue); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(20,32,90,.06); align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .3s var(--ease), background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.top.open .menu-btn span { background: transparent; }
.top.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.top.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 600px at 50% -10%, #E6EDFF 0%, transparent 60%), linear-gradient(#F7F9FF, #fff 70%); }
.hero-bg::after { /* a faint grid that fades out */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(20,32,90,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20,32,90,.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; animation: drift 18s ease-in-out infinite alternate; }
.blob.b1 { width: 460px; height: 460px; background: #9DB6FF; top: -120px; left: -120px; }
.blob.b2 { width: 380px; height: 380px; background: #FFD98A; top: 40px; right: -120px; animation-delay: -6s; opacity: .45; }
.blob.b3 { width: 340px; height: 340px; background: #B9C9FF; top: 520px; left: 40%; animation-delay: -12s; opacity: .35; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }

.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: box-shadow .25s; }
.pill:hover { box-shadow: inset 0 0 0 1px #C9D3EE, var(--shadow); }
.pill .new { padding: 3px 9px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.pill .chev { color: var(--ink-3); transition: transform .25s var(--ease); }
.pill:hover .chev { transform: translateX(3px); }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 5.6vw, 68px); letter-spacing: -.04em; line-height: 1.02; }
.swap { display: inline-grid; vertical-align: bottom; }
.swap > span { grid-area: 1 / 1; white-space: nowrap; transition: opacity .55s var(--ease), transform .55s var(--ease), filter .55s; }
.swap > span:not(.on) { opacity: 0; transform: translateY(.45em); filter: blur(6px); }
.swap > span.leave { opacity: 0; transform: translateY(-.45em); filter: blur(6px); }
.lead { margin-top: 22px; font-size: 18.5px; line-height: 1.65; color: var(--ink-2); max-width: 540px; }
.cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--ink-3); font-size: 14px; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 17px; height: 17px; color: var(--green); }

/* The stage: a TV with a phone in front of it */
.stage { position: relative; aspect-ratio: 1 / .86; perspective: 1400px; }
.tv { position: absolute; inset: 4% 0 auto 4%; width: 92%; transform: rotateY(calc(-10deg + var(--nx, 0) * 7deg)) rotateX(calc(4deg - var(--ny, 0) * 5deg)); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.tv-screen { position: relative; aspect-ratio: 16 / 9.4; border-radius: 16px; overflow: hidden; background: #000; border: 10px solid #0E1330; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.06) inset; }
.tv-stand { width: 26%; height: 22px; margin: 0 auto; background: linear-gradient(#1A2150, #0E1330); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.tv-glare { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, transparent 35%); pointer-events: none; z-index: 5; }

.mode { position: absolute; inset: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.mode:not(.on) { opacity: 0; transform: scale(1.03); pointer-events: none; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.on { opacity: 1; }
.slide svg { width: 100%; height: 100%; }
.slide.on svg { animation: kenburns 7s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12) translate(2%, 1%); } to { transform: scale(1) translate(0, 0); } }
.caption { position: absolute; left: 4%; bottom: 7%; z-index: 3; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.caption small { display: block; font-size: clamp(9px, 1vw, 12px); opacity: .85; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.caption b { font-size: clamp(14px, 1.8vw, 22px); font-weight: 800; }
.dots { position: absolute; right: 4%; bottom: 8%; z-index: 3; display: flex; gap: 5px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.45); transition: width .4s var(--ease), background .4s; }
.dots i.on { width: 18px; background: #fff; }

.board { display: grid; grid-template-columns: 1.25fr 1fr; height: 100%; background: radial-gradient(120% 120% at 0 0, #1E3FA8, var(--navy-2) 60%); color: #fff; font-size: clamp(8px, 1.05vw, 13px); }
.board-now { padding: 7% 6%; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,.1); }
.board-now small { color: #9FB4FF; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85em; }
.board-now b { font-size: 5.4em; line-height: 1; letter-spacing: -.04em; margin: .15em 0; display: block; }
.board-now b.flash { animation: flash 1s var(--ease); }
@keyframes flash { 0% { transform: scale(.9); opacity: .2; color: var(--orange); } 60% { color: var(--orange); } 100% { transform: none; opacity: 1; } }
.board-now span { color: var(--orange); font-weight: 800; font-size: 1.3em; }
.board-now .wave { display: flex; gap: 3px; align-items: center; height: 1.8em; margin-top: 1em; }
.board-now .wave i { width: 3px; border-radius: 2px; background: #6C8CFF; animation: wave 1s ease-in-out infinite; }
.board-now .wave i:nth-child(2n) { animation-delay: -.3s; } .board-now .wave i:nth-child(3n) { animation-delay: -.6s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.board-next { padding: 7% 7%; display: flex; flex-direction: column; gap: .55em; justify-content: center; }
.board-next small { color: #9FB4FF; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .8em; margin-bottom: .2em; }
.board-next div { display: flex; justify-content: space-between; padding: .55em .8em; border-radius: .6em; background: rgba(255,255,255,.07); }
.board-next div b { font-weight: 800; } .board-next div span { color: #B9C6F0; }

.phone {
  position: absolute; right: -2%; bottom: 0; width: 34%; aspect-ratio: 9 / 19; border-radius: 34px; padding: 7px;
  background: linear-gradient(145deg, #2A325E, #0B1033); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.08);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-10px); } }
.phone-in { position: relative; height: 100%; border-radius: 28px; overflow: hidden; background: var(--bg-2); display: flex; flex-direction: column; font-size: clamp(7px, .82vw, 10.5px); }
.notch { position: absolute; top: 6px; left: 50%; translate: -50%; width: 32%; height: 4.2%; border-radius: 99px; background: #0B1033; z-index: 3; }
.ph-head { padding: 22% 9% 6%; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.ph-head small { opacity: .75; font-weight: 600; }
.ph-head b { display: block; font-size: 1.55em; font-weight: 800; letter-spacing: -.02em; }
.ph-tabs { display: flex; gap: 4%; margin-top: 8%; }
.ph-tabs span { flex: 1; text-align: center; padding: 4% 0; border-radius: 99px; background: rgba(255,255,255,.14); font-weight: 700; transition: background .5s, color .5s; }
.ph-tabs span.on { background: #fff; color: var(--blue); }
.ph-body { position: relative; flex: 1; }
.ph-view { position: absolute; inset: 0; padding: 7%; display: flex; flex-direction: column; gap: 5%; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.ph-view:not(.on) { opacity: 0; transform: translateX(12%); pointer-events: none; }
.ph-card { background: #fff; border-radius: 1.2em; padding: 7%; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 7%; }
.ph-card .th { width: 2.9em; height: 2.9em; border-radius: .8em; overflow: hidden; flex: none; }
.ph-card .th svg { width: 100%; height: 100%; }
.ph-card b { display: block; font-weight: 800; font-size: 1.1em; }
.ph-card small { color: var(--ink-3); font-weight: 600; }
.ph-card .live { margin-left: auto; width: .7em; height: .7em; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 .3em rgba(34,197,94,.2); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 .55em rgba(34,197,94,0); } }
.ph-big { background: #fff; border-radius: 1.2em; padding: 9% 8%; text-align: center; box-shadow: var(--shadow-sm); }
.ph-big small { color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85em; }
.ph-big b { display: block; font-size: 2.8em; font-weight: 800; letter-spacing: -.03em; color: var(--blue); line-height: 1.15; }
.ph-btn { margin-top: auto; padding: 8% 0; border-radius: 1.2em; text-align: center; color: #fff; font-weight: 800; font-size: 1.15em; background: linear-gradient(135deg, var(--blue), var(--navy)); box-shadow: 0 6px 16px -6px rgba(0,72,229,.6); }
.ph-btn.tap { animation: tap 3.2s ease-in-out infinite; }
@keyframes tap { 0%, 70%, 100% { transform: none; } 78% { transform: scale(.93); filter: brightness(1.15); } }

.float { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: var(--shadow); font-size: 13px; line-height: 1.3; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.float.show { opacity: 1; transform: none; }
.float b { display: block; font-weight: 800; }
.float small { color: var(--ink-3); font-weight: 600; }
.float .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; }
.float .ic svg { width: 18px; height: 18px; }
.float.f1 { left: -6%; top: 62%; } .float.f1 .ic { background: #22C55E; }
.float.f2 { left: 10%; top: -4%; } .float.f2 .ic { background: var(--orange); }

/* ---------- Works-on marquee ---------- */
.works { padding: 26px 0 10px; }
.works p { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.marquee { margin-top: 18px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-weight: 700; font-size: 15px; white-space: nowrap; }
.marquee-track svg { width: 19px; height: 19px; color: var(--blue); }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section.tint { background: var(--bg-2); }
.head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.head h2 { margin-top: 14px; font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -.035em; }
.head .sub { margin-top: 16px; font-size: 18px; color: var(--ink-2); }

/* Use cases (tabs) */
.uses-tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); position: relative; margin: 0 auto 44px; }
.uses-tabs-wrap { text-align: center; }
.uses-tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.uses-tabs button svg { width: 18px; height: 18px; }
.uses-tabs button[aria-selected="true"] { color: #fff; }
.uses-tabs .ind { position: absolute; z-index: 0; top: 5px; bottom: 5px; border-radius: 999px; background: linear-gradient(135deg, var(--blue), var(--navy)); box-shadow: 0 6px 16px -6px rgba(0,72,229,.6); transition: left .45s var(--ease), width .45s var(--ease); }
.use { display: none; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.use.on { display: grid; animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.use h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; }
.use > div > p { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #E8EEFF; color: var(--blue); }
.ticks .ic svg { width: 20px; height: 20px; }
.ticks b { display: block; font-weight: 800; }
.ticks span { color: var(--ink-2); font-size: 15px; }
.use-art { position: relative; border-radius: 28px; padding: 28px; min-height: 380px; overflow: hidden; background: linear-gradient(150deg, #E8EEFF, #F7F9FF); box-shadow: inset 0 0 0 1px var(--line); }
.use-art.dark { background: radial-gradient(120% 100% at 0 0, #213E9E, var(--navy-2)); box-shadow: none; color: #fff; }

/* Home art: a fan of album covers */
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.alb { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.alb:nth-child(2) { transform: translateY(26px); } .alb:nth-child(5) { transform: translateY(26px); }
.use-art:hover .alb { transform: translateY(-4px) rotate(-1deg); } .use-art:hover .alb:nth-child(2n) { transform: translateY(20px) rotate(1deg); }
.alb .cv { aspect-ratio: 1; } .alb .cv svg { width: 100%; height: 100%; }
.alb p { padding: 10px 12px 12px; font-weight: 800; font-size: 14px; } .alb p small { display: block; color: var(--ink-3); font-weight: 600; font-size: 12px; }

/* Business art: WhatsApp-style chat beside a token ticket */
.ticket { width: 62%; background: #fff; color: var(--ink); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lg); position: relative; }
.ticket small { color: var(--ink-3); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 11.5px; }
.ticket b { display: block; font-size: 54px; letter-spacing: -.04em; color: var(--blue); line-height: 1.1; }
.ticket .row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); padding-top: 12px; margin-top: 10px; border-top: 1.5px dashed var(--line); }
.ticket .row b { display: inline; font-size: 14px; color: var(--ink); letter-spacing: 0; }
.use-art.dark { display: flex; flex-direction: column; justify-content: center; }
.chat { position: relative; width: 66%; margin: -8px 0 0 auto; display: grid; gap: 10px; }
.bub { background: #DCF8C6; color: #0B3D1E; padding: 11px 14px; border-radius: 16px 16px 4px 16px; font-size: 14px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.bub small { display: block; text-align: right; color: #4D7A5A; font-size: 11px; margin-top: 2px; }
.use.on .bub { opacity: 1; transform: none; }
.use.on .bub:nth-child(2) { transition-delay: .5s; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { position: relative; padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feat::before { /* a soft light that follows the pointer */
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(0,72,229,.09), transparent 45%);
}
.feat:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px #C9D3EE, var(--shadow); }
.feat:hover::before { opacity: 1; }
.feat .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--navy)); box-shadow: 0 8px 18px -8px rgba(0,72,229,.7); transition: transform .4s var(--ease); }
.feat:hover .ic { transform: rotate(-6deg) scale(1.06); }
.feat .ic.o { background: linear-gradient(135deg, #FFC24A, #F08A00); box-shadow: 0 8px 18px -8px rgba(240,138,0,.7); }
.feat .ic svg { width: 23px; height: 23px; }
.feat h3 { margin-top: 20px; font-size: 19px; letter-spacing: -.02em; }
.feat p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; left: 16.6%; right: 16.6%; height: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; top: 31px; left: 16.6%; height: 2px; width: 0; background: linear-gradient(90deg, var(--blue), var(--orange)); transition: width 1.6s var(--ease) .2s; }
.steps.on::after { width: 66.8%; }
.steps li { text-align: center; position: relative; z-index: 1; }
.steps .n { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: #fff; color: var(--blue); font-weight: 800; font-size: 20px; box-shadow: inset 0 0 0 2px var(--line), var(--shadow); transition: background .5s, color .5s, box-shadow .5s; }
.steps.on li .n { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; box-shadow: 0 10px 24px -10px rgba(0,72,229,.8); }
.steps.on li:nth-child(2) .n { transition-delay: .7s; } .steps.on li:nth-child(3) .n { transition-delay: 1.4s; }
.steps h3 { margin-top: 22px; font-size: 20px; }
.steps p { margin: 8px auto 0; color: var(--ink-2); max-width: 290px; }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 80px; }
.num { padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.num b { display: block; font-size: 44px; letter-spacing: -.04em; line-height: 1.1; }
.num > span { color: var(--ink-2); font-size: 14.5px; font-weight: 600; }

/* Pricing */
.cycle { display: inline-flex; padding: 5px; margin-top: 26px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); position: relative; }
.cycle button { position: relative; z-index: 1; border: 0; background: none; padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--ink-2); transition: color .3s; }
.cycle button[aria-pressed="true"] { color: #fff; }
.cycle .ind { position: absolute; top: 5px; bottom: 5px; border-radius: 999px; background: var(--navy); transition: left .4s var(--ease), width .4s var(--ease); }
.cycle em { font-style: normal; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: #FFF1D1; color: #A56400; font-size: 12px; font-weight: 800; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.price { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.price:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px #C9D3EE, var(--shadow); }
.price h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.price .desc { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.amount { margin-top: 24px; display: flex; align-items: baseline; gap: 6px; min-height: 58px; }
.amount b { font-size: 48px; letter-spacing: -.04em; line-height: 1; }
.amount span { color: var(--ink-3); font-weight: 600; }
.amount .val { display: inline-block; transition: opacity .25s, transform .25s var(--ease); }
.amount .val.chg { opacity: 0; transform: translateY(-8px); }
.price .note { min-height: 20px; margin-top: 4px; font-size: 13px; color: var(--green); font-weight: 700; }
.list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; flex: 1; align-content: start; }
.list li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.list li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #E3F7EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.price.featured { color: #fff; background: radial-gradient(130% 90% at 100% 0, #2D5BFF 0%, var(--blue) 30%, var(--navy) 75%); box-shadow: 0 30px 60px -20px rgba(0,72,229,.55); transform: scale(1.03); }
.price.featured:hover { transform: scale(1.03) translateY(-4px); }
.price.featured::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--ang), rgba(255,255,255,.05), rgba(255,255,255,.7), var(--orange), rgba(255,255,255,.05) 40%, rgba(255,255,255,.05)); animation: spin-border 5s linear infinite; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price.featured .desc, .price.featured .amount span { color: #C7D3FF; }
.price.featured .note { color: #FFD27A; }
.price.featured .list li::before { background-color: rgba(255,255,255,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.badge { padding: 4px 10px; border-radius: 99px; background: var(--orange); color: var(--navy-2); font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.price-foot { text-align: center; margin-top: 28px; color: var(--ink-3); font-size: 14px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-grid .head { text-align: left; margin: 0; position: sticky; top: 110px; }
.faq-grid .head .sub a { color: var(--blue); font-weight: 700; }
.faq { display: grid; gap: 12px; }
.qa { border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.qa.open { box-shadow: inset 0 0 0 1px #C9D3EE, var(--shadow); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; border: 0; background: none; text-align: left; font-weight: 700; font-size: 16.5px; }
.qa .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); position: relative; transition: background .3s, transform .4s var(--ease); }
.qa .pm::before, .qa .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--blue); translate: -50% -50%; transition: transform .4s var(--ease), background .3s; }
.qa .pm::after { transform: rotate(90deg); }
.qa.open .pm { background: var(--blue); transform: rotate(180deg); }
.qa.open .pm::before, .qa.open .pm::after { background: #fff; }
.qa.open .pm::after { transform: rotate(0); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.qa.open .ans { grid-template-rows: 1fr; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { padding: 0 22px 22px; color: var(--ink-2); }
.qa .ans a { color: var(--blue); font-weight: 700; }

/* Final call to action */
.final { padding: 0 0 110px; }
.final-in { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 90px 30px; border-radius: 36px; color: #fff; background: radial-gradient(120% 140% at 50% 0, #2D5BFF, var(--blue) 30%, var(--navy-2) 80%); }
.final-in::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); }
.final-in .blob { opacity: .45; }
.final-in h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.04em; }
.final-in p { margin-top: 16px; font-size: 18px; color: #C7D3FF; }
.final-in .cta { justify-content: center; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid > div > p { margin-top: 14px; color: var(--ink-2); font-size: 14.5px; max-width: 300px; }
.foot h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 800; }
.foot ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.foot ul a { color: var(--ink-2); font-weight: 600; font-size: 14.5px; transition: color .2s; }
.foot ul a:hover { color: var(--blue); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }
.foot-bottom a:hover { color: var(--blue); }

/* Reveal on scroll */
.rv { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s), transform .35s var(--ease), box-shadow .35s var(--ease); }
.rv.in { opacity: 1; translate: none; }
.hero .rv { translate: 0 18px; }
.hero .rv.in { translate: none; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { text-align: center; } .lead { margin-inline: auto; } .cta, .trust { justify-content: center; }
  .stage { max-width: 640px; margin: 0 auto; width: 100%; }
  .use, .use.on { grid-template-columns: 1fr; gap: 36px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: 1fr; max-width: 460px; }
  .price.featured, .price.featured:hover { transform: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; } .faq-grid .head { position: static; text-align: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .links, .top-actions .link { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .top-in { background: rgba(255,255,255,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 0 0 1px rgba(20,32,90,.06), var(--shadow-sm); flex-wrap: wrap; border-radius: 26px; }
  .top.open .links { display: flex; flex-direction: column; width: 100%; order: 5; padding: 6px 0 4px; }
  .top.open .links a { padding: 12px 14px; font-size: 16px; }
  .top-actions .btn { display: none; }
  .top.open .top-actions { order: 6; width: 100%; padding-bottom: 6px; }
  .top.open .top-actions .link, .top.open .top-actions .btn { display: inline-flex; }
  .section { padding: 84px 0; }
  .steps { grid-template-columns: 1fr; gap: 34px; } .steps::before, .steps::after { display: none; }
  .numbers { grid-template-columns: 1fr 1fr; margin-top: 56px; }
}
@media (max-width: 560px) {
  .hero { padding: 116px 0 40px; }
  .stage { aspect-ratio: 1 / .8; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 17px; }
  .features { grid-template-columns: 1fr; }
  .float { display: none; }
  .phone { width: 38%; border-radius: 26px; padding: 5px; } .phone-in { border-radius: 22px; }
  .use-art { padding: 18px; min-height: 340px; }
  .ticket { width: 78%; } .chat { width: 86%; }
  .uses-tabs button { padding: 10px 16px; font-size: 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } .foot-grid > div:first-child { grid-column: 1 / -1; }
  .final-in { padding: 64px 22px; border-radius: 28px; }
  .num b { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; translate: none; }
}

/* ---------- Legal pages ---------- */
.legal-hero { padding: 150px 0 56px; background: radial-gradient(900px 400px at 50% -10%, #E6EDFF, transparent 70%), linear-gradient(#F7F9FF, #fff); text-align: center; }
.legal-hero h1 { margin-top: 14px; font-size: clamp(36px, 5vw, 56px); letter-spacing: -.04em; }
.legal-hero p { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.legal { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; padding-bottom: 110px; }
.toc { position: sticky; top: 110px; padding: 18px; border-radius: 18px; background: var(--bg-2); }
.toc b { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 2px 8px 8px; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; }
.toc a:hover { color: var(--ink); background: #fff; }
.toc a.on { color: var(--blue); background: #fff; box-shadow: var(--shadow-sm); }
.doc { max-width: 760px; }
.doc .summary { padding: 24px 26px; border-radius: 20px; background: linear-gradient(135deg, #EEF3FF, #F8FAFF); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 44px; }
.doc .summary h2 { font-size: 19px; margin: 0 0 12px; letter-spacing: -.02em; }
.doc .summary ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); }
.doc section { scroll-margin-top: 110px; padding-top: 6px; margin-bottom: 40px; }
.doc h2 { font-size: 24px; letter-spacing: -.025em; margin-bottom: 14px; }
.doc h3 { font-size: 17px; letter-spacing: -.01em; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin: 10px 0 0; display: grid; gap: 8px; }
.doc a { color: var(--blue); font-weight: 600; }
.doc strong { color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14.5px; }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: var(--bg-2); }
.doc td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.table-wrap { overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; }
  .doc td:first-child { white-space: normal; }
}

/* ===================== Motion layer (v2) ===================== */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --ang: 360deg; } }

/* Page-to-page fade (browsers that support it) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s ease both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), #6C8CFF, var(--orange)); }

/* Logo: a small hop on hover */
.brand img { transition: transform .5s var(--ease); filter: drop-shadow(0 4px 10px rgba(0,72,229,.3)); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }

/* Nav: a pill slides under the section you are reading */
.links { position: relative; }
.links a { position: relative; z-index: 1; }
.links a.on { color: var(--blue); }
.nav-ind { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: 999px; background: #E8EEFF; opacity: 0; transition: left .45s var(--ease), width .45s var(--ease), opacity .3s; }
.nav-ind.show { opacity: 1; }
@media (max-width: 820px) { .nav-ind { display: none; } }

/* Buttons: a light sweep on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.btn.ghost::after, .btn.white::after { background: linear-gradient(110deg, transparent 30%, rgba(0,72,229,.12) 50%, transparent 70%); }

/* Headline gradient slowly shimmers */
.grad-text { background-size: 200% 100%; animation: shimmer 6s ease-in-out infinite alternate; }
@keyframes shimmer { to { background-position: 100% 0; } }

/* NEW pill: a soft pulse */
.pill .new { position: relative; }
.pill .new::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(20,32,90,.45); animation: ping 2.4s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 8px rgba(20,32,90,0); } }

/* Hero stage: phone and toasts drift against the TV as the mouse moves */
.phone { translate: calc(var(--nx, 0) * -14px) calc(var(--ny, 0) * -10px); transition: translate .6s var(--ease); }
.float { translate: calc(var(--nx, 0) * 20px) calc(var(--ny, 0) * 14px); transition: opacity .7s var(--ease), transform .7s var(--ease), translate .6s var(--ease); }
.float.swap-out { opacity: 0; transform: translateY(-8px) scale(.97); }

/* Section headings: words rise one after another */
.head h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.head h2 .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 55ms + .05s); }
.head.in h2 .w > span { transform: none; }

/* Feature cards: tilt toward the pointer, with a glowing edge */
.features { perspective: 1000px; }
.feat { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: opacity .8s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s), transform .45s var(--ease), box-shadow .35s var(--ease); }
.feat:hover { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(-4px); }
.feat::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(0,72,229,.8), rgba(254,167,2,.5) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.feat:hover::after { opacity: 1; }

/* Product tabs: albums float gently */
.use.on .alb { animation: bob 6s ease-in-out infinite; }
.use.on .alb:nth-child(2n) { animation-delay: -3s; }
@keyframes bob { 50% { translate: 0 -6px; } }

/* How it works: a small live picture under each step */
.step-art { height: 118px; margin-top: 22px; display: grid; place-items: center; }
.code-card, .scan-card, .mini-tv { opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.steps.on .code-card { opacity: 1; transform: none; transition-delay: .3s; }
.steps.on .scan-card { opacity: 1; transform: none; transition-delay: 1s; }
.steps.on .mini-tv { opacity: 1; transform: none; transition-delay: 1.7s; }
.code-card { padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.code-card small { display: block; font-size: 11.5px; font-weight: 700; color: var(--ink-3); letter-spacing: .04em; }
.code { display: flex; gap: 5px; margin-top: 8px; }
.code i { width: 24px; height: 30px; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-weight: 800; color: transparent; background: var(--bg-2); box-shadow: inset 0 0 0 1.5px var(--line); }
.steps.on .code i { animation: digit 6s var(--ease) infinite; }
.code i:nth-child(2) { animation-delay: .15s !important; } .code i:nth-child(3) { animation-delay: .3s !important; } .code i:nth-child(4) { animation-delay: .45s !important; } .code i:nth-child(5) { animation-delay: .6s !important; } .code i:nth-child(6) { animation-delay: .75s !important; }
@keyframes digit { 0%, 8% { color: transparent; box-shadow: inset 0 0 0 1.5px var(--line); } 14%, 85% { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--blue); } 100% { color: transparent; } }
.ok { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 99px; background: #E3F7EA; color: var(--green); font-size: 12px; font-weight: 800; opacity: 0; }
.steps.on .code-card .ok { animation: ok 6s var(--ease) infinite 1.2s; }
.steps.on .scan-card .ok { animation: ok 4s var(--ease) infinite 1.8s; }
@keyframes ok { 0%, 20% { opacity: 0; transform: scale(.8); } 28%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.scan-card { position: relative; width: 112px; height: 112px; padding: 12px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); color: var(--navy); display: grid; place-items: center; overflow: hidden; }
.scan-card .qr-svg { width: 74px; height: 74px; }
.scan-card .beam { position: absolute; left: 8px; right: 8px; height: 3px; top: 12px; border-radius: 3px; background: var(--blue); box-shadow: 0 0 14px 3px rgba(0,72,229,.5); }
.steps.on .scan-card .beam { animation: beam 2s ease-in-out infinite alternate; }
@keyframes beam { to { top: calc(100% - 15px); } }
.scan-card .ok { position: absolute; bottom: 6px; margin: 0; }
.mini-tv { width: 160px; }
.mini-screen { position: relative; aspect-ratio: 16 / 9.4; border-radius: 9px; overflow: hidden; border: 5px solid #0E1330; box-shadow: var(--shadow); background: #000; }
.mini-screen svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.steps.on .mini-screen svg { animation: minislide 9s infinite; }
.steps.on .mini-screen svg:nth-child(2) { animation-delay: 3s; } .steps.on .mini-screen svg:nth-child(3) { animation-delay: 6s; }
@keyframes minislide { 0% { opacity: 0; transform: scale(1.1); } 6%, 33% { opacity: 1; } 40%, 100% { opacity: 0; transform: scale(1); } }
.mini-stand { display: block; width: 40px; height: 9px; margin: 0 auto; background: #0E1330; clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }

/* Featured price card: a spinning light runs round its edge */
.price.featured { isolation: isolate; }

/* Final call to action: a light follows the pointer */
.final-in .glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.22), transparent 60%); transition: background .2s; }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--navy)); box-shadow: 0 12px 28px -10px rgba(0,72,229,.7); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.to-top svg { width: 20px; height: 20px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

@media (max-width: 820px) { .step-art { height: 110px; margin-top: 16px; } }
@media (prefers-reduced-motion: reduce) {
  .head h2 .w > span { transform: none; }
  .code-card, .scan-card, .mini-tv { opacity: 1; transform: none; }
  .code i { color: var(--ink); } .mini-screen svg:first-child { opacity: 1; }
}
