:root {
  --bg: #0b0714;
  --surface: rgba(255, 255, 255, 0.04);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke2: rgba(192, 132, 252, 0.3);
  --fg: #f5f2fb;
  --fg2: #b9b0d0;
  --fg3: #847aa0;
  --accent: #a855f7;
  --accent2: #c084fc;
  --grad: linear-gradient(135deg, #9333ea 0%, #a855f7 45%, #d946ef 100%);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.6 "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent2); text-decoration: none; }
a:hover { color: #fff; }
.glow { position: fixed; border-radius: 50%; filter: blur(110px); pointer-events: none; z-index: -1; opacity: 0.55; }
.g1 { width: 620px; height: 520px; top: -260px; left: -120px; background: radial-gradient(closest-side, rgba(147, 51, 234, 0.7), transparent); }
.g2 { width: 640px; height: 560px; bottom: -300px; right: -180px; background: radial-gradient(closest-side, rgba(217, 70, 239, 0.45), transparent); }

.top { display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 22px 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 750; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; filter: drop-shadow(0 4px 14px rgba(168, 85, 247, 0.6)); }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: var(--fg2); font-weight: 520; }
nav a:hover { color: #fff; }
.pill { padding: 8px 16px; border-radius: 999px; background: var(--grad); color: #fff !important; box-shadow: 0 8px 24px -8px rgba(168, 85, 247, 0.8); }

main { max-width: 1180px; margin: 0 auto; padding: 0 24px 60px; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.15; }
.grad { background: linear-gradient(100deg, #e9d5ff, #c084fc 40%, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 40px 0 80px; }
.hero h1 { font-size: 58px; margin: 18px 0 16px; font-weight: 800; }
.lead { font-size: 18px; color: var(--fg2); max-width: 560px; }
.badge { display: inline-block; padding: 6px 13px; border-radius: 999px; background: rgba(168, 85, 247, 0.14); box-shadow: inset 0 0 0 1px var(--stroke2); color: var(--accent2); font-size: 13px; font-weight: 600; }
.cta { display: flex; gap: 12px; margin: 28px 0 10px; flex-wrap: wrap; }
.hero-img img { width: 100%; border-radius: 18px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--stroke); transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform 800ms var(--spring); }
.hero-img img:hover { transform: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border: 0; border-radius: 13px; font: inherit; font-weight: 650; cursor: pointer; transition: transform 160ms var(--spring), filter 160ms ease, background 160ms ease; }
.btn:active { transform: scale(0.97); }
.btn.primary { background: var(--grad); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 30px -10px rgba(168, 85, 247, 0.9); }
.btn.primary:hover { filter: brightness(1.12); color: #fff; }
.btn.ghost { background: rgba(255, 255, 255, 0.06); color: var(--fg); box-shadow: inset 0 0 0 1px var(--stroke); }
.btn.ghost:hover { background: rgba(168, 85, 247, 0.16); box-shadow: inset 0 0 0 1px var(--stroke2); color: #fff; }
.btn.sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 10px; }
.btn.wide { width: 100%; margin-top: 8px; }
.small { font-size: 13px; color: var(--fg3); }
.muted { color: var(--fg3); }
.sub { color: var(--fg2); margin-top: -4px; }

section h2 { font-size: 36px; text-align: center; margin: 0 0 28px; }
.features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 24px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--stroke); transition: transform 300ms var(--spring), box-shadow 200ms ease; }
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--stroke2), 0 20px 50px -30px rgba(168, 85, 247, 0.8); }
.card .ic { font-size: 28px; }
.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--fg2); font-size: 14px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 90px; }
.shots img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 14px; box-shadow: 0 20px 50px -25px #000, 0 0 0 1px var(--stroke); }

