:root {
  --bg: #f8faff;
  --surface: #ffffff;
  --subtle: #eef3ff;
  --ink: #111b36;
  --muted: #526181;
  --line: #dce4f5;
  --brand: #254bb8;
  --brand-hover: #1d3c97;
  --brand-soft: #e9f0ff;
  --accent: #0c8c64;
  --radius: 14px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1222;
    --surface: #131c33;
    --subtle: #1a2542;
    --ink: #edf2ff;
    --muted: #a9b8db;
    --line: #28375d;
    --brand: #7ca2ff;
    --brand-hover: #9bb8ff;
    --brand-soft: rgba(124, 162, 255, 0.14);
    --accent: #4ad8aa;
  }
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font: 15px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 22px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: var(--brand); color: #fff; font-size: 13px; font-weight: 800;
}
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-size: 14px; font-weight: 550; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 18px; border-radius: 10px; font-weight: 650; font-size: 14px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.btn:hover { border-color: var(--brand); text-decoration: none; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-hover); }
.btn.sm { min-height: 32px; padding: 4px 12px; font-size: 13px; }

.hero { padding: 72px 0 54px; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); font-size: 12.5px; font-weight: 650; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 auto 18px; max-width: 820px; }
.hero p { font-size: 17px; color: var(--muted); max-width: 680px; margin: 0 auto 28px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 22px; }
.hero-sub { font-size: 13px; color: var(--muted); }

section.band { padding: 56px 0; border-top: 1px solid var(--line); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.section-head h2 { font-size: 28px; margin: 0 0 10px; letter-spacing: -0.01em; }
.section-head p { margin: 0; color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: grid; align-content: start; gap: 10px;
}
.card h3 { margin: 0; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.badge {
  display: inline-flex; width: fit-content; padding: 2px 9px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 650;
}

.price-card { position: relative; padding: 26px; gap: 14px; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: 0 16px 40px rgba(37, 75, 184, 0.12); }
.price-amount { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.price-amount small { font-size: 14px; font-weight: 500; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.check-list li::before { content: "✓ "; color: var(--accent); font-weight: 800; }

.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
.compare-table th { background: var(--subtle); font-weight: 700; }
.compare-table tr:last-child td { border-bottom: 0; }

.legal-main { max-width: 780px; margin: 0 auto; padding: 48px 22px 72px; }
.legal-main h1 { font-size: 32px; margin: 0 0 8px; }
.legal-main h2 { font-size: 20px; margin: 28px 0 8px; }
.legal-main p, .legal-main li { color: var(--muted); }

footer.site-foot {
  border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 13.5px;
}
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }

[data-lang="en"] .zh-only { display: none !important; }
[data-lang="zh"] .en-only { display: none !important; }

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
