:root {
  --bg: #07090f;
  --bg2: #0b0f1a;
  --card: #10162a;
  --card2: #141b32;
  --line: #1c2439;
  --line2: #2a3452;
  --text: #eef1f8;
  --muted: #9aa3bd;
  --dim: #646d88;
  --violet: #8b5cf6;
  --violet2: #a78bfa;
  --cyan: #22d3ee;
  --blue: #4f7ff7;
  --good: #34d399;
  --grad: linear-gradient(135deg, #8b5cf6, #22d3ee);
  --grad-btn: linear-gradient(90deg, #8b5cf6, #4f7ff7);
  --radius: 18px;
  --max: 1160px;
  color-scheme: dark; /* single dark look on purpose: native scrollbars and controls follow it */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Sora", "Inter", sans-serif; line-height: 1.15; letter-spacing: -0.02em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- nav */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav .wrap { display: flex; align-items: center; height: 68px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Sora", sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; border-radius: 12px; padding: 13px 22px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, opacity .15s, background .15s;
  font-family: inherit; color: var(--text); white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 30px -8px rgba(139, 92, 246, .6); }
.btn-ghost { background: var(--card); border-color: var(--line2); }
.btn-ghost:hover { background: var(--card2); }
.btn-soon { background: var(--card); border: 1px dashed #4b3a9e; color: var(--violet2); cursor: default; }
.btn-soon:hover { transform: none; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(52, 211, 153, .15); }

/* ---------- hero */
.hero { position: relative; padding: 88px 0 40px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -200px 0 auto 50%; transform: translateX(-50%);
  width: 1100px; height: 700px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .28), rgba(34, 211, 238, .08) 55%, transparent 75%);
}
.hero > * { position: relative; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; color: #cfd5ea;
  padding: 7px 15px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
}
.hero h1 { font-size: clamp(40px, 6.6vw, 76px); font-weight: 800; margin: 24px auto 0; max-width: 900px; }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 680px; margin: 22px auto 0; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-top: 26px; color: var(--dim); font-size: 14px; }
.trust span::before { content: "✓"; color: var(--good); margin-right: 7px; font-weight: 700; }

.shot {
  margin: 64px auto 0; max-width: 1080px; border-radius: 16px; padding: 8px;
  background: linear-gradient(180deg, rgba(139, 92, 246, .45), rgba(34, 211, 238, .12) 40%, rgba(255, 255, 255, .03));
  box-shadow: 0 40px 120px -30px rgba(139, 92, 246, .45), 0 0 0 1px rgba(255, 255, 255, .04);
}
.shot img { border-radius: 10px; width: 100%; }

/* ---------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 80px; }
.stat { background: var(--bg2); padding: 26px 20px; text-align: center; }
.stat b { display: block; font-family: "Sora", sans-serif; font-size: 34px; font-weight: 800; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- sections */
section { padding: 110px 0 0; }
.eyebrow { color: var(--violet2); font-weight: 600; font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; margin-top: 12px; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 16px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; }
.feature:hover { border-color: #3a2f78; transform: translateY(-3px); }
.feature .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(139, 92, 246, .14); color: var(--violet2); margin-bottom: 18px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; font-weight: 700; }
.feature p { color: var(--muted); font-size: 15px; margin-top: 8px; }