.pricing .sub { text-align: center; margin: -12px 0 30px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 22px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--stroke); margin: 0; }
.plan.best { background: radial-gradient(120% 80% at 50% 0%, rgba(168, 85, 247, 0.25), transparent 70%), var(--surface); box-shadow: inset 0 0 0 1.5px rgba(192, 132, 252, 0.6), 0 20px 60px -30px rgba(168, 85, 247, 0.9); }
.plan h3 { margin: 0; font-size: 18px; color: var(--fg2); }
.price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.price span { font-size: 22px; color: var(--fg2); }
.per { margin: 0 0 14px; color: var(--fg3); font-size: 13px; flex: 1; }
.tag { position: absolute; top: 16px; right: 16px; padding: 3px 10px; border-radius: 999px; background: var(--grad); font-size: 12px; font-weight: 700; }
.tag.gold { background: linear-gradient(135deg, #f59e0b, #f472b6); }
.plans.compact { grid-template-columns: repeat(4, 1fr); }
.plans.compact .plan { padding: 18px; }
.plans.compact .price { font-size: 30px; margin-bottom: 8px; }

.faq { max-width: 760px; margin: 90px auto 0; }
details { margin-bottom: 10px; padding: 16px 20px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--stroke); }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--fg2); margin: 10px 0 0; }

.auth { display: grid; place-items: center; padding: 60px 0; }
.panel { width: min(440px, 100%); padding: 32px; border-radius: 22px; background: radial-gradient(90% 60% at 0% 0%, rgba(168, 85, 247, 0.18), transparent 60%), rgba(20, 13, 34, 0.9); box-shadow: inset 0 0 0 1px var(--stroke), 0 30px 80px -30px #000; }
.panel h1 { margin: 0 0 8px; }
label { display: block; margin: 14px 0 0; font-size: 13px; color: var(--fg2); }
input, select { display: block; width: 100%; margin-top: 6px; height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px var(--stroke); color: var(--fg); font: inherit; outline: none; }
input:focus, select:focus { box-shadow: inset 0 0 0 1px var(--stroke2), 0 0 0 4px rgba(168, 85, 247, 0.15); }
.err, .ok, .note { margin: 14px 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.err { background: rgba(251, 113, 133, 0.12); color: #fda4af; }
.ok { background: rgba(52, 211, 153, 0.12); color: #6ee7b7; }
.note { background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--stroke); }
.bigkey, .k, .mono { font-family: "Cascadia Mono", Consolas, monospace; letter-spacing: 0.04em; }
.bigkey { margin: 10px 0; padding: 16px; border-radius: 12px; background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1px var(--stroke2); font-size: 19px; text-align: center; user-select: all; }

.page { padding: 20px 0; }
.page .head { display: flex; align-items: center; justify-content: space-between; }
.page h2 { text-align: left; font-size: 22px; margin: 34px 0 14px; }
.keys { display: grid; gap: 10px; }
.key { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--stroke); }
.key .k { font-size: 16px; user-select: all; }
.key .meta { flex: 1; color: var(--fg2); font-size: 13px; }
.key.dead, tr.dead { opacity: 0.5; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; color: var(--fg3); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--stroke); }
.tbl td { padding: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); vertical-align: top; }
.act { display: flex; gap: 6px; flex-wrap: wrap; }
.act form { margin: 0; }
.row { display: flex; gap: 8px; align-items: center; }
.row input, .row select { margin: 0; width: auto; flex: 1; height: 38px; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 16px; }
.stats div { padding: 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--stroke); }
.stats b { display: block; font-size: 26px; }
.stats span { color: var(--fg3); font-size: 12.5px; }
.text { max-width: 760px; }
.text h2 { font-size: 20px; }
.text p { color: var(--fg2); }

.foot { display: flex; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 30px 24px; color: var(--fg3); font-size: 13px; border-top: 1px solid var(--stroke); }
.foot .links { display: flex; gap: 18px; }
.foot a { color: var(--fg3); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
  .features .grid, .shots, .plans, .plans.compact, .stats { grid-template-columns: 1fr 1fr; }
  nav a:not(.pill) { display: none; }
}
@media (max-width: 560px) {
  .features .grid, .shots, .plans, .plans.compact, .stats { grid-template-columns: 1fr; }
}

