:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f4f8ff;
  --ink: #07152f;
  --ink-soft: #1e3358;
  --muted: #58708e;
  --dim: #8ca2bd;
  --line: rgba(37, 99, 235, 0.14);
  --line-soft: rgba(37, 99, 235, 0.08);
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --cyan: #06b6d4;
  --cyan-bright: #22d3ee;
  --teal: #06b6d4;
  --teal-deep: #1d4ed8;
  --grad: linear-gradient(100deg, #2563eb 0%, #0ea5e9 48%, #06b6d4 100%);
  --grad-reverse: linear-gradient(100deg, #06b6d4 0%, #0ea5e9 48%, #2563eb 100%);
  --code-bg: #f1f7ff;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
.site-shell { position: relative; width: 100%; overflow: hidden; }
.site-shell::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: -260px;
  left: 50%;
  width: min(980px, 110vw);
  height: 720px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 28% 38%, rgba(37, 99, 235, 0.16), transparent 40%), radial-gradient(circle at 72% 26%, rgba(6, 182, 212, 0.17), transparent 42%);
  pointer-events: none;
}

/* ===== Layout ===== */
.topbar, main, .footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

/* ===== Topbar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.topbar.is-scrolled {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { display: block; width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 5px 16px rgba(37, 99, 235, 0.2); }
.brand-name { font: 700 15px/1 "SFMono-Regular", Consolas, monospace; letter-spacing: 0.07em; }
.main-nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 13.5px; font-weight: 550; }
.main-nav a { position: relative; padding: 4px 0; transition: color 0.15s ease; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: right 0.22s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { right: 0; }
.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--grad);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  transition: transform 0.16s ease, background 0.16s ease;
}
.nav-login span { color: #dffbff; font-size: 14px; }
.nav-login:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(14, 165, 233, 0.25); filter: saturate(1.12); }
.header-controls { display: flex; align-items: center; gap: 16px; }
.locale-switcher { position: relative; }
.locale-toggle, .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.locale-toggle { gap: 6px; padding: 0 9px; font: inherit; font-size: 12.5px; font-weight: 600; }
.locale-toggle svg { width: 14px; height: 14px; color: var(--dim); }
.theme-toggle { width: 38px; padding: 0; }
.theme-toggle svg { width: 20px; height: 20px; }
.locale-toggle:hover, .theme-toggle:hover { background: var(--bg-soft); color: var(--ink); }
.locale-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  min-width: 142px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
}
.locale-menu button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: 12.5px;
  text-align: left;
}
.locale-menu button:hover, .locale-menu button[aria-checked="true"] { background: var(--bg-soft); color: var(--blue-deep); }
.auth-avatar { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.22); color: #fff; font-size: 10px !important; }

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 112px 0 70px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  margin: 0 0 24px;
  padding: 8px 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}
.hero-badge-icon { color: #f59e0b; font-size: 14px; line-height: 1; }
.hero-badge-divider { color: var(--dim); font-weight: 400; }
.eyebrow {
  margin: 0 0 26px;
  color: var(--blue-deep);
  font: 600 11px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.22em;
}
.eyebrow::before { content: "●"; margin-right: 10px; font-size: 8px; vertical-align: 2px; color: var(--teal); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 26px;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.16;
  font-weight: 780;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-wrap: balance;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede { max-width: 680px; margin-bottom: 24px; color: var(--muted); font-size: 16.5px; line-height: 1.85; }
.hero-saving {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: -4px 0 28px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.hero-saving strong { color: var(--blue-deep); font-size: 18px; font-weight: 760; letter-spacing: 0.01em; }
.hero-saving .saving-highlight { display: inline-block; font-size: 1.12em; font-weight: 820; }
.hero-saving .saving-rate { color: var(--blue); }
.hero-saving .saving-percent { color: #0891b2; }
.hero-saving [data-saving-rate] { color: #0891b2; }
.hero-highlights { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; max-width: 760px; margin: 0 0 32px; color: var(--muted); font-size: 12.5px; }
.hero-highlights span { display: inline-flex; align-items: center; gap: 5px; }
.hero-highlights span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1); }
.hero-highlights strong { color: var(--ink-soft); font-weight: 720; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 680;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 32px rgba(37, 99, 235, 0.24); }
.button-primary span { color: #dffbff; }
.button-primary:hover { box-shadow: 0 18px 40px rgba(37, 99, 235, 0.34); filter: saturate(1.1); }
.button-secondary { border-color: rgba(37, 99, 235, 0.2); background: rgba(255, 255, 255, 0.72); color: var(--ink-soft); }
.button-secondary:hover { border-color: rgba(14, 165, 233, 0.5); box-shadow: 0 8px 24px rgba(37, 99, 235, 0.11); color: var(--blue-deep); }
.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.pills-label {
  margin: 36px 0 0;
  color: var(--dim);
  font: 600 11px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.18em;
}
.hero-pills span {
  padding: 7px 16px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ===== Code card ===== */
