/* ==========================================================
   公司官网样式 — 静态站点，无外部依赖
   ========================================================== */

:root {
  --ink: #0f1419;
  --ink-2: #2b3440;
  --sub: #5c6674;
  --sub-2: #8a94a3;
  --line: #e4e8ee;
  --line-2: #eef1f5;
  --bg: #ffffff;
  --soft: #f6f8fb;
  --brand: #1a4fd6;
  --brand-dark: #123bab;
  --brand-soft: #edf2ff;
  --radius: 14px;
  --maxw: 1100px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 10px 30px -12px rgba(16, 24, 40, .16);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(30px, 4.2vw, 46px); }
h2 { font-size: clamp(23px, 2.6vw, 30px); }
h3 { font-size: 18px; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.35em; }
li { margin-bottom: .45em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 语言对照 ---------- */
.en {
  display: block;
  color: var(--sub);
  font-size: .92em;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: .005em;
}
.en-sm {
  display: block;
  color: var(--sub-2);
  font-size: .84em;
  line-height: 1.6;
  font-weight: 400;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); text-decoration: none; }

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(140deg, var(--brand) 0%, #4b7bff 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  color: var(--ink-2);
  font-size: 14.5px;
  padding: 8px 13px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { background: var(--soft); color: var(--ink); text-decoration: none; }
.nav-links a.active { color: var(--brand); background: var(--brand-soft); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: 96px 0 84px;
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 320px at 78% -10%, rgba(26, 79, 214, .10), transparent 65%),
    radial-gradient(520px 260px at 10% 110%, rgba(26, 79, 214, .06), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(26, 79, 214, .14);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.hero h1 {
  max-width: 22em;
  margin-bottom: 18px;
}
.hero h1 .en {
  font-size: .5em;
  margin-top: 12px;
  font-weight: 450;
  letter-spacing: 0;
  line-height: 1.55;
}

.hero-lead {
  font-size: 17px;
  color: var(--sub);
  max-width: 44em;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); color: var(--ink); }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  max-width: 760px;
}
.hero-fact dt {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sub-2);
  margin-bottom: 4px;
  font-weight: 600;
}
.hero-fact dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  word-break: break-word;
}

/* ---------- 通用区块 ---------- */
.section { padding: 76px 0; border-bottom: 1px solid var(--line-2); }
.section.alt { background: var(--soft); }
.section-head { max-width: 46em; margin-bottom: 40px; }
.section-head p { color: var(--sub); font-size: 16.5px; margin-bottom: 0; }

.section-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

/* ---------- 卡片网格 ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover {
  border-color: #cfd8e6;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card h3 { margin-bottom: 8px; font-size: 17px; }
.card p { margin: 0; color: var(--sub); font-size: 14.5px; }

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 17px;
  font-weight: 700;
}

/* ---------- 信息表 ---------- */
.info-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.info-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-2);
}
.info-row:last-child { border-bottom: 0; }
.info-row dt {
  color: var(--sub);
  font-size: 14px;
  font-weight: 600;
}
.info-row dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
  word-break: break-word;
}
.info-row dd strong { font-weight: 650; }

/* ---------- 时间线/步骤 ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 26px;
  color: var(--sub);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.steps li strong { color: var(--ink); display: block; margin-bottom: 2px; font-weight: 650; }

/* ---------- 文档页（隐私/条款） ---------- */
.doc-wrap {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding: 56px 0 88px;
}
.doc-toc {
  position: sticky;
  top: 92px;
  border-left: 2px solid var(--line);
  padding-left: 18px;
}
.doc-toc p {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sub-2);
  font-weight: 700;
  margin-bottom: 12px;
}
.doc-toc a {
  display: block;
  font-size: 13.5px;
  color: var(--sub);
  padding: 4px 0;
  line-height: 1.5;
  text-decoration: none;
}
.doc-toc a:hover { color: var(--brand); text-decoration: none; }

.doc { max-width: 46em; }
.doc h2 {
  font-size: 21px;
  margin-top: 2.2em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line-2);
}
.doc h2:first-of-type { margin-top: 1.2em; border-top: 0; padding-top: 0; }
.doc h3 { font-size: 16.5px; margin-top: 1.6em; }
.doc p, .doc li { font-size: 15.2px; color: var(--ink-2); }
.doc ul { padding-left: 1.2em; }
.doc .doc-meta {
  font-size: 13.5px;
  color: var(--sub);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 8px;
}
.callout {
  background: var(--brand-soft);
  border: 1px solid rgba(26, 79, 214, .16);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--ink-2);
  margin: 22px 0;
}
.callout strong { color: var(--brand-dark); }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
  background: #fff;
}
.lang-switch a {
  padding: 8px 18px;
  font-size: 14px;
  color: var(--sub);
  text-decoration: none;
}
.lang-switch a:hover { background: var(--soft); text-decoration: none; }
.lang-switch a.on { background: var(--ink); color: #fff; }

/* ---------- 页头（内页） ---------- */
.page-head {
  padding: 60px 0 44px;
  border-bottom: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--soft) 0%, #fff 100%);
}
.page-head h1 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 12px; }
.page-head p { color: var(--sub); max-width: 44em; margin: 0; font-size: 16px; }
.crumbs {
  font-size: 13px;
  color: var(--sub-2);
  margin-bottom: 16px;
}
.crumbs a { color: var(--sub); }
.crumbs span { margin: 0 7px; }

/* ---------- 联系 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
}
.contact-card dt {
  font-size: 12.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--sub-2);
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-card dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
  word-break: break-word;
}
.contact-card dd a { font-weight: 600; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: #b8c0cc;
  padding: 56px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer .brand { color: #fff; font-size: 16px; }
.footer-about p {
  color: #97a1b0;
  font-size: 13.5px;
  line-height: 1.7;
  margin: 14px 0 0;
  max-width: 30em;
}
.site-footer h4 {
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b8c0cc; text-decoration: none; font-size: 13.5px; }
.site-footer a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding-top: 22px;
  color: #86909f;
  font-size: 12.5px;
  line-height: 1.7;
}
.footer-bottom a { font-size: 12.5px; color: #86909f; }

/* ---------- 长文本折行保护 ---------- */
.doc, .doc p, .doc li, .info-row dd, .contact-card dd,
.doc-meta, .footer-about p { overflow-wrap: break-word; }
.doc-wrap > * { min-width: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .doc-wrap { grid-template-columns: 1fr; gap: 28px; }
  .doc-toc { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    display: none;
    box-shadow: 0 16px 24px -20px rgba(16, 24, 40, .4);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; font-size: 15px; }

  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
  .hero-facts { grid-template-columns: 1fr; gap: 18px; }
  .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .doc-wrap { padding: 32px 0 60px; }
  .doc-toc { column-count: 2; column-gap: 16px; }
  .doc-toc p { column-span: all; }
  .doc-meta { font-size: 13px; padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