/* Download panel */
.get { padding: 30px 0 20px; }
.get-panel { padding: 30px; border-radius: 26px; background: radial-gradient(70% 60% at 0% 0%, rgba(168, 85, 247, 0.2), transparent 60%), radial-gradient(60% 60% at 100% 100%, rgba(217, 70, 239, 0.12), transparent 60%), rgba(20, 13, 34, 0.88); box-shadow: inset 0 0 0 1px var(--stroke), 0 40px 100px -40px #000; animation: rise 520ms var(--spring) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(0.985); } }
.get-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.get-head img { width: 60px; height: 60px; border-radius: 16px; filter: drop-shadow(0 8px 22px rgba(168, 85, 247, 0.7)); }
.get-head h1 { margin: 0 0 6px; font-size: 32px; }
.get-head .sub { margin: 0; }
.get-paid { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; padding: 16px 18px; border-radius: 16px; background: rgba(52, 211, 153, 0.09); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.3); }
.get-paid div { display: flex; flex-direction: column; gap: 2px; }
.get-paid span { color: var(--fg2); font-size: 14px; }
.get-plans { display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); gap: 14px; }
.get-plans .plan { padding: 22px 18px; }
.get-plans .price { font-size: 36px; }
.get-trial { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-radius: 20px; background: radial-gradient(120% 90% at 50% 0%, rgba(52, 211, 153, 0.16), transparent 70%), var(--surface); box-shadow: inset 0 0 0 1.5px rgba(52, 211, 153, 0.45), 0 20px 60px -34px rgba(52, 211, 153, 0.8); }
.get-trial .tag { background: linear-gradient(135deg, #10b981, #34d399); }
.get-trial h3 { margin: 0; font-size: 18px; color: var(--fg2); }
.get-trial .price { font-size: 36px; }
.get-trial .per { flex: 0; margin-bottom: 8px; }
.get-trial.state-used { background: var(--surface); box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.35); }
.get-trial.state-used .tag { background: rgba(255, 255, 255, 0.12); color: var(--fg3); }
.get-trial.state-used .price { color: var(--fg3); text-decoration: line-through; text-decoration-thickness: 2px; }
.why { margin: 0 0 4px; font-size: 13px; color: var(--fg2); }
.denied { padding: 12px 14px; border-radius: 12px; background: rgba(251, 113, 133, 0.1); }
.denied strong { color: #fda4af; font-size: 14px; }
.denied p { margin: 4px 0 0; font-size: 13px; color: var(--fg2); line-height: 1.5; }
.okline { margin: 0; color: #6ee7b7; font-size: 14px; font-weight: 600; }
code.key { display: block; margin: 6px 0; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1px var(--stroke); font: 600 14px/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.05em; color: #fff; text-align: center; user-select: all; }
.countdown { position: relative; width: 84px; height: 84px; margin: 6px auto 2px; }
.countdown svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.countdown circle { fill: none; stroke-width: 3.5; }
.countdown .track { stroke: rgba(255, 255, 255, 0.08); }
.countdown .bar { stroke: #34d399; stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.8)); }
.countdown.run .bar { animation: drain var(--dur, 10s) linear forwards; }
@keyframes drain { to { stroke-dashoffset: 119.4; } }
.countdown .n { position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.waiting { text-align: center; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.5; } }
.get-trial.done { animation: pop 500ms var(--spring); }
@keyframes pop { 40% { transform: scale(1.03); } }
[hidden] { display: none !important; }
.head .row { display: flex; gap: 10px; align-items: center; }

/* Cookie banner */
.cookies { position: fixed; left: 50%; bottom: 18px; z-index: 50; display: flex; align-items: center; gap: 16px; width: min(760px, calc(100% - 32px)); margin: 0; padding: 12px 12px 12px 18px; border-radius: 16px; background: rgba(24, 16, 40, 0.94); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--stroke2), 0 24px 60px -20px #000; font-size: 14px; color: var(--fg2); transform: translateX(-50%); animation: slidein 500ms var(--spring) both 300ms; }
.cookies span { flex: 1; }
@keyframes slidein { from { opacity: 0; transform: translate(-50%, 30px); } }

@media (max-width: 1000px) {
  .get-plans { grid-template-columns: 1fr 1fr; }
  .get-trial { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .get-panel { padding: 20px; }
  .get-plans { grid-template-columns: 1fr; }
  .get-paid, .cookies { flex-direction: column; align-items: stretch; }
}
.get-trial h3 { padding-right: 92px; }
.get-plans .btn { white-space: nowrap; }
