/* =========================================================
   无界工作室 · 官网样式 v3
   工程感 / 单主色 / 发丝级描边 / 等宽技术标签
   性能原则：不使用 backdrop-filter、mix-blend-mode、动画模糊、
   大面积 background-position 动画，以及会触发回流的 transition(width/height)
   ========================================================= */

/* ---------------------------------------------------------
   0. 令牌
   --------------------------------------------------------- */
:root {
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", "Courier New", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --radius-sm: 7px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

.theme-dark {
  color-scheme: dark;
  --bg: #09090b;
  --panel: #0f0f12;
  --panel-2: #141418;
  --text: #fafafa;
  --dim: #8b8b95;
  --mute: #5c5c66;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);
  --accent: #818cf8;
  --accent-soft: rgba(129, 140, 248, .12);
  --accent-line: rgba(129, 140, 248, .30);
}

.theme-light {
  color-scheme: light;
  --bg: #fafafa;
  --panel: #ffffff;
  --panel-2: #f4f4f5;
  --text: #09090b;
  --dim: #52525b;
  --mute: #8f8f99;
  --line: #e4e4e7;
  --line-2: #d4d4d8;
  --accent: #4338ca;
  --accent-soft: rgba(67, 56, 202, .07);
  --accent-line: rgba(67, 56, 202, .22);
}

/* ---------------------------------------------------------
   1. 基础
   --------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #09090b;
  color: #fafafa;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; color: var(--text); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }
svg { display: block; }
button { font: inherit; color: inherit; }
code { font-family: var(--mono); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.ic { width: 17px; height: 17px; flex: none; }

::selection { background: rgba(129, 140, 248, .3); color: #fff; }

/* ---------------------------------------------------------
   2. 滚动进度
   --------------------------------------------------------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 400; background: rgba(255, 255, 255, .06); transition: background-color .3s var(--ease); }
html.on-light .scroll-progress { background: rgba(9, 9, 11, .07); }
.scroll-progress i { display: block; height: 100%; width: 0%; background: var(--accent); }

/* ---------------------------------------------------------
   3. 按钮
   --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 15px; font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease);
}
.btn-primary {
  background: #4f46e5;
  color: #fff;
  border-color: #4f46e5;
}
.btn-primary:hover { background: #4338ca; border-color: #4338ca; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* 复制邮箱按钮（联系区） */
.copy-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 16px;
  border-radius: 8px;
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .06em;
  color: #8b8b95;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .17);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.copy-btn:hover { color: var(--accent); border-color: var(--accent-line); }

/* ---------------------------------------------------------
   4. 顶栏
   --------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  /* 顶栏主题变量：默认深色，命中浅色区块时由 html.on-light 覆盖 */
  --h-bg: transparent;
  --h-line: transparent;
  --h-text: #fafafa;
  --h-dim: #8b8b95;
  --h-mark: #5c5c66;
  --h-hover: rgba(255, 255, 255, .06);
  --h-edge: rgba(255, 255, 255, .16);
  --h-panel: #09090b;
  --h-accent: #818cf8;
  --h-accent-line: rgba(129, 140, 248, .30);
  background: var(--h-bg);
  border-bottom: 1px solid var(--h-line);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  --h-bg: rgba(9, 9, 11, .95);
  --h-line: rgba(255, 255, 255, .09);
}
html.on-light .site-header {
  --h-text: #09090b;
  --h-dim: #52525b;
  --h-mark: #8f8f99;
  --h-hover: rgba(9, 9, 11, .05);
  --h-edge: rgba(9, 9, 11, .16);
  --h-panel: #fafafa;
  --h-accent: #4338ca;
  --h-accent-line: rgba(67, 56, 202, .22);
}
html.on-light .site-header.scrolled {
  --h-bg: rgba(250, 250, 250, .95);
  --h-line: rgba(9, 9, 11, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { flex: none; height: 26px; }
.brand-mark img { display: block; height: 100%; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
/* 品牌锁定：中文是「名」，英文是「注」。
   英文字距按实测调校（中文 17px≈85px，英文 9px+.15em≈88px），两行等宽成块 */
.brand-text strong { font-size: 17px; color: var(--h-text); font-weight: 700; transition: color .3s var(--ease); }
.brand-text em {
  font-family: var(--mono);
  font-size: 9px; font-style: normal; color: var(--h-accent);
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-top: 3px;
  transition: color .3s var(--ease);
}
/* 浅色顶栏保持中性灰，避免与白底抢色 */
html.on-light .brand-text em { color: var(--h-mark); }

/* 导航：双语标签（等宽英文注 + 中文名）＋ 发丝分隔，
   与品牌锁定、全站 sec-meta 标注统一成同一套技术语言 */
.nav { display: flex; align-items: center; }
.nav-link {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 5px 14px;
  text-align: center;
}
.nav-link + .nav-link::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 17px;
  background: var(--h-edge);
}
.nav-link em {
  font-family: var(--mono); font-style: normal;
  font-size: 9px; letter-spacing: .18em; line-height: 1;
  color: var(--h-mark);
  transition: color .2s var(--ease);
}
.nav-link span {
  font-size: 13.5px; font-weight: 700; line-height: 1.15;
  color: var(--h-dim);
  transition: color .2s var(--ease);
}
.nav-link:hover em, .nav-link.active em { color: var(--h-accent); }
.nav-link:hover span, .nav-link.active span { color: var(--h-text); }
.nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px;
  height: 1px; background: var(--h-accent);
}

/* 顶栏 CTA：克制的描边按钮，替换原先抢眼的实心靛蓝 */
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: 18px;
  height: 34px; padding: 0 18px;
  border-radius: 7px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  color: var(--h-text);
  background: transparent;
  border: 1px solid var(--h-edge);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav-cta:hover { color: var(--h-accent); border-color: var(--h-accent-line); }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px;
  border: 1px solid var(--h-edge);
  border-radius: 8px;
  background: transparent; cursor: pointer;
  transition: border-color .3s var(--ease);
}
.menu-toggle span { display: block; width: 17px; height: 1.6px; margin: 0 auto; background: var(--h-text); transition: transform .25s var(--ease), opacity .2s var(--ease), background-color .3s var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------------------------------------------------------
   5. 区块通用
   --------------------------------------------------------- */
.section {
  position: relative;
  padding: 120px 0;
  background: var(--bg);
  color: var(--text);
  --slant: clamp(34px, 4.5vw, 80px);   /* 斜切高差：分界左低右高，两端相差此值 */
}
.section > .container { position: relative; }

/* 区块衔接：不做水平直边，改成一条极缓的斜切（左低右高，约 2-3°）。
   做法是让「下方区块的底色」斜着往上侵入上一个区块，
   并在斜边处留出 1.5px 靛蓝细线——即「倾斜的分界 + 一条发光缝」。
   ::before 是靛蓝斜楔；::after 是底色斜楔，整体下移 1.5px 压住它，只露出发光线。 */
.section::before,
.section::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: var(--slant);
  pointer-events: none;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.section::before {
  top: calc(-1 * var(--slant));
  background: var(--accent);
}
.section::after {
  top: calc(-1 * var(--slant) + 1.5px);
  background: var(--bg);
}
/* 首屏例外：#services 与 hero 之间保留水平直边，不做斜切 */
#services::before,
#services::after { display: none; }

.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-meta {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--mute);
  margin-bottom: 16px;
}
.sec-no { color: var(--accent); font-weight: 700; }
.sec-title { font-size: clamp(27px, 3.6vw, 41px); }
.sec-desc { margin-top: 17px; font-size: 16.5px; color: var(--dim); line-height: 1.85; }

