/* ===== Block 06 · 三阶段 ===== */
.stages { padding: 0 var(--pad-x); }
.stages-grid {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  gap: 0;
  align-items: stretch;
}
.stage-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--ikb);
  font-size: 20px;
  font-weight: 800;
  filter: drop-shadow(0 2px 4px rgba(0,47,167,0.2));
}
.stage-arrow::before { content: "▶"; }
.stage-col { border-radius: 16px; }
.stage-col {
  background: #fff; border: 1px solid var(--ikb-line);
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
}
.stage-head {
  padding: 16px 20px; color: #fff;
  background: linear-gradient(135deg, var(--ikb-deep), var(--ikb));
}
.stage-col.b2 .stage-head { background: linear-gradient(135deg, var(--ikb), var(--ikb-soft)); }
.stage-col.b3 .stage-head { background: linear-gradient(135deg, var(--ikb-soft), #3566D8); }
.stage-step {
  font-size: 10.5px; font-weight: 800; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 4px;
}
.stage-name { font-size: 17px; font-weight: 800; letter-spacing: 0.5px; }
.stage-body {
  padding: 16px 20px; flex: 1;
  display: flex; flex-direction: column; gap: 12px;
}
.stage-row-label {
  font-size: 10.5px; font-weight: 800; letter-spacing: 2px;
  color: var(--ikb); margin-bottom: 5px;
  display: inline-flex; align-items: center; gap: 6px;
}

.stage-row p { font-size: 12px; color: var(--text-2); line-height: 1.6; }
.stage-roles { display: flex; flex-wrap: wrap; gap: 5px; }
.stage-role-tag {
  font-size: 11px; padding: 3px 9px;
  background: var(--ikb-ghost); color: var(--ikb);
  border-radius: 5px; font-weight: 600;
}

/* ===== 07-11 · 场景重构(三层结构) ===== */
.scene2 {
  margin: 22px var(--pad-x) 0;
  background: #fff;
  border: 1px solid var(--ikb-line);
  border-radius: 20px;
  overflow: hidden;
}

/* ① TOP BAR */
.sc-topbar {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 28px;
  background: linear-gradient(135deg, var(--ikb-deep) 0%, var(--ikb) 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.sc-topbar::before {
  content: ""; position: absolute;
  right: -80px; top: -80px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,169,64,0.22), transparent 60%);
  border-radius: 50%;
}
.sc-topbar.stage-B { background: linear-gradient(135deg, var(--ikb), var(--ikb-soft)); }
.sc-topbar.stage-C { background: linear-gradient(135deg, var(--ikb-soft), #3566D8); }
.sc-num {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: var(--accent);
  position: relative; z-index: 1;
}
.sc-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  position: relative; z-index: 1;
}
.sc-icon svg { width: 26px; height: 26px; }
.sc-title-group { flex: 1; position: relative; z-index: 1; }
.sc-stage-label {
  font-size: 10.5px; font-weight: 800; letter-spacing: 2.5px;
  color: var(--accent); margin-bottom: 2px;
}
.sc-title-main {
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.2px; line-height: 1.25;
}

/* ② INFO ROW */
.sc-info {
  display: grid; grid-template-columns: 38% 62%;
}
.sc-info-left {
  padding: 22px 24px;
  background: #FAFBFD;
  border-right: 1px solid var(--ikb-line);
  display: flex; flex-direction: column; gap: 14px;
}
.sc-pv {
  border-radius: 12px;
  padding: 14px 16px;
  position: relative;
}
.sc-pv::before {
  content: ""; position: absolute;
  left: 0; top: 16px; bottom: 16px; width: 3px;
  border-radius: 2px;
}
.sc-pv.pain {
  background: rgba(208,75,75,0.05);
}
.sc-pv.pain::before { background: var(--pain); }
.sc-pv.value {
  background: var(--ikb-ghost);
}
.sc-pv.value::before { background: var(--ikb); }
.sc-pv-label {
  font-size: 10.5px; font-weight: 800; letter-spacing: 2px;
  margin-bottom: 5px; padding-left: 10px;
}
.sc-pv.pain .sc-pv-label { color: var(--pain); }
.sc-pv.value .sc-pv-label { color: var(--ikb); }
.sc-pv p {
  font-size: 12.5px; color: var(--text-2);
  line-height: 1.6; padding-left: 10px;
}

.sc-info-right {
  padding: 22px 24px;
}
.sc-caps-label {
  font-size: 10.5px; font-weight: 800; letter-spacing: 2.5px;
  color: var(--ikb); margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
}
.sc-caps-label::before {
  content: ""; width: 16px; height: 2px; background: var(--accent);
}
.sc-caps-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.sc-cap {
  background: linear-gradient(135deg, var(--ikb-ghost) 0%, rgba(0,47,167,0.02) 100%);
  border: 1px solid var(--ikb-line);
  border-radius: 10px;
  padding: 12px 14px 12px 36px;
  position: relative;
}
.sc-cap::before {
  content: ""; position: absolute;
  left: 12px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px;
  background: var(--ikb); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0,47,167,0.12);
}
.sc-cap::after {
  content: ""; position: absolute;
  left: 16px; top: 50%; transform: translate(0, -50%) rotate(45deg);
  width: 5px; height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  margin-top: -2px; margin-left: -1px;
}
.sc-cap p {
  font-size: 12px; color: var(--text-1);
  line-height: 1.5; font-weight: 500;
}

/* ③ FLOW ROW(满宽流程图) */
.sc-flow {
  padding: 22px 28px 26px;
  background: linear-gradient(180deg, #fff 0%, #F6F9FD 100%);
  border-top: 1px solid var(--ikb-line);
}
.sc-flow-label {
  font-size: 10.5px; font-weight: 800; letter-spacing: 2.5px;
  color: var(--ikb); margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.sc-flow-label::before { content: "◆"; font-size: 10px; color: var(--accent); }

/* 4 色节点语义 */
.fn {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 10px;
  padding: 12px 12px;
  text-align: center;
  position: relative;
}
.fn-k { font-size: 9.5px; font-weight: 800; letter-spacing: 1.5px; display: block; margin-bottom: 4px; }
.fn-t { font-size: 13px; font-weight: 700; line-height: 1.35; }
.fn-h { font-size: 10.5px; line-height: 1.35; margin-top: 4px; }

/* 配置节点 */
.fn.cfg {
  background: repeating-linear-gradient(-45deg, rgba(124,132,158,0.06) 0 6px, transparent 6px 12px), #fff;
  border: 1px dashed var(--text-3);
}
.fn.cfg .fn-k { color: var(--text-3); }
.fn.cfg .fn-t { color: var(--text-2); }
.fn.cfg .fn-h { color: var(--text-3); }
/* 输入节点 */
.fn.in {
  background: linear-gradient(135deg, var(--ikb-deep), var(--ikb));
  color: #fff;
}
.fn.in .fn-k { color: var(--accent); }
.fn.in .fn-t { color: #fff; }
.fn.in .fn-h { color: rgba(255,255,255,0.7); }
/* 加工节点 */
.fn.proc {
  background: #fff;
  border: 1px solid var(--ikb-line);
}
.fn.proc .fn-k { color: var(--ikb); }
.fn.proc .fn-t { color: var(--text-1); }
.fn.proc .fn-h { color: var(--text-3); }
/* 输出节点 — 高光 */
.fn.out {
  background: linear-gradient(135deg, #FFF6EE, #FFD9A8);
  border: 2px solid var(--accent);
  box-shadow: 0 8px 20px rgba(255,169,64,0.25);
}
.fn.out .fn-k { color: #B46800; }
.fn.out .fn-t { color: #5A2A00; font-size: 14px; font-weight: 800; }
.fn.out .fn-h { color: #8C4A00; }

.fn-line {
  display: flex; align-items: stretch; gap: 0;
}
.fn-arrow {
  flex: 0 0 22px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ikb-soft);
  font-size: 14px;
}
.fn-arrow::before { content: "▶"; }

/* 场景 4 · 双链路 */
.fn-dual { display: flex; flex-direction: column; gap: 12px; }
.fn-dual-row { display: flex; align-items: stretch; gap: 0; }
.fn-dual-tag {
  flex: 0 0 60px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.2px;
  color: #fff;
  text-align: center;
  padding: 8px 0;
  background: linear-gradient(135deg, var(--ikb-soft), var(--ikb));
  border-radius: 8px;
  margin-right: 10px;
  display: flex; align-items: center; justify-content: center;
}
.fn-merge-row {
  display: flex; justify-content: center;
  align-items: center; gap: 0;
  padding-top: 6px;
  border-top: 1px dashed var(--ikb-line);
  margin-top: 2px;
}
.fn-merge-row .fn { flex: 0 0 220px; }

/* 场景 5 · 配置依据 + 输入源上层 */
.fn-precfg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 12px;
}
.fn-precfg-box {
  border: 1px dashed var(--ikb-line);
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
}
.fn-precfg-title {
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.5px;
  color: var(--ikb); margin-bottom: 6px;
  display: inline-flex; align-items: center; gap: 6px;
}
.fn-precfg-title.input { color: var(--accent); }
.fn-precfg-title::before { content: "◆"; font-size: 9px; }
.fn-precfg-items {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.fn-precfg-items span {
  font-size: 11px; color: var(--text-2);
  padding: 3px 9px; background: var(--ikb-ghost);
  border-radius: 5px; font-weight: 500;
}
.fn-precfg-box.input .fn-precfg-items span {
  background: rgba(255,169,64,0.15); color: #8C4A00;
}

/* ===== Block 12 · 对比表 ===== */
.compare { padding: 0 var(--pad-x); }
.compare-box {
  background: #fff; border: 1px solid var(--ikb-line);
  border-radius: 18px; overflow: hidden;
}
.compare-head {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: linear-gradient(135deg, var(--ikb-ghost), rgba(255,169,64,0.08));
}
.compare-head div {
  padding: 14px 20px; font-size: 13px; font-weight: 800;
  letter-spacing: 1.5px;
}
.compare-head .ch-dim { color: var(--text-3); }
.compare-head .ch-cloud { color: var(--pain); border-left: 1px solid var(--ikb-line); }
.compare-head .ch-box { color: var(--ikb); border-left: 1px solid var(--ikb-line); }
.compare-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--ikb-line);
}
.compare-row > div {
  padding: 14px 20px; font-size: 12.5px; line-height: 1.55;
}
.compare-row .cr-dim { color: var(--text-1); font-weight: 700; font-size: 13.5px; }
.compare-row .cr-cloud { color: var(--text-2); border-left: 1px solid var(--ikb-line); }
.compare-row .cr-box {
  color: var(--ikb); font-weight: 600;
  border-left: 1px solid var(--ikb-line);
  background: var(--ikb-ghost);
}

/* ===== Block 13 · CTA ===== */
.cta {
  margin: 50px var(--pad-x) 50px;
  text-align: center;
  padding: 38px 40px;
  background: linear-gradient(135deg, var(--ikb-deep), var(--ikb));
  border-radius: 22px;
  color: #fff; position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,169,64,0.22), transparent 65%);
  border-radius: 50%;
}
.cta-inner { position: relative; z-index: 1; }
.cta-label { font-size: 11.5px; font-weight: 800; letter-spacing: 3px; color: var(--accent); margin-bottom: 8px; }
.cta-title { font-size: 26px; font-weight: 800; line-height: 1.3; margin-bottom: 6px; }
.cta-sub { font-size: 14px; color: rgba(255,255,255,0.78); margin-bottom: 22px; }
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #5a2a00; text-decoration: none;
  padding: 14px 46px; border-radius: 999px;
  font-size: 16px; font-weight: 700;
  box-shadow: 0 10px 28px rgba(255,169,64,0.35);
  letter-spacing: 1px;
}
.cta-foot {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 12px; color: rgba(255,255,255,0.7);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.cta-foot b { color: #fff; }
