:root {
  --bg: #0f1419;
  --surface: #1a2332;
  --border: #2d3a4f;
  --text: #e7ecf3;
  --muted: #9aa8bc;
  --accent: #5b9dff;
  --accent-hover: #7cb0ff;
  --ok: #3ecf8e;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 1.25rem; }
header {
  border-bottom: 1px solid var(--border);
  background: rgba(15,20,25,.92);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(8px);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem 0; flex-wrap: wrap;
}
.brand { font-weight: 700; color: var(--text); font-size: 1.05rem; }
.brand:hover { text-decoration: none; color: var(--text); }
.nav-links { display: flex; gap: .85rem; flex-wrap: wrap; align-items: center; font-size: .92rem; }
.lang-toggle {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); border-radius: 999px; padding: .25rem .7rem;
  cursor: pointer; font-size: .85rem;
}
.lang-toggle:hover { border-color: var(--accent); }
.hero { padding: 3rem 0 2rem; }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.25rem); line-height: 1.25; margin: 0 0 .75rem; }
.hero .sub { color: var(--muted); font-size: 1.08rem; max-width: 40rem; }
.badge {
  display: inline-block; font-size: .75rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ok); border: 1px solid #2a6b4f;
  background: #143528; padding: .2rem .55rem; border-radius: 999px; margin-bottom: .9rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn {
  display: inline-block; padding: .7rem 1.15rem; border-radius: 8px;
  font-weight: 600; font-size: .95rem; border: 1px solid transparent;
  text-decoration: none !important; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #0a1220 !important; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  background: transparent; color: var(--text) !important;
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent) !important; }
.btn-disabled {
  background: var(--surface); color: var(--muted) !important;
  border: 1px dashed var(--border); cursor: not-allowed;
  pointer-events: none;
}
.note { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
section { padding: 2rem 0; border-top: 1px solid var(--border); }
h2 { font-size: 1.35rem; margin: 0 0 1rem; }
h3 { font-size: 1.05rem; margin: 1.25rem 0 .5rem; }
ul { padding-left: 1.2rem; }
li { margin: .35rem 0; }
.muted { color: var(--muted); }
.grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
}
.card h3 { margin-top: 0; }
.price { font-size: 1.75rem; font-weight: 700; margin: .4rem 0; }
.price span { font-size: .9rem; font-weight: 500; color: var(--muted); }
.tag { font-size: .8rem; color: var(--ok); }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: .75rem 1rem; margin-bottom: .6rem;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: .6rem 0 0; color: var(--muted); font-size: .95rem; }
footer {
  border-top: 1px solid var(--border); padding: 2rem 0 3rem;
  color: var(--muted); font-size: .9rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: .75rem; }
.legal h1 { font-size: 1.6rem; margin-bottom: .25rem; }
.legal .meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.legal p, .legal li { color: var(--text); }
.legal ul { margin-bottom: 1rem; }
.lang-zh { display: none; }
html[lang="zh"] .lang-en { display: none; }
html[lang="zh"] .lang-zh { display: block; }
html[lang="zh"] span.lang-zh { display: inline; }
html[lang="zh"] .nav .lang-zh { display: inline; }
.inline-zh { display: none; }
html[lang="zh"] .inline-en { display: none; }
html[lang="zh"] .inline-zh { display: inline; }
@media (max-width: 560px) {
  .hero { padding: 2rem 0 1.25rem; }
  .cta-row .btn { width: 100%; text-align: center; }
}
