/* =========================================================
   Deepractice.cloud — 公司官网样式
   品牌资产沿用 deepractice.ai：Tech Blue #0284c7 / Wisdom Gold #f59e0b
   字体策略：不加载 Web Font，走系统中英文字体栈（港澳/内地首屏更快、无 FOUT）
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --bg:        #05070b;
  --bg-soft:   #080c14;
  --panel:     #0b1017;
  --panel-2:   #0f151f;

  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .18);

  --ink:       #e9eef6;
  --ink-2:     #b9c5d6;
  --muted:     #8494a9;
  --muted-2:   #62728a;

  --brand:     #0284c7;   /* Tech Blue — 主色（填充） */
  --brand-lt:  #4cc2f1;   /* 主色（暗底文字/描边） */
  --gold:      #f59e0b;   /* Wisdom Gold — 强调色 */

  /* 保保（产品品牌色） */
  --bao-a:     #f0d9a8;
  --bao-b:     #87ceeb;
  --bao-pink:  #d4a574;

  --radius:    14px;
  --radius-sm: 9px;
  --maxw:      1240px;
  --sec-pad:   112px;

  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system,
          "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "JetBrains Mono", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.22; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand-lt); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(2, 132, 199, .35); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sec { padding: var(--sec-pad) 0; border-top: 1px solid var(--line); position: relative; }
.sec--flush { border-top: 0; }

.sec-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; }
.sec-head__label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted-2);
  display: flex; align-items: center; gap: 12px;
}
.sec-head__label::before {
  content: ""; width: 22px; height: 1px; background: var(--gold); flex: none;
}
.sec-head__title { font-size: clamp(1.6rem, 3vw, 2.35rem); max-width: 22em; }
.sec-head__desc { color: var(--ink-2); max-width: 46em; font-size: 1.02rem; }