/* 面板 */
.panel {
  padding: 34px 32px 36px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease);
}
.panel:hover { border-color: var(--line-2); }
.theme-light .panel { box-shadow: 0 1px 2px rgba(9, 9, 11, .03); }
.theme-dark .panel:hover { border-color: var(--accent-line); }

.panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.panel-icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 8px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.panel-icon svg { width: 22px; height: 22px; }

/* 产品真实 logo：两个都是方形应用图标，统一 42px */
.panel-logo { flex: none; height: 42px; display: flex; align-items: center; }
.panel-logo img { display: block; height: 100%; width: auto; }
.panel-head h3 { font-size: 21px; }
.panel-title { flex: 1; min-width: 0; }
.panel-title em {
  display: block;
  font-family: var(--mono);
  font-size: 10px; font-style: normal; color: var(--mute);
  text-transform: uppercase;
  letter-spacing: .16em; margin-top: 4px;
}
.badge {
  padding: 4px 10px; border-radius: 5px;
  font-family: var(--mono); font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--dim);
  background: var(--panel-2);
  border: 1px solid var(--line);
}
.panel-desc { font-size: 15.5px; color: var(--dim); line-height: 1.85; }

/* 产品气质短句：一句留白，不做清单式说明 */
.panel-scene {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .06em; line-height: 1.7;
  color: var(--dim);
}