.code-section { padding: 24px 0 40px; }
.code-window {
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 70px rgba(37, 99, 235, 0.12), 0 4px 14px rgba(15, 23, 42, 0.05);
}
.code-window-head {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line-soft);
}
.window-controls { display: flex; gap: 6px; }
.window-controls i { display: block; width: 9px; height: 9px; border-radius: 50%; background: #dbe0e7; }
.window-controls i:first-child { background: #f16d6d; }
.window-controls i:nth-child(2) { background: #f0b65c; }
.window-controls i:last-child { background: #43cf92; }
.code-window-title { flex: 1; text-align: center; color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.code-window-title span { padding: 0 5px; color: var(--dim); }
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--muted);
  font-size: 11.5px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.copy-button:hover { border-color: var(--cyan); color: var(--blue-deep); }
.copy-button.is-copied { border-color: var(--cyan); color: var(--blue-deep); }
.copy-button svg { width: 13px; height: 13px; }
.code-meta {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--dim);
  font-size: 11.5px;
}
.code-meta-note { color: var(--blue-deep); }
.code-block {
  margin: 0;
  padding: 24px 24px;
  overflow: auto;
  background: var(--code-bg);
  color: #24303f;
  font: 13px/1.8 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  tab-size: 4;
}
.code-block code { font: inherit; }
.code-keyword { color: #8b5cf6; }
.code-string { color: #c2410c; }
.tl { display: inline; }
.code-block[data-typing] .tl { visibility: hidden; }
.code-block[data-typing] .tl.tl-on { visibility: visible; }
.type-caret {
  display: inline-block;
  width: 8px; height: 15px;
  margin-left: 3px;
  vertical-align: -2px;
  background: var(--cyan);
  animation: caret-blink 1s step-end infinite;
}
@keyframes caret-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ===== Stats ===== */
.stats-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.stats-section[hidden] { display: none; }
.stat { text-align: center; }
.stat-value {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font: 760 clamp(28px, 3.4vw, 40px)/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--dim); font-size: 12px; letter-spacing: 0.12em; }
.stats-note { grid-column: 1 / -1; margin: -4px 0 0; color: var(--dim); font-size: 12px; line-height: 1.6; text-align: center; }
.stat-value[data-stat-saving] { color: #0891b2; }

/* ===== Section headings ===== */
.section-heading { max-width: 620px; margin-bottom: 40px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-heading h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 34px); line-height: 1.3; font-weight: 740; letter-spacing: -0.015em; }
.section-sub { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ===== Live pricing panel ===== */
.pricing-section { padding: 72px 0 24px; }
.pricing-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}
.pricing-table-head,
.pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 24px;
}
.pricing-table-head {
  background: var(--bg-soft);
  color: var(--dim);
  font: 600 11px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.1em;
}
.pricing-row { border-top: 1px solid var(--line-soft); font-size: 13.5px; transition: background 0.15s ease; }
.pricing-row:hover { background: rgba(37, 99, 235, 0.045); }
.group-name { min-width: 0; font-weight: 620; color: var(--ink-soft); overflow-wrap: anywhere; }
.platform-tag {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 620;
  white-space: nowrap;
}
.rate-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  color: var(--blue-deep);
  font: 740 14px/1 "SFMono-Regular", Consolas, monospace;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rate-from {
  color: var(--dim);
  font: 500 10.5px/1 "SFMono-Regular", Consolas, monospace;
}
.pricing-state { padding: 30px 24px; color: var(--muted); font-size: 13px; text-align: center; }
.pricing-state a { color: var(--blue-deep); font-weight: 650; }
.pricing-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-size: 12px;
}
.pricing-foot a { color: var(--blue-deep); font-weight: 650; white-space: nowrap; }
.pricing-foot a:hover { text-decoration: underline; }
.pricing-noscript { color: var(--muted); font-size: 13px; }
.pricing-noscript a { color: var(--blue-deep); }

/* ===== Features ===== */
.features-section { padding: 80px 0 32px; }
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card {
  position: relative;
  min-width: 0;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.44);
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.12);
}
.feature-index {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font: 700 12px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
}
.feature-card h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.feature-card code { color: var(--blue-deep); font: 12px/1.4 "SFMono-Regular", Consolas, monospace; }