/* 两栏（左侧粘性标题 + 右侧内容）——用于「能力」与「为什么是我们」 */
.split { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 64px; }
.split__aside { position: sticky; top: 108px; align-self: start; }
.split__aside .sec-head__label { margin-bottom: 16px; }
.split__aside h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 16px; }
.split__aside p { color: var(--muted); font-size: .97rem; }

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
}
.hl { color: var(--brand-lt); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--ink-2); line-height: 1.85; }
.small { font-size: .9rem; color: var(--muted); }
.mono { font-family: var(--mono); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: .97rem; font-weight: 500; letter-spacing: .01em;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: #0391da; transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand-lt); color: var(--brand-lt); transform: translateY(-1px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.arrow { font-family: var(--mono); opacity: .75; }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 7, 11, .78);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 22px; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { height: 32px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-size: 16px; font-weight: 600; letter-spacing: .07em; }
.brand__text small {
  font-family: var(--mono); font-size: 9px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.brand--footer img { height: 40px; }
.brand--footer .brand__mark { height: 40px; }
.brand--footer .brand__text b { font-size: 17px; }
.brand__mark { height: 32px; width: auto; flex: none; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a, .nav__trigger {
  padding: 8px 13px; border-radius: 8px; font-size: .94rem; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav a:hover, .nav__trigger:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold);
}
.nav__item { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 268px;
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__menu a { display: block; padding: 10px 12px; border-radius: 8px; }
.nav__menu a strong { display: block; font-weight: 500; font-size: .94rem; color: var(--ink); }
.nav__menu a span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.header__cta { flex: none; }
.nav-toggle { display: none; }

.lang { display: flex; align-items: center; flex: none; margin-left: 4px; }
.lang a {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .06em;
  padding: 5px 8px; color: var(--muted); border-left: 1px solid var(--line);
  transition: color .16s var(--ease);
}
.lang a:first-child { border-left: 0; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { color: var(--gold); }

/* 英文字体比中文占宽，英文模式下单独收紧标题字号，避免断词 */
html[data-lang="en"] .hero h1 { font-size: clamp(1.75rem, 3.1vw, 2.55rem); }
html[data-lang="en"] .hero h1 em { display: inline; }

/* ---------- 7. Hero ---------- */
/* 顶部 padding 归零：首屏粒子带现在并进 hero 当第一块，不再靠 padding 抬高内容 */
.hero { position: relative; padding: 0 0 88px; overflow: hidden; }
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 80% at 62% 12%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 80% at 62% 12%, #000 0%, transparent 72%);
}
.hero__glow {
  position: absolute; width: 760px; height: 760px; right: -180px; top: -260px;
  background: radial-gradient(circle, rgba(2, 132, 199, .28), transparent 62%);
  filter: blur(10px); pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 3.05rem); line-height: 1.22; margin: 22px 0 24px; max-width: 13em; word-break: keep-all; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 46px;
  border-top: 1px solid var(--line); padding-top: 20px;
}
.hero__facts li {
  flex: 1 1 33%; min-width: 150px; padding-right: 18px;
  border-right: 1px solid var(--line);
}
.hero__facts li:last-child { border-right: 0; }
.hero__facts b { display: block; font-size: .95rem; font-weight: 500; }
.hero__facts span { font-family: var(--mono); font-size: .78rem; color: var(--muted-2); letter-spacing: .04em; }

/* 聊天示意面板 */
.mock {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  overflow: hidden;
}
.mock__bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02);
}
.mock__bar img { height: 26px; width: auto; }
.mock__bar b { font-size: .9rem; font-weight: 500; }
.mock__bar .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #22c55e; margin-left: auto;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .16);
}
.mock__tag {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 8px;
}
.mock__body { padding: 18px; display: grid; gap: 14px; }
.msg { max-width: 88%; font-size: .9rem; line-height: 1.7; border-radius: 14px; padding: 11px 14px; }
.msg--user { margin-left: auto; background: rgba(2, 132, 199, .16); border: 1px solid rgba(76, 194, 241, .3); }
.msg--ai { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.msg--ai ol { counter-reset: m; display: grid; gap: 7px; margin-top: 9px; }
.msg--ai li { counter-increment: m; padding-left: 24px; position: relative; color: var(--ink-2); }
.msg--ai li::before {
  content: counter(m); position: absolute; left: 0; top: 1px;
  font-family: var(--mono); font-size: .72rem; color: var(--brand-lt);
  border: 1px solid rgba(76, 194, 241, .35); border-radius: 4px;
  width: 16px; height: 16px; display: grid; place-items: center;
}
.cite {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-family: var(--mono); font-size: .72rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px;
}
.cite::before { content: "◍"; color: var(--gold); }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted-2); animation: blip 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blip { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ---------- 8. 事实条 ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { padding: 26px 24px; border-right: 1px solid var(--line); }
.strip__item:last-child { border-right: 0; }
.strip__item b { display: block; font-size: 1rem; font-weight: 500; margin-bottom: 4px; }
.strip__item span { font-size: .86rem; color: var(--muted); }

/* ---------- 9. 能力（规格表行） ---------- */
.specs { border-top: 1px solid var(--line); }
.spec {
  display: grid; grid-template-columns: 68px 1fr 1.15fr; gap: 28px;
  padding: 26px 18px 26px 4px; border-bottom: 1px solid var(--line);
  transition: background-color .2s var(--ease);
}
.spec:hover { background: rgba(255, 255, 255, .022); }
.spec__no { font-family: var(--mono); font-size: .9rem; color: var(--muted-2); padding-top: 4px; }
.spec:hover .spec__no { color: var(--gold); }
.spec__title { font-size: 1.1rem; font-weight: 600; }
.spec__title small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted-2); letter-spacing: .1em; font-family: var(--mono); margin-top: 6px; }
.spec__body { color: var(--ink-2); font-size: .96rem; }
.spec__body em { font-style: normal; color: var(--ink); border-bottom: 1px dotted var(--line-2); }
.spec__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.chip {
  font-size: .78rem; color: var(--muted); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 10px; background: rgba(255, 255, 255, .015);
}

