/* ============================================================
   造梦全域超级聚合CPS系统 官网 · 设计系统
   深色主题（全站锁定）· 单一强调色（翡翠绿）· 原生 CSS，无构建
   形状规则：卡片 16px / 输入与按钮内件 10px / 标签与 CTA 圆角胶囊
   ============================================================ */

:root {
  /* 底色层（近黑，不使用纯黑） */
  --bg0: #0b0f16;
  --bg1: #0e141d;
  --bg2: #121a26;
  --card: #131b28;
  --card-2: #182230;
  --foot: #080b11;

  /* 线与文字 */
  --line: rgba(168, 196, 232, 0.13);
  --line-2: rgba(168, 196, 232, 0.22);
  --tx: #e9eef6;
  --tx2: #a9b4c6;
  --tx3: #7d8899;

  /* 唯一强调色：翡翠绿（CPS 分润/增长语义） */
  --ac: #3ecf8e;
  --ac-2: #2fb878;
  --ac-soft: rgba(62, 207, 142, 0.12);
  --ac-line: rgba(62, 207, 142, 0.35);
  --ac-ink: #04130c;

  /* 语义色：仅用于“预估/占位”提示与表单错误，不作装饰 */
  --warn: #e7b45c;
  --warn-soft: rgba(231, 180, 92, 0.13);
  --err: #e2716e;

  /* 形状 */
  --r-card: 16px;
  --r-ui: 10px;

  /* 阴影（带底色偏色，不用纯黑投影） */
  --shadow: 0 14px 44px rgba(4, 9, 18, 0.5);
  --shadow-ac: 0 10px 34px rgba(62, 207, 142, 0.16);

  --container: 1200px;
  --header-h: 64px;

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "MiSans", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "JetBrains Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.72;
  color: var(--tx);
  background: var(--bg0);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: rgba(62, 207, 142, 0.28); }

:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: clamp(16px, 4vw, 28px); }