/* ===== CTA ===== */
.cta-section {
  margin: 72px 0 88px;
  padding: 72px 32px;
  border-radius: 24px;
  background: linear-gradient(128deg, #07152f 0%, #123d82 54%, #075985 100%);
  box-shadow: 0 24px 60px rgba(7, 21, 47, 0.2);
  color: #fff;
  text-align: center;
}
.cta-section .eyebrow-light { color: #a5f3fc; }
.cta-section .eyebrow-light::before { color: var(--cyan-bright); }
.cta-section h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 36px); font-weight: 760; letter-spacing: -0.015em; }
.cta-section p { margin: 0 0 32px; color: rgba(255, 255, 255, 0.6); font-size: 14.5px; }
.cta-section code { color: #a5f3fc; font: 13px/1 "SFMono-Regular", Consolas, monospace; }
.cta-section .button-primary { background: #fff; color: var(--ink); box-shadow: none; }
.cta-section .button-primary span { color: var(--blue-deep); }
.cta-section .button-primary:hover { background: #eef2f6; }
.cta-section .button-secondary { border-color: rgba(255, 255, 255, 0.28); background: transparent; color: #fff; }
.cta-section .button-secondary:hover { border-color: rgba(255, 255, 255, 0.55); box-shadow: none; }

/* ===== Footer ===== */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-size: 12.5px;
}
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font: 700 12.5px/1 "SFMono-Regular", Consolas, monospace; letter-spacing: 0.07em; }
.footer-brand img { display: block; border-radius: 6px; }
.footer > div { display: flex; gap: 22px; }
.footer a { transition: color 0.15s ease; }
.footer a:hover { color: var(--ink); }

/* ===== Scroll reveal (JS adds .reveal-init; content stays visible without JS) ===== */
.reveal-init { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal-init.reveal-in { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-section { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
}
@media (max-width: 680px) {
  .topbar, main, .footer { width: min(calc(100% - 36px), var(--max)); }
  .topbar { min-height: 62px; gap: 12px; }
  .brand-logo { width: 28px; height: 28px; }

  .brand-name { font-size: 13px; }
  .main-nav { margin-left: auto; gap: 14px; font-size: 12px; }
  .main-nav a:nth-child(3) { display: none; }
  .nav-login { min-height: 36px; gap: 5px; padding: 0 13px; font-size: 12px; }
  .hero { padding: 64px 0 48px; }
  .hero-badge { margin-bottom: 20px; padding: 7px 11px; font-size: 11px; }
  .hero-badge-divider { display: none; }
  h1 { font-size: clamp(34px, 9.5vw, 46px); }
  .hero-lede { font-size: 14.5px; margin-bottom: 22px; }
  .hero-saving { margin-bottom: 24px; font-size: 11px; }
  .hero-saving strong { font-size: 16px; }
  .hero-highlights { gap: 8px 12px; margin-bottom: 28px; font-size: 11.5px; }
  .hero-actions .button { min-height: 46px; padding: 0 20px; font-size: 13.5px; }
  .hero-pills { gap: 8px; margin-top: 34px; }
  .hero-pills span { padding: 6px 12px; font-size: 11.5px; }
  .code-block { padding: 18px 16px; font-size: 11px; }
  .code-meta-note { display: none; }
  .stats-section { padding: 44px 0; }
  .pricing-table-head, .pricing-row { grid-template-columns: minmax(0, 1.4fr) auto; padding: 12px 16px; }
  .pricing-table-head .col-platform, .pricing-row .platform-tag { display: none; }
  .pricing-foot { padding: 12px 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 22px 20px; }
  .cta-section { margin: 56px 0 64px; padding: 52px 22px; }
  .footer { flex-wrap: wrap; padding: 16px 0; }
}
@media (max-width: 400px) {
  .main-nav { gap: 10px; font-size: 11px; }
  .nav-login { padding: 0 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html.dark {
  color-scheme: dark;
  --bg: #08111f;
  --bg-soft: #111d2e;
  --ink: #e8eef8;
  --ink-soft: #c7d4e5;
  --muted: #9aabc1;
  --dim: #778ba5;
  --line: rgba(139, 166, 204, 0.2);
  --line-soft: rgba(139, 166, 204, 0.12);
  --blue: #60a5fa;
  --blue-deep: #7db8ff;
  --cyan: #22d3ee;
  --cyan-bright: #67e8f9;
  --teal: #22d3ee;
  --teal-deep: #60a5fa;
  --grad: linear-gradient(100deg, #2563eb 0%, #0284c7 48%, #0891b2 100%);
  --grad-reverse: linear-gradient(100deg, #0891b2 0%, #0284c7 48%, #2563eb 100%);
  --code-bg: #0b1524;
}
html.dark body { background: var(--bg); color: var(--ink); }
html.dark .site-shell::before {
  background: radial-gradient(circle at 28% 38%, rgba(37, 99, 235, 0.16), transparent 40%), radial-gradient(circle at 72% 26%, rgba(6, 182, 212, 0.12), transparent 42%);
}
html.dark .topbar.is-scrolled { background: rgba(8, 17, 31, 0.86); }
html.dark .hero-badge,
html.dark .button-secondary,
html.dark .hero-pills span { background: rgba(17, 29, 46, 0.88); color: var(--ink-soft); }
html.dark .hero-badge { border-color: var(--line); color: var(--blue-deep); }
html.dark .code-window { background: #0d192a; border-color: var(--line); }
html.dark .copy-button { background: #111d2e; color: var(--muted); }
html.dark .code-block { background: var(--code-bg); color: #d5deeb; }
html.dark .code-string { color: #fb923c; }
html.dark .pricing-panel { background: #0d192a; }
html.dark .pricing-row:hover { background: rgba(96, 165, 250, 0.08); }
html.dark .feature-card { background: rgba(13, 25, 42, 0.9); }
html.dark .feature-card:hover { border-color: rgba(34, 211, 238, 0.42); }
html.dark .stat-value[data-stat-saving] { color: #22d3ee; }
html.dark .cta-section .button-primary { color: #07152f; }
html.dark .locale-menu { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38); }

@media (max-width: 680px) {
  .header-controls { gap: 3px; }
  .locale-toggle { gap: 3px; padding: 0 5px; font-size: 11px; }
  .theme-toggle { width: 34px; }
  .main-nav a:nth-child(2) { display: none; }
  .nav-login { gap: 5px; padding: 0 10px; }
}
@media (max-width: 400px) {
  .brand-name, .main-nav { display: none; }
  .topbar { gap: 8px; }
  .header-controls { margin-left: auto; }
}