/* 能力清单：勾选行。去掉表格线、勾选标记带浅底色，卡片读起来更整体 */
.list { margin-top: 22px; display: grid; gap: 13px; }
.list li {
  position: relative;
  padding-left: 25px;
  font-size: 15px; line-height: 1.6;
}
.list li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 4px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.list li::after {
  content: "";
  position: absolute; left: 5.7px; top: 7.7px;
  width: 4.5px; height: 8.5px;
  border: solid var(--accent);
  border-width: 0 1.7px 1.7px 0;
  transform: rotate(45deg);
}

/* 规格表（产品指标） */
.spec {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spec > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 11px 0;
}
.spec > div + div { border-top: 1px solid var(--line); }
.spec dt {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  color: var(--mute);
}
.spec dd {
  font-family: var(--mono); font-size: 20px; font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.spec dd b { font-weight: 700; }
.spec dd.lit { color: var(--accent); font-size: 17px; }

/* 标签 */
.tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 6px 12px; border-radius: 5px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .02em;
  color: var(--dim);
  background: var(--panel-2);
  border: 1px solid var(--line);
}
.tags-tight { margin-top: 22px; }

.link-arrow {
  margin-top: 26px;
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  font-size: 15px; font-weight: 700;
  color: var(--accent);
  transition: gap .2s var(--ease);
}
.link-arrow:hover { gap: 13px; }

/* ---------------------------------------------------------
   6. 首屏
   --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  background: #09090b;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}

/* 点阵地球 */
.hero-globe {
  position: absolute; z-index: 2;
  top: 50%; right: -8%;
  width: clamp(360px, 46vw, 680px);
  height: clamp(360px, 46vw, 680px);
  transform: translateY(-50%);
  pointer-events: none;
}

/* 文字可读性遮罩：位于地球之上、正文之下 */
.hero-scrim {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(9, 9, 11, .94) 0%,
    rgba(9, 9, 11, .82) 32%,
    rgba(9, 9, 11, .34) 62%,
    rgba(9, 9, 11, 0) 86%);
}

/* 首屏左栏：正文与页头对齐到同一列（不再是居中窄块），
   并让读出行收在球体左侧，避免与右侧点阵地球互相干扰 */
.hero-inner { position: relative; z-index: 4; }
.hero-main { max-width: 1040px; }

/* 左侧技术纵轴：挂在正文列左侧的边距里，容器居中时随视口定位；窄屏隐藏 */
.hero-rail {
  position: absolute; z-index: 5;
  top: 50%; transform: translateY(-50%);
  left: calc(50% - 608px);
  display: none;
  flex-direction: column; align-items: center; gap: 20px;
}
@media (min-width: 1280px) { .hero-rail { display: flex; } }
.hero-rail-no {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .2em; color: var(--accent);
}
.hero-rail-axis {
  width: 1px; height: 90px;
  background: linear-gradient(180deg, transparent,
    rgba(255, 255, 255, .18) 30%, rgba(255, 255, 255, .18) 70%, transparent);
}
.hero-rail-label {
  writing-mode: vertical-rl; text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .34em;
  color: #5c5c66; white-space: nowrap;
}

.mono-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px; letter-spacing: .12em;
  color: #8b8b95;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  background: rgba(255, 255, 255, .03);
}
.mono-line .caret {
  width: 7px; height: 14px;
  background: var(--accent);
  animation: blink 1.3s steps(2, start) infinite;
}
@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: 0 } }