/* ---------- 10. 场景切换器 ---------- */
.scn { display: grid; grid-template-columns: 250px 1fr; gap: 40px; }
.scn__tabs { display: grid; gap: 4px; align-content: start; }
.scn__tab {
  text-align: left; padding: 13px 15px; border-radius: var(--radius-sm);
  border: 1px solid transparent; color: var(--ink-2); font-size: .96rem;
  display: flex; align-items: center; gap: 10px;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.scn__tab i { font-style: normal; font-family: var(--mono); font-size: .74rem; color: var(--muted-2); }
.scn__tab:hover { background: rgba(255, 255, 255, .035); color: var(--ink); }
.scn__tab[aria-selected="true"] {
  background: rgba(2, 132, 199, .14); border-color: rgba(76, 194, 241, .32); color: var(--ink);
}
.scn__tab[aria-selected="true"] i { color: var(--brand-lt); }
.scn__panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 32px; min-height: 300px;
}
.scn__kicker { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; color: var(--gold); text-transform: uppercase; }
.scn__panel h3 { font-size: 1.35rem; margin: 12px 0 10px; }
.scn__panel > p { color: var(--ink-2); font-size: .97rem; max-width: 46em; }
.scn__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.scn__col { padding: 22px 22px 4px 0; }
.scn__col + .scn__col { padding-left: 24px; border-left: 1px solid var(--line); }
.scn__col h4 { font-size: .8rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; font-weight: 500; }
.scn__col li { font-size: .93rem; color: var(--ink-2); padding-left: 16px; position: relative; margin-bottom: 9px; }
.scn__col li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 1px; background: var(--line-2); }

/* ---------- 11. 产品 ---------- */
.prod-feature {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0;
  border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden;
  background: var(--panel); position: relative;
}
.prod-feature::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(240, 217, 168, .1), rgba(135, 206, 235, .1) 60%, transparent);
}
.prod-feature__main { padding: 40px; position: relative; }
.prod-feature__aside {
  border-left: 1px solid var(--line); padding: 40px; position: relative;
  background: linear-gradient(180deg, rgba(135, 206, 235, .06), transparent);
  display: flex; flex-direction: column; gap: 18px;
}
.prod-lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.prod-lockup img { width: 54px; height: 54px; border-radius: 15px; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
.prod-lockup b { display: block; font-size: 1.3rem; font-weight: 600; }
.prod-lockup span { font-family: var(--mono); font-size: .78rem; color: var(--muted); letter-spacing: .06em; }
.prod-feature h3.pitch { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: 14px; }
.prod-feature p { color: var(--ink-2); font-size: .97rem; }
.prod-list { display: grid; gap: 0; margin-top: 26px; border-top: 1px solid var(--line); }
.prod-list li { padding: 13px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .94rem; color: var(--ink-2); }
.prod-list li b { color: var(--ink); font-weight: 500; }
.prod-list li i { font-style: normal; font-family: var(--mono); font-size: .74rem; color: var(--bao-pink); }
.prod-stat { border-top: 1px solid var(--line); padding-top: 16px; }
.prod-stat:first-of-type { border-top: 0; padding-top: 0; }
.prod-stat b { display: block; font-size: .95rem; font-weight: 500; }
.prod-stat span { font-size: .86rem; color: var(--muted); }

.roadmap { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.roadmap__row {
  display: grid; grid-template-columns: 200px 1fr auto; gap: 24px; align-items: center;
  padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--panel);
}
.roadmap__row:last-child { border-bottom: 0; }
.roadmap__row b { font-weight: 500; font-size: .97rem; }
.roadmap__row p { font-size: .9rem; color: var(--muted); }
.tag {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 11px; color: var(--muted);
  white-space: nowrap;
}
.tag--soon { color: var(--gold); border-color: rgba(245, 158, 11, .38); }

/* ---------- 12. 交付路径 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 30px 26px 30px 0; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 34px; height: 2px; background: var(--brand);
}
.step:nth-child(2)::before { background: var(--brand-lt); }
.step:nth-child(3)::before { background: var(--gold); }
.step:nth-child(4)::before { background: var(--bao-pink); }
.step__no { font-family: var(--mono); font-size: .8rem; color: var(--muted-2); letter-spacing: .1em; }
.step h3 { font-size: 1.08rem; margin: 12px 0 10px; }
.step p { font-size: .93rem; color: var(--ink-2); }
.step__out { margin-top: 16px; font-size: .84rem; color: var(--muted); font-family: var(--mono); }
.step__out b { color: var(--ink-2); font-weight: 400; }

/* ---------- 13. 为什么是我们 ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid var(--line); }
.why__item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.why__item h3 { font-size: 1rem; margin-bottom: 8px; }
.why__item p { font-size: .93rem; color: var(--ink-2); }

/* ---------- 14. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 1.02rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.2rem; color: var(--muted); transition: color .16s, transform .2s var(--ease);
}
.faq details[open] summary::after { content: "–"; color: var(--brand-lt); }
.faq .faq__a { padding: 0 60px 24px 0; color: var(--ink-2); font-size: .96rem; max-width: 54em; }

/* ---------- 15. CTA ---------- */
.cta { border-top: 1px solid var(--line); background: var(--bg-soft); position: relative; overflow: hidden; }
.cta__glow {
  position: absolute; width: 620px; height: 620px; left: 50%; bottom: -420px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(245, 158, 11, .16), transparent 62%); pointer-events: none;
}
.cta__inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; padding: 88px 0; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 18px; }
.cta p { color: var(--ink-2); max-width: 36em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact-card { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); padding: 28px; }
.contact-card h3 { font-size: .82rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 500; margin-bottom: 18px; }
.contact-card dl { display: grid; gap: 14px; margin: 0; }
.contact-card dt { font-size: .84rem; color: var(--muted); }
.contact-card dd { margin: 2px 0 0; font-size: .96rem; }

