:root {
  --bg: #0b0912;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.09);
  --glass-line: rgba(255, 255, 255, 0.12);
  --glass-hi: rgba(255, 255, 255, 0.18);
  --line: rgba(255, 255, 255, 0.08);
  --text: #eceaf4;
  --muted: #b3aec4;
  --dim: #807a95;
  --accent: #b69cff;
  --accent-2: #8b5cf6;
  --ok: #4ade80;
  --blur: blur(18px) saturate(150%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

.glow { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; will-change: transform; }
.glow i:nth-child(1) { width: 560px; height: 560px; left: -140px; top: -120px; background: #6d3df5; animation: drift1 26s ease-in-out infinite alternate; }
.glow i:nth-child(2) { width: 480px; height: 480px; right: -120px; top: 18%; background: #2f6bff; opacity: 0.4; animation: drift2 32s ease-in-out infinite alternate; }
.glow i:nth-child(3) { width: 520px; height: 520px; left: 30%; bottom: -220px; background: #c03fd8; opacity: 0.35; animation: drift3 29s ease-in-out infinite alternate; }
.glow::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 0%, transparent 0%, rgba(11, 9, 18, 0.55) 70%); }
@keyframes drift1 { to { transform: translate(180px, 140px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-200px, 120px) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-160px, -180px) scale(1.1); } }

.glass, header.top, .card, .box, .testbar, .btn {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 10px 30px rgba(0, 0, 0, 0.25);
}

header.top { position: sticky; top: 0; z-index: 10; border-width: 0 0 1px; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04); background: rgba(14, 11, 22, 0.45); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 4px; color: var(--text); }
.brand img { width: 28px; height: 28px; }
.brand b { color: var(--accent); }
.brand:hover { text-decoration: none; }
nav a { color: var(--muted); margin-left: 22px; font-size: 14.5px; }
nav a:hover { color: var(--text); text-decoration: none; }

.testbar { color: #e4dcff; text-align: center; font-size: 13.5px; padding: 8px 16px; border-width: 0 0 1px; border-radius: 0; background: rgba(139, 92, 246, 0.16); box-shadow: none; }

.hero { padding: 96px 0 64px; text-align: center; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.08; margin: 0 auto 18px; max-width: 820px; letter-spacing: -1px; text-shadow: 0 2px 30px rgba(139, 92, 246, 0.25); }
.hero h1 span { background: linear-gradient(90deg, #c4b1ff, #8fb3ff 60%, #e3a6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto 30px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 14px; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s; }
.btn:hover { background: var(--glass-2); border-color: rgba(182, 156, 255, 0.5); text-decoration: none; transform: translateY(-1px); }
.btn.main { background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(99, 102, 241, 0.85)); border-color: rgba(196, 177, 255, 0.55); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 30px rgba(124, 77, 238, 0.45); }
.btn.main:hover { background: linear-gradient(135deg, rgba(150, 106, 250, 0.95), rgba(110, 112, 245, 0.9)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 14px 36px rgba(124, 77, 238, 0.6); }
.small { color: var(--dim); font-size: 13px; margin-top: 12px; }

section.block { padding: 60px 0; border-top: 1px solid var(--line); }
section.block h2 { font-size: 30px; margin: 0 0 8px; letter-spacing: -0.5px; }
section.block .lead { color: var(--muted); margin: 0 0 30px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { padding: 22px; border-radius: 18px; transition: transform 0.2s, border-color 0.2s, background 0.2s; }
.card:hover { transform: translateY(-2px); background: var(--glass-2); border-color: rgba(255, 255, 255, 0.18); }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.price { font-size: 34px; font-weight: 700; margin: 6px 0 2px; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.card.pick { border-color: rgba(182, 156, 255, 0.55); background: linear-gradient(160deg, rgba(139, 92, 246, 0.18), rgba(255, 255, 255, 0.05)); box-shadow: inset 0 1px 0 var(--glass-hi), 0 14px 40px rgba(124, 77, 238, 0.25); }

footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--dim); font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); margin-right: 18px; }

.doc { padding: 50px 0 70px; max-width: 760px; }
.doc h1 { font-size: 34px; margin: 0 0 6px; }
.doc h2 { font-size: 20px; margin: 30px 0 8px; }
.doc p, .doc li { color: #d6d3e2; }
.doc .updated { color: var(--dim); font-size: 14px; }

.center { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.box { width: min(400px, 100%); padding: 32px; border-radius: 22px; text-align: center; }
.box h1 { font-size: 22px; margin: 14px 0 6px; }
.box p { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.box .btn { width: 100%; justify-content: center; }
.box .msg { margin-top: 16px; font-size: 14px; color: var(--muted); min-height: 20px; }
.box .msg.bad { color: #f58a8a; }
.box .msg.ok { color: var(--ok); }

.steps { margin-top: 26px; }
.steps .card h3 { font-size: 15.5px; }

@media (max-width: 640px) {
  nav a { margin-left: 14px; }
  nav a.hide-sm { display: none; }
  .hero { padding: 64px 0 44px; }
  .glow i { filter: blur(70px); }
}

@media (prefers-reduced-motion: reduce) {
  .glow i { animation: none; }
  .btn, .card { transition: none; }
}

.navbtn { height: 34px; padding: 0 16px; margin-left: 22px; border-radius: 10px; font-size: 14px; color: var(--text); }
nav a.navbtn:hover { text-decoration: none; }
.btn.sm { height: 34px; padding: 0 14px; border-radius: 10px; font-size: 14px; }

.mock { position: relative; width: min(560px, 100%); margin: 52px auto 0; padding: 16px; border-radius: 22px; text-align: left;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 120px rgba(124, 77, 238, 0.25);
  transform: perspective(1200px) rotateX(6deg); animation: float 7s ease-in-out infinite alternate; }
@keyframes float { to { transform: perspective(1200px) rotateX(3deg) translateY(-8px); } }
.mock-top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mock-brand { font-weight: 700; letter-spacing: 3px; font-size: 13px; }
.mock-brand b { color: var(--accent); }
.mock-pill { font-size: 12px; padding: 3px 10px; border-radius: 99px; background: rgba(139, 92, 246, 0.25); border: 1px solid rgba(182, 156, 255, 0.35); }
.mock-dots { margin-left: auto; display: flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.mock-snip { margin: 14px 0 10px auto; width: fit-content; padding: 10px 16px; border-radius: 12px; background: #fff; color: #111; font: 600 19px "Cambria Math", "Times New Roman", serif; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }
.mock-user { margin-left: auto; width: fit-content; padding: 9px 14px; border-radius: 14px 14px 4px 14px; background: rgba(139, 92, 246, 0.3); border: 1px solid rgba(182, 156, 255, 0.3); font-size: 14.5px; }
.mock-ai { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-line); border-left: 3px solid var(--accent-2); font-size: 14.5px; }
.mock-ai p { margin: 0 0 8px; color: #dcd8ea; }
.mock-math { font-family: "Cambria Math", "Times New Roman", serif; font-size: 16px; color: var(--text) !important; }
.mock-foot { display: flex; gap: 12px; align-items: center; color: var(--dim); font-size: 12px; margin-top: 4px; }
.ok-badge { color: #4ade80; background: rgba(74, 222, 128, 0.12); border: 1px solid rgba(74, 222, 128, 0.3); padding: 2px 8px; border-radius: 99px; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.faq .card:hover { transform: none; }

@media (max-width: 640px) {
  .navbtn { margin-left: 12px; padding: 0 12px; }
  .mock { transform: none; animation: none; }
}
@media (prefers-reduced-motion: reduce) { .mock { animation: none; } }