/* ---------------- 区块节奏 ---------------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tint { background: var(--bg1); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.28;
  letter-spacing: 0.01em;
  font-weight: 700;
}
.section-head p { margin: 0; color: var(--tx2); font-size: 1rem; max-width: 62ch; }
.section-head .hl, .hl { color: var(--ac); font-weight: 600; }

/* ---------------- 标签 ---------------- */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; line-height: 1.6; white-space: nowrap;
  background: var(--ac-soft); color: var(--ac);
  border: 1px solid var(--ac-line);
}
.tag--dim { background: rgba(168, 196, 232, 0.08); color: var(--tx2); border-color: var(--line); }
.tag--warn { background: var(--warn-soft); color: var(--warn); border-color: rgba(231, 180, 92, 0.35); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1.4; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ac); color: var(--ac-ink); }
.btn-primary:hover { background: #4ada9a; box-shadow: var(--shadow-ac); }
.btn-ghost { border-color: var(--line-2); color: var(--tx); background: transparent; }
.btn-ghost:hover { border-color: var(--ac-line); color: var(--ac); background: var(--ac-soft); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------------- 顶部导航 ---------------- */
.header-sentinel { height: 1px; }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  background: rgba(11, 15, 22, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { background: rgba(9, 13, 20, 0.92); }
.header-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.brand-sub { font-size: 11px; color: var(--tx3); letter-spacing: 0.06em; white-space: nowrap; margin-top: 1px; }
.brand-txt { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }

.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.main-nav a {
  padding: 8px 13px; border-radius: 8px;
  color: var(--tx2); font-size: 14.5px; white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--tx); background: rgba(168, 196, 232, 0.08); }
.main-nav a.on { color: var(--ac); }

.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.header-cta .btn { padding: 9px 18px; font-size: 14px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: 10px;
  background: transparent; border: 1px solid var(--line-2); color: var(--tx);
  cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 10px; width: 20px; height: 2px;
  background: var(--tx); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; z-index: 55;
  top: var(--header-h); left: 0; right: 0;
  background: rgba(10, 14, 21, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 10px 20px 22px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 13px 6px; font-size: 16px; color: var(--tx);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav .btn { margin-top: 14px; }

/* ---------------- 首屏 Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(36px, 6vh, 64px));
  padding-bottom: clamp(40px, 6vw, 64px);
  background:
    radial-gradient(52% 42% at 78% 8%, rgba(62, 207, 142, 0.09), transparent 68%),
    radial-gradient(38% 34% at 8% 88%, rgba(62, 207, 142, 0.05), transparent 70%),
    var(--bg0);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.kicker {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--tx2); letter-spacing: 0.04em;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(168, 196, 232, 0.05);
  margin-bottom: 22px;
}
.kicker b { color: var(--ac); font-weight: 600; }
.kicker i { font-style: normal; color: var(--tx3); }
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.05rem, 4.6vw, 3.3rem);
  line-height: 1.16; letter-spacing: 0.01em; font-weight: 800;
}
.hero h1 .hl { white-space: nowrap; }
.hero-sub { margin: 0 0 28px; color: var(--tx2); font-size: clamp(1rem, 1.4vw, 1.13rem); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.role-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 560px; }
.role-card {
  display: block; padding: 13px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(19, 27, 40, 0.6);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.role-card:hover { border-color: var(--ac-line); background: var(--card); transform: translateY(-2px); }
.role-card b { display: block; font-size: 14px; color: var(--tx); margin-bottom: 2px; }
.role-card span { font-size: 12px; color: var(--tx3); line-height: 1.5; display: block; }

.hero-media { position: relative; }
.hero-media .frame {
  border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  background: var(--card);
}
.hero-media img { width: 100%; height: auto; aspect-ratio: 16/10.2; object-fit: cover; }
.hero-chip {
  position: absolute; z-index: 2;
  display: flex; flex-direction: column; gap: 1px;
  padding: 10px 16px; border-radius: 12px;
  background: rgba(14, 20, 29, 0.9);
  border: 1px solid var(--ac-line);
  backdrop-filter: blur(8px);
}
.hero-chip b { font-size: 18px; color: var(--ac); font-weight: 700; line-height: 1.3; }
.hero-chip span { font-size: 11.5px; color: var(--tx2); }
.hero-chip.c1 { bottom: 26px; left: -18px; }
.hero-chip.c2 { top: 26px; right: -14px; }

/* 数字条（hero 之下，独立区块） */
.stat-strip { border-bottom: 1px solid var(--line); background: var(--bg1); }
.stat-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding-block: 26px;
}
.stat-cell { text-align: left; padding-left: 18px; border-left: 2px solid var(--ac-line); }
.stat-cell .num { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; color: var(--tx); font-variant-numeric: tabular-nums; line-height: 1.25; }
.stat-cell .num small { font-size: 0.62em; font-weight: 600; color: var(--ac); margin-left: 2px; }
.stat-cell span { display: block; font-size: 13px; color: var(--tx3); }

/* ---------------- 卡片网格 ---------------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 26px 26px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: var(--ac-line); transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin: 14px 0 8px; font-size: 1.08rem; font-weight: 700; }
.card p { margin: 0; color: var(--tx2); font-size: 14.5px; }
.card .more { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; color: var(--ac); font-size: 13.5px; font-weight: 600; }

.ic { width: 44px; height: 44px; flex-shrink: 0; }
.ic-box {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ac-soft); border: 1px solid var(--ac-line); color: var(--ac);
}
.ic-box svg { width: 24px; height: 24px; }

/* 图标（统一描边风格） */
svg.ic-stroke { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------- 痛点 / 能力卡 ---------------- */
.pain-card { position: relative; }
.pain-card .no {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--mono); font-size: 13px; color: var(--tx3);
}
.pain-card h3 { margin-top: 16px; }
.pain-card .loss { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--warn); }
.pain-card .loss b { font-weight: 600; }
.pain-sum {
  margin-top: 22px; text-align: center; color: var(--tx2); font-size: 15.5px;
}
.pain-sum b { color: var(--tx); }

/* ---------------- 底座架构图 ---------------- */
.arch { display: grid; gap: 14px; }
.arch-layer {
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--card); padding: 20px 22px;
}
.arch-layer > .arch-t {
  font-size: 12.5px; letter-spacing: 0.08em; color: var(--tx3); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.arch-app {
  border-color: var(--ac-line);
  background: linear-gradient(180deg, rgba(62, 207, 142, 0.1), rgba(62, 207, 142, 0.03));
  text-align: center; padding: 24px 22px;
}
.arch-app b { font-size: 1.15rem; }
.arch-app span { display: block; color: var(--tx2); font-size: 13.5px; margin-top: 4px; }
.arch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.arch-cell {
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg2);
  padding: 15px 16px;
}
.arch-cell b { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.arch-cell b svg { width: 17px; height: 17px; color: var(--ac); }
.arch-cell span { display: block; font-size: 12.5px; color: var(--tx3); margin-top: 5px; line-height: 1.55; }
.arch-base {
  text-align: center; color: var(--tx3); font-size: 13px;
  border: 1px dashed var(--line-2); border-radius: 12px; padding: 12px;
  background: transparent;
}

/* ---------------- 插件板块墙 ---------------- */
.plate-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.plate {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--card); padding: 20px 18px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column; gap: 8px; min-height: 150px;
}
.plate:hover { border-color: var(--ac-line); transform: translateY(-3px); box-shadow: var(--shadow); }
.plate .ic-box { width: 38px; height: 38px; border-radius: 10px; }
.plate .ic-box svg { width: 20px; height: 20px; }
.plate b { font-size: 15px; line-height: 1.4; }
.plate .pv {
  color: var(--tx3); font-size: 12.5px; line-height: 1.6;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.plate:hover .pv { opacity: 1; transform: none; }
.plate .pn { margin-top: auto; font-size: 12px; color: var(--tx3); font-variant-numeric: tabular-nums; }
.plate--wide { background: linear-gradient(160deg, rgba(62, 207, 142, 0.14), rgba(62, 207, 142, 0.03)); border-color: var(--ac-line); }

/* ---------------- 组合逻辑 ---------------- */
.combo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.combo { display: flex; flex-direction: column; }
.combo .fit { font-size: 13px; color: var(--tx3); margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.combo ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.combo li { display: flex; gap: 8px; font-size: 14px; color: var(--tx2); align-items: flex-start; }
.combo li svg { width: 15px; height: 15px; color: var(--ac); flex-shrink: 0; margin-top: 4px; }

/* ---------------- 横向流程 ---------------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: step; }
.flow-4 { grid-template-columns: repeat(4, 1fr); }
.flow-step {
  position: relative; text-align: left;
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--card); padding: 20px 18px 18px;
}
.flow-step .fn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--ac-soft); border: 1px solid var(--ac-line);
  color: var(--ac); font-weight: 700; font-size: 14px; font-family: var(--mono);
  margin-bottom: 12px;
}
.flow-step b { display: block; font-size: 15px; margin-bottom: 5px; }
.flow-step span { font-size: 13px; color: var(--tx3); line-height: 1.6; display: block; }
.flow-step::after {
  content: ""; position: absolute; top: 34px; right: -8px;
  width: 10px; height: 10px; border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2);
  transform: rotate(45deg);
}
.flow-step:last-child::after { display: none; }

/* ---------------- 分屏（图 + 文） ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.split-media { position: relative; }
.split-media img {
  width: 100%; height: auto; aspect-ratio: 16/10.5; object-fit: cover;
  border-radius: var(--r-card); border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.split-copy h2 { margin: 0 0 14px; font-size: clamp(1.5rem, 2.7vw, 2.1rem); line-height: 1.3; }
.split-copy p { color: var(--tx2); margin: 0 0 18px; }
.split-copy .points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.split-copy .points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--tx2); }
.split-copy .points li svg { width: 16px; height: 16px; color: var(--ac); flex-shrink: 0; margin-top: 4.5px; }
.split-copy .points b { color: var(--tx); font-weight: 600; }

/* ---------------- 收益测算器 ---------------- */
.calc {
  display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  background: var(--card);
}
.calc-in { padding: clamp(24px, 3.4vw, 38px); }
.calc-out {
  padding: clamp(24px, 3.4vw, 38px);
  background: linear-gradient(200deg, rgba(62, 207, 142, 0.12), rgba(62, 207, 142, 0.02)), var(--bg2);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
}
.calc-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.calc-title b { font-size: 1.05rem; }
.slider-row { margin-bottom: 20px; }
.slider-row:last-child { margin-bottom: 4px; }
.slider-l { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.slider-l label { font-size: 14px; color: var(--tx2); }
.slider-l output { font-family: var(--mono); font-size: 15px; color: var(--ac); font-weight: 700; font-variant-numeric: tabular-nums; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--ac) var(--fill, 50%), rgba(168, 196, 232, 0.16) var(--fill, 50%));
  outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 999px;
  background: #fff; border: 5px solid var(--ac);
  box-shadow: 0 2px 10px rgba(62, 207, 142, 0.4);
}
input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 999px;
  background: #fff; border: 5px solid var(--ac);
}
.calc-num .k { font-size: 13px; color: var(--tx2); display: flex; align-items: center; gap: 8px; }
.calc-num .v { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; font-variant-numeric: tabular-nums; color: var(--tx); line-height: 1.35; }
.calc-num .v em { font-style: normal; font-size: 0.55em; color: var(--tx3); font-weight: 600; margin-left: 4px; }
.calc-num.main .v { color: var(--ac); }
.calc-sep { border: 0; border-top: 1px dashed var(--line-2); margin: 2px 0; }
.calc-ver { display: flex; gap: 8px; align-items: center; margin-top: 2px; flex-wrap: wrap; }
.calc-ver select {
  background: var(--bg0); color: var(--tx); border: 1px solid var(--line-2);
  border-radius: 8px; padding: 7px 10px; font-size: 13.5px; font-family: inherit;
}
.calc-fine { font-size: 12px; color: var(--tx3); line-height: 1.7; margin-top: 4px; }

/* ---------------- 交付形态 ---------------- */
.deliver-card .price { font-family: var(--mono); color: var(--tx); font-size: 15px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.deliver-card .price small { color: var(--tx3); }
.deliver-card ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.deliver-card ul li { display: flex; gap: 8px; font-size: 13.5px; color: var(--tx2); }
.deliver-card ul li svg { width: 14px; height: 14px; margin-top: 4px; color: var(--ac); flex-shrink: 0; }

/* ---------------- 案例 ---------------- */
.case-card .city { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.case-card .city b { font-size: 1.02rem; }
.case-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 12px; }
.case-nums div { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.case-nums .v { font-weight: 800; font-size: 1.02rem; color: var(--ac); font-variant-numeric: tabular-nums; }
.case-nums .k { font-size: 11.5px; color: var(--tx3); }
.case-card .mix { font-size: 12.5px; color: var(--tx3); }
.case-card .mix b { color: var(--tx2); font-weight: 600; }

/* ---------------- FAQ ---------------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 17px 20px; background: none; border: 0; color: var(--tx);
  font-size: 15.5px; font-weight: 600; text-align: left; cursor: pointer;
}
.faq-q .pm { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-q .pm::before, .faq-q .pm::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 14px; height: 2px; background: var(--ac); border-radius: 2px;
  transition: transform 0.2s ease;
}
.faq-q .pm::after { transform: rotate(90deg); }
.faq-item.open .pm::after { transform: rotate(0deg); }
.faq-a { display: none; padding: 0 20px 18px; color: var(--tx2); font-size: 14.5px; }
.faq-item.open .faq-a { display: block; }

/* ---------------- 表格 ---------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
table.tb { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.tb th, .tb td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tb thead th {
  background: var(--bg2); color: var(--tx2); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.03em; white-space: nowrap; position: sticky; top: 0;
}
.tb tbody tr:last-child td { border-bottom: 0; }
.tb tbody tr:hover td { background: rgba(168, 196, 232, 0.04); }
.tb td.num, .tb th.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tb .rowhead { font-weight: 600; color: var(--tx); }
.tb .ok { color: var(--ac); font-weight: 600; }
.tb .no { color: var(--tx3); }
.tb .grp td { background: var(--bg2); color: var(--tx2); font-size: 12.5px; font-weight: 600; letter-spacing: 0.05em; }

/* 对比矩阵勾选 */
.tick { display: inline-flex; width: 20px; height: 20px; border-radius: 6px; align-items: center; justify-content: center; }
.tick svg { width: 14px; height: 14px; }
.tick.yes { background: var(--ac-soft); color: var(--ac); }
.tick.part { background: rgba(231, 180, 92, 0.13); color: var(--warn); }
.tick.no { background: rgba(168, 196, 232, 0.07); color: var(--tx3); }

/* ---------------- 时间轴（垂直） ---------------- */
.timeline { position: relative; padding-left: 30px; display: grid; gap: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(180deg, var(--ac-line), var(--line));
}
.tl-item { position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: -27px; top: 7px;
  width: 12px; height: 12px; border-radius: 999px;
  background: var(--bg0); border: 3px solid var(--ac);
}
.tl-item .t { font-family: var(--mono); color: var(--ac); font-size: 13px; font-weight: 700; }
.tl-item b { display: block; font-size: 15.5px; margin: 3px 0 4px; }
.tl-item p { margin: 0; color: var(--tx2); font-size: 14px; }

/* Day 轴（7天上线） */
.day-axis { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.day-cell { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 14px 13px; }
.day-cell .d { font-family: var(--mono); font-size: 12px; color: var(--ac); font-weight: 700; }
.day-cell b { display: block; font-size: 13.5px; margin: 6px 0 4px; line-height: 1.45; }
.day-cell span { font-size: 12px; color: var(--tx3); line-height: 1.55; display: block; }

/* ---------------- 品牌关系图 ---------------- */
.brand-map { display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.bm-node {
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card);
  padding: 18px 22px; display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center;
}
.bm-node .lv {
  font-family: var(--mono); font-size: 12px; color: var(--ac);
  border: 1px solid var(--ac-line); background: var(--ac-soft);
  border-radius: 8px; padding: 6px 0; text-align: center; font-weight: 700;
}
.bm-node b { font-size: 1.05rem; display: block; }
.bm-node p { margin: 3px 0 0; color: var(--tx2); font-size: 13.5px; }
.bm-node--app { border-color: var(--ac-line); background: linear-gradient(180deg, rgba(62, 207, 142, 0.1), rgba(62, 207, 142, 0.02)); }
.bm-link { text-align: center; color: var(--tx3); font-size: 12.5px; }
.bm-link::before { content: "↓"; display: block; color: var(--ac); font-size: 14px; }

/* ---------------- 插件中心：筛选 ---------------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--card); padding: 16px 18px; margin-bottom: 26px;
}
.fgroup { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fgroup .fl { font-size: 13px; color: var(--tx3); flex-shrink: 0; }
.chip {
  padding: 6px 14px; border-radius: 999px; font-size: 13px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--tx2);
  transition: all 0.15s ease; white-space: nowrap;
}
.chip:hover { border-color: var(--line-2); color: var(--tx); }
.chip.on { background: var(--ac-soft); border-color: var(--ac-line); color: var(--ac); font-weight: 600; }
.fsearch { margin-left: auto; position: relative; }
.fsearch input {
  width: 230px; max-width: 100%;
  background: var(--bg0); border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--tx); padding: 9px 16px 9px 38px; font-size: 13.5px; font-family: inherit;
}
.fsearch input:focus { border-color: var(--ac-line); outline: none; }
.fsearch svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--tx3); }
.f-count { font-size: 13px; color: var(--tx3); }
.f-count b { color: var(--ac); font-family: var(--mono); }

.plugin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plugin-item { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.plugin-item .p-top { display: flex; align-items: center; gap: 12px; }
.plugin-item .p-top b { font-size: 1rem; }
.plugin-item .p-desc { color: var(--tx2); font-size: 13.5px; margin: 0; flex: 1; }
.plugin-item .p-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.plugin-item .p-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding-top: 12px; border-top: 1px dashed var(--line); }
.plugin-item .p-foot .p-num { font-family: var(--mono); font-size: 13px; color: var(--ac); }
.plugin-item .p-foot .p-link { font-size: 13px; color: var(--tx2); display: inline-flex; align-items: center; gap: 4px; }
.plugin-item:hover .p-link { color: var(--ac); }

.f-empty {
  display: none; text-align: center; padding: 56px 20px;
  border: 1px dashed var(--line-2); border-radius: var(--r-card); color: var(--tx3);
}
.f-empty.show { display: block; }
.f-empty b { display: block; color: var(--tx2); font-size: 16px; margin-bottom: 6px; }

/* ---------------- 代码块 / Tabs ---------------- */
.tabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.tab-btn {
  padding: 7px 16px; border-radius: 8px; border: 1px solid var(--line);
  background: transparent; color: var(--tx2); font-size: 13px; cursor: pointer;
  font-family: var(--mono);
}
.tab-btn.on { background: var(--ac-soft); border-color: var(--ac-line); color: var(--ac); }
pre.code {
  margin: 0; padding: 20px 22px; overflow-x: auto;
  background: var(--bg0); border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--mono); font-size: 13px; line-height: 1.75; color: var(--tx2);
}
pre.code .cm { color: var(--tx3); }
pre.code .st { color: var(--ac); }
pre.code .kw { color: var(--warn); }
.api-list-item { padding: 8px 0; }

/* ---------------- CTA 条 ---------------- */
.cta-band {
  border: 1px solid var(--ac-line); border-radius: var(--r-card);
  background:
    radial-gradient(60% 120% at 15% 0%, rgba(62, 207, 142, 0.14), transparent 60%),
    var(--card);
  padding: clamp(30px, 5vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.cta-band p { margin: 0; color: var(--tx2); }

/* ---------------- 表单 ---------------- */
.lead-form { display: grid; gap: 16px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; color: var(--tx2); font-weight: 600; }
.field label .req { color: var(--ac); margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg2); color: var(--tx);
  border: 1px solid var(--line-2); border-radius: var(--r-ui);
  padding: 11px 14px; font-size: 14.5px; font-family: inherit;
  transition: border-color 0.15s ease;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ac); }
.field input::placeholder, .field textarea::placeholder { color: var(--tx3); }
.field .hint { font-size: 12px; color: var(--tx3); }
.field .f-err { font-size: 12.5px; color: var(--err); display: none; }
.field.invalid input, .field.invalid select { border-color: var(--err); }
.field.invalid .f-err { display: block; }
.field.invalid label { color: var(--err); }

.field-code { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch; }
.field-code input { min-width: 0; }
.sms-btn {
  border: 1px solid var(--ac-line); background: var(--ac-soft); color: var(--ac);
  border-radius: var(--r-ui); padding: 0 16px; font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap; font-family: inherit;
}
.sms-btn:disabled { border-color: var(--line); background: rgba(168, 196, 232, 0.06); color: var(--tx3); cursor: not-allowed; }

.agree { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--tx2); }
.agree input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--ac); }
.agree a { color: var(--ac); }