/* ---------- 16. Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 34px; background: var(--bg); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p { font-size: .9rem; color: var(--muted); max-width: 26em; }
.footer h4 { font-size: .8rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 500; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer li a { font-size: .92rem; color: var(--ink-2); transition: color .16s; }
.footer li a:hover { color: var(--brand-lt); }
.footer li span { font-size: .92rem; color: var(--muted); }
.footer__bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center;
  font-size: .84rem; color: var(--muted-2);
}
.footer__bottom .mono { letter-spacing: .04em; }

/* ---------- 17. 特效：首屏粒子文字 + 结尾流动线条 ---------- */
/* 首屏粒子带：并入 hero 当作第一块。画布本身画的底色 = --bg，而 hero 的网格(.hero__grid-bg)
   与光晕(.hero__glow) 在 DOM 中位于它之后、同为定位元素 —— 因此绘制在画布之上。
   于是粒子区与下方内容共用同一层背景（底色 + 网格 + 光晕），没有独立色块，也就没有接缝。
   文字来自容器 aria-label（随语言变），12s 换一个词。 */
.hero .fx-particles {
  position: relative; height: clamp(220px, 34vh, 380px);
  background: var(--bg); overflow: hidden; margin-bottom: 44px;
}
.fx-particles canvas { display: block; width: 100%; height: 100%; }

/* 结尾流动线条：24×4 条虚线贝塞尔曲线缓慢流动，纯装饰无文字。
   不再是 </main> 与页脚之间的一段独立色块，而是页面末段（CTA / 联系）的绝对定位背景层：
   与内容同处一区、共用该段底色（自身不设背景），四周用遮罩把线条淡出。 */
