/* SideDim website — no frameworks, no web fonts, no trackers. */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --bg: #07070c;
  --bg2: #0e0e17;
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f2f2f7;
  --muted: #a3a3b8;
  --dim: #6c6c84;
  --violet: #8b5cf6;
  --pink: #ff2e97;
  --cyan: #00e5ff;
  --blurple: #5865f2;
  --green: #25d366;
  --amber: #ffb020;
  --radius: 18px;
  --max: 1160px;
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--muted); }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.lead { font-size: 1.15rem; max-width: 640px; }
.center { text-align: center; } .center .lead { margin-inline: auto; }
.grad-text { background: linear-gradient(100deg, var(--pink), var(--violet) 45%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: slide 8s linear infinite; }
@keyframes slide { to { background-position: -200% 0; } }

/* ---------- page-wide cursor light + grain ---------- */
.cursor-light { position: fixed; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 30%), rgba(139, 92, 246, 0.10), transparent 60%); }
.stars-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
main, header, footer { position: relative; z-index: 2; }

/* ---------- scroll progress: a glowing line along the top ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--pink), var(--violet), var(--cyan)); box-shadow: 0 0 12px var(--violet); pointer-events: none; }

/* ---------- "works with" strip ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,0.015); -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-weight: 600; font-size: .95rem; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); color: var(--text); }
.marquee span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(var(--max), calc(100% - 24px)); display: flex; align-items: center; gap: 18px; padding: 10px 14px 10px 18px; border-radius: 16px; background: rgba(12, 12, 20, 0.6); border: 1px solid var(--line); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; font-size: 1.05rem; }
.brand svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.92rem; padding: 6px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- buttons ---------- */
.btn { --c1: var(--pink); --c2: var(--violet); position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 14px; border: 0; font: inherit; font-weight: 700; color: #fff; text-decoration: none; cursor: pointer; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 10px 40px -10px var(--c1); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; will-change: transform; }
.btn:hover { box-shadow: 0 14px 50px -8px var(--c1); }
.btn.small { padding: 9px 16px; font-size: 0.9rem; border-radius: 11px; }
.btn.ghost { background: rgba(255,255,255,0.05); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { background: rgba(255,255,255,0.09); }
.btn .soon { font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: rgba(0,0,0,0.3); }

/* ---------- flowing border (like the "Flow" frame in the app) ---------- */
.flow { position: relative; border-radius: var(--radius); }
.flow::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--angle), transparent 0 60%, var(--c, var(--cyan)) 75%, var(--c2, var(--pink)) 85%, transparent 95%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 4s linear infinite; pointer-events: none; }
.flow::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: conic-gradient(from var(--angle), transparent 0 60%, var(--c, var(--cyan)) 75%, var(--c2, var(--pink)) 85%, transparent 95%); filter: blur(18px); opacity: .35; z-index: -1; animation: spin 4s linear infinite; pointer-events: none; }
@keyframes spin { to { --angle: 360deg; } }

