:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0f172a;
  --text-muted: #475569;
  --line: #d9e2f0;
  --brand: #0b1f4b;
  --brand-strong: #081736;
  --brand-soft: #e8eefc;
  --accent: #111827;
  --success: #1e8e5a;
  --warning: #a16207;
  --danger: #b42318;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #fbfcff 0%, var(--bg) 55%, #eef2f9 100%);
  color: var(--text);
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(250, 252, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  text-decoration: none;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-name {
  font-size: clamp(16px, 2vw, 18px);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: #ffffff;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--brand);
  color: #ffffff;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
}

.nav-link:hover {
  color: var(--brand);
  background: #eef3ff;
}

.nav-link.active {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

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

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

.lang-zh,
.lang-en {
  white-space: normal;
}

.site-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 16px 34px;
}

.hero-section {
  background: linear-gradient(135deg, #102855 0%, #1d3b78 45%, #264f93 100%);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid #153062;
  box-shadow: 0 14px 42px rgba(16, 40, 85, 0.24);
  margin-bottom: 14px;
}

.hero-shell {
  padding: 24px 24px;
}

.hero-shell h1 {
  margin: 0;
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.hero-shell p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 900px;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.62;
}

.hero-meta {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  margin-top: 8px !important;
}

.hero-compact .hero-shell {
  padding: 18px 20px;
}

.hero-cta-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
}

.btn-primary {
  background: #ffffff;
  color: var(--brand-strong);
}

.btn-primary:hover {
  background: #f5f8ff;
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.content-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px;
  box-shadow: 0 8px 26px rgba(2, 6, 23, 0.06);
}

.content-shell h1,
.content-shell h2,
.content-shell h3,
.content-shell h4 {
  margin: 0 0 12px;
  color: var(--accent);
  line-height: 1.3;
}

.content-shell h2 {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #e6ebf5;
  font-size: clamp(20px, 2.2vw, 27px);
}

.content-shell h3 {
  margin-top: 16px;
  font-size: clamp(17px, 1.9vw, 22px);
}

.content-shell p,
.content-shell li {
  color: var(--text);
  line-height: 1.72;
  font-size: 15px;
}

.content-shell ul,
.content-shell ol {
  padding-left: 22px;
  margin: 10px 0 14px;
}

.content-shell a {
  color: #0b3da8;
}

.kpi-grid,
.card-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.kpi-card,
.info-card,
.feature-card,
.plan-card {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.kpi-card {
  grid-column: span 4;
}

.info-card {
  grid-column: span 6;
}

.feature-card {
  grid-column: span 4;
}

.plan-card {
  grid-column: span 4;
  background: #f9fbff;
}

.plan-card.highlight {
  border-color: #274690;
  box-shadow: inset 0 0 0 1px rgba(39, 70, 144, 0.22);
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  color: #8a2b0f;
  background: #fff2ea;
}

.plan-title {
  margin-top: 8px;
  margin-bottom: 6px;
  font-size: 21px;
  font-weight: 800;
  color: #0c1935;
}

.plan-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.plan-price-line {
  margin-top: 12px;
  font-weight: 700;
  color: #102855;
}

.callout {
  border-left: 4px solid #274690;
  background: #f3f7ff;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 12px 0;
}

.value-shot {
  margin: 10px 0 16px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.value-shot img {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  height: auto;
  border-radius: 9px;
}

.app-store-cta {
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  padding: 14px;
}

.app-store-cta-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}

.app-store-cta-body {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.app-store-badge {
  width: 210px;
  max-width: 100%;
  height: auto;
}

.app-store-qr-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.app-store-qr {
  width: 84px;
  height: 84px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.legal-content-shell p:first-child {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 16px 24px;
}

.footer-brand p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 12px;
}

.footer-links a {
  color: #0b3da8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-meta {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.table-wrap th,
.table-wrap td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #e6ecf8;
  font-size: 14px;
}

.table-wrap th {
  background: #f7faff;
  color: #12244e;
}

@media (max-width: 900px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .lang-switch {
    align-self: flex-end;
  }

  .kpi-card,
  .info-card,
  .feature-card,
  .plan-card {
    grid-column: span 12;
  }

  .hero-shell {
    padding: 18px 16px;
  }

  .content-shell {
    padding: 16px;
  }

  .app-store-cta-body {
    align-items: flex-start;
  }

  .app-store-qr {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 640px) {
  .site-main {
    padding: 12px 10px 22px;
  }

  .nav-link {
    font-size: 12px;
    padding: 5px 9px;
  }

  .brand-name {
    font-size: 16px;
  }

  .hero-shell p {
    font-size: 15px;
  }

  .content-shell p,
  .content-shell li {
    font-size: 14px;
  }
}
