:root {
  color-scheme: dark;
  --bg: #070812;
  --card: rgba(255,255,255,.055);
  --stroke: rgba(255,255,255,.1);
  --text: #f7f7ff;
  --muted: #a3a7c0;
  --blue: #4f7cff;
  --violet: #7158ff;
  --grad: linear-gradient(135deg, #4f7cff, #7158ff);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(52rem 30rem at 50% -8rem, rgba(113,88,255,.28), transparent 60%),
    radial-gradient(40rem 24rem at 88% 12rem, rgba(79,124,255,.16), transparent 60%),
    var(--bg);
}
a { color: inherit; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 18px;
  padding: 12px 20px;
  background: rgba(7,8,18,.72);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 850; }
.brand-tile {
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 9px; background: var(--grad); font-size: 16px; font-weight: 900; color: #fff;
}
.brand-name em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 18px; margin-left: 12px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 650; }
.nav-links a:hover { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.language-switch { display: inline-flex; padding: 3px; gap: 3px; border: 1px solid var(--stroke); border-radius: 999px; background: rgba(255,255,255,.05); }
.language-switch button { appearance: none; border: 0; cursor: pointer; padding: 6px 11px; border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 800; }
.language-switch button.active { background: var(--grad); color: #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-block; text-decoration: none; font-weight: 800; font-size: 15px; padding: 13px 22px; border-radius: 13px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(88,92,255,.35); }
.btn-ghost { background: rgba(255,255,255,.07); border: 1px solid var(--stroke); color: var(--text); }
.btn-small { padding: 9px 15px; font-size: 13px; border-radius: 11px; }

/* ---------- hero ---------- */
.hero { max-width: 880px; margin: 0 auto; padding: 56px 20px 10px; text-align: center; }
.hero-pill { display: inline-block; margin: 0 0 18px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(255,255,255,.05); font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #b9c6ff; }
.hero h1 { margin: 0; font-size: clamp(34px, 7vw, 58px); line-height: 1.08; letter-spacing: -.03em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 620px; margin: 18px auto 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.hero-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.code-card { text-align: left; margin: 34px auto 0; max-width: 680px; border: 1px solid var(--stroke); border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.code-head { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--stroke); background: rgba(255,255,255,.04); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.22); }
.code-title { margin-left: 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.code-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.06); flex-wrap: wrap; }
.code-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; min-width: 74px; }
.code-row code { font-size: 15px; font-weight: 700; color: #cfe0ff; }
.copy-btn { margin-left: auto; appearance: none; border: 1px solid var(--stroke); background: rgba(255,255,255,.07); color: var(--text); border-radius: 9px; padding: 6px 12px; font-weight: 750; font-size: 12px; cursor: pointer; }
.code-note { margin-left: auto; font-size: 12px; color: var(--muted); }
.code-block { margin: 0; padding: 15px 16px; overflow-x: auto; font-size: 12.5px; line-height: 1.6; color: #9fe8c1; background: rgba(0,0,0,.3); }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 760px; margin: 22px auto 0; }
.stat { padding: 14px 8px; border: 1px solid var(--stroke); border-radius: 16px; background: var(--card); }
.stat strong { display: block; font-size: 21px; }
.stat span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }

/* ---------- sections ---------- */
.section { max-width: 1020px; margin: 0 auto; padding: 52px 20px 0; }
.eyebrow { text-align: center; margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .16em; color: #b9c6ff; }
.section h2 { text-align: center; margin: 0 0 26px; font-size: clamp(24px, 4.5vw, 34px); letter-spacing: -.02em; }
.model-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.model-card, .feature, .step, .faq { border: 1px solid var(--stroke); border-radius: 18px; background: var(--card); padding: 19px; }
.model-badge { display: inline-block; padding: 5px 9px; border-radius: 999px; background: rgba(79,124,255,.16); color: #a9c0ff; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.model-badge.alt { background: rgba(47,214,143,.14); color: #93e9c3; }
.model-badge.alt2 { background: rgba(255,180,84,.14); color: #ffd9a0; }
.model-card h3, .feature h3, .step h3, .faq h3 { margin: 11px 0 6px; font-size: 17px; }
.model-card p, .feature p, .step p, .faq p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.f-icon { font-size: 22px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.step-num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); font-weight: 900; }
.pricing-band { max-width: 1020px; margin: 52px auto 0; padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid rgba(113,88,255,.35); border-radius: 22px; background: linear-gradient(135deg, rgba(79,124,255,.16), rgba(113,88,255,.16)); }
.pricing-band h2 { margin: 0 0 7px; font-size: clamp(21px, 4vw, 28px); }
.pricing-band p { margin: 0; color: var(--muted); line-height: 1.6; }
.faq-list { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }

/* ---------- footer ---------- */
.footer { max-width: 1020px; margin: 56px auto 0; padding: 26px 20px 40px; border-top: 1px solid var(--stroke); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; color: var(--muted); font-size: 13px; }
.foot-links { margin-left: auto; display: flex; gap: 16px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 650; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .model-grid, .feature-grid, .steps { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .pricing-band { flex-direction: column; align-items: flex-start; margin-left: 14px; margin-right: 14px; }
  .hero { padding-top: 38px; }
  .brand-name { font-size: 15px; }
}
