:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --accent: #10b981;
  --card: #ffffff;
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --bg-soft: #121a30;
    --text: #e8ecf5;
    --muted: #a3adc2;
    --line: #24304d;
    --brand: #818cf8;
    --brand-dark: #6366f1;
    --card: #121a30;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
a { color: var(--brand); }

/* Nav */
nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.logo span { color: var(--brand); }

/* Buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 26px; border-radius: 12px; transition: transform .15s, background .15s; }
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }

/* Hero */
.hero { padding: 80px 0 64px; text-align: center; }
.pill { display: inline-block; background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 20px; }
h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 680px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 12px; text-align: center; }
.sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 44px; font-size: 18px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.icon { font-size: 28px; margin-bottom: 12px; }

/* Modules */
.modules { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; gap: 14px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary .num { flex: 0 0 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 14px; }
summary::after { content: "+"; margin-left: auto; color: var(--muted); font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "–"; }
details ul { margin: 14px 0 0 48px; padding: 0; color: var(--muted); }
details li { margin: 4px 0; }

/* Pricing */
.price-box { max-width: 480px; margin: 0 auto; background: var(--card); border: 2px solid var(--brand); border-radius: 22px; padding: 36px; text-align: center; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 22px; }
.price { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 6px 0 4px; }
.price-box ul { text-align: left; list-style: none; padding: 0; margin: 24px 0 28px; }
.price-box li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.price-box li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }
.price-box .btn { width: 100%; font-size: 18px; }
.guarantee { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details summary::after { content: "+"; }
.faq p { color: var(--muted); margin: 12px 0 0; }

footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 14px; text-align: center; }

@media (max-width: 600px) {
  .hero { padding: 56px 0 44px; }
  section { padding: 52px 0; }
  details ul { margin-left: 20px; }
  .price-box { padding: 28px 20px; }
}

/* Language switcher */
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; font-size: 13px; font-weight: 700; }
.lang a { color: var(--muted); text-decoration: none; padding: 5px 7px; border-radius: 8px; }
.lang a[aria-current="page"] { color: var(--text); background: var(--bg-soft); }
.lang a:hover { color: var(--text); }
@media (max-width: 420px) { .nav-right .btn.small { display: none; } }

/* Waitlist form */
.waitlist { max-width: 520px; margin: 0 auto; }
.waitlist .row { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist input[type="email"] {
  flex: 1 1 220px; min-width: 0; font: inherit; font-size: 16px;
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--text);
}
.waitlist input[type="email"]:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.waitlist button { flex: 0 0 auto; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.waitlist button:disabled { opacity: .6; cursor: wait; }
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist .consent { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.waitlist .consent a { color: var(--muted); }
.form-msg { margin: 10px 0 0; font-weight: 600; min-height: 0; }
.form-msg.success { color: var(--accent); }
.form-msg.error { color: #e11d48; }
.waitlist.done .row { display: none; }
.price-box .waitlist .row { flex-direction: column; }
.price-box .waitlist input[type="email"] { flex: 0 0 auto; }
.price-box .waitlist button { width: 100%; font-size: 18px; }
@media (max-width: 600px) { .waitlist button { width: 100%; } }