.form-done {
  display: none; text-align: center; padding: 46px 24px;
}
.form-done.show { display: block; }
.form-done .ok-ic {
  width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 999px;
  background: var(--ac-soft); border: 1px solid var(--ac-line);
  display: flex; align-items: center; justify-content: center; color: var(--ac);
}
.form-done .ok-ic svg { width: 28px; height: 28px; }
.form-done h3 { margin: 0 0 8px; font-size: 1.25rem; }
.form-done p { margin: 0; color: var(--tx2); font-size: 14.5px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--foot); border-top: 1px solid var(--line); padding-top: clamp(44px, 6vw, 64px); }
.foot-brand {
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--tx2);
}
.foot-brand b { color: var(--tx); font-weight: 700; }
.foot-brand .x { color: var(--ac); font-weight: 600; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; padding-bottom: 34px; }
.foot-grid h4 { margin: 0 0 14px; font-size: 13.5px; color: var(--tx); font-weight: 700; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--tx3); font-size: 13.5px; }
.foot-grid a:hover { color: var(--ac); }
.foot-about p { color: var(--tx3); font-size: 13px; margin: 10px 0 0; max-width: 30em; }
.foot-compliance {
  border-top: 1px solid var(--line); padding: 20px 0 8px;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: 12px; color: var(--tx3);
}
.foot-copy { padding: 6px 0 26px; font-size: 12px; color: var(--tx3); display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------------- 移动端底部 CTA ---------------- */
.mobile-cta {
  display: none; position: fixed; z-index: 50;
  left: 0; right: 0; bottom: 0;
  gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(9, 13, 20, 0.94);
  border-top: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
}
.mobile-cta .btn { flex: 1; padding: 12px 10px; font-size: 14.5px; }

/* ---------------- 子页 Hero ---------------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(36px, 6vh, 60px));
  padding-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(46% 60% at 82% 0%, rgba(62, 207, 142, 0.08), transparent 65%),
    var(--bg0);
}
.page-hero h1 { margin: 0 0 12px; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.22; font-weight: 800; }
.page-hero .lead { margin: 0; color: var(--tx2); font-size: 1.02rem; max-width: 46em; }
.page-hero .crumb { font-size: 13px; color: var(--tx3); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.page-hero .crumb a:hover { color: var(--ac); }
.page-hero .hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ---------------- 收益模型数字块 ---------------- */
.rev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rev-cell { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 18px; }
.rev-cell .v { font-size: 1.35rem; font-weight: 800; color: var(--ac); font-variant-numeric: tabular-nums; }
.rev-cell .k { font-size: 13px; color: var(--tx2); margin-top: 2px; }
.rev-cell .s { font-size: 12px; color: var(--tx3); margin-top: 6px; }

/* 场景时间线（人物 + 时间线） */
.scene { display: grid; gap: 14px; }
.scene-card { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); padding: 22px 24px; }
.scene-card .who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.scene-card .avatar {
  width: 42px; height: 42px; border-radius: 999px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--ac-2), #1d7a52);
  display: flex; align-items: center; justify-content: center;
  color: #04130c; font-weight: 800; font-size: 15px;
}
.scene-card .who b { display: block; font-size: 14.5px; }
.scene-card .who span { font-size: 12.5px; color: var(--tx3); }
.scene-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.scene-steps li { display: flex; gap: 10px; font-size: 13.5px; color: var(--tx2); }
.scene-steps .t { font-family: var(--mono); color: var(--ac); flex-shrink: 0; font-size: 12.5px; padding-top: 1.5px; }

