:root {
  --bg: #06070d;
  --panel: rgba(255, 255, 255, .04);
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .15);
  --tx: #eef1ff;
  --tx2: #a9afcc;
  --tx3: #6c7296;
  --c1: #00e5ff;
  --c2: #7c4dff;
  --c3: #ff4ecd;
  --ok: #2ff0a8;
  --grad: linear-gradient(120deg, var(--c1), var(--c2) 55%, var(--c3));
  --gold: linear-gradient(135deg, #fff3c4, #ffd25e 45%, #f2a41f);
  --display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  --text: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--bg); color: var(--tx); font: 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
kbd { display: inline-block; min-width: 30px; padding: 1px 8px; border-radius: 8px; font: 600 .82em var(--display); background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); border: 1px solid var(--line2); border-bottom-width: 3px; color: #fff; text-align: center; vertical-align: .08em; }
code { font: 12px ui-monospace, Consolas, monospace; color: var(--tx2); word-break: break-all; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 40px); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* background */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); will-change: transform; animation: drift 24s ease-in-out infinite alternate; }
.o1 { width: 620px; height: 620px; background: #5b2cff; top: -280px; left: 18%; opacity: .45; }
.o2 { width: 520px; height: 520px; background: #00b8e6; top: 40%; right: -200px; opacity: .22; animation-delay: -9s; }
.o3 { width: 420px; height: 420px; background: #ff3fb4; bottom: -200px; left: -120px; opacity: .16; animation-delay: -16s; }
.grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 25%, transparent 75%); }
@keyframes drift { to { transform: translate(70px, 50px) scale(1.12); } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 13px; font: 600 15px var(--text); border: 1px solid var(--line2); background: rgba(255,255,255,.06); transition: transform .15s, filter .2s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { background: rgba(255,255,255,.1); }
.btn:active { transform: scale(.98); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn.lg { height: 62px; padding: 0 26px; border-radius: 18px; font-size: 16px; }
.btn.lg small { display: block; font-size: 12px; font-weight: 500; opacity: .85; margin-top: 1px; }
.btn.lg > span { text-align: left; line-height: 1.25; }
.btn.primary { border: 0; color: #fff; background: var(--grad); background-size: 140% 100%; box-shadow: 0 14px 34px -12px rgba(124,77,255,.9), inset 0 1px 0 rgba(255,255,255,.35); position: relative; overflow: hidden; }
.btn.primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: sweep 3.6s ease-in-out infinite; }
.btn.primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--tx2); }
.btn.ghost:hover { color: #fff; background: rgba(255,255,255,.06); }
.btn .win { width: 22px; height: 22px; fill: #fff; stroke: none; }
@keyframes sweep { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6,7,13,.72); backdrop-filter: blur(18px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; }
.brand b { font: 800 17px var(--display); letter-spacing: 3px; }
.brand span { color: var(--tx2); margin-left: -4px; }
.logo { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 0 24px rgba(124,77,255,.6), inset 0 1px 0 rgba(255,255,255,.35); flex: none; }
.logo svg { width: 19px; height: 19px; fill: #fff; stroke: none; }
.logo.xl { width: 76px; height: 76px; border-radius: 24px; margin: 0 auto 22px; }
.logo.xl svg { width: 42px; height: 42px; }
.vip { font: 800 10px var(--display); letter-spacing: 1.6px; padding: 3px 9px; border-radius: 99px; color: #2a1a00; background: var(--gold); box-shadow: 0 0 18px rgba(255,200,80,.35); font-style: normal; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { color: var(--tx2); font-size: 15px; transition: color .15s; }
.links a:hover { color: #fff; }

/* hero */
.hero { padding: 64px 0 40px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: 99px; background: rgba(124,77,255,.14); border: 1px solid rgba(124,77,255,.4); color: #d4c6ff; font-size: 13px; font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1 { font: 800 clamp(40px, 5.4vw, 66px)/1.04 var(--display); letter-spacing: -1.6px; margin: 22px 0 20px; }
.lead { color: var(--tx2); font-size: 18px; max-width: 560px; }
.lead kbd { font-size: 13px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--tx2); font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.6; }

.hero-art { position: relative; perspective: 1600px; }
.shot-frame { border-radius: 18px; padding: 6px; background: linear-gradient(140deg, rgba(0,229,255,.55), rgba(124,77,255,.55) 45%, rgba(255,78,205,.45)); box-shadow: 0 40px 90px -30px rgba(80,40,220,.85), 0 0 0 1px rgba(255,255,255,.06); }
.shot-frame img { border-radius: 13px; width: 100%; }
.tilt { transform: rotateY(-9deg) rotateX(4deg) rotateZ(.5deg); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hero-art:hover .tilt { transform: none; }
.float { position: absolute; padding: 14px 18px; border-radius: 18px; background: rgba(16,17,32,.78); border: 1px solid var(--line2); backdrop-filter: blur(16px); box-shadow: 0 20px 50px -18px rgba(0,0,0,.8); font-size: 13px; color: var(--tx2); line-height: 1.4; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font: 800 24px/1.15 var(--display); color: #fff; }
.f1 { left: -42px; bottom: 44px; }
.f2 { right: -24px; top: -26px; animation-delay: -2s; display: flex; align-items: center; gap: 12px; }
.f3 { right: 22px; bottom: -30px; animation-delay: -4s; }
.f3 b { color: var(--ok); }
.keys { display: inline-flex; align-items: center; gap: 5px; }
.keys span { color: var(--tx3); }
.keys kbd { font-size: 14px; padding: 3px 9px; }
@keyframes bob { 50% { transform: translateY(-9px); } }

/* numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(120deg, rgba(124,77,255,.12), rgba(0,229,255,.04)); }
.numbers div { padding: 26px 24px; text-align: center; }
.numbers div + div { border-left: 1px solid var(--line); }
.numbers b { display: block; font: 800 34px/1.1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbers span { color: var(--tx2); font-size: 14px; }

/* sections */
.section { padding: 110px 0 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.kicker { display: inline-block; font: 800 12px var(--display); letter-spacing: 2.4px; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font: 800 clamp(30px, 3.6vw, 44px)/1.12 var(--display); letter-spacing: -.8px; margin: 10px 0 14px; }
.head p { color: var(--tx2); font-size: 17px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 30px 28px; border-radius: 24px; background: linear-gradient(170deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--line); overflow: hidden; }
.step .num { position: absolute; top: 14px; right: 22px; font: 800 64px/1 var(--display); color: rgba(255,255,255,.05); }
.step-ico { height: 64px; display: flex; align-items: center; margin-bottom: 18px; }
.step-ico > svg { width: 52px; height: 52px; padding: 13px; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(124,77,255,.9); }
.step-ico kbd { font-size: 20px; padding: 6px 14px; border-radius: 12px; }
.step h3 { font: 700 21px var(--display); margin-bottom: 8px; }
.step p { color: var(--tx2); font-size: 15px; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; padding: 28px; border-radius: 24px; background: linear-gradient(170deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, transform .25s; }
.card:hover { border-color: rgba(124,77,255,.45); transform: translateY(-3px); }
.card::before { content: ""; position: absolute; top: -60%; right: -30%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(124,77,255,.14), transparent); pointer-events: none; }
.card.wide { grid-column: span 2; }
.card.full { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: center; }
.card.full .card-ico { grid-row: span 2; margin: 0; width: 58px; height: 58px; border-radius: 18px; }
.card.full h3 { align-self: end; margin: 0; }
.card.full p { align-self: start; }
h1 .grad { white-space: nowrap; }
.card-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(124,77,255,.16); border: 1px solid rgba(124,77,255,.35); color: #cdbcff; margin-bottom: 18px; }
.card-ico svg { width: 22px; height: 22px; }
.card h3 { font: 700 19px var(--display); margin-bottom: 8px; }
.card p { color: var(--tx2); font-size: 15px; }
.meter-demo { position: relative; margin-top: 22px; height: 46px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 13px; }
.meter-demo i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, rgba(0,229,255,.3), rgba(124,77,255,.4), rgba(255,78,205,.35)); animation: fill 4.5s ease-in-out infinite; }
.meter-demo span, .meter-demo b { position: relative; }
.meter-demo span { color: var(--tx2); }
.meter-demo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font: 800 16px var(--display); }
@keyframes fill { 0% { width: 0; } 80%, 100% { width: 100%; } }
.spark-demo { margin-top: 18px; height: 70px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid var(--line); overflow: hidden; }
.spark-demo svg { width: 100%; height: 100%; }
.spark-demo .line { stroke: url(#sd); stroke-width: 2.5; fill: none; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 3.5s ease-out infinite; }
.spark-demo .area { fill: url(#sf); stroke: none; }
@keyframes draw { 70%, 100% { stroke-dashoffset: 0; } }

/* screens */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: -20px auto 26px; padding: 5px; width: fit-content; max-width: 100%; border-radius: 15px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.tab { padding: 9px 18px; border-radius: 11px; border: 0; background: none; color: var(--tx2); font: 600 14px var(--text); cursor: pointer; transition: .2s; }
.tab:hover { color: #fff; }
.tab.on { background: var(--grad); color: #fff; box-shadow: 0 8px 22px -8px rgba(124,77,255,.9); }
.gallery { max-width: 1040px; margin: 0 auto; }
.pane { display: none; }
.pane.on { display: block; animation: appear .45s ease; }
.pane figcaption { text-align: center; color: var(--tx2); margin-top: 18px; font-size: 15px; }
@keyframes appear { from { opacity: 0; transform: translateY(10px) scale(.99); } }

/* faq */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 18px; background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: rgba(124,77,255,.45); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font: 600 17px var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--tx2); border-bottom: 2px solid var(--tx2); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 24px 22px; color: var(--tx2); font-size: 15px; }
.faq a { color: #cdbcff; text-decoration: underline; text-underline-offset: 3px; }

/* final */
.final { text-align: center; padding: 64px 28px; border-radius: 32px; background: radial-gradient(ellipse at 50% 0%, rgba(124,77,255,.32), transparent 70%), linear-gradient(170deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid rgba(124,77,255,.35); }
.final p { color: var(--tx2); margin-bottom: 26px; font-size: 17px; }
.final .sha { margin: 22px auto 0; font-size: 12px; color: var(--tx3); max-width: 640px; }

/* footer */
.foot { margin-top: 110px; border-top: 1px solid var(--line); padding: 30px 0 40px; }
.foot-in { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; margin-left: auto; }
.foot-links a, .copy { color: var(--tx3); font-size: 14px; }
.foot-links a:hover { color: #fff; }
.foot .logo { width: 26px; height: 26px; border-radius: 8px; }
.foot .logo svg { width: 15px; height: 15px; }

/* plain pages */
.page { padding: 60px 0 0; }
.page h1 { font-size: clamp(36px, 5vw, 52px); }
.page h2 { font-size: 22px; margin: 34px 0 8px; letter-spacing: -.2px; }
.page p, .page li { color: var(--tx2); }
.page ul { padding-left: 22px; margin-top: 8px; }
.page a { color: #cdbcff; text-decoration: underline; text-underline-offset: 3px; }
.center { text-align: center; padding: 120px 0 40px; }
.center p { color: var(--tx2); margin: 6px 0 28px; }

/* scroll reveal (no JS needed) */
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  @keyframes reveal { from { opacity: 0; transform: translateY(28px); } }
}

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { text-align: center; }
  .lead { margin: 0 auto; }
  .cta, .trust { justify-content: center; }
  .tilt { transform: none; }
  .f1 { left: -8px; } .f2 { right: -8px; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .numbers div:nth-child(3) { border-left: 0; }
  .numbers div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .bento { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .float { display: none; }
  .btn.lg { width: 100%; }
  .section { padding-top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
