/* ============================================================
   未蓝云 FUTRBLUE · CPQ 场景页设计系统
   主题：灰底 + 蓝白主色 · 清透工业科技风
   ============================================================ */
:root {
  --bg: #eceff4;
  --bg-2: #f4f6fa;
  --bg-grid: rgba(26, 109, 255, 0.05);
  --ink: #0e1d33;
  --ink-2: #33445e;
  --muted: #64748f;
  --blue: #1a6dff;
  --blue-deep: #0b4fd6;
  --blue-soft: #e3edff;
  --cyan: #2fb7ff;
  --green: #3d9a6c;
  --green-soft: #e2f3ea;
  --orange: #d97b2b;
  --orange-soft: #fbeee0;
  --white: #ffffff;
  --line: rgba(14, 46, 96, 0.09);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow-sm: 0 1px 2px rgba(14, 42, 90, 0.05), 0 4px 14px rgba(14, 42, 90, 0.05);
  --shadow-md: 0 2px 6px rgba(14, 42, 90, 0.06), 0 16px 40px rgba(14, 42, 90, 0.09);
  --shadow-lg: 0 4px 12px rgba(14, 42, 90, 0.08), 0 28px 64px rgba(14, 42, 90, 0.13);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --font-cn: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-en: "Manrope", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-cn);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 工业蓝图网格背景 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(26, 109, 255, 0.09), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(47, 183, 255, 0.07), transparent 55%),
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, transparent 55%, rgba(236, 239, 244, 0.55) 100%);
}