/* ---------------- 通用工具 ---------------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.note { font-size: 12.5px; color: var(--tx3); line-height: 1.7; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }
.mb-14 { margin-bottom: 14px; }
.gap-b { margin-bottom: clamp(20px, 3vw, 30px); }
.sec-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ac); font-weight: 600; font-size: 14.5px; }
.sec-link:hover { text-decoration: underline; }

/* ---------------- 进场动效（克制） ---------------- */
html.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .card, .plate, .role-card { transition: none !important; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .plate-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .arch-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
  .main-nav a { padding: 8px 9px; }
}

@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-chip.c1 { left: 10px; bottom: 14px; }
  .hero-chip.c2 { right: 10px; top: 14px; }
  .calc { grid-template-columns: 1fr; }
  .calc-out { border-left: 0; border-top: 1px solid var(--line); }
  .grid-3, .combo-grid, .plugin-grid { grid-template-columns: repeat(2, 1fr); }
  .flow, .flow-4 { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none; }
  .day-axis { grid-template-columns: repeat(2, 1fr); }
  .rev-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
  .fsearch { margin-left: 0; width: 100%; }
  .fsearch input { width: 100%; }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .plugin-grid, .plate-grid { grid-template-columns: 1fr; }
  .arch-grid { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }
  .stat-strip .container { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .plate-grid { grid-template-columns: repeat(2, 1fr); }
  .role-cards { grid-template-columns: 1fr 1fr; }
  .role-card:last-child { grid-column: 1 / -1; }
  .flow, .flow-4 { grid-template-columns: 1fr; }
  .day-axis { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .bm-node { grid-template-columns: 64px 1fr; }
  .case-nums { grid-template-columns: repeat(3, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* ---------------- 客服微信 ---------------- */
.foot-wechat {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; margin-bottom: 28px;
}
.foot-wechat .fw-label { font-size: 13px; color: var(--tx2); font-weight: 600; }
.foot-wechat .fw-tip { font-size: 12px; color: var(--tx3); margin-left: auto; }
.fw-id {
  font-family: var(--mono); font-size: 13.5px; color: var(--ac);
  background: var(--ac-soft); border: 1px solid var(--ac-line); border-radius: 8px;
  padding: 5px 12px; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.fw-id:hover { background: rgba(62, 207, 142, 0.2); }
.fw-id.copied { background: var(--ac); color: var(--ac-ink); border-color: var(--ac); }
.wx-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  margin-top: 14px;
}

/* ---------------- 引用原话 ---------------- */
.bigquote {
  border-left: 3px solid var(--ac); padding: 4px 0 4px 18px;
  font-size: 1.08rem; line-height: 1.85; color: var(--tx);
}
.bigquote footer { margin-top: 8px; font-size: 13px; color: var(--tx3); }