/* ---------- hero ---------- */
.hero { padding-top: 150px; min-height: min(100vh, 1100px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 56px; text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 6.6vw, 5.2rem); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .line { display: block; }
.hero .lead { margin: 0 auto 30px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.chip { font-size: 0.85rem; color: var(--muted); padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.chip b { color: var(--text); font-weight: 600; }
.split-in .ch { display: inline-block; opacity: 0; transform: translateY(0.5em) rotate(4deg); filter: blur(8px); animation: chIn .8s cubic-bezier(.2,.8,.2,1) forwards; }
.grad-text .ch { color: #d9b8ff; -webkit-text-fill-color: #d9b8ff; } /* letters can't share one gradient while animating; the plain gradient text returns afterwards */
@keyframes chIn { to { opacity: 1; transform: none; filter: none; } }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp .9s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- desk mock (two monitors) ---------- */
.desk { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: clamp(8px, 1.6vw, 18px); perspective: 1400px; padding: 0 0 50px; }
.desk::after { content: ""; position: absolute; left: 5%; right: 5%; bottom: 18px; height: 40px; background: radial-gradient(50% 100% at 50% 0, rgba(139,92,246,0.25), transparent 70%); filter: blur(10px); }
.monitor { position: relative; width: min(46%, 520px); aspect-ratio: 16 / 9.4; border-radius: 12px; padding: 7px; background: linear-gradient(#24242f, #15151d); box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,0.07); transition: transform .6s; }
.monitor.left { transform: rotateY(12deg); transform-origin: right center; }
.monitor.right { transform: rotateY(-12deg); transform-origin: left center; }
.monitor::after { content: ""; position: absolute; left: 44%; right: 44%; bottom: -34px; height: 34px; background: linear-gradient(#1d1d26, #121218); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.screen { position: relative; width: 100%; height: 100%; border-radius: 6px; overflow: hidden; background: #1a1d2b; }
.mlabel { position: absolute; top: -28px; left: 0; right: 0; text-align: center; font-size: 0.75rem; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }

/* desktop contents */
.wall { position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 0%, #3b4a8f, transparent 60%), radial-gradient(90% 80% at 100% 100%, #7b2f6e, transparent 60%), #232848; }
.win { position: absolute; border-radius: 6px; background: #f4f5fa; box-shadow: 0 8px 24px rgba(0,0,0,.35); overflow: hidden; }
.win .bar { height: 9%; min-height: 8px; background: #e3e5ee; }
.win.browser { left: 6%; top: 8%; width: 50%; height: 62%; }
.win.browser .row { height: 6%; margin: 6% 8% 0; border-radius: 3px; background: #d7d9e4; }
.win.browser .row.w60 { width: 50%; } .win.browser .row.hero { height: 26%; background: linear-gradient(120deg, #ffd36b, #ff7a7a); }
.win.chat { right: 5%; top: 18%; width: 38%; height: 72%; background: #313338; transition: box-shadow .5s; }
.win.chat .bar { background: #1e1f22; }
.win.chat .msg { display: flex; gap: 6%; margin: 9% 8% 0; align-items: center; }
.win.chat .av { width: 14%; aspect-ratio: 1; border-radius: 50%; background: #5865f2; flex: none; }
.win.chat .av.b { background: #eb459e; } .win.chat .av.c { background: #3ba55c; }
.win.chat .tx { height: 5px; flex: 1; border-radius: 3px; background: #4e5058; }
.win.chat .msg.new { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 7%; background: rgba(20,20,30,.75); }

/* the dimming layer — sits above the desktop; the chat window can rise above it (Spotlight) */
.dimmer { position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity 1.2s cubic-bezier(.4,0,.2,1); pointer-events: none; z-index: 5; }
.ambient { position: absolute; top: 0; bottom: 0; width: 34%; opacity: 0; transition: opacity 1.2s; z-index: 6; pointer-events: none; mix-blend-mode: screen; }
.ambient.on-left { left: 0; background: linear-gradient(90deg, var(--amb, #ff2e97), transparent); }
.ambient.on-right { right: 0; background: linear-gradient(270deg, var(--amb, #ff2e97), transparent); }
.spot .win.chat { z-index: 7; box-shadow: 0 0 0 2px var(--app, #5865f2), 0 0 28px 6px var(--app, #5865f2); }
.spot .win.chat .msg.new { opacity: 1; transform: none; }
.toast { position: absolute; z-index: 8; right: 6%; bottom: 11%; padding: 5px 9px; border-radius: 6px; font-size: clamp(7px, 1vw, 11px); background: #111216; color: #fff; border-left: 3px solid var(--app, #5865f2); opacity: 0; transform: translateY(8px); transition: .4s; white-space: nowrap; }
.spot .toast { opacity: 1; transform: none; }

/* the "game" */
.game { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.game canvas { width: 100%; height: 100%; }
.playing .game { opacity: 1; }
.hud { position: absolute; left: 4%; bottom: 6%; font-size: clamp(7px, 1vw, 11px); color: #fff; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.6); }

.demo-caption { display: flex; justify-content: center; margin-top: 4px; }
.steps-pill { display: inline-flex; gap: 6px; padding: 6px; border-radius: 99px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); flex-wrap: wrap; justify-content: center; }
.steps-pill span { font-size: 0.82rem; padding: 6px 14px; border-radius: 99px; color: var(--dim); transition: .4s; }
.steps-pill span.on { color: #fff; background: linear-gradient(135deg, rgba(255,46,151,.4), rgba(139,92,246,.4)); box-shadow: 0 0 20px -4px var(--violet); }

/* ---------- problems ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 48px; }
.card { position: relative; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transform-style: preserve-3d; transition: transform .2s, border-color .3s, background .3s; overflow: hidden; }
.card:hover { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.08), transparent 50%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover::before { opacity: 1; }
.card .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 16px; background: rgba(255,255,255,0.06); }
.card .fix { margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--text); font-size: .95rem; }
.card .fix b { color: var(--green); }

/* before / after */
.compare { position: relative; margin-top: 56px; border-radius: 22px; overflow: hidden; width: 100%; aspect-ratio: 16 / 7; border: 1px solid var(--line); user-select: none; touch-action: pan-y; cursor: ew-resize; }
@media (max-width: 640px) { .compare { aspect-ratio: 4 / 3; } .compare .side { padding: 16% 5% 8%; } }
.compare .side { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3%; padding: 5% 6%; background: #0b0b12; }
.compare .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .scr { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.compare .scr.g { background: linear-gradient(160deg, #0b1020, #1d1030 60%, #3a1030); }
.compare .scr.g::after { content: ""; position: absolute; left: 30%; top: 30%; width: 40%; height: 40%; border-radius: 50%; background: radial-gradient(circle, rgba(255,80,80,.5), transparent 70%); }
.compare .scr.s { background: #f6f7fb; }
.compare .scr.s::before { content: ""; position: absolute; inset: 10% 12%; border-radius: 6px; background: repeating-linear-gradient(#e2e4ee 0 10px, transparent 10px 22px); }
.compare .before .scr.s { box-shadow: 0 0 120px 30px rgba(255,255,255,.35); }
.compare .after .scr.s::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.88); }
.compare .after .scr.s { box-shadow: -30px 0 80px -20px rgba(255,46,151,.5) inset; }
.compare .tag { position: absolute; top: 14px; padding: 4px 12px; border-radius: 99px; font-size: .8rem; font-weight: 700; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); z-index: 3; }
.compare .tag.l { left: 14px; } .compare .tag.r { right: 14px; color: var(--cyan); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; z-index: 4; box-shadow: 0 0 20px #fff; }
.compare .handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; font-weight: 800; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 50px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px; font-weight: 800; background: linear-gradient(135deg, var(--pink), var(--violet)); }

/* ---------- feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 70px); align-items: center; margin-top: 110px; }
.feature:nth-of-type(even) .f-text { order: 2; }
.feature ul { list-style: none; padding: 0; margin: 18px 0 0; }
.feature li { padding-left: 28px; position: relative; margin: 8px 0; color: var(--muted); }
.feature li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; margin-top: 80px; } .feature:nth-of-type(even) .f-text { order: 0; } }
.stage { position: relative; border-radius: 22px; background: #0c0c14; border: 1px solid var(--line); aspect-ratio: 4 / 3; overflow: hidden; }
.stage-ui { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 20; }
.pill { font: inherit; font-size: .85rem; color: var(--text); padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line); background: rgba(15,15,25,0.75); backdrop-filter: blur(8px); cursor: pointer; transition: .2s; }
.pill:hover { background: rgba(255,255,255,0.1); }
.pill.on { border-color: transparent; background: var(--pc, var(--violet)); color: #fff; box-shadow: 0 0 18px -2px var(--pc, var(--violet)); }
.hint { position: absolute; top: 14px; left: 14px; z-index: 20; font-size: .8rem; color: var(--muted); padding: 4px 10px; border-radius: 99px; background: rgba(0,0,0,.45); }

/* notification stage */
.nstage .desk2 { position: absolute; inset: 0; }
.nstage .win.chat { right: 8%; top: 17%; width: 44%; height: 60%; }
.nstage .win.browser { left: 6%; top: 15%; width: 46%; height: 55%; }
.nstage .dimmer { opacity: .86; }
.nstage .edge { position: absolute; inset: 0; z-index: 7; pointer-events: none; opacity: 0; box-shadow: inset 0 0 60px 10px var(--app); transition: opacity .6s; }
.nstage.glow .edge { animation: breathe 1.6s ease-in-out 3; }
@keyframes breathe { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.nstage.bright .dimmer { opacity: 0.1; transition-duration: .5s; }

/* flashlight stage: the scene stays still, only the light moves */
.lstage { cursor: none; }
.lstage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lstage .dark { position: absolute; inset: 0; background: rgba(0,0,0,.93); -webkit-mask: radial-gradient(var(--r, 120px) circle at var(--lx, 50%) var(--ly, 50%), transparent 55%, #000 100%); mask: radial-gradient(var(--r, 120px) circle at var(--lx, 50%) var(--ly, 50%), transparent 55%, #000 100%); }
.lstage .ring { position: absolute; left: var(--lx, 50%); top: var(--ly, 50%); width: calc(var(--r, 120px) * 1.35); height: calc(var(--r, 120px) * 1.35); transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 0 2px var(--rc, transparent), 0 0 24px 4px var(--rc, transparent); pointer-events: none; }

/* ambient stage */
.astage { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4%; padding: 7% 6% 70px; background: #08080d; }
@media (max-width: 640px) {
  .stage { aspect-ratio: 4 / 4.6; }
  .pill { font-size: .78rem; padding: 6px 11px; }
  .nstage .win.chat { top: 30%; height: 50%; } .nstage .win.browser { top: 28%; height: 45%; }
  .astage { grid-template-columns: 1fr; grid-template-rows: 1.2fr 1fr; padding-bottom: 64px; }}
.stage-ui.top { top: 14px; bottom: auto; justify-content: flex-end; }
.nstage .stage-ui:not(.top) { justify-content: flex-start; }
.astage .a-game, .astage .a-side { position: relative; border-radius: 10px; overflow: hidden; }
.astage .a-game canvas { width: 100%; height: 100%; }
.astage .a-side { background: #050507; }
.astage .a-side .glow { position: absolute; inset: 0; transition: opacity .5s; }
.astage .a-side .note { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: .75rem; color: var(--dim); }

/* hotkeys */
.keys { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.key { min-width: 64px; padding: 14px 18px; border-radius: 12px; text-align: center; font-weight: 700; background: linear-gradient(#2a2a38, #1b1b25); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 6px 0 #0d0d13, 0 10px 20px rgba(0,0,0,.5); transition: transform .08s, box-shadow .08s, color .2s; user-select: none; }
.key.down { transform: translateY(5px); box-shadow: 0 1px 0 #0d0d13, 0 3px 8px rgba(0,0,0,.5); color: var(--cyan); }
.plus { color: var(--dim); font-weight: 700; }
.kstage { display: grid; place-items: center; gap: 22px; padding: 30px; align-content: center; }
.kstage .mini { width: 70%; aspect-ratio: 16 / 9; border-radius: 10px; position: relative; overflow: hidden; background: linear-gradient(135deg, #3b4a8f, #7b2f6e); }
.kstage .mini .dimmer { transition-duration: .4s; }
.kstage .status { font-size: .9rem; color: var(--muted); min-height: 1.6em; text-align: center; }

/* small feature grid */
.minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 40px; }
.mini-f { padding: 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.mini-f h3 { font-size: 1.05rem; margin-bottom: 6px; }
.mini-f p { font-size: .93rem; margin: 0; }
.mini-f .em { font-size: 1.5rem; margin-bottom: 10px; display: block; }

/* ---------- shop / bundles ---------- */
.promo { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 40px; }
.promo > div { flex: 1 1 300px; padding: 22px 24px; border-radius: var(--radius); background: linear-gradient(120deg, rgba(255,46,151,.12), rgba(139,92,246,.12)); border: 1px solid rgba(255,255,255,.12); }
.promo .count { font-variant-numeric: tabular-nums; font-size: 1.6rem; font-weight: 800; color: #fff; }
.bundles { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; margin-top: 30px; }
@media (max-width: 380px) { .bundles { grid-template-columns: 1fr; } }
.bundle { background: #0d0d15; padding: 10px; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.bundle:hover { transform: translateY(-6px); }
.bundle .art { position: relative; border-radius: 12px; aspect-ratio: 16 / 10; overflow: hidden; }
.bundle canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bundle .meta { padding: 14px 8px 6px; }
.bundle .meta h3 { margin-bottom: 2px; font-size: 1.15rem; }
.bundle .meta p { font-size: .9rem; margin: 0; }
.bundle .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.bundle .tags span { font-size: .72rem; padding: 3px 9px; border-radius: 99px; background: rgba(255,255,255,.06); color: var(--muted); }
.badge { position: absolute; top: 10px; left: 10px; z-index: 3; font-size: .7rem; font-weight: 800; letter-spacing: .06em; padding: 4px 9px; border-radius: 7px; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); }
.badge.limited { color: #9be7ff; } .badge.pro { right: 10px; left: auto; color: var(--amber); }

/* ---------- trust / performance ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 46px; }
.stat { padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.stat .n { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(120deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { margin: 0; font-size: .92rem; }
.fine { font-size: .82rem; color: var(--dim); margin-top: 18px; }

/* ---------- pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; margin-top: 48px; max-width: 880px; margin-inline: auto; }
.price { padding: 32px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.price.pro { background: #0f0d18; --c: var(--amber); --c2: var(--pink); }
.price .amt { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; color: #fff; }
.price .amt s { font-size: 1.2rem; color: var(--dim); font-weight: 600; margin-left: 8px; }
.price ul { list-style: none; padding: 0; margin: 20px 0 26px; }
.price li { padding: 7px 0 7px 28px; position: relative; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--muted); font-size: .95rem; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.price.pro li::before { color: var(--amber); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 44px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 1.6rem; color: var(--muted); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { animation: fadeUp .4s forwards; }

/* ---------- final CTA + footer ---------- */
.final { text-align: center; overflow: hidden; }
.final h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); }
.get-options { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn.disabled { opacity: .55; cursor: default; }
.get-notes { margin: 22px auto 0; max-width: 560px; font-size: .9rem; line-height: 1.6; color: var(--muted, #a1a1b5); }
.get-notes a { color: #fff; }
footer { padding: 40px 0 60px; border-top: 1px solid var(--line); color: var(--dim); font-size: .88rem; }
footer .wrap { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px) scale(.98); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- legal pages (privacy.html, terms.html) ---------- */
.legal-page { background: var(--bg); }
.legal { max-width: 760px; padding: 48px 0 80px; line-height: 1.65; color: var(--muted); }
.legal h1 { color: var(--text); font-size: clamp(2rem, 5vw, 2.8rem); margin: 18px 0 4px; }
.legal h2 { color: var(--text); font-size: 1.2rem; margin: 34px 0 8px; }
.legal b { color: var(--text); }
.legal a { color: #c4b5fd; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 6px 0; }
.legal-back { color: var(--muted) !important; text-decoration: none; font-size: .95rem; }
.legal-date { color: var(--dim); font-size: .9rem; margin: 0 0 20px; }
.legal-short { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--violet);
  border-radius: 12px; padding: 14px 18px; color: var(--text); }
footer .legal-links a { color: var(--muted); text-decoration: none; margin-left: 14px; }
footer .legal-links a:hover { color: var(--text); }
