/* ISIP 产品站 · Apple 风格 */
:root {
  --bg: #fff;
  --bg-light: #f5f5f7;
  --bg-dark: #000;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-inv: #f5f5f7;
  --ink-inv-2: #a1a1a6;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-link: #0066cc;
  --blue-dark: #2997ff;
  --orange: #ff9f0a;
  --copper: #c8662e;
  --green: #30d158;
  --purple: #bf5af2;
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.25, .1, .25, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 52px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, .lede, .hero-sub { text-wrap: balance; }
p { text-wrap: pretty; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }

/* ---------- 导航 ---------- */
.gnav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 48px;
  background: rgba(22, 22, 23, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: var(--ink-inv);
  transition: background .3s var(--ease);
}
.gnav-inner { max-width: 1080px; height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 19px; letter-spacing: .02em; }
.brand-mark {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 12%, var(--orange) 13% 45%, transparent 46%),
              conic-gradient(from 200deg, var(--blue-dark), var(--purple), var(--orange), var(--blue-dark));
}
.gnav-links { display: flex; gap: 26px; margin-left: auto; font-size: 13px; }
.gnav-links a { opacity: .82; transition: opacity .2s; }
.gnav-links a:hover, .gnav-links a.is-current { opacity: 1; }
.gnav-toggle { display: none; width: 32px; height: 32px; position: relative; }
.gnav-toggle span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.gnav-toggle span:first-child { top: 12px; }
.gnav-toggle span:last-child { top: 19px; }
.gnav.is-open .gnav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.gnav.is-open .gnav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- 通用排版 ---------- */
.section { padding: 130px 0; background: var(--bg); }
.section.light { background: var(--bg-light); }
.section.dark { background: var(--bg-dark); color: var(--ink-inv); }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--copper); margin-bottom: 10px; letter-spacing: .02em; }
.dark .eyebrow { color: var(--orange); }
.headline { font-size: clamp(36px, 6vw, 64px); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
.lede { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; color: var(--ink-2); font-weight: 500; max-width: 720px; margin: 20px auto 0; }
.dark .lede { color: var(--ink-inv-2); }
.note { font-size: 14px; color: var(--ink-2); margin-top: 28px; }
.dark .note { color: var(--ink-inv-2); }

.btn {
  display: inline-block; background: var(--blue); color: #fff; font-size: 17px;
  padding: 12px 24px; border-radius: 980px; transition: background .2s;
}
.btn:hover { background: #0077ed; }
.link { color: var(--blue-link); font-size: 17px; }
.dark .link, .tile-dark .link { color: var(--blue-dark); }
.link::after { content: " ›"; }
.link:hover { text-decoration: underline; }
.cta-row { display: flex; gap: 28px; align-items: center; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* 滚动渐显 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
  text-align: center; overflow: hidden; background: #000; color: var(--ink-inv);
}
#heroNet { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 55%, rgba(0,0,0,.65), transparent 70%),
              linear-gradient(to bottom, transparent 70%, #000);
}
.hero-content { position: relative; z-index: 2; padding: 120px 22px 80px; }
.hero .eyebrow { color: var(--ink-inv-2); font-weight: 500; font-size: 15px; letter-spacing: .06em; }
.hero-title {
  font-size: clamp(44px, 8.4vw, 96px); line-height: 1.05; font-weight: 700; letter-spacing: -.03em;
  background: linear-gradient(180deg, #fff 30%, #c9c9ce);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(19px, 2.4vw, 26px); color: var(--ink-inv-2); margin: 22px auto 0; max-width: 680px; font-weight: 500; }
.hero .link { color: var(--blue-dark); }
.hero .reveal:nth-child(2) { transition-delay: .1s; }
.hero .reveal:nth-child(3) { transition-delay: .25s; }
.hero .reveal:nth-child(4) { transition-delay: .4s; }
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; z-index: 2; width: 22px; height: 34px; margin-left: -11px;
  border: 1.5px solid rgba(255,255,255,.4); border-radius: 12px;
}
.scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px;
  background: rgba(255,255,255,.7); border-radius: 2px; animation: hint 1.8s infinite var(--ease);
}
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- 架构图 ---------- */
.arch {
  position: relative; margin-top: 72px; display: grid;
  grid-template-columns: 1fr 1.25fr 1fr; gap: 0 72px; align-items: center;
}
.arch-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.arch-wires path { fill: none; stroke: #c7c7cc; stroke-width: 1.4; }
.arch-wires path.out { stroke-width: 1.6; }
.arch-wires .pulse { stroke-width: 2.2; stroke-dasharray: 6 220; stroke-linecap: round; animation: flow 3.2s linear infinite; }
@keyframes flow { from { stroke-dashoffset: 226; } to { stroke-dashoffset: 0; } }
.arch-col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.arch-cap { font-size: 14px; color: var(--ink-2); font-weight: 600; margin-bottom: 4px; }
.arch-right .arch-cap { text-align: right; }
.sys { background: #fff; border-radius: 14px; padding: 10px 16px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.sys b { display: block; font-size: 17px; }
.sys span { font-size: 13px; color: var(--ink-2); }
.eng {
  display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px;
  padding: 15px 18px; font-weight: 600; font-size: 17px; box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.eng:hover { transform: translateX(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.eng i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); flex: none; }

.arch-core {
  position: relative; z-index: 1; background: #111113; color: var(--ink-inv);
  border-radius: 32px; padding: 30px 22px 22px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35);
}
.core-head { text-align: center; margin-bottom: 6px; }
.core-head h3 { font-size: 30px; letter-spacing: -.01em; }
.core-head p { font-size: 13px; color: var(--ink-inv-2); }
.core-layer { background: #1d1d1f; border-radius: 16px; padding: 14px 16px; text-align: center; }
.core-layer b { display: block; font-size: 17px; }
.core-layer span { font-size: 13px; color: var(--ink-inv-2); }
.core-runtime { background: radial-gradient(ellipse at 50% 30%, #12305a, #0f1a2c 70%); border: 1px solid #1f3a66; padding-bottom: 12px; }
.rt-sub { display: block; font-style: normal; font-size: 12px; color: #8fb6ec; letter-spacing: .08em; margin-top: 2px; }
.rt { width: 100%; height: auto; display: block; margin: 10px 0 6px; }
.rt text { font-family: var(--font); text-anchor: middle; }
.rt-loop { fill: none; stroke: #2b5aa0; stroke-width: 1.5; stroke-dasharray: 3 4; }
.rt-token { fill: #ffd60a; filter: drop-shadow(0 0 4px #ffd60a); }
.rt-core { font-size: 12px; font-weight: 700; fill: #fff; }
.rt-core-sub { font-size: 10px; fill: #8fb6ec; }
.rt-agents rect { fill: #163a6e; stroke: #2997ff; stroke-width: 1.2; }
.rt-agents text { font-size: 11.5px; font-weight: 600; fill: #fff; }
.rt-link { fill: none; stroke: #5a8fd8; stroke-width: 1.2; }
.rt-tools rect { fill: #1d1d1f; stroke: #ff9f0a; stroke-opacity: .7; }
.rt-tools text { font-size: 9.5px; font-weight: 600; fill: #ffb340; }
.rt-gate rect { fill: #0f2a17; stroke: #30d158; animation: gate 4s infinite; }
.rt-gate text { font-size: 10.5px; font-weight: 600; fill: #30d158; }
@keyframes gate { 0%, 72% { fill: #0f2a17; } 82% { fill: #1a5c2c; } 100% { fill: #0f2a17; } }

/* ---------- 工程师卡片 ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 72px; }
.tile {
  background: var(--bg-light); border-radius: var(--radius); padding: 30px 26px 28px; min-height: 260px;
  display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tile:hover { transform: scale(1.02); box-shadow: 0 18px 40px -18px rgba(0,0,0,.18); }
.tile h3 { font-size: 24px; line-height: 1.2; margin: 6px 0 12px; letter-spacing: -.01em; }
.tile p { font-size: 15px; color: var(--ink-2); }
.tile .tile-num { margin-top: auto; padding-top: 18px; font-size: 14px; }
.tile .tile-num b { display: block; font-size: 34px; color: var(--ink); letter-spacing: -.02em; }
.tag { font-size: 12px !important; font-weight: 600; letter-spacing: .04em; }
.tag.blue { color: var(--blue) !important; }
.tag.orange { color: #c46a00 !important; }
.tag.green { color: #1a8f3c !important; }
.tag.purple { color: #8e3ec2 !important; }
.tile-dark { background: #1d1d1f; color: var(--ink-inv); }
.tile-dark p { color: var(--ink-inv-2); }
.tile-dark .tag { color: var(--orange) !important; }
.tile-dark .link { margin-top: auto; padding-top: 18px; font-size: 15px; }
.tiles .reveal:nth-child(4n+2) { transition-delay: .08s; }
.tiles .reveal:nth-child(4n+3) { transition-delay: .16s; }
.tiles .reveal:nth-child(4n+4) { transition-delay: .24s; }

/* ---------- 象限图 ---------- */
.quad { margin: 64px auto 0; max-width: 820px; background: #0d0d0f; border: 1px solid #222; border-radius: 28px; padding: 28px 24px 16px; }
.quad svg { width: 100%; height: auto; display: block; }
.q-frame { fill: none; stroke: #3a3a3c; }
.q-grid { stroke: #3a3a3c; stroke-dasharray: 3 5; }
.q-zone { fill: var(--orange); font-size: 17px; font-weight: 600; }
.q-label { fill: #f5f5f7; font-size: 17px; font-weight: 600; }
.q-sub { fill: #8e8e93; font-size: 14px; }
.q-axis { fill: #8e8e93; font-size: 14px; }
.q-dot-blue { fill: var(--blue-dark); }
.q-dot-orange { fill: var(--copper); }
.q-path { fill: none; stroke: var(--orange); stroke-width: 2; stroke-dasharray: 6 6; opacity: 0; transition: opacity .6s .2s; }
.q-dot-isip { fill: var(--orange); }
.q-halo { fill: none; stroke: var(--orange); stroke-opacity: .5; animation: halo 2s infinite var(--ease); transform-box: fill-box; transform-origin: center; }
@keyframes halo { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.q-isip { opacity: 0; }
.q-isip-label { opacity: 0; transition: opacity .6s 2.2s; fill: var(--orange); }
.quad.in .q-path { opacity: .9; }
.quad.in .q-isip { opacity: 1; offset-path: path("M150 95 C 300 70, 440 70, 560 110"); animation: travel 2.2s .5s var(--ease) both; }
.quad.in .q-isip-label { opacity: 1; }
@keyframes travel { from { offset-distance: 0%; } to { offset-distance: 100%; } }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 80px; }
.trio-k { font-size: 14px; color: var(--orange); font-weight: 600; margin-bottom: 8px; }
.trio h3 { font-size: 24px; line-height: 1.25; margin-bottom: 10px; }
.trio p { color: var(--ink-inv-2); font-size: 16px; }
.trio .reveal:nth-child(2) { transition-delay: .1s; }
.trio .reveal:nth-child(3) { transition-delay: .2s; }

/* ---------- 本体堆栈 ---------- */
.stack { max-width: 900px; margin: 64px auto 0; background: #fff; border-radius: 32px; padding: 48px 56px; }
.stack-layer { display: flex; align-items: center; justify-content: space-between; border-radius: 18px; padding: 22px 26px; border: 1.5px solid; }
.stack-layer b { display: block; font-size: 24px; letter-spacing: -.01em; }
.stack-layer span { font-size: 15px; color: var(--ink-2); }
.s-ai { background: #eef4ee; border-color: #6a9a6a; }
.s-onto { background: #f7ebe3; border-color: var(--copper); }
.s-sys { background: #eaf0f5; border-color: #5b84a6; }
.s-sys .sys-wrap { width: 100%; }
.sys-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 10px; }
.sys-tags li { font-size: 13px; font-weight: 600; color: #34536e; background: #fff; border: 1px solid #c9d7e3; border-radius: 980px; padding: 3px 11px; }
/* 本体动画：对象 → 关系 → 规则 → 动作，按 data-stage 逐步叠加 */
.s-onto { display: grid; grid-template-columns: minmax(210px, .8fr) 1.6fr; gap: 20px; align-items: center; }
.onto-steps { margin-top: 12px; display: grid; gap: 4px; }
.onto-steps li { font-size: 13px; color: var(--ink-2); padding: 5px 10px; border-radius: 10px; cursor: pointer; transition: background .4s, color .4s; }
.onto-steps em { font-style: normal; font-weight: 700; margin-right: 8px; color: #8a5a3a; }
.onto-steps li.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(200,102,46,.15); }
.onto-steps li.on em { color: var(--copper); }
.onto-graph { width: 100%; height: auto; display: block; overflow: visible; }
.onto-graph text { font-family: var(--font); }

.o-node { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; transition: opacity .5s var(--d) var(--ease), transform .5s var(--d) cubic-bezier(.3,1.5,.5,1); }
.o-node rect { fill: #fff; stroke: var(--copper); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.o-node text { font-size: 13px; font-weight: 600; fill: var(--ink); text-anchor: middle; }
.o-edge { stroke: var(--copper); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--ease); }
.o-edge:nth-child(2) { transition-delay: .15s; } .o-edge:nth-child(3) { transition-delay: .3s; } .o-edge:nth-child(4) { transition-delay: .45s; }
.o-elabel { font-size: 11px; fill: #8a5a3a; opacity: 0; transition: opacity .5s .5s; }
.o-rule, .o-badge, .o-action { opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.o-rule { transform: translateX(-6px); }
.o-rule rect { fill: #fff8f2; stroke: #e0a77f; stroke-dasharray: 3 3; }
.o-rule text { font-size: 11px; fill: var(--ink-2); }
.o-rule .o-rule-k { font-weight: 700; fill: var(--copper); }
.o-rule line { stroke: #e0a77f; stroke-dasharray: 2 3; }
.o-badge rect { fill: #ff453a; }
.o-badge text { font-size: 10.5px; font-weight: 700; fill: #fff; }
.o-action { transform: translateY(-6px); }
.o-action line { stroke: #3a7d44; stroke-width: 1.5; stroke-dasharray: 3 3; }
.o-action rect { fill: #3a7d44; }
.o-action text { font-size: 11.5px; fill: #fff; font-weight: 500; }
.o-action .o-action-k { font-weight: 700; }
.o-ping { fill: #3a7d44; }

.onto-graph[data-stage="1"] .o-node, .onto-graph[data-stage="2"] .o-node, .onto-graph[data-stage="3"] .o-node, .onto-graph[data-stage="4"] .o-node { opacity: 1; transform: none; }
.onto-graph[data-stage="2"] .o-edge, .onto-graph[data-stage="3"] .o-edge, .onto-graph[data-stage="4"] .o-edge { stroke-dashoffset: 0; }
.onto-graph[data-stage="2"] .o-elabel, .onto-graph[data-stage="3"] .o-elabel, .onto-graph[data-stage="4"] .o-elabel { opacity: 1; }
.onto-graph[data-stage="3"] .o-rule, .onto-graph[data-stage="4"] .o-rule,
.onto-graph[data-stage="3"] .o-badge, .onto-graph[data-stage="4"] .o-badge { opacity: 1; transform: none; }
.onto-graph[data-stage="3"] .o-line rect, .onto-graph[data-stage="4"] .o-line rect { fill: #ffe9e6; stroke: #ff453a; }
.onto-graph[data-stage="3"] .o-line { animation: warn 1s 2 var(--ease); }
@keyframes warn { 50% { transform: scale(1.08); } }
.onto-graph[data-stage="4"] .o-action { opacity: 1; transform: none; }
.onto-graph[data-stage="4"] .o-ping { animation: ping 1.4s infinite var(--ease); transform-box: fill-box; transform-origin: center; }
@keyframes ping { from { transform: scale(1); opacity: 1; } to { transform: scale(4); opacity: 0; } }
.stack-wire { height: 46px; display: flex; justify-content: space-around; padding: 0 20%; }
.stack-wire i { width: 1.5px; height: 100%; background: repeating-linear-gradient(to bottom, #b0b0b5 0 4px, transparent 4px 8px); position: relative; }
.stack-wire i::after {
  content: ""; position: absolute; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--copper);
  animation: drop 2.4s infinite var(--ease);
}
.stack-wire i:nth-child(2)::after { animation-delay: .8s; background: #6a9a6a; }
.stack-wire i:nth-child(3)::after { animation-delay: 1.6s; background: #5b84a6; }
@keyframes drop { 0% { top: 100%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 0; opacity: 0; } }

.spec-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.spec { background: #fff; border-radius: var(--radius); padding: 28px; text-align: center; }
.spec b { display: block; font-size: 40px; letter-spacing: -.02em; margin-bottom: 6px; }
.spec span { font-size: 14px; color: var(--ink-2); }

/* ---------- 分段控件 & 场景 ---------- */
.seg {
  display: flex; width: max-content; max-width: 100%; margin: 48px auto 0; padding: 4px;
  background: #e8e8ed; border-radius: 980px; overflow-x: auto; scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg button { padding: 8px 22px; border-radius: 980px; font-size: 15px; color: var(--ink-2); white-space: nowrap; transition: background .3s, color .3s, box-shadow .3s; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.1); }

.scene {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
  margin-top: 48px; background: var(--bg-light); border-radius: 32px; padding: 56px;
}
.scene.is-active { animation: fadein .6s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.scene h3 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.02em; }
.scene-copy > p { color: var(--ink-2); margin-top: 16px; font-size: 17px; }
.cases { margin-top: 28px; display: grid; gap: 10px; }
.cases a {
  display: flex; flex-direction: column; background: #fff; border-radius: 14px; padding: 13px 44px 13px 18px;
  position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cases a::after { content: "↗"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--blue-link); font-size: 17px; }
.cases a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.2); }
.cases b { font-size: 16px; }
.cases span { font-size: 13px; color: var(--ink-2); }

.mock { background: #fff; border-radius: 20px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.25); overflow: hidden; font-size: 13px; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid #ececf0; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e3e3e8; }
.mock-bar em { font-style: normal; margin-left: 8px; color: var(--ink-2); font-size: 12px; }
.gantt { padding: 18px 16px 6px; display: grid; gap: 12px; }
.g-row { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 10px; }
.g-row label { font-size: 12px; color: var(--ink-2); }
.g-track { position: relative; height: 22px; background: #f5f5f7; border-radius: 6px; }
.g-track i { position: absolute; top: 3px; bottom: 3px; left: var(--x); width: 0; border-radius: 4px; background: #9fc3f5; transition: width 1s var(--ease); }
.scene.is-active .g-track i { width: var(--w); }
.g-track i.warn { background: #ffb4a8; }
.g-track i.new { background: var(--orange); box-shadow: 0 0 0 3px rgba(255,159,10,.22); }
.advice { margin: 14px; padding: 14px; border-radius: 14px; background: #fff7eb; border: 1px solid #ffe0b0; }
.advice p { line-height: 1.5; }
.advice b { color: #c46a00; margin-right: 6px; }
.advice-btns { display: flex; gap: 8px; margin-top: 10px; }
.advice-btns span { padding: 5px 14px; border-radius: 980px; border: 1px solid var(--line); font-size: 12px; }
.advice-btns .ok { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips span { font-size: 11px; padding: 3px 9px; border-radius: 980px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }

.inv { display: block; width: 100%; height: auto; padding: 14px 14px 0; }
.inv-band { fill: #e7f6ea; }
.inv-t { fill: #8e8e93; font-size: 11px; }
.inv-hist { fill: none; stroke: #5b84a6; stroke-width: 2.4; }
.inv-plan { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-dasharray: 6 5; }
.inv-risk { fill: none; stroke: #ff6961; stroke-width: 1.6; stroke-dasharray: 3 4; }
.inv-t-o { fill: #c46a00; }
.inv-now { stroke: #c7c7cc; stroke-dasharray: 3 4; }

.chat { padding: 18px; display: grid; gap: 12px; }
.chat .q { justify-self: end; background: var(--blue); color: #fff; padding: 9px 14px; border-radius: 16px 16px 4px 16px; font-size: 14px; }
.chat .a { background: #f5f5f7; padding: 14px 16px; border-radius: 16px 16px 16px 4px; font-size: 14px; }
.chat ol { margin: 8px 0; padding-left: 20px; list-style: decimal; }
.chat ol li { margin: 3px 0; }
.chat ol b { color: #d70015; font-weight: 600; }
.chat .next { color: var(--blue-link); }
.chat .chips span { background: #fff; }

/* 人岗匹配漏斗：切到该页签时逐级收窄 */
.funnel { padding: 18px 16px 4px; display: grid; gap: 10px; }
.f-row { display: grid; grid-template-columns: 74px 1fr 52px; align-items: center; gap: 10px; }
.f-row label { font-size: 12px; color: var(--ink-2); }
.f-row b { font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.f-track { height: 18px; background: #f5f5f7; border-radius: 6px; display: flex; justify-content: center; }
.f-track i { display: block; height: 100%; width: 0; border-radius: 6px; background: #9fc3f5; transition: width .9s var(--d) var(--ease); }
.scene.is-active .f-track i { width: var(--w); }
.f-row.hit i { background: var(--orange); box-shadow: 0 0 0 3px rgba(255,159,10,.22); }
.f-row.hit b { color: #c46a00; }
.hr-pick { opacity: 0; transform: translateY(6px); transition: opacity .6s 1.6s var(--ease), transform .6s 1.6s var(--ease); }
.scene.is-active .hr-pick { opacity: 1; transform: none; }

/* ---------- APS 求解引擎 ---------- */
.aps-pipe { max-width: 960px; margin: 64px auto 0; }
.aps-io { background: #fff; border-radius: var(--radius); padding: 18px 26px 12px; }
.aps-io-cap { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.aps-link { width: 1.5px; height: 30px; margin: 0 auto; background: repeating-linear-gradient(to bottom, #b0b0b5 0 4px, transparent 4px 8px); }
.aps-core { background: #1d1d1f; color: var(--ink-inv); border-radius: 32px; padding: 26px; }
.aps-core-cap { font-size: 13px; font-weight: 600; color: var(--ink-inv-2); margin-bottom: 14px; text-align: center; }
.aps-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.aps-step { position: relative; overflow: hidden; background: #2a2a2d; border-radius: 16px; padding: 18px 18px 20px; }
.aps-step::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--blue-dark);
  transform: scaleX(0); transform-origin: left; animation: apsSweep 8s linear infinite;
}
.aps-step:nth-child(2)::before { animation-delay: 2s; }
.aps-step:nth-child(3)::before { animation-delay: 4s; }
.aps-step:nth-child(4)::before { animation-delay: 6s; }
@keyframes apsSweep { 0% { transform: scaleX(0); opacity: 1; } 22% { transform: scaleX(1); opacity: 1; } 25%, 100% { transform: scaleX(1); opacity: 0; } }
.aps-step h3 { font-size: 19px; margin-top: 6px; letter-spacing: -.01em; }
.aps-step em { display: block; font-style: normal; font-size: 13px; color: var(--orange); margin-top: 2px; }
.aps-step p { font-size: 14px; color: var(--ink-inv-2); margin-top: 10px; }

.aps-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.aps-values > div { background: #fff; border-radius: var(--radius); padding: 28px 26px; }
.aps-values p { font-size: 13px; font-weight: 600; color: var(--copper); }
.aps-values h3 { font-size: 21px; margin: 6px 0 10px; letter-spacing: -.01em; }
.aps-values span { font-size: 15px; color: var(--ink-2); }

.aps-sub { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -.02em; text-align: center; margin-top: 88px; }
.aps-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; text-align: center; }
.aps-kpis b { display: block; font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -.03em; line-height: 1.1; }
.aps-kpis span { display: block; margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.aps-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.aps-specs > div { background: #fff; border-radius: var(--radius); padding: 22px 24px 12px; }
.aps-specs h4 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.aps-specs dl div { padding: 9px 0; border-top: 1px solid #e8e8ed; }
.aps-specs dt { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.aps-specs dd { font-size: 14px; }

.aps-fn { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.aps-fn.is-active { animation: fadein .6s var(--ease); }
.aps-fn li { padding: 20px 22px; box-shadow: 0 0 0 .5px #e0e0e5; }
.aps-fn b { display: block; font-size: 16px; margin-bottom: 4px; }
.aps-fn span { font-size: 14px; color: var(--ink-2); }

@media (max-width: 1068px) {
  .aps-specs, .aps-fn { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 833px) {
  .aps-steps { grid-template-columns: repeat(2, 1fr); }
  .aps-values { grid-template-columns: 1fr; margin-top: 48px; }
  .aps-kpis { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .aps-sub { margin-top: 64px; }
}
@media (max-width: 560px) {
  .aps-pipe { margin-top: 44px; }
  .aps-core { padding: 18px 14px; border-radius: 24px; }
  .aps-step { padding: 14px 14px 16px; }
  .aps-specs, .aps-fn { grid-template-columns: 1fr; }
  #aps-engine .seg { width: auto; }
  #aps-engine .seg button { padding: 8px 16px; }
}

/* ---------- ERP 流程 ---------- */
.flow { display: grid; grid-template-columns: 1fr 60px 1fr 60px 1fr; align-items: stretch; margin-top: 72px; }
.flow-step { background: #1d1d1f; border-radius: var(--radius); padding: 30px 26px; }
.flow-n { font-size: 13px; color: var(--blue-dark); font-weight: 600; }
.flow-step h3 { font-size: 24px; margin: 6px 0 10px; }
.flow-step p { color: var(--ink-inv-2); font-size: 15px; }
.flow-arrow { position: relative; }
.flow-arrow::before { content: ""; position: absolute; left: 10px; right: 14px; top: 50%; height: 1.5px; background: linear-gradient(90deg, #333, var(--blue-dark)); }
.flow-arrow::after { content: ""; position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid var(--blue-dark); border-right: 1.5px solid var(--blue-dark); transform: translateY(-50%) rotate(45deg); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; text-align: center; }
.stat b {
  display: block; font-size: clamp(48px, 7vw, 80px); letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(90deg, #2997ff, #bf5af2); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { display: block; margin-top: 12px; color: var(--ink-inv-2); font-size: 15px; }

/* ---------- 成熟度 ---------- */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; text-align: center; }
.proof b { display: block; font-size: clamp(40px, 5.4vw, 64px); letter-spacing: -.03em; line-height: 1.05; }
.proof span { display: block; margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.principles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 96px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.principles > div { background: var(--bg-light); padding: 26px 20px; }
.principles h4 { font-size: 17px; margin-bottom: 6px; }
.principles p { font-size: 14px; color: var(--ink-2); }

/* ---------- 行业 ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; text-align: center; }
.kpis b { display: block; font-size: clamp(36px, 4.6vw, 52px); letter-spacing: -.03em; line-height: 1.1; }
.kpis span { font-size: 14px; color: var(--ink-2); }
#industries .seg { background: #e3e3e8; }
.ind { margin-top: 36px; }
.ind.is-active { animation: fadein .6s var(--ease); }
.ind-lede { text-align: center; color: var(--ink-2); margin-bottom: 28px; }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.logos li {
  background: #fff; border-radius: 14px; padding: 18px 14px; text-align: center;
  font-size: 15px; font-weight: 600; color: #3a3a3c; letter-spacing: .01em;
}
.logos.sm { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.logos.sm li { padding: 12px 8px; font-size: 14px; }
.life-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.life-groups h4 { font-size: 14px; color: var(--copper); margin-bottom: 10px; text-align: center; }

/* ---------- 附录：SAP 模块与 AI 决策 ---------- */
/* 不在视口内时暂停全部动画，省电 */
.appx:not(.play) .vchain *, .appx:not(.play) .glyph * { animation-play-state: paused !important; }

/* 业务主链：令牌 7s 走完全程，第 i 站在 (i+.5)s 被点亮 */
.vchain {
  position: relative; display: grid; grid-template-columns: repeat(7, 1fr);
  margin-top: 64px; background: var(--bg-light); border-radius: 28px; padding: 30px 12px 26px;
}
.vc-track { position: absolute; left: 12px; right: 12px; top: 106px; height: 2px; background: repeating-linear-gradient(90deg, #c7c7cc 0 6px, transparent 6px 12px); }
.vc-token {
  position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 5px rgba(255,159,10,.22), 0 0 16px rgba(255,159,10,.7);
  animation: vcRun 7s linear infinite;
}
@keyframes vcRun { from { left: 0; } to { left: 100%; } }
.vc-st { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.vc-ai {
  font-size: 13px; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--line);
  border-radius: 980px; padding: 6px 12px; white-space: nowrap; position: relative;
  animation: vcAi 7s infinite; animation-delay: calc((var(--i) + .5) * 1s - .15s);
}
.vc-ai::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 12px; background: var(--line); }
.vc-node {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-top: 4px;
  font-size: 15px; font-weight: 700; letter-spacing: .02em; background: #fff; color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.06); position: relative; z-index: 1;
  animation: vcNode 7s infinite; animation-delay: calc((var(--i) + .5) * 1s - .15s);
}
.vc-st span { font-size: 13px; color: var(--ink-2); }
@keyframes vcAi {
  0% { color: #fff; background: var(--orange); border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 8px 20px -6px rgba(255,159,10,.7); }
  22% { color: #c46a00; background: #fff7eb; border-color: #ffd28a; transform: none; box-shadow: none; }
  100% { color: var(--ink-2); background: #fff; border-color: var(--line); }
}
@keyframes vcNode {
  0% { background: var(--ink); color: #fff; transform: scale(1.08); }
  20%, 100% { background: #fff; color: var(--ink); transform: none; }
}
.vc-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; }
.vc-base p { font-size: 13px; color: var(--ink-2); margin-right: 6px; }
.vc-base span { font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 980px; background: var(--bg-light); color: #3a3a3c; }

/* 模块卡片 */
.mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.mod { background: var(--bg-light); border-radius: var(--radius); padding: 18px 18px 20px; display: flex; flex-direction: column; }
.mod .glyph { width: 100%; height: auto; display: block; background: #fff; border-radius: 14px; padding: 6px; margin-bottom: 14px; overflow: visible; }
.mod h3 { font-size: 17px; font-weight: 600; display: flex; align-items: baseline; gap: 8px; }
.mod h3 b { font-size: 22px; letter-spacing: -.01em; }
.mod p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.mod-tag { align-self: flex-start; margin-top: 10px; font-style: normal; font-size: 11px; font-weight: 600; color: var(--blue); background: rgba(0,113,227,.08); padding: 3px 9px; border-radius: 980px; }
.mods .reveal:nth-child(4n+2) { transition-delay: .06s; }
.mods .reveal:nth-child(4n+3) { transition-delay: .12s; }
.mods .reveal:nth-child(4n+4) { transition-delay: .18s; }

/* 小动图：基础样式即最终态，动画从空白开始播放（减少动态时直接显示最终态） */
.glyph { --g: #0071e3; --g2: #ff9f0a; --gl: #e8e8ed; }
.glyph .g-t { font-size: 8px; fill: #8e8e93; font-family: var(--font); }
.g-check { fill: none; stroke: #30d158; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: gCheck 4s infinite; }
@keyframes gCheck { 0%, 45% { stroke-dashoffset: 1; } 60%, 100% { stroke-dashoffset: 0; } }

.g-sd .g-bar { fill: #c9dcf5; transform-box: fill-box; transform-origin: left; animation: gGrow 4s var(--d) infinite both; }
.g-sd .g-bar.hi { fill: var(--g); }
@keyframes gGrow { 0% { transform: scaleX(0); } 25%, 100% { transform: scaleX(1); } }

.g-lane { fill: var(--bg-light); }
.g-pp .g-slide { fill: #9fc3f5; animation: gSlide 4s var(--d) infinite both; }
.g-pp .g-slide.new { fill: var(--g2); }
@keyframes gSlide { 0% { transform: translateX(70px); opacity: 0; } 25%, 100% { transform: none; opacity: 1; } }

.g-draw { fill: none; stroke: var(--g); stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 1; animation: gDraw 4s infinite; }
@keyframes gDraw { 0% { stroke-dashoffset: 1; } 60%, 100% { stroke-dashoffset: 0; } }
.g-rop { stroke: var(--g2); stroke-width: 1.5; stroke-dasharray: 3 3; }

.g-qm .g-item { fill: #d6f5de; stroke: #30d158; stroke-width: 1.2; }
.g-qm .g-item.bad { animation: gBad 4s infinite; }
@keyframes gBad { 0%, 54% { fill: #d6f5de; stroke: #30d158; } 58%, 100% { fill: #ffe1de; stroke: #ff453a; } }
.g-scan { fill: var(--g); opacity: .8; animation: gScan 4s linear infinite; }
@keyframes gScan { 0% { transform: translateX(2px); opacity: .9; } 80% { transform: translateX(115px); opacity: .9; } 81%, 100% { transform: translateX(115px); opacity: 0; } }

.g-wave { fill: none; stroke: var(--g); stroke-width: 2; animation: gWave 1.2s linear infinite; }
@keyframes gWave { to { transform: translateX(-30px); } }
.g-alert { fill: #ff453a; }
.g-ring { fill: none; stroke: #ff453a; transform-box: fill-box; transform-origin: center; animation: gRing 1.6s infinite; }
@keyframes gRing { from { transform: scale(.8); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

.g-cells rect { fill: none; stroke: #d2d2d7; stroke-dasharray: 2 2; }
.g-box { fill: var(--g2); }
.g-box.b { fill: var(--g); }
.g-box.a { animation: gMoveA 4s infinite; }
.g-box.b { animation: gMoveB 4s infinite; }
@keyframes gMoveA { 0%, 15% { transform: none; } 45%, 85% { transform: translate(48px, 24px); } 100% { transform: none; } }
@keyframes gMoveB { 0%, 15% { transform: none; } 45%, 85% { transform: translate(-48px, -24px); } 100% { transform: none; } }

.g-stop { fill: #fff; stroke: var(--g); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: gPop 4s var(--d) infinite both; }
@keyframes gPop { 0% { transform: scale(0); } 10%, 100% { transform: scale(1); } }
.g-tm .g-draw { stroke-dasharray: 1; }

.g-fi .g-doc rect { fill: #fff; stroke: #8e8e93; }
.g-fi .g-doc text { font-size: 8px; font-weight: 700; fill: #6e6e73; text-anchor: middle; font-family: var(--font); }
.g-fi .g-doc.l { animation: gDocL 4s infinite; }
.g-fi .g-doc.r { animation: gDocR 4s infinite; }
@keyframes gDocL { 0%, 10% { transform: translateX(-6px); } 40%, 100% { transform: translateX(10px); } }
@keyframes gDocR { 0%, 10% { transform: translateX(6px); } 40%, 100% { transform: translateX(-10px); } }
.g-fi .g-check { animation-name: gCheck; }

.g-co .g-fall { fill: #c5b3f0; transform-box: fill-box; transform-origin: top; animation: gFall 4s var(--d) infinite both; }
.g-co .g-fall.neg { fill: #ff8a80; }
.g-co .g-fall:first-child { fill: #bf5af2; }
.g-co .g-fall:last-child { fill: #8e3ec2; }
@keyframes gFall { 0% { transform: scaleY(0); } 15%, 100% { transform: scaleY(1); } }

.g-person { fill: var(--g); }
.g-slot { fill: #fff; stroke: var(--g2); stroke-width: 1.5; }
.g-match { stroke: #9fc3f5; stroke-width: 1.5; stroke-dasharray: 1; animation: gLink 4s var(--d) infinite both; }
@keyframes gLink { 0% { stroke-dashoffset: 1; } 30%, 100% { stroke-dashoffset: 0; } }

.g-mdg .g-rec { fill: #ffe1de; stroke: #ff8a80; animation: gMerge 4s infinite; }
.g-mdg .g-rec.t { animation-name: gMergeT; }
.g-mdg .g-rec.b { animation-name: gMergeB; }
@keyframes gMerge { 0%, 25% { fill: #ffe1de; stroke: #ff8a80; } 60%, 100% { fill: #d6f5de; stroke: #30d158; } }
@keyframes gMergeT { 0%, 25% { transform: none; fill: #ffe1de; stroke: #ff8a80; opacity: 1; } 55% { transform: translateY(14px); opacity: 1; } 60%, 100% { transform: translateY(14px); opacity: 0; fill: #d6f5de; } }
@keyframes gMergeB { 0%, 25% { transform: none; fill: #ffe1de; stroke: #ff8a80; opacity: 1; } 55% { transform: translateY(-14px); opacity: 1; } 60%, 100% { transform: translateY(-14px); opacity: 0; fill: #d6f5de; } }

.g-track { fill: var(--bg-light); }
.g-prog { fill: var(--g); transform-box: fill-box; transform-origin: left; animation: gProg 4s infinite; }
@keyframes gProg { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(.86); } }
.g-ps .g-prog { transform: scaleX(.86); }
.g-ms { fill: #fff; stroke: #8e8e93; stroke-width: 1.5; }
.g-ms.risk { animation: gRisk 4s infinite; fill: #fff3e0; stroke: var(--g2); }
@keyframes gRisk { 0%, 60% { fill: #fff; stroke: #8e8e93; } 66%, 100% { fill: #fff3e0; stroke: var(--g2); } }

/* 附录：客户专题入口 */
.topic {
  position: relative; display: grid; gap: 4px; max-width: 720px; margin: 40px auto 0; padding: 24px 64px 24px 28px;
  border-radius: var(--radius); color: #fff; background: linear-gradient(120deg, #063d2c, #0b2b20 55%, #111113);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.topic.t2 { margin-top: 12px; background: linear-gradient(120deg, #0b2a4a, #10213a 55%, #111113); }
.topic.t2 .topic-k, .topic.t2 i { color: #5ac8fa; }
.topic.t2 .topic-d { color: #b3dcf5; }
.topic.t3 { margin-top: 12px; background: linear-gradient(120deg, #3d2a08, #2a1d0a 55%, #111113); }
.topic.t3 .topic-k, .topic.t3 i { color: #ffb340; }
.topic.t3 .topic-d { color: #ffe0b2; }
.topic.t4 { margin-top: 12px; background: linear-gradient(120deg, #00a870, #0b6e8f 60%, #1e3a8a); }
.topic.t4 .topic-k, .topic.t4 i { color: #d1fae5; }
.topic.t4 .topic-d { color: #e0f2fe; }
.topic.t5 { margin-top: 12px; background: linear-gradient(120deg, #3b1d5e, #24163d 55%, #111113); }
.topic.t5 .topic-k, .topic.t5 i { color: #c4b5fd; }
.topic.t5 .topic-d { color: #ede9fe; }
.topic.t6 { margin-top: 12px; background: linear-gradient(120deg, #4a1d1d, #2e1515 55%, #111113); }
.topic.t6 .topic-k, .topic.t6 i { color: #fca5a5; }
.topic.t6 .topic-d { color: #fee2e2; }
.topic.t7 { margin-top: 12px; background: linear-gradient(120deg, #1e2a78, #161d4a 55%, #111113); }
.topic.t7 .topic-k, .topic.t7 i { color: #8da2ff; }
.topic.t7 .topic-d { color: #dbe2ff; }
.topic.t8 { margin-top: 12px; background: linear-gradient(120deg, #4f6bed, #3b2f8f 60%, #111113); }
.topic.t8 .topic-k, .topic.t8 i { color: #e0e7ff; }
.topic.t8 .topic-d { color: #eef1ff; }
.topic.t9 { margin-top: 12px; background: linear-gradient(120deg, #2a1f5e, #1a1440 55%, #111113); }
.topic.t9 .topic-k, .topic.t9 i { color: #c4b5fd; }
.topic.t9 .topic-d { color: #ede9fe; }
.topic.t10 { margin-top: 12px; background: linear-gradient(120deg, #0b6b73, #0d3a40 55%, #111113); }
.topic.t10 .topic-k, .topic.t10 i { color: #5fd6df; }
.topic.t10 .topic-d { color: #cff3f5; }
.topic:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(0,80,50,.6); }
.topic-k { font-size: 12px; font-weight: 600; color: #34d399; letter-spacing: .04em; }
.topic b { font-size: 22px; letter-spacing: -.01em; text-wrap: balance; }
.topic-d { font-size: 14px; color: #a7f3d0; }
.topic i { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 34px; color: #34d399; transition: transform .3s var(--ease); }
.topic:hover i { transform: translate(4px, -50%); }
@media (max-width: 560px) { .topic { padding: 20px 52px 20px 20px; } .topic b { font-size: 18px; } }

/* ---------- 联系 & 页脚 ---------- */
.contact { padding: 160px 0; background: radial-gradient(ellipse 70% 60% at 50% 100%, #2a1a0c, #000 70%); }
.footer { background: var(--bg-light); color: var(--ink-2); font-size: 12px; padding: 40px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer .brand { color: var(--ink); font-size: 17px; margin-bottom: 8px; }
.footer h5 { color: var(--ink); font-size: 12px; margin-bottom: 8px; }
.footer a { display: block; margin-bottom: 6px; }
.footer a:hover { text-decoration: underline; }
.footer p { line-height: 1.6; margin-bottom: 8px; }
.copy { margin-top: 18px; }

/* ---------- 响应式 ---------- */
.nowrap { white-space: nowrap; }
.dots { display: none; }
.onto-cap { display: none; }
@media (max-width: 1068px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .arch { gap: 0 48px; }
  .principles { grid-template-columns: repeat(3, 1fr); }
  .life-groups { grid-template-columns: repeat(2, 1fr); }
  .mods { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 833px) {
  .section { padding: 96px 0; }
  .gnav-toggle { display: block; margin-left: auto; }
  .gnav-links {
    position: fixed; top: 48px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    background: rgba(22,22,23,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 8px 22px 22px; font-size: 22px; font-weight: 600;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  }
  .gnav-links a { padding: 12px 0; border-bottom: 1px solid #333; }
  .gnav.is-open .gnav-links { transform: none; opacity: 1; visibility: visible; }
  .gnav-inner { gap: 14px; }

  .arch { grid-template-columns: 1fr; gap: 28px; }
  .arch-wires { display: none; }
  .arch-left { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .arch-left .arch-cap, .arch-right .arch-cap { grid-column: 1 / -1; text-align: center; }
  .arch-right { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .arch-core { order: 0; }
  .eng { font-size: 15px; padding: 13px 14px; }

  .scene { grid-template-columns: 1fr; padding: 32px 22px; gap: 32px; }
  .trio, .spec-row { grid-template-columns: 1fr; gap: 28px; }
  .stack { padding: 24px 18px; }
  .stack-layer { flex-direction: column; align-items: flex-start; gap: 6px; }
  .s-onto { grid-template-columns: 1fr; gap: 14px; }
  .onto-steps { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .onto-steps li { padding: 6px 0; text-align: center; background: rgba(255,255,255,.45); }
  .onto-steps li span { display: none; }
  .onto-steps em { margin: 0; }
  .onto-cap { display: block; min-height: 20px; margin-top: 10px; font-size: 13px; color: var(--ink-2); text-align: center; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-arrow { height: 40px; }
  .flow-arrow::before { left: 50%; right: auto; top: 6px; bottom: 10px; width: 1.5px; height: auto; background: linear-gradient(180deg, #333, var(--blue-dark)); }
  .flow-arrow::after { left: 50%; right: auto; top: auto; bottom: 10px; margin-left: -4px; transform: rotate(135deg); }
  .proof, .kpis { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .principles { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .stats { grid-template-columns: 1fr; gap: 36px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .logos li { font-size: 14px; padding: 14px 8px; }
  .life-groups { grid-template-columns: 1fr; }
  .seg button { padding: 8px 14px; font-size: 14px; }
  .quad { padding: 14px 8px 6px; border-radius: 20px; }
  .q-label { font-size: 24px; } .q-sub, .q-axis { font-size: 20px; } .q-sub { transform: translateY(10px); } .q-zone { font-size: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- 手机精调 ---------- */
@media (max-width: 833px) {
  .gnav { height: calc(48px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  .gnav-links { top: calc(48px + env(safe-area-inset-top)); max-height: calc(100vh - 48px); overflow-y: auto; }
  body.menu-open { overflow: hidden; }
  /* .gnav 有 backdrop-filter，会成为 fixed 子元素的包含块，故用显式高度而非 bottom:0 */
  .gnav-links { height: calc(100vh - 48px - env(safe-area-inset-top)); height: calc(100dvh - 48px - env(safe-area-inset-top)); max-height: none; }

  /* 架构图：系统压缩为标签，组间用箭头示意数据流 */
  .arch-left { grid-template-columns: repeat(4, 1fr); }
  .sys { padding: 10px 4px; text-align: center; border-radius: 12px; }
  .sys b { font-size: 14px; }
  .sys span { display: none; }
  .arch-left, .arch-core { position: relative; }
  .arch-left::after, .arch-core::after {
    content: ""; position: absolute; left: 50%; bottom: -24px; width: 1.5px; height: 20px; margin-left: -.75px;
    background: linear-gradient(var(--line), var(--blue));
  }
  .eng:last-child { grid-column: 1 / -1; justify-content: center; }
  .eng:hover { transform: none; }
  .core-head h3 { font-size: 26px; }

  .stack-layer b { font-size: 20px; }
  .flow-step { padding: 22px 22px; }
  .flow-step h3 { font-size: 21px; }
  .flow-arrow { height: 32px; }
}
@media (max-width: 560px) {
  .section { padding: 76px 0; }
  .contact { padding: 110px 0; }
  .hide-sm { display: none; }
  .hero-title { font-size: clamp(36px, 11vw, 48px); }
  .hero-sub { font-size: 18px; }
  .lede { font-size: 18px; }
  .headline { font-size: clamp(30px, 9vw, 40px); }
  .tiles, .arch, .quad, .stack, .flow, .scene { margin-top: 44px; }
  .trio { margin-top: 52px; }

  /* 工程师卡片：横向滑动 */
  .tiles {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-left: -16px; margin-right: -16px; padding: 4px 16px 12px; scroll-padding: 0 16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 80%; scroll-snap-align: start; min-height: 250px; }
  .tiles .reveal { opacity: 1; transform: none; transition: none; }
  .dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .dots i { width: 7px; height: 7px; border-radius: 50%; background: #d2d2d7; transition: background .3s, transform .3s; }
  .dots i.on { background: var(--ink); transform: scale(1.15); }

  .scene { padding: 26px 18px; border-radius: 24px; }
  .mock { font-size: 12px; }
  .g-row { grid-template-columns: 62px 1fr; }
  .spec b { font-size: 34px; }
  .spec { padding: 22px; }
  .stat span, .proof span { font-size: 14px; }
  .principles { margin-top: 64px; }
  .principles > div { padding: 18px 18px; }

  /* 客户名单：流式胶囊，紧凑 */
  .logos, .logos.sm { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .logos li, .logos.sm li { padding: 8px 14px; font-size: 13px; border-radius: 980px; font-weight: 500; }
  .life-groups { gap: 26px; }
  .ind-lede { font-size: 15px; }
  .kpis span { font-size: 13px; }

  /* 页脚 */
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .footer { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
}
@media (hover: none) {
  .tile:hover, .cases a:hover { transform: none; box-shadow: none; }
}

/* 附录：手机上主链改竖排，令牌自上而下 */
@media (max-width: 833px) {
  .vchain { grid-template-columns: 1fr; grid-auto-rows: 64px; padding: 14px 18px 14px 18px; }
  .vc-track { left: 42px; right: auto; top: 46px; bottom: 46px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #c7c7cc 0 6px, transparent 6px 12px); }
  .vc-token { left: 50%; top: 0; margin: -7px 0 0 -7px; animation-name: vcRunY; }
  @keyframes vcRunY { from { top: 0; } to { top: 100%; } }
  .vc-st { flex-direction: row; justify-content: flex-start; gap: 14px; }
  .vc-node { order: 0; width: 50px; height: 50px; border-radius: 15px; margin: 0; font-size: 13px; flex: none; }
  .vc-st span { order: 1; font-size: 15px; font-weight: 600; color: var(--ink); width: 2.5em; }
  .vc-ai { order: 2; margin-left: auto; }
  .vc-ai::after { display: none; }
  .mods { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mod { padding: 12px 12px 14px; border-radius: 18px; }
  .mod .glyph { margin-bottom: 10px; border-radius: 10px; }
  .mod h3 { font-size: 13px; gap: 6px; flex-wrap: wrap; }
  .mod h3 b { font-size: 18px; }
  .mod p { font-size: 12.5px; }
}

@media (max-width: 400px) {
  .seg button { padding: 8px 11px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .quad .q-isip { opacity: 1; transform: translate(560px, 110px); }
  .quad .q-path, .quad .q-isip-label { opacity: 1; }
  .g-track i { width: var(--w); }
  .f-track i { width: var(--w); }
  .hr-pick { opacity: 1; transform: none; }
  .onto-graph .o-node, .onto-graph .o-rule, .onto-graph .o-badge, .onto-graph .o-action, .onto-graph .o-elabel { opacity: 1; transform: none; }
  .onto-graph .o-edge { stroke-dashoffset: 0; }
}