.hero-title {
  margin-top: 30px;
  font-size: clamp(44px, 7.2vw, 88px);
  line-height: 1.1;
  letter-spacing: -.045em;
}
.line-mask { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line { display: block; }
.line .ch {
  display: inline-block;
  transform: translateY(112%);
  opacity: 0;
  transition: transform .8s var(--ease-out), opacity .8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 38ms);
}
.line.ready .ch { transform: none; opacity: 1; }
.hero-title .line-mask:nth-child(2) .line { color: var(--accent); }

/* 能力标签带：等宽 + 发丝分隔，充实左栏横向密度 */
.hero-tags {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #6e6e79;
}
.hero-tags span { padding: 0 16px; border-left: 1px solid rgba(255, 255, 255, .14); }
.hero-tags span:first-child { padding-left: 0; border-left: none; }

.hero-sub {
  margin-top: 26px; max-width: 660px;
  font-size: 17.5px; line-height: 1.9;
  color: #8b8b95;
}
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }

.readout {
  margin-top: 60px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .09);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.readout-cell {
  padding: 20px 22px 20px 0;
  display: flex; flex-direction: column; gap: 6px;
}
.readout-cell + .readout-cell { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .09); }
.readout-cell .k {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: #5c5c66;
}
.readout-cell .v {
  font-family: var(--mono); font-size: 30px; font-weight: 700;
  color: #fafafa; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.readout-cell .v b { font-weight: 700; }
.readout-cell .v i { font-style: normal; font-size: 18px; color: #5c5c66; margin-left: 2px; }
.readout-cell .s {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  color: #45454d;
}

.scroll-hint {
  position: absolute; left: 28px; bottom: 32px; z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #5c5c66;
  transition: color .25s var(--ease);
}
.scroll-hint:hover { color: var(--accent); }
.scroll-hint-track { position: relative; width: 1px; height: 42px; background: rgba(255, 255, 255, .14); }
.scroll-hint-track i {
  position: absolute; left: -1.5px; top: 0;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0);    opacity: 0 }
  20%  { opacity: 1 }
  80%  { transform: translateY(38px); opacity: 1 }
  100% { transform: translateY(42px); opacity: 0 }
}
.scroll-hint em { font-family: var(--mono); font-size: 10px; font-style: normal; letter-spacing: .18em; }

/* ---------------------------------------------------------
   7. 两栏网格
   --------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* ---------------------------------------------------------
   8. 技术区块
   --------------------------------------------------------- */
.stack-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; }

.code-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.code-cap {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}
.code-cap .dots { display: flex; gap: 5px; }
.code-cap .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.code-file { font-family: var(--mono); font-size: 11.5px; color: var(--mute); letter-spacing: .04em; }