::selection { background: var(--blue); color: #fff; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- 通用排版 ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 2px; }
h1, h2, h3 { line-height: 1.28; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; }
h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin: 14px 0 12px; }
h2 em { font-style: normal; color: var(--blue); }
.section-sub { color: var(--muted); font-size: 16px; max-width: 760px; }
.section { padding: 96px 0 24px; }
.section-head { max-width: 820px; margin-bottom: 44px; }
.mono { font-family: var(--font-en); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px; font-weight: 700; font-size: 14.5px;
  border: 1px solid transparent; cursor: pointer; transition: all 0.22s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff;
  box-shadow: 0 8px 22px rgba(26, 109, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(26, 109, 255, 0.45); }
.btn-ghost { background: rgba(255, 255, 255, 0.7); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); transform: translateY(-2px); }
.btn .arr { font-family: var(--font-en); transition: transform 0.2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { padding: 168px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; }
.tag {
  font-size: 12.5px; font-weight: 700; color: var(--blue-deep);
  background: var(--blue-soft); border: 1px solid rgba(26, 109, 255, 0.18);
  padding: 5px 13px; border-radius: 999px;
}
.tag.g { color: #1d7a50; background: var(--green-soft); border-color: rgba(61, 154, 108, 0.25); }
.tag.o { color: #b25f14; background: var(--orange-soft); border-color: rgba(217, 123, 43, 0.25); }
.hero .lead { color: var(--ink-2); font-size: 16.5px; margin-top: 18px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 玻璃拟态软件窗口（界面示意） ---------- */
.mock {
  background: var(--glass);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5dce6; }
.mock-bar i:nth-child(1) { background: #ffb4a8; }
.mock-bar i:nth-child(2) { background: #ffe0a3; }
.mock-bar i:nth-child(3) { background: #b5e4c8; }
.mock-bar span { margin-left: 8px; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; }
.mock-body { padding: 20px; }

/* 通用小部件 */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2);
}
.chip.g { background: var(--green-soft); color: #1d7a50; border-color: rgba(61,154,108,.22); }
.chip.o { background: var(--orange-soft); color: #b25f14; border-color: rgba(217,123,43,.22); }
.chip.b { background: var(--blue-soft); color: var(--blue-deep); border-color: rgba(26,109,255,.2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- 卡片 ---------- */
.card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(26, 109, 255, 0.28); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-soft), #fff);
  border: 1px solid rgba(26, 109, 255, 0.18); color: var(--blue);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ---------- 问题链路（M03 横向链） ---------- */
.chain-wrap {
  background: linear-gradient(180deg, #eef2f8, #e9eef6);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 40px 34px; box-shadow: var(--shadow-sm);
}
.chain { display: flex; align-items: stretch; gap: 0; }
.chain .node {
  flex: 1; position: relative;
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 16px; box-shadow: var(--shadow-sm);
}
.chain .node + .node { margin-left: 34px; }
.chain .node + .node::before {
  content: ""; position: absolute; left: -34px; top: 50%; width: 34px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 11px);
  opacity: 0.7;
}
.chain .node .no {
  font-family: var(--font-en); font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
  color: var(--orange); text-transform: uppercase; margin-bottom: 6px;
}
.chain .node h4 { font-size: 15px; margin-bottom: 6px; }
.chain .node p { font-size: 13px; color: var(--muted); line-height: 1.65; }
.chain-foot {
  margin-top: 26px; display: flex; align-items: center; gap: 12px;
  font-size: 13.5px; font-weight: 700; color: var(--blue-deep);
}
.chain-foot .line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(26,109,255,.4), transparent); }

/* ---------- 步骤导航（流程） ---------- */
.steps { display: grid; grid-template-columns: 300px 1fr; gap: 26px; }
.step-nav { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 96px; align-self: start; }
.step-btn {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 13px 16px; border-radius: 12px; border: 1px solid transparent;
  background: transparent; cursor: pointer; font-family: var(--font-cn);
  font-size: 14px; font-weight: 600; color: var(--muted); transition: all 0.22s ease;
}
.step-btn .n {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  display: grid; place-items: center; font-family: var(--font-en);
  font-size: 12px; font-weight: 800;
  background: #e6ebf3; color: var(--muted); transition: all 0.22s ease;
}
.step-btn:hover { background: rgba(255,255,255,.7); color: var(--ink); }
.step-btn.on {
  background: #fff; border-color: rgba(26, 109, 255, 0.3);
  color: var(--blue-deep); box-shadow: var(--shadow-sm);
}
.step-btn.on .n { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; }
.step-panel {
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-md);
  display: none; animation: fadeUp 0.4s ease both;
}
.step-panel.on { display: block; }
.step-panel h3 { font-size: 20px; margin-bottom: 10px; }
.step-panel .desc { color: var(--ink-2); margin-bottom: 18px; }
.step-io { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step-io .io { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; }
.step-io .io b { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--blue); font-family: var(--font-en); text-transform: uppercase; margin-bottom: 6px; }
.step-io .io span { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }

/* ---------- 配置器舞台（3D选配示意） ---------- */
.stage { display: grid; grid-template-columns: 1fr 270px; gap: 0; }
.stage-view {
  position: relative; min-height: 380px;
  background:
    radial-gradient(500px 260px at 50% 62%, rgba(26, 109, 255, 0.14), transparent 70%),
    linear-gradient(180deg, #f2f5fa, #e7edf6);
  display: grid; place-items: center; overflow: hidden;
}
.stage-view .grid-floor {
  position: absolute; left: -20%; right: -20%; bottom: -8%; height: 55%;
  background:
    linear-gradient(rgba(26,109,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,109,255,.12) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: perspective(500px) rotateX(58deg);
  transform-origin: bottom;
}
.stage-view svg.product { position: relative; z-index: 2; filter: drop-shadow(0 22px 26px rgba(14,42,90,.22)); }
.hotspot {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; color: var(--blue-deep);
  background: rgba(255,255,255,.92); border: 1px solid rgba(26,109,255,.3);
  padding: 4px 10px 4px 6px; border-radius: 999px; box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.hotspot i { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; }
.hotspot i::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.stage-side { border-left: 1px solid var(--line); background: rgba(255,255,255,.6); padding: 18px; }
.stage-side h4 { font-size: 13px; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; font-family: var(--font-en); text-transform: uppercase; }
.opt-group { margin-bottom: 16px; }
.opt-group b { font-size: 13px; display: block; margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 7px; }
.opt {
  font-size: 12.5px; padding: 6px 12px; border-radius: 9px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-weight: 600; transition: all .2s ease;
}
.opt:hover { border-color: var(--blue); color: var(--blue-deep); }
.opt.on { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(26,109,255,.3); }
.opt.dis { opacity: .42; text-decoration: line-through; cursor: not-allowed; }
.stage-foot {
  border-top: 1px solid var(--line); background: rgba(255,255,255,.75);
  padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.stage-foot .sum { font-size: 13px; color: var(--ink-2); }
.stage-foot .sum b { color: var(--ink); }
.stage-foot .price { font-family: var(--font-en); font-weight: 800; font-size: 22px; color: var(--blue-deep); }
.stage-foot .price small { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---------- 三段对照（规则校验） ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trio .col { background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow-sm); }
.trio .col .st { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-en); margin-bottom: 12px; }
.trio .col.warn { border-color: rgba(217,123,43,.35); background: linear-gradient(180deg, #fff, var(--orange-soft)); }
.trio .col.warn .st { color: var(--orange); }
.trio .col.ok { border-color: rgba(61,154,108,.35); background: linear-gradient(180deg, #fff, var(--green-soft)); }
.trio .col.ok .st { color: var(--green); }
.trio ul { list-style: none; }
.trio li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-2); padding: 7px 0; border-bottom: 1px dashed var(--line); }
.trio li:last-child { border-bottom: 0; }
.trio li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--blue); flex: none; margin-top: 9px; }
.trio .col.warn li::before { background: var(--orange); }
.trio .col.ok li::before { background: var(--green); }

/* ---------- 成本条 / 瀑布 ---------- */
.costbar { display: flex; height: 46px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.costbar span { display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; font-family: var(--font-en); }
.waterfall { display: flex; align-items: flex-end; gap: 18px; height: 230px; padding: 10px 6px 0; }
.wf { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; height: 100%; }
.wf .bar {
  width: 100%; border-radius: 9px 9px 4px 4px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  box-shadow: 0 8px 18px rgba(26,109,255,.25);
  transition: height .8s cubic-bezier(.22,.9,.3,1);
}
.wf.up .bar { background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.wf.risk .bar { background: linear-gradient(180deg, #f0a45e, var(--orange)); box-shadow: 0 8px 18px rgba(217,123,43,.22); }
.wf label { font-size: 12px; font-weight: 700; color: var(--ink-2); text-align: center; }
.wf .val { font-family: var(--font-en); font-size: 13px; font-weight: 800; color: var(--blue-deep); }

/* ---------- 报价文档预览 ---------- */
.doc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.doc {
  background: #fff; border-radius: 6px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 30px 28px; position: relative;
}
.doc::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(14,46,96,.06); border-radius: 4px; pointer-events: none; }
.doc .doc-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 16px; }
.doc .doc-head b { font-size: 17px; letter-spacing: .04em; }
.doc table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.doc th { text-align: left; color: var(--muted); font-weight: 600; padding: 7px 4px; border-bottom: 1px solid var(--line); }
.doc td { padding: 8px 4px; border-bottom: 1px dashed var(--line); color: var(--ink-2); }
.doc .total-row td { font-weight: 800; color: var(--blue-deep); border-bottom: 0; font-size: 14px; }
.tpl-switch { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }

/* ---------- 树（产品/BOM/项目） ---------- */
.tree { font-size: 14px; }
.tree ul { list-style: none; padding-left: 22px; border-left: 1px dashed rgba(14,46,96,.18); margin-left: 9px; }
.tree > ul { padding-left: 0; border-left: 0; margin-left: 0; }
.tree li { padding: 3px 0; }
.tree .t {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  border-radius: 9px; background: rgba(255,255,255,.85); border: 1px solid var(--line);
  cursor: pointer; font-weight: 600; transition: all .2s ease; box-shadow: var(--shadow-sm);
}
.tree .t:hover { border-color: var(--blue); color: var(--blue-deep); }
.tree .t .caret { font-size: 10px; color: var(--muted); transition: transform .2s ease; }
.tree li.closed > ul { display: none; }
.tree li.closed > .t .caret { transform: rotate(-90deg); }
.tree .amt { font-family: var(--font-en); font-weight: 800; color: var(--blue-deep); font-size: 12.5px; }
.tree .src { font-size: 11px; color: var(--muted); }

/* ---------- 看板 ---------- */
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kb-col { background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.kb-col h5 { font-size: 13px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.kb-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; margin-bottom: 10px; box-shadow: var(--shadow-sm); font-size: 12.5px; }
.kb-card b { display: block; font-size: 13px; margin-bottom: 4px; }
.kb-card p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.kb-card .meta { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }

/* ---------- 泳道 ---------- */
.lanes { display: flex; flex-direction: column; gap: 10px; }
.lane { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: center; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; }
.lane .who { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.lane .bars { display: flex; gap: 8px; align-items: center; }
.lane .prog { flex: 1; height: 10px; border-radius: 999px; background: #e6ebf3; overflow: hidden; }
.lane .prog i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.lane .pct { font-family: var(--font-en); font-weight: 800; font-size: 13px; color: var(--blue-deep); width: 44px; text-align: right; }

/* ---------- 系统关系图 / 数字线程 ---------- */
.thread { position: relative; padding: 30px 10px; }
.thread .rail { position: absolute; left: 5%; right: 5%; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, rgba(26,109,255,.5), rgba(47,183,255,.5), transparent); }
.thread .nodes { position: relative; display: flex; justify-content: space-between; gap: 10px; }
.thread .tnode { text-align: center; width: 16%; }
.thread .tnode .ball {
  width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 18px;
  display: grid; place-items: center; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  font-family: var(--font-en); font-weight: 800; color: var(--blue-deep); font-size: 14px;
}
.thread .tnode.center .ball {
  width: 84px; height: 84px; border-radius: 24px; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 14px 34px rgba(26,109,255,.4);
}
.thread .tnode b { display: block; font-size: 14px; margin-bottom: 4px; }
.thread .tnode p { font-size: 12px; color: var(--muted); line-height: 1.55; }

/* ---------- 环形闭环 ---------- */
.loop-wrap { position: relative; width: min(560px, 100%); aspect-ratio: 1; margin: 0 auto; }
.loop-wrap .ring { position: absolute; inset: 6%; border-radius: 50%; border: 1.5px dashed rgba(26,109,255,.35); }
.loop-wrap .ring2 { position: absolute; inset: 20%; border-radius: 50%; border: 1px solid rgba(26,109,255,.16); }
.loop-core {
  position: absolute; inset: 33%; border-radius: 50%;
  background: linear-gradient(150deg, #fff, var(--blue-soft));
  border: 1px solid rgba(26,109,255,.3); box-shadow: var(--shadow-md);
  display: grid; place-items: center; text-align: center; padding: 8%;
}
.loop-core b { font-size: 17px; color: var(--blue-deep); display: block; }
.loop-core span { font-size: 11.5px; color: var(--muted); }
.loop-node {
  position: absolute; width: 108px; margin-left: -54px; margin-top: -26px;
  background: rgba(255,255,255,.94); border: 1px solid var(--line);
  border-radius: 12px; padding: 8px 6px; text-align: center;
  font-size: 12px; font-weight: 700; box-shadow: var(--shadow-sm);
  transition: all .25s ease;
}
.loop-node small { display: block; font-weight: 500; color: var(--muted); font-size: 10.5px; }
.loop-node:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.loop-node.hot { border-color: rgba(217,123,43,.5); background: linear-gradient(180deg,#fff,var(--orange-soft)); }

/* ---------- 三岔分流 ---------- */
.fork { display: grid; grid-template-columns: 1fr; gap: 0; }
.fork-row { display: grid; grid-template-columns: 200px 60px 1fr; align-items: stretch; }
.fork-src { display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 20px; font-weight: 700; font-size: 15px; text-align: center; }
.fork-mid { display: grid; place-items: center; color: var(--blue); font-size: 20px; }
.fork-paths { display: flex; flex-direction: column; gap: 12px; }
.fork-path { border-radius: var(--r-md); padding: 16px 20px; border: 1px solid var(--line); background: #fff; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-sm); }
.fork-path .badge { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; font-family: var(--font-en); font-weight: 800; }
.fork-path.g .badge { background: var(--green-soft); color: var(--green); }
.fork-path.b .badge { background: var(--blue-soft); color: var(--blue-deep); }
.fork-path.o .badge { background: var(--orange-soft); color: var(--orange); }
.fork-path b { font-size: 15px; }
.fork-path p { font-size: 13px; color: var(--muted); }

/* ---------- FAQ 手风琴 ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(255,255,255,.85); overflow: hidden; }
.faq + .faq { margin-top: 12px; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; background: none; border: 0; cursor: pointer;
  font-family: var(--font-cn); font-size: 15px; font-weight: 700; color: var(--ink); text-align: left;
}
.faq-q .pm { width: 24px; height: 24px; flex: none; border-radius: 8px; background: var(--blue-soft); color: var(--blue-deep); display: grid; place-items: center; font-family: var(--font-en); transition: transform .25s ease; }
.faq.open .faq-q .pm { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 14px; }

/* ---------- 行业标签切换 ---------- */
.tabbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tabbtn {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.8); font-family: var(--font-cn); font-size: 13.5px;
  font-weight: 700; color: var(--ink-2); cursor: pointer; transition: all .2s ease;
}
.tabbtn:hover { border-color: var(--blue); color: var(--blue-deep); }
.tabbtn.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabpanel { display: none; animation: fadeUp .35s ease both; }
.tabpanel.on { display: block; }

/* ---------- CTA 收束 ---------- */
.cta-band {
  margin: 90px 0 80px; border-radius: var(--r-lg); overflow: hidden; position: relative;
  background: linear-gradient(120deg, #e8f0ff 0%, #f5f9ff 55%, #eaf6ff 100%);
  border: 1px solid rgba(26,109,255,.18); box-shadow: var(--shadow-md);
}
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(26,109,255,.16), transparent 65%);
}
.cta-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; padding: 52px; align-items: center; }
.cta-inner h2 { margin-top: 0; }
.cta-inner p { color: var(--ink-2); margin: 10px 0 24px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); font-size: 13px; }
.footer .row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer b { color: var(--ink); }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.9,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.floaty { animation: floaty 5s ease-in-out infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.spin-slow { animation: spinSlow 26s linear infinite; }

/* ---------- 蓝图注释框 ---------- */
.note {
  border-left: 3px solid var(--blue); background: rgba(26,109,255,.06);
  padding: 12px 16px; border-radius: 0 10px 10px 0; font-size: 13px; color: var(--ink-2);
}
.note b { color: var(--blue-deep); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid, .grid-2, .doc-wrap, .cta-inner { grid-template-columns: 1fr; }
  .grid-3, .trio { grid-template-columns: 1fr 1fr; }
  .grid-4, .kanban { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-nav { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .step-btn { white-space: nowrap; }
  .chain { flex-direction: column; }
  .chain .node + .node { margin-left: 0; margin-top: 26px; }
  .chain .node + .node::before { left: 50%; top: -26px; width: 2px; height: 26px;
    background: repeating-linear-gradient(180deg, var(--orange) 0 6px, transparent 6px 11px); }
  .stage { grid-template-columns: 1fr; }
  .stage-side { border-left: 0; border-top: 1px solid var(--line); }
  .thread .nodes { flex-wrap: wrap; }
  .thread .tnode { width: 30%; margin-bottom: 18px; }
  .thread .rail { display: none; }
  .fork-row { grid-template-columns: 1fr; gap: 12px; }
  .nav .links { display: none; }
}
@media (max-width: 640px) {
  .grid-3, .trio, .grid-4, .kanban, .step-io { grid-template-columns: 1fr; }
  .section { padding: 64px 0 12px; }
  .cta-inner { padding: 34px 24px; }
  h1 { font-size: 29px; }
}

/* ---------- 全站统一菜单下拉 ---------- */
.nav-group{position:relative}
.nav-group>button{display:inline-flex;align-items:center;gap:5px;padding:7px 16px;border-radius:999px;font-family:var(--font-cn);font-size:13.5px;font-weight:600;color:var(--ink-2);background:none;border:0;cursor:pointer;transition:all .25s ease}
.nav-group>button:hover{background:var(--blue-soft);color:var(--blue-deep)}
.nav-group .caret{font-style:normal;font-size:9px;opacity:.55}
.nav-drop{position:absolute;top:calc(100% + 10px);left:50%;transform:translate(-50%,8px);min-width:210px;display:flex;flex-direction:column;padding:8px;background:rgba(255,255,255,.97);backdrop-filter:blur(16px);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-md);opacity:0;visibility:hidden;transition:all .2s ease;z-index:200}
.nav-group:hover .nav-drop,.nav-group:focus-within .nav-drop{opacity:1;visibility:visible;transform:translate(-50%,0)}
.nav-drop a{padding:9px 14px;border-radius:9px;font-size:13px;font-weight:600;color:var(--ink-2)}
.nav-drop a:hover{background:var(--blue-soft);color:var(--blue-deep)}
.nav-drop a.here{color:var(--blue-deep);background:var(--blue-soft)}


/* ============================================================
   影像系统 · 编辑式照片带 / Hero 媒体框 / 卡片缩略图
   ============================================================ */
.media-frame { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-md); background: #e6ecf4; }
.media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s cubic-bezier(.22,.61,.36,1); }
.media-frame:hover img { transform: scale(1.06); }
.media-frame .mask { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(11,79,214,.30), rgba(11,79,214,0) 48%); mix-blend-mode: multiply; transition: opacity .6s ease; }
.media-frame:hover .mask { opacity: .4; }
.media-frame .cap { position: absolute; left: 18px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.media-frame .cap i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(26,109,255,.16); }
.media-frame .tick { position: absolute; width: 14px; height: 14px; z-index: 2; pointer-events: none; opacity: .9; }
.media-frame .tick::before, .media-frame .tick::after { content: ""; position: absolute; background: rgba(255,255,255,.95); }
.media-frame .tick::before { left: 6px; top: 0; width: 2px; height: 14px; }
.media-frame .tick::after { top: 6px; left: 0; width: 14px; height: 2px; }
.media-frame .tick.tl { top: 12px; left: 12px; }
.media-frame .tick.br { bottom: 12px; right: 12px; }

.photo-band { padding-top: 8px; }
.photo-band .media-frame { height: clamp(240px, 38vw, 440px); }

/* Hero 媒体（总主页） */
.hero-media { height: 100%; min-height: 400px; }
.hero-media img { position: absolute; inset: 0; }

/* 场景卡片缩略图 */
.card .thumb { margin: -26px -26px 18px; height: 156px; overflow: hidden; border-bottom: 1px solid var(--line); border-radius: calc(var(--r-md) - 1px) calc(var(--r-md) - 1px) 0 0; position: relative; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.22,.61,.36,1); }
.card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(11,79,214,.22), rgba(11,79,214,0) 50%); mix-blend-mode: multiply; pointer-events: none; }
.card:hover .thumb img { transform: scale(1.07); }

@media (max-width: 860px) {
  .hero-media { min-height: 240px; }
  .photo-band .media-frame { height: 220px; }
}

/* ---------- 导航分组标签（岗位角色下拉） ---------- */
.nav-drop .drop-label { display: block; padding: 10px 13px 2px; font-size: 11px; letter-spacing: .1em; color: var(--muted); }

/* ---------- ETO 页面模块配图（按图片原始比例完整显示，不裁切） ---------- */
.mod-img { margin-top: clamp(26px, 3.2vw, 44px); }
.mod-img .media-frame { height: auto; aspect-ratio: 16 / 9; }
.mod-img .media-frame img { transform: none; }
.mod-img .media-frame:hover img { transform: scale(1.02); }
.img-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: clamp(26px, 3.2vw, 44px); }
.img-duo .media-frame { height: auto; aspect-ratio: 16 / 9; }
.img-duo .media-frame img { transform: none; }
.img-duo .media-frame:hover img { transform: scale(1.02); }
@media (max-width: 860px) {
  .img-duo { grid-template-columns: 1fr; }
}

/* ---------- CTO Hero 多产品切换标签 ---------- */
.prod-tabs{display:flex;gap:6px;padding:8px 14px 0;flex-wrap:wrap}
.prod-tabs button{
  border:1px solid var(--line);background:#fff;color:var(--ink-2);
  font-size:12px;font-weight:600;padding:5px 13px;border-radius:999px;cursor:pointer;
  transition:.25s;font-family:inherit;
}
.prod-tabs button:hover{border-color:var(--blue);color:var(--blue-deep)}
.prod-tabs button.on{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 4px 12px rgba(26,109,255,.28)}

/* ---------- CTO Hero 服务器小动画 ---------- */
@keyframes srvLedBlink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
.srv-led { animation: srvLedBlink 1.8s ease-in-out infinite; }
@keyframes srvAirFlow { to { stroke-dashoffset: -14; } }
.srv-air { animation: srvAirFlow 1.6s linear infinite; }
@keyframes srvScreenPulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.srv-screen { animation: srvScreenPulse 2.4s ease-in-out infinite; }

/* ---------- 模块大标题：均衡换行，避免一两字孤行 ---------- */
section h2, .hero h1, .cta h2, .sec-head h2 { text-wrap: balance; }

/* ---------- 卡片增强（参考岗位角色页 .rc 风格） ---------- */
/* 顶部渐变能量线 + 工业角标 + 图标芯片动效 */
.card { position: relative; overflow: hidden; transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s, border-color .4s; }
.card::before { /* 顶部渐变能量线 */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 1;
  background: linear-gradient(90deg, var(--blue), transparent 65%);
  opacity: 0; transition: opacity .4s;
}
.card::after { /* 右下工业角标 */
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 16px; height: 16px; z-index: 1;
  border: 0 solid var(--blue); border-width: 0 2px 2px 0;
  opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(26,109,255,.35); }
.card:hover::before { opacity: 1; }
.card:hover::after { opacity: .9; }
.card .icon { transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .45s; }
.card:hover .icon { transform: scale(1.1) rotate(-4deg); box-shadow: 0 8px 20px rgba(26,109,255,.22); }

/* ---------- rc 风格增强：幽灵序号 ---------- */
.rc-ghost {
  position: absolute; right: 12px; top: 2px; z-index: 0;
  font-family: var(--font-en); font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(26,109,255,.16);
  pointer-events: none; user-select: none;
  transition: -webkit-text-stroke-color .4s;
}
.card:hover .rc-ghost { -webkit-text-stroke-color: rgba(26,109,255,.34); }
.card h3, .card p { position: relative; z-index: 1; }

/* ---------- 链路节点（ETO M12）：hover 抬升 + 工业角标 + 能量线 ---------- */
.chain .node { position: relative; transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s, border-color .35s; }
.chain .node::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--blue), transparent 65%);
  opacity: 0; transition: opacity .4s;
}
.chain .node::after {
  content: ""; position: absolute; right: 8px; bottom: 8px; width: 12px; height: 12px;
  border: 0 solid var(--blue); border-width: 0 2px 2px 0; opacity: 0; transition: opacity .35s;
}
.chain .node:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(26,109,255,.4); }
.chain .node:hover::before, .chain .node:hover::after { opacity: 1; }

/* ---------- 数字线程球：文字溢出适配 ---------- */
.thread .tnode { width: 18%; }
.thread .tnode .ball {
  width: auto; min-width: 62px; padding: 0 10px;
  font-size: 12.5px; letter-spacing: .02em; white-space: nowrap;
}
.thread .tnode.center .ball { width: auto; min-width: 84px; padding: 0 14px; }
.thread .tnode b { font-size: 13.5px; }
.thread .tnode p { font-size: 11.5px; }
@media (max-width: 900px) {
  .thread .tnode .ball { white-space: normal; font-size: 11.5px; }
}