.showcase { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; margin-top: 90px; }
.showcase.flip { grid-template-columns: 1.25fr 1fr; }
.showcase.flip .copy { order: 2; }
.showcase h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin-top: 10px; }
.showcase p { color: var(--muted); font-size: 17px; margin-top: 14px; }
.showcase ul { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.showcase li { display: flex; gap: 12px; color: #d4d9ea; font-size: 15.5px; }
.showcase li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: rgba(139, 92, 246, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23a78bfa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.frame { border-radius: 14px; padding: 6px; background: linear-gradient(160deg, rgba(139, 92, 246, .35), rgba(255, 255, 255, .03)); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.frame img { border-radius: 9px; }

.result {
  margin-top: 100px; border-radius: 24px; padding: 48px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1d1445, #111834 55%, #0a2737); border: 1px solid #2a2458;
}
.result b { font-family: "Sora", sans-serif; font-size: clamp(54px, 9vw, 96px); font-weight: 800; display: block; line-height: 1; }
.result p { color: #c3cae0; font-size: 18px; margin-top: 14px; }
.result small { display: block; color: #8790ab; margin-top: 10px; font-size: 13px; }
.tester {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px;
  margin-top: 28px; padding: 14px 22px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
}
.tester-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #a8b4e0; }
.tester-spec { color: #d9deee; font-size: 15px; }
.tester-fps { font-family: "Sora", sans-serif; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tester-fps .arrow { color: var(--dim); font-weight: 600; }
.tester-fps b { font-size: 22px !important; display: inline !important; }
.tester-quote { color: #aeb6cf; font-style: italic; font-size: 14.5px; }

/* ---------- pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.plan.best { border: 1px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; box-shadow: 0 30px 80px -30px rgba(139, 92, 246, .5); }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-btn); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 13px; border-radius: 99px; white-space: nowrap; }
.plan h3 { font-size: 19px; font-weight: 700; }
.plan .price { margin-top: 16px; display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font-family: "Sora", sans-serif; font-size: 46px; font-weight: 800; letter-spacing: -.03em; }
.plan .price span { color: var(--muted); }
.plan .note { color: var(--muted); font-size: 14.5px; margin-top: 4px; min-height: 22px; }
.plan ul { list-style: none; margin: 24px 0 28px; display: grid; gap: 11px; font-size: 15px; color: #d4d9ea; }
.plan li { display: flex; gap: 11px; }
.plan li::before { content: "✓"; color: var(--good); font-weight: 700; }
.plan li.no { color: var(--dim); }
.plan li.no::before { content: "–"; color: var(--dim); }
.plan .btn { margin-top: auto; width: 100%; }
.pay-note { text-align: center; color: var(--dim); font-size: 14px; margin-top: 26px; }

/* ---------- faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--violet2); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; font-size: 15.5px; }

/* ---------- cta + footer */
.cta { margin: 110px 0 0; text-align: center; padding: 70px 24px; border-radius: 28px; background: radial-gradient(ellipse at top, rgba(139, 92, 246, .3), transparent 70%), var(--bg2); border: 1px solid var(--line); }
.cta h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.cta p { color: var(--muted); margin: 14px auto 28px; max-width: 520px; font-size: 17px; }
footer { margin-top: 100px; border-top: 1px solid var(--line); padding: 44px 0 50px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
footer .links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
footer a:hover { color: var(--text); }
footer .small { margin-top: 12px; max-width: 420px; font-size: 13px; }

/* ---------- legal pages */
.legal { max-width: 800px; margin: 0 auto; padding: 70px 24px 0; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; }
.legal .updated { color: var(--dim); margin-top: 10px; font-size: 14px; }
.legal h2 { font-size: 21px; font-weight: 700; margin: 40px 0 12px; }
.legal p, .legal li { color: #c3c9dc; font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0 22px; display: grid; gap: 8px; }
.legal a { color: var(--violet2); text-decoration: underline; text-underline-offset: 3px; }
.legal .box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-top: 24px; }

/* ---------- accounts (login.html, account.html) */
.auth-page { min-height: 100vh; background: radial-gradient(ellipse 900px 520px at 50% -120px, rgba(139, 92, 246, .28), transparent 70%), var(--bg); }
.auth-wrap { display: flex; justify-content: center; padding: 56px 16px 80px; }
.auth-card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); text-align: left; }
.auth-card > .btn { width: 100%; margin-top: 12px; }
.auth-logo { width: 48px; height: 48px; margin-bottom: 18px; }
.auth-view { display: flex; flex-direction: column; }
.auth-card h1 { font-size: 26px; font-weight: 800; }
.auth-sub { color: var(--muted); font-size: 15px; margin: 6px 0 20px; }
.auth-sub strong { color: var(--text); }
.auth-view label { font-size: 13.5px; font-weight: 600; color: #cfd5ea; margin: 14px 0 7px; display: flex; justify-content: space-between; }
.auth-view input {
  font: inherit; font-size: 15px; color: var(--text); background: #0b1020; border: 1px solid var(--line2);
  border-radius: 11px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.auth-view input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 92, 246, .22); }
.auth-view input::placeholder { color: var(--dim); }
.code-input { font-size: 26px !important; letter-spacing: 12px; text-align: center; font-weight: 700; }
.auth-view .btn { margin-top: 18px; width: 100%; }
.auth-view .btn:disabled { opacity: .55; cursor: wait; }
.auth-hint { font-size: 12.5px; color: var(--dim); margin-top: 7px; }
.auth-error { color: #fb7185; font-size: 14px; min-height: 0; margin-top: 10px; }
.auth-error:empty { display: none; }
.auth-switch { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 18px; }
.auth-legal { text-align: center; color: var(--dim); font-size: 12.5px; margin-top: 10px; }
.auth-legal a, .auth-link { color: var(--violet2); }
.auth-link:hover { text-decoration: underline; }
.auth-link.right { font-weight: 500; font-size: 13px; }
.google-slot { display: flex; justify-content: center; min-height: 44px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; margin: 18px 0 2px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line2); }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font: 800 26px "Sora", sans-serif; color: #fff; margin-bottom: 16px; }
.acc-rows { border: 1px solid var(--line); border-radius: 14px; margin: 4px 0 10px; }
.acc-rows div { display: flex; justify-content: space-between; padding: 13px 16px; font-size: 14.5px; }
.acc-rows div + div { border-top: 1px solid var(--line); }
.acc-rows span { color: var(--muted); }
.nav-login { margin-left: 4px; }

/* ---------- responsive */
@media (max-width: 960px) {
  .features, .pricing { grid-template-columns: 1fr 1fr; }
  .showcase, .showcase.flip { grid-template-columns: 1fr; gap: 28px; }
  .showcase.flip .copy { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding-top: 56px; }
  .features, .pricing { grid-template-columns: 1fr; }
  .plan.best { order: -1; }
  section { padding-top: 80px; }
  .result { padding: 36px 20px; }
  .shot { margin-top: 44px; padding: 5px; }
}