.code-block {
  margin: 0;
  padding: 22px 20px;
  background: #0b0b0d;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13.5px; line-height: 1.85;
  color: #d4d4d8;
  tab-size: 2;
}
.theme-light .code-block { border-top: 1px solid #1c1c20; }
.code-block .c { color: #6b6b76; }
.code-block .k { color: #a5b4fc; }
.code-block .f { color: #e4e4e7; }
.code-block .s { color: #86efac; }

/* 逐行揭示：代码块进入视口后，各行按 60ms 错峰落下 */
.code-block .cl {
  display: block;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.code-wrap.in .cl { opacity: 1; transform: none; }

.code-note { padding: 16px 20px 18px; font-size: 14px; color: var(--dim); border-top: 1px solid var(--line); }
.code-note code {
  padding: 2px 6px; border-radius: 4px;
  background: var(--panel-2); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--accent);
}

/* 技术清单：左侧代码卡片作「真的做过」的凭证，右侧按主题归类的真实技术栈 */
.stack-list { border-top: 1px solid var(--line); }
.stack-list li { padding: 15px 2px; border-bottom: 1px solid var(--line); }
.stack-list b { display: block; font-size: 15px; color: var(--text); }
.stack-list span { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11.5px; color: var(--mute); letter-spacing: .03em; line-height: 1.75; }

/* ---------------------------------------------------------
   9. 流程
   --------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--line-2); }
/* 连接线：随各步 data-delay 错峰，从左侧逐段画实，把四步串起来 */
.step::before {
  content: "";
  position: absolute; left: 0; top: -1px; width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.step.in::before { transform: scaleX(1); }
.step-no {
  display: block;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 14px;
}
.step h3 { font-size: 18px; }
.step p { margin-top: 11px; font-size: 14.5px; color: var(--dim); line-height: 1.82; }

.promise {
  margin-top: 62px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.promise-cell { padding-left: 18px; border-left: 1px solid var(--line-2); }
.promise-cell b { display: block; font-size: 15.5px; color: var(--text); }
.promise-cell span { display: block; margin-top: 9px; font-size: 14px; color: var(--dim); line-height: 1.8; }

/* ---------------------------------------------------------
   10. FAQ
   --------------------------------------------------------- */
/* 列表铺满内容列，与页头、其他板块左右对齐（原先 880px 收窄会偏左留白） */
.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0;
  background: none; border: none;
  text-align: left; cursor: pointer;
  font-size: 16.5px; font-weight: 700;
  color: var(--text);
  transition: color .2s var(--ease);
}
.faq-q:hover { color: var(--accent); }

.faq-no {
  flex: none;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  color: var(--mute);
  transition: color .25s var(--ease);
}
.faq-text { flex: 1; }
.faq-item.open .faq-no { color: var(--accent); }

.faq-icon { position: relative; flex: none; width: 16px; height: 16px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.faq-icon::before { width: 14px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 14px; }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }

.faq-a { height: 0; overflow: hidden; transition: height .36s var(--ease); }
.faq-a > div {
  padding: 0 40px 22px 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.faq-item.open .faq-a > div { opacity: 1; transform: none; transition-delay: .08s; }
/* 答案正文限制阅读宽度，避免长行（问句行仍铺满） */
.faq-a p { max-width: 760px; font-size: 15px; color: var(--dim); line-height: 1.88; }

/* ---------------------------------------------------------
   11. 联系
   --------------------------------------------------------- */
.contact-section { padding-bottom: 118px; }

.contact-box {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px;
  padding: 50px 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.contact-copy h2 { font-size: clamp(26px, 3.2vw, 36px); }
.contact-lead { margin-top: 16px; font-size: 16px; color: var(--dim); line-height: 1.88; max-width: 470px; }
.contact-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.contact-note { margin-top: 20px; font-family: var(--mono); font-size: 11.5px; color: var(--mute); letter-spacing: .02em; }

.contact-card { padding: 26px 24px; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); align-self: start; }
.contact-card-title { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--mute); margin-bottom: 18px; }
.contact-links { display: flex; flex-direction: column; }
.contact-links li { padding: 13px 0; border-top: 1px solid var(--line); }
.contact-links li:first-child { border-top: none; padding-top: 0; }
.contact-links span { display: block; font-size: 13px; color: var(--mute); }
.contact-links a {
  display: inline-block; margin-top: 4px;
  font-family: var(--mono); font-size: 13.5px; font-weight: 700;
  color: var(--accent);
  word-break: break-all;
  transition: opacity .2s var(--ease);
}
.contact-links a:hover { opacity: .75; }

/* ---------------------------------------------------------
   12. 页脚
   --------------------------------------------------------- */
.site-footer {
  position: relative;
  padding: 64px 0 34px;
  background: #09090b;
  border-top: 1px solid rgba(255, 255, 255, .09);
  overflow: hidden;
}
/* 点阵底纹：呼应 hero 的点阵地球，静态无动画 */
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  pointer-events: none;
}

.footer-top {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px;
  align-items: start;
  padding-bottom: 40px;
}

.footer-lead { display: flex; flex-direction: column; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand .brand-mark { height: 34px; }
.footer-brand strong { display: block; font-size: 19px; color: #fafafa; }
.footer-brand p { margin-top: 4px; font-family: var(--mono); font-size: 10.5px; color: #5c5c66; letter-spacing: .16em; }
.footer-claim { font-size: clamp(19px, 2.1vw, 25px); font-weight: 700; letter-spacing: -.02em; color: #a1a1aa; }

.footer-prods { display: grid; gap: 10px; }
.footer-prods a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 9px;
  background: rgba(255, 255, 255, .015);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.footer-prods a:hover { border-color: rgba(129, 140, 248, .30); background: rgba(255, 255, 255, .035); }
.footer-prods img { width: 28px; height: 28px; flex: none; display: block; }
.footer-prods b { flex: 1; font-size: 14.5px; color: #fafafa; }
.footer-prods .ic { width: 15px; height: 15px; color: #5c5c66; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer-prods a:hover .ic { color: #818cf8; transform: translate(2px, -2px); }

.footer-bar {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 2px; margin-left: -11px; }
.footer-nav a {
  padding: 6px 11px; border-radius: 6px;
  font-size: 13px; font-weight: 700;
  color: #8b8b95;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.footer-nav a:hover { color: #fafafa; background: rgba(255, 255, 255, .06); }
.footer-copy { font-family: var(--mono); font-size: 11.5px; color: #5c5c66; letter-spacing: .04em; }

/* ---------------------------------------------------------
   13. 回到顶部
   --------------------------------------------------------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 250;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 8px;
  color: #8b8b95;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, .12);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease),
              visibility .25s, color .2s var(--ease), border-color .2s var(--ease);
}
.to-top svg { width: 18px; height: 18px; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--accent); border-color: var(--accent-line); }

/* 轻提示：复制成功等操作反馈 */
.toast {
  position: fixed; left: 50%; bottom: 34px; z-index: 500;
  padding: 11px 18px;
  border-radius: 8px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em;
  color: #fafafa;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, .16);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------------------------------------------------------
   14. 滚动入场
   --------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-reveal].in { opacity: 1; transform: none; }

/* 子项错峰入场：父级进入视口后，子项自上而下依次上浮 */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].in > *:nth-child(2) { transition-delay: 50ms; }
[data-stagger].in > *:nth-child(3) { transition-delay: 100ms; }
[data-stagger].in > *:nth-child(4) { transition-delay: 150ms; }
[data-stagger].in > *:nth-child(5) { transition-delay: 200ms; }
[data-stagger].in > *:nth-child(n+6) { transition-delay: 250ms; }

/* 卡片 hover 抬升：用独立 translate 属性，避开 [data-reveal] 的 transform 动画 */
.panel[data-reveal].in {
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out),
              translate .22s var(--ease), border-color .25s var(--ease);
}
.panel:hover { translate: 0 -3px; }

/* ---------------------------------------------------------
   15. 案例区块（#products 内 · 占位结构）
   --------------------------------------------------------- */
.case-block { margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line); }
.case-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.case-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--mute); }
.case-note { font-size: 13px; color: var(--mute); }
.case-item {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.case-no { flex: none; padding-top: 3px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.case-body { flex: 1 1 220px; min-width: 0; }
.case-body h3 { font-size: 18px; }
.case-body p { margin-top: 6px; font-size: 14.5px; color: var(--dim); line-height: 1.75; }
.case-tag {
  flex: none; padding: 4px 11px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--mute);
}

/* ---------------------------------------------------------
   16. 法务页（隐私政策 / 服务条款）
   --------------------------------------------------------- */
.legal-bar {
  /* 复刻顶栏的主题变量，供 .brand 复用 */
  --h-text: #fafafa; --h-dim: #8b8b95; --h-mark: #5c5c66;
  --h-hover: rgba(255, 255, 255, .06); --h-edge: rgba(255, 255, 255, .16);
  --h-accent: #818cf8; --h-accent-line: rgba(129, 140, 248, .30);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.legal-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.legal-back { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--dim); transition: color .2s var(--ease); }
.legal-back:hover { color: var(--accent); }

.legal-main { padding: 84px 0 110px; }
.legal-wrap { max-width: 760px; }
.legal-meta { margin-bottom: 14px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--accent); }
.legal-wrap h1 { font-size: clamp(28px, 3.6vw, 40px); }
.legal-updated { margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--mute); }

.legal-prose { margin-top: 40px; }
.legal-prose h2 { margin-top: 38px; font-size: 19px; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { margin-top: 12px; font-size: 15.5px; line-height: 1.9; color: var(--dim); }
.legal-prose li { position: relative; padding-left: 18px; margin-top: 8px; font-size: 15.5px; line-height: 1.9; color: var(--dim); }
.legal-prose li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 5px; height: 1px; background: var(--accent); }
.legal-prose a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }
.legal-prose strong { color: var(--text); }

.legal-foot { padding: 30px 0; border-top: 1px solid var(--line); }
.legal-foot-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: var(--mute);
}
.legal-foot-inner nav { display: flex; gap: 18px; }
.legal-foot-inner a { color: var(--dim); transition: color .2s var(--ease); }
.legal-foot-inner a:hover { color: var(--accent); }

/* ---------------------------------------------------------
   17. 响应式
   --------------------------------------------------------- */
@media (max-width: 1060px) {
  .stack-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .promise { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  .contact-box { grid-template-columns: 1fr; gap: 32px; padding: 42px 34px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 22px 22px;
    background: var(--h-panel);
    border-bottom: 1px solid var(--h-line);
    transform: translateY(-10px);
    opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease),
                visibility .25s, background-color .3s var(--ease);
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  /* 移动端：双语改横排，发丝分隔转为横向 */
  .nav-link {
    flex-direction: row; align-items: baseline; justify-content: flex-start;
    gap: 10px; padding: 13px 4px; text-align: left;
  }
  .nav-link + .nav-link::before {
    left: 0; right: 0; top: 0; width: auto; height: 1px; transform: none;
  }
  .nav-link.active::after { left: 4px; right: auto; width: 24px; bottom: 7px; }
  .nav-cta { margin: 14px 0 0; height: 44px; }

  .hero { padding: 128px 0 104px; min-height: auto; }
  .hero-globe {
    top: 34%; right: auto; left: 50%;
    width: min(132vw, 780px); height: min(132vw, 780px);
    transform: translate(-50%, -50%);
    opacity: .72;   /* 移动端遮罩更薄，地球需提亮才看得见 */
  }
  /* 移动端遮罩减淡：原先中心 .90 几乎把点阵地球完全盖住 */
  .hero-scrim {
    background: radial-gradient(128% 76% at 50% 34%,
      rgba(9, 9, 11, .70) 0%,
      rgba(9, 9, 11, .54) 56%,
      rgba(9, 9, 11, .38) 100%);
  }
  .grid-2 { grid-template-columns: 1fr; }
  .readout { grid-template-columns: repeat(2, 1fr); }
  .readout-cell + .readout-cell { border-left: none; }
  .readout-cell:nth-child(even) { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .09); }
  .readout-cell:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .09); }
  .scroll-hint { display: none; }

  .footer-top { grid-template-columns: 1fr; gap: 30px; padding-bottom: 32px; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-nav { margin-left: -11px; }
}

@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .section { padding: 78px 0; --slant: 30px; }   /* 窄屏收窄斜切，避免角度过陡 */
  .sec-head { margin-bottom: 38px; }
  .hero-title { font-size: clamp(33px, 9vw, 46px); }
  .hero-tags { margin-top: 20px; font-size: 10px; letter-spacing: .16em; row-gap: 8px; }
  .hero-tags span { padding: 0 11px; }
  .hero-sub { font-size: 15.5px; }
  .readout-cell .s { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .steps, .promise { grid-template-columns: 1fr; }
  .panel { padding: 28px 22px 30px; }
  .contact-box { padding: 32px 22px; }
  .contact-actions { flex-direction: column; }
  .contact-actions .btn { width: 100%; }
  .contact-actions .copy-btn { width: 100%; }
  .faq-q { font-size: 15.5px; }
  .faq-a > div { padding-right: 24px; }
  .brand-text em { display: none; }
  .case-body h3 { font-size: 16.5px; }
  .legal-main { padding: 56px 0 76px; }
  .to-top { right: 16px; bottom: 16px; }
}

/* 减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .line .ch { transform: none; opacity: 1; }
  [data-stagger] > * { opacity: 1; transform: none; }
  .code-block .cl { opacity: 1; transform: none; }
  .faq-a > div { opacity: 1; transform: none; }
  .step::before { transform: scaleX(1); }
  .panel:hover { translate: none; }
}