:root {
  --bg: #0a0b10;
  --bg-2: #11131b;
  --surface: #161926;
  --surface-2: #1d2131;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f8;
  --muted: #a3a7bb;
  --brand: #7b5cff;
  --brand-2: #ff5c8a;
  --grad: linear-gradient(135deg, #8b6cff 0%, #ff5c8a 100%);
  --ok: #4ade80;
  --radius: 20px;
  --max: 1160px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); background: rgba(10, 11, 16, 0.72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 820px) { .nav-links .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 15px 26px; font-size: 16px; border: 0; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 92, 138, .6), 0 6px 22px -8px rgba(123, 92, 255, .7); }
.btn-primary:hover { box-shadow: 0 14px 38px -10px rgba(255, 92, 138, .75), 0 8px 26px -8px rgba(123, 92, 255, .85); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 760px; background: radial-gradient(closest-side, rgba(123, 92, 255, .32), transparent 70%), radial-gradient(closest-side at 80% 40%, rgba(255, 92, 138, .22), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #d9d2ff; background: rgba(123, 92, 255, .14); border: 1px solid rgba(123, 92, 255, .35); padding: 6px 12px; border-radius: 999px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.035em; margin: 18px 0 18px; font-weight: 850; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.meta { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

/* Phone mockup (pure CSS, brand-only artwork) */
.phone { width: min(320px, 82vw); aspect-ratio: 9 / 19.2; margin: 0 auto; border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #2a2e40, #0e1018); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 30px 80px -40px rgba(123, 92, 255, .6); transform: rotate(-3deg); }
.screen { height: 100%; border-radius: 34px; overflow: hidden; background: #0c0d13; display: flex; flex-direction: column; font-size: 11px; }
.s-top { display: flex; align-items: center; gap: 8px; padding: 18px 14px 10px; font-weight: 800; font-size: 14px; }
.s-top img { width: 22px; height: 22px; }
.s-hero { margin: 4px 12px 12px; border-radius: 18px; height: 42%; position: relative; overflow: hidden; background: radial-gradient(circle at 30% 20%, #ff8fb1 0, transparent 45%), radial-gradient(circle at 75% 70%, #8b6cff 0, transparent 55%), linear-gradient(160deg, #2b1f5c, #120f24); }
.s-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 13, 19, .95), transparent 60%); }
.s-hero .t { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; }
.s-hero .t b { display: block; font-size: 17px; letter-spacing: -0.02em; }
.s-hero .t span { color: #c9cbe0; }
.s-btns { display: flex; gap: 6px; margin-top: 8px; }
.s-btns i { font-style: normal; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--brand); }
.s-btns i + i { background: rgba(255, 255, 255, .14); }
.s-row { padding: 0 12px; font-weight: 700; font-size: 12px; margin: 4px 0 8px; }
.s-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 0 12px; }
.s-tiles div { aspect-ratio: 2 / 3; border-radius: 10px; }
.s-tiles div:nth-child(1) { background: linear-gradient(160deg, #5b4bd6, #1c1740); }
.s-tiles div:nth-child(2) { background: linear-gradient(160deg, #ff6f95, #3a1328); }
.s-tiles div:nth-child(3) { background: linear-gradient(160deg, #2fb4a0, #0f2b2a); }
.s-tiles div:nth-child(4) { background: linear-gradient(160deg, #f0a54a, #3b2410); }
.s-tiles div:nth-child(5) { background: linear-gradient(160deg, #6b8cff, #141d40); }
.s-tiles div:nth-child(6) { background: linear-gradient(160deg, #c66bff, #2c1240); }
.s-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px 14px; border-top: 1px solid var(--line); color: #8f93a8; font-size: 9.5px; }
.s-nav span:first-child { color: var(--brand-2); font-weight: 700; }

/* Sections */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(123, 92, 255, .14); margin-bottom: 16px; }
.feature .ic svg { width: 24px; height: 24px; stroke: #b8a8ff; }
.feature h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.showcase { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.showcase img { border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9); }
.showcase h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 14px; }
.showcase p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }

/* Pricing */
.toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin: 0 auto 30px; }
.toggle button { appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: 0 0 0 1px var(--line) inset; }
.center { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px 26px; display: flex; flex-direction: column; }
.plan.featured { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.plan h3 { margin: 0; font-size: 18px; }
.plan .price { font-size: 40px; font-weight: 850; letter-spacing: -0.03em; margin: 12px 0 2px; line-height: 1.1; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan .alt-price { color: var(--muted); font-size: 14px; min-height: 22px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: #b8a8ff; font-weight: 800; }
.plan li.no { color: #6f7388; }
.plan li.no::before { content: "–"; color: #6f7388; }
.plan .btn { margin-top: auto; }
.pay-note { margin: 26px auto 0; max-width: 760px; text-align: center; color: var(--muted); font-size: 14px; }
.pay-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.pay-methods span { font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.pay-methods span em { font-style: normal; color: var(--muted); font-weight: 600; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* Download card */
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px; }
.card h3 { margin: 0 0 14px; font-size: 22px; letter-spacing: -0.02em; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 24px; font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.hash { font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; word-break: break-all; color: #c9cbe0; background: var(--bg); border: 1px solid var(--line); padding: 10px 12px; border-radius: 10px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: rgba(123, 92, 255, .16); color: #d0c6ff; }
.steps b { display: block; }
.steps span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .dl { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 16px 28px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* CTA band + footer */
.band { text-align: center; padding: 70px 24px; border-radius: 28px; background: radial-gradient(circle at 20% 0%, rgba(255, 92, 138, .35), transparent 50%), radial-gradient(circle at 90% 100%, rgba(123, 92, 255, .45), transparent 55%), var(--surface); border: 1px solid var(--line); }
.band h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; margin: 0 0 10px; }
.band p { color: var(--muted); margin: 0 0 26px; }
footer { border-top: 1px solid var(--line); padding: 40px 0 50px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 30px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 20px 80px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 34px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #cfd1df; }
.legal a { color: #c3b6ff; }
#support .features { grid-template-columns: repeat(4, 1fr); }
#support .feature:hover { border-color: rgba(123, 92, 255, .5); }
@media (max-width: 1000px) { #support .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { #support .features { grid-template-columns: 1fr; } }