.fx-lines { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fx-lines svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(66% 62% at 50% 50%, #000 20%, transparent 100%);
  mask-image: radial-gradient(66% 62% at 50% 50%, #000 20%, transparent 100%);
}
.fx-line { animation: fx-travel var(--fx-duration, 15s) linear infinite; animation-delay: var(--fx-delay, 0s); }
@keyframes fx-travel {
  0% { stroke-dashoffset: var(--fx-dash, 200px); }
  100% { stroke-dashoffset: calc(-1 * var(--fx-dash, 200px)); }
}

/* 末段（联系 / CTA）的文字与卡片压在流动线条之上 */
#contact > .wrap { position: relative; z-index: 1; }

@media (max-width: 860px) {
  .hero .fx-particles { height: clamp(180px, 42vw, 280px); }
}
@media (prefers-reduced-motion: reduce) {
  .fx-line { animation: none; }
}

/* ---------- 18. 子页面 ---------- */
.page-head { padding: 76px 0 54px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head__glow {
  position: absolute; width: 620px; height: 620px; right: -220px; top: -320px;
  background: radial-gradient(circle, rgba(2, 132, 199, .2), transparent 62%); pointer-events: none;
}
.page-head__inner { position: relative; }
.crumb { font-family: var(--mono); font-size: .78rem; color: var(--muted-2); letter-spacing: .04em; margin-bottom: 22px; }
.crumb a:hover { color: var(--brand-lt); }
.page-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 14px 0 18px; }
.page-head .lead { max-width: 42em; }
.page-head--bao .page-head__glow { background: radial-gradient(circle, rgba(135, 206, 235, .24), transparent 62%); }

.phone {
  width: 100%; max-width: 330px; margin: 0 auto; border: 1px solid var(--line-2);
  border-radius: 30px; background: var(--panel); padding: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
}
.phone__screen { border-radius: 20px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.phone__status { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: .82rem; }
.phone__status b { font-weight: 500; }
.phone__status .dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; margin-left: auto; }
.phone__chat { padding: 14px; display: grid; gap: 11px; }
.phone__chat .msg { font-size: .82rem; padding: 9px 12px; }
.phone__tabbar { display: flex; border-top: 1px solid var(--line); padding: 10px 6px; font-size: .7rem; color: var(--muted-2); text-align: center; }
.phone__tabbar span { flex: 1; }
.phone__tabbar span[data-on] { color: var(--ink); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  padding: 26px;
}
.card h3 { font-size: 1.04rem; margin-bottom: 10px; }
.card p { font-size: .93rem; color: var(--ink-2); }
.card__kicker { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }

.arch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.arch__node {
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 18px;
  background: var(--panel); position: relative;
}
.arch__node b { display: block; font-size: .95rem; font-weight: 500; margin-bottom: 6px; }
.arch__node span { font-size: .84rem; color: var(--muted); }
.arch__node:not(:last-child)::after {
  content: "→"; position: absolute; right: -12px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: .9rem; color: var(--muted-2);
}

/* ---------- 18b. 多语言：切换未就绪前先隐藏，避免简体闪一下 ---------- */
html.i18n-pending body { visibility: hidden; }
html.i18n-pending .site-header { visibility: visible; }

/* ---------- 19. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split__aside { position: static; }
  .cta__inner { grid-template-columns: 1fr; gap: 36px; padding: 68px 0; }
  .scn { grid-template-columns: 210px 1fr; gap: 26px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .arch { grid-template-columns: 1fr 1fr; }
  .arch__node:nth-child(2)::after { display: none; }
}
@media (max-width: 860px) {
  :root { --sec-pad: 76px; }
  .nav, .header__cta { display: none; }
  .brand img { height: 28px; }
  .brand__text b { font-size: 14px; }
  .brand__text small { font-size: 8px; letter-spacing: .16em; }
  .lang { margin-left: auto; }
  .site-header[data-open="true"] .lang { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
  .site-header[data-open="true"] .nav {
    display: grid; gap: 2px; position: absolute; left: 0; right: 0; top: 68px;
    background: var(--panel-2); border-bottom: 1px solid var(--line-2); padding: 12px;
  }
  .site-header[data-open="true"] .nav a, .site-header[data-open="true"] .nav__trigger { display: block; padding: 12px 14px; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 10px; }
  .scn { grid-template-columns: 1fr; }
  .scn__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
  .scn__tab { border: 1px solid var(--line); }
  .scn__cols { grid-template-columns: 1fr; }
  .scn__col { padding: 20px 0 4px; }
  .scn__col + .scn__col { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .prod-feature { grid-template-columns: 1fr; }
  .prod-feature__aside { border-left: 0; border-top: 1px solid var(--line); }
  .strip__inner { grid-template-columns: 1fr 1fr; }
  .strip__item:nth-child(2) { border-right: 0; }
  .strip__item:nth-child(1), .strip__item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .spec { grid-template-columns: 42px 1fr; gap: 16px; }
  .spec__body { grid-column: 2; }
  .why { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 0 0 60px; }
  .hero__facts li { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 0; }
  .hero__facts li:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .roadmap__row { grid-template-columns: 1fr; gap: 10px; }
  .strip__inner { grid-template-columns: 1fr; }
  .strip__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr; }
  .prod-feature__main, .prod-feature__aside { padding: 26px; }
  .scn__panel { padding: 22px; }
  .tweaks { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .typing i { animation: none; }
  * { transition-duration: .01ms !important; }
}

@media print {
  .site-header, .tweaks, .cta__actions, .hero__glow, .page-head__glow { display: none !important; }
  body { background: #fff; color: #000; }
  .sec { break-inside: avoid; }
}
