/* =============================================================
   脑科学·神经工程·脑机接口 行业调研展示站点
   深色科技神经风 · 完全自包含 · 无外部依赖
   ============================================================= */

/* ---------- 设计令牌 ---------- */
:root {
  /* 背景层 */
  --bg:        #05070f;
  --bg-1:      #080b16;
  --bg-2:      #0b101f;
  --bg-3:      #111829;
  --panel:     rgba(18, 26, 46, 0.66);
  --panel-2:   rgba(14, 20, 38, 0.55);
  --glass:     rgba(255, 255, 255, 0.03);

  /* 强调色 */
  --cyan:      #2ad4e6;
  --cyan-soft: #5ee7f3;
  --violet:    #8b5cf6;
  --violet-soft:#b39bff;
  --blue:      #3b82f6;
  --teal:      #2dd4bf;
  --magenta:   #e879f9;

  /* 文本 */
  --text:      #e8eefb;
  --text-dim:  #9fb0cc;
  --text-faint:#64748b;
  --text-mute: #475569;

  /* 语义色 */
  --ok:        #34d399;   /* 高可信 / 已就绪 / 低风险 */
  --warn:      #fbbf24;   /* 需谨慎 / 中风险 */
  --danger:    #fb7185;   /* 高风险 */
  --excluded:  #64748b;   /* 已排除 */
  --pending:   #60a5fa;   /* 待证 */

  /* 线条与描边 */
  --border:    rgba(120, 150, 200, 0.14);
  --border-2:  rgba(120, 150, 200, 0.24);
  --hairline:  rgba(255, 255, 255, 0.06);

  /* 阴影与光 */
  --glow-cyan:   0 0 28px rgba(42, 212, 230, 0.35);
  --glow-violet: 0 0 28px rgba(139, 92, 246, 0.35);
  --shadow:    0 18px 50px -22px rgba(0, 0, 0, 0.75);
  --shadow-sm: 0 8px 24px -14px rgba(0, 0, 0, 0.7);

  /* 渐变 */
  --grad-accent: linear-gradient(100deg, var(--cyan), var(--violet));
  --grad-accent-soft: linear-gradient(100deg, rgba(42,212,230,0.16), rgba(139,92,246,0.16));
  --grad-text: linear-gradient(100deg, var(--cyan-soft), var(--violet-soft));

  /* 排版 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
               Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, "JetBrains Mono", "Cascadia Code",
               Menlo, Consolas, "Liberation Mono", monospace;

  /* 间距与圆角 */
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --maxw:      1200px;
  --nav-h:     64px;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 全局背景：深空 + 极光晕 + 网格 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 700px at 12% -8%, rgba(42, 212, 230, 0.10), transparent 60%),
    radial-gradient(1000px 720px at 92% 4%, rgba(139, 92, 246, 0.12), transparent 60%),
    radial-gradient(900px 900px at 78% 100%, rgba(59, 130, 246, 0.07), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(120, 160, 220, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 220, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 40%, transparent 100%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan-soft); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cyan); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
::selection { background: rgba(42, 212, 230, 0.3); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: #1c2740; border-radius: 8px; border: 2px solid var(--bg-1); }
::-webkit-scrollbar-thumb:hover { background: #2a3a5c; }

/* ---------- 布局工具 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; position: relative; }
.section--tight { padding: 56px 0; }
.center { text-align: center; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.mono { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }

/* ---------- 通用文字组件 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.section-title { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; }
.section-lead { color: var(--text-dim); max-width: 760px; font-size: 17px; }
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* 章节序号徽标 */
.numeral {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; flex: none;
  font-family: var(--font-mono); font-size: 22px; font-weight: 700;
  color: var(--cyan);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  background: var(--grad-accent-soft);
  box-shadow: inset 0 0 22px rgba(42,212,230,0.12);
}

/* ---------- 导航栏 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(5, 7, 15, 0.72);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow .3s, background .3s;
}
.nav.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,0.9); background: rgba(5,7,15,0.9); }
.nav__inner { max-width: 1280px; margin: 0 auto; height: 100%; padding: 0 24px;
  display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 15px; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__sub { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); letter-spacing: .14em; display: block; font-weight: 500; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: nowrap; }
.nav__links a {
  color: var(--text-dim); font-size: 13.5px; font-weight: 500;
  padding: 8px 12px; border-radius: 9px; white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--text); background: var(--glass); }
.nav__links a.active { color: var(--cyan); background: rgba(42,212,230,0.08); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px !important; border: 1px solid var(--border-2);
  border-radius: 9px; color: var(--text) !important; font-weight: 600;
}
.nav__cta:hover { border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.nav__toggle { display: none; background: none; border: 1px solid var(--border-2);
  border-radius: 9px; width: 40px; height: 38px; color: var(--text); cursor: pointer; margin-left: auto; }
.nav__toggle svg { margin: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: 11px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: all .22s;
}
.btn--primary { background: var(--grad-accent); color: #04121a; box-shadow: var(--glow-cyan); }
.btn--primary:hover { color: #04121a; transform: translateY(-2px); box-shadow: 0 0 36px rgba(42,212,230,0.5); }
.btn--ghost { border-color: var(--border-2); color: var(--text); background: var(--glass); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--text); background: rgba(42,212,230,0.06); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center;
  overflow: hidden; padding: 60px 0; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.9; }
.hero__fade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, transparent 30%, var(--bg) 96%); }
.hero .container { position: relative; z-index: 2; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.tag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  padding: 6px 13px; border-radius: 999px; color: var(--text-dim);
  border: 1px solid var(--border); background: var(--panel-2);
}
.tag--accent { color: var(--cyan); border-color: rgba(42,212,230,0.4); }
.hero h1 { font-size: clamp(34px, 6vw, 72px); line-height: 1.06; margin-bottom: 22px; font-weight: 800; letter-spacing: -0.02em; }
.hero__lead { font-size: clamp(16px, 2vw, 20px); color: var(--text-dim); max-width: 680px; margin-bottom: 18px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; margin: 26px 0 34px; font-size: 13.5px; color: var(--text-faint); font-family: var(--font-mono); }
.hero__meta b { color: var(--text-dim); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: var(--text-faint); font-size: 11px; font-family: var(--font-mono); letter-spacing: .2em;
  display: flex; flex-direction: column; align-items: center; gap: 8px; animation: bob 2.4s ease-in-out infinite; }
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(var(--cyan), transparent); }
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%, 8px);} }

/* ---------- 关键数据带（计数器） ---------- */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); }
.stat { background: var(--bg-2); padding: 26px 20px; position: relative; transition: background .3s; }
.stat:hover { background: var(--bg-3); }
.stat__num { font-family: var(--font-mono); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700;
  color: var(--text); line-height: 1.1; display: flex; align-items: baseline; gap: 3px; }
.stat__num .unit { font-size: 0.5em; color: var(--cyan); font-weight: 600; }
.stat__label { font-size: 12.5px; color: var(--text-dim); margin-top: 9px; line-height: 1.45; }
.stat__sub { font-size: 11px; color: var(--text-faint); margin-top: 3px; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; position: relative; transition: transform .28s, border-color .28s, box-shadow .28s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow); }
.card--accent { border-top: 2px solid transparent; border-image: var(--grad-accent) 1; }
.card__icon { width: 44px; height: 44px; margin-bottom: 16px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 0; }

/* 可点击的领域导航卡 */
.domain-card { display: block; color: var(--text); cursor: pointer; overflow: hidden; }
.domain-card:hover { color: var(--text); }
.domain-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.domain-card__tag { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint);
  border: 1px solid var(--border); padding: 4px 9px; border-radius: 7px; }
.domain-card ul { margin: 14px 0 0; padding-left: 0; list-style: none; }
.domain-card li { font-size: 13.5px; color: var(--text-dim); padding: 5px 0 5px 18px; position: relative; }
.domain-card li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.domain-card__more { margin-top: 16px; font-size: 13px; color: var(--cyan); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; }
.domain-card:hover .domain-card__more { gap: 11px; }

/* ---------- BLUF 判断卡 ---------- */
.bluf-card { background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm); padding: 22px 22px 22px 24px; transition: border-color .25s, transform .25s;
  display: flex; flex-direction: column; height: 100%; }
.bluf-card:hover { transform: translateX(3px); border-left-color: var(--violet); }
.bluf-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bluf-card__no { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); font-weight: 700; }
.bluf-card__title { font-size: 17px; font-weight: 700; }
.bluf-card__fact { font-size: 14px; color: var(--text-dim); margin-bottom: 12px; }
.bluf-card__so { font-size: 13.5px; color: var(--text); background: var(--grad-accent-soft);
  border-radius: 9px; padding: 11px 13px; margin-top: auto; }
.bluf-card__so b { color: var(--cyan-soft); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; background: var(--bg-2); }
table.data thead th { background: var(--bg-3); color: var(--text); font-weight: 600; text-align: left;
  padding: 15px 18px; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase;
  border-bottom: 1px solid var(--border-2); white-space: nowrap; }
table.data td { padding: 14px 18px; border-bottom: 1px solid var(--hairline); color: var(--text-dim); vertical-align: top; }
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr { transition: background .2s; }
table.data tbody tr:hover td { background: rgba(255,255,255,0.02); }
table.data td:first-child, table.data th:first-child { padding-left: 22px; }
table.data strong { color: var(--text); font-weight: 600; }
.cell-rep { color: var(--cyan-soft); font-family: var(--font-mono); font-size: 13px; }

/* 评级药丸（带宽/创伤/成熟度等） */
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  font-family: var(--font-mono); white-space: nowrap; }
.pill--max { background: rgba(251,113,133,0.16); color: #fda4af; }
.pill--high { background: rgba(251,191,36,0.16); color: #fcd34d; }
.pill--mid  { background: rgba(96,165,250,0.16); color: #93c5fd; }
.pill--low  { background: rgba(52,211,153,0.16); color: #6ee7b7; }
.pill--cyan { background: rgba(42,212,230,0.16); color: var(--cyan-soft); }
.pill--violet { background: rgba(139,92,246,0.18); color: var(--violet-soft); }

/* ---------- 时间轴（横向） ---------- */
.timeline { position: relative; padding: 30px 0 10px; overflow-x: auto; }
.timeline__track { display: flex; gap: 0; min-width: max-content; position: relative; padding: 12px 10px 10px; }
.timeline__track::before { content: ""; position: absolute; left: 0; right: 0; top: 51px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-2) 6%, var(--border-2) 94%, transparent); }
.tl-item { width: 188px; flex: none; position: relative; padding: 0 14px; }
.tl-item__dot { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); width: 13px; height: 13px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 0 4px rgba(42,212,230,0.12), var(--glow-cyan); z-index: 2; }
.tl-item--key .tl-item__dot { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139,92,246,0.16), var(--glow-violet); }
.tl-item__date { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--cyan); text-align: center; margin-bottom: 44px; }
.tl-item--key .tl-item__date { color: var(--violet-soft); }
.tl-item__body { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 14px; min-height: 96px; }
.tl-item__title { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.tl-item__desc { font-size: 12.5px; color: var(--text-dim); }

/* 纵向时间轴 */
.vtimeline { position: relative; margin: 10px 0; padding-left: 34px; }
.vtimeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--cyan), var(--violet)); }
.vt-item { position: relative; padding: 0 0 26px; }
.vt-item:last-child { padding-bottom: 0; }
.vt-item::before { content: ""; position: absolute; left: -30px; top: 5px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--cyan); box-shadow: var(--glow-cyan); }
.vt-item__date { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); font-weight: 700; }
.vt-item__title { font-size: 15.5px; font-weight: 600; margin: 3px 0 5px; }
.vt-item__desc { font-size: 13.5px; color: var(--text-dim); }

/* ---------- 企业 / 项目里程碑卡 ---------- */
.entity-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  transition: transform .26s, border-color .26s, box-shadow .26s; }
.entity-card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow); }
.entity-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--hairline); }
.entity-card__name { font-size: 19px; font-weight: 700; }
.entity-card__cat { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); text-align: right; }
.entity-card ul { margin: 0; padding-left: 0; list-style: none; }
.entity-card li { font-size: 13.5px; color: var(--text-dim); padding: 6px 0 6px 20px; position: relative; line-height: 1.5; }
.entity-card li::before { content: "▸"; position: absolute; left: 2px; top: 6px; color: var(--cyan); font-size: 11px; }

/* ---------- 标注 / 提示框 ---------- */
.callout { border-radius: var(--radius-sm); padding: 16px 18px 16px 20px; font-size: 14px; position: relative;
  border: 1px solid var(--border); border-left: 3px solid var(--cyan); background: var(--panel-2); }
.callout--key { border-left-color: var(--violet); background: var(--grad-accent-soft); }
.callout--warn { border-left-color: var(--warn); }
.callout__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan); font-weight: 700; display: block; margin-bottom: 6px; }
.callout--warn .callout__label { color: var(--warn); }
.callout p:last-child { margin-bottom: 0; }
.star-note { font-size: 12px; color: var(--text-faint); font-style: italic; margin-top: 10px; }
.star { color: var(--warn); font-weight: 700; }

/* ---------- 可信度分级卡 ---------- */
.cred-card { border-radius: var(--radius); padding: 22px; border: 1px solid var(--border);
  background: var(--panel); position: relative; overflow: hidden; }
.cred-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.cred-card--ok::before { background: var(--ok); }
.cred-card--warn::before { background: var(--warn); }
.cred-card--excluded::before { background: var(--excluded); }
.cred-card--pending::before { background: var(--pending); }
.cred-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cred-badge { font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 7px; }
.cred-badge--ok { background: rgba(52,211,153,0.15); color: var(--ok); }
.cred-badge--warn { background: rgba(251,191,36,0.15); color: var(--warn); }
.cred-badge--excluded { background: rgba(100,116,139,0.18); color: #94a3b8; }
.cred-badge--pending { background: rgba(96,165,250,0.15); color: var(--pending); }
.cred-card ul { margin: 0; padding-left: 18px; }
.cred-card li { font-size: 13.5px; color: var(--text-dim); margin-bottom: 7px; }

/* ---------- 风险矩阵 ---------- */
.risk-row { display: grid; grid-template-columns: 1.1fr auto 2fr 2fr; gap: 0; align-items: stretch;
  border: 1px solid var(--border); border-top: none; }
.risk-table { border-top: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.risk-row > div { padding: 16px 18px; border-right: 1px solid var(--hairline); font-size: 13.5px; }
.risk-row > div:last-child { border-right: none; }
.risk-row--head { background: var(--bg-3); font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: .05em; color: var(--text-dim); }
.risk-row:not(.risk-row--head) { background: var(--bg-2); transition: background .2s; }
.risk-row:not(.risk-row--head):hover { background: var(--bg-3); }
.risk-domain { font-weight: 600; color: var(--text); }
.risk-level { display: flex; align-items: center; }
.risk-tag { font-family: var(--font-mono); font-weight: 700; font-size: 12px; padding: 4px 11px; border-radius: 7px; }
.risk-tag--h { background: rgba(251,113,133,0.18); color: #fda4af; }
.risk-tag--mh { background: rgba(251,146,60,0.18); color: #fdba74; }
.risk-tag--m { background: rgba(251,191,36,0.16); color: #fcd34d; }
.risk-desc { color: var(--text-dim); }
.risk-fix { color: var(--text); }

/* ---------- 行动路线图 ---------- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.road-phase { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  position: relative; overflow: hidden; }
.road-phase__bar { height: 4px; border-radius: 4px; margin-bottom: 18px; }
.road-phase:nth-child(1) .road-phase__bar { background: var(--cyan); box-shadow: var(--glow-cyan); }
.road-phase:nth-child(2) .road-phase__bar { background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.road-phase:nth-child(3) .road-phase__bar { background: var(--violet); box-shadow: var(--glow-violet); }
.road-phase__time { font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--text); }
.road-phase__tag { font-size: 12px; color: var(--cyan); font-weight: 600; margin-bottom: 16px; display: block; }
.road-phase ul { margin: 0; padding-left: 0; list-style: none; }
.road-phase li { font-size: 13.5px; color: var(--text-dim); padding: 8px 0 8px 22px; position: relative;
  border-top: 1px solid var(--hairline); }
.road-phase li:first-child { border-top: none; }
.road-phase li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--cyan); font-weight: 700; }

/* ---------- 趋势条目 ---------- */
.trend { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--hairline); }
.trend:first-child { border-top: none; }
.trend__no { font-family: var(--font-mono); font-size: 30px; font-weight: 800; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  flex: none; width: 50px; }
.trend__title { font-size: 17px; font-weight: 700; margin-bottom: 5px; }
.trend__desc { font-size: 14px; color: var(--text-dim); }

/* ---------- 玩家图谱 ---------- */
.players { display: grid; gap: 16px; }
.player-row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: center;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.player-row__cat { font-weight: 700; font-size: 14px; color: var(--text); display: flex; align-items: center; gap: 10px; }
.player-row__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.player-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.player-chip { font-size: 13px; padding: 6px 12px; border-radius: 8px; background: var(--bg-3);
  border: 1px solid var(--border); color: var(--text-dim); }
.player-chip b { color: var(--text); font-weight: 600; }

/* ---------- 术语表 ---------- */
.glossary-search { display: flex; align-items: center; gap: 10px; background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: 12px; padding: 12px 16px; margin-bottom: 22px; max-width: 460px; }
.glossary-search input { background: none; border: none; outline: none; color: var(--text); font-size: 15px; width: 100%; font-family: var(--font-sans); }
.glossary-search svg { flex: none; color: var(--text-faint); }
.glossary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.term-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; transition: border-color .2s; }
.term-card:hover { border-color: var(--border-2); }
.term-card__term { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.term-card__en { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); margin-bottom: 9px; }
.term-card__def { font-size: 13.5px; color: var(--text-dim); margin: 0; }
.term-empty { grid-column: 1/-1; text-align: center; color: var(--text-faint); padding: 30px; }

/* ---------- 来源列表 ---------- */
.source-group { margin-bottom: 30px; }
.source-group h3 { font-size: 16px; color: var(--cyan); display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.source-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.source-list li { background: var(--panel-2); border: 1px solid var(--hairline); border-radius: 9px; padding: 12px 16px;
  font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; transition: border-color .2s; }
.source-list li:hover { border-color: var(--border-2); }
.source-list .src-name { color: var(--text); font-weight: 500; }
.source-list .src-url { color: var(--text-faint); font-family: var(--font-mono); font-size: 11.5px; word-break: break-all; }
.source-list .src-url:hover { color: var(--cyan); }

/* ---------- 概念图解 / SVG 容器 ---------- */
.figure { background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); }
.figure svg { width: 100%; height: auto; display: block; }
.figure__cap { font-size: 13px; color: var(--text-faint); margin-top: 14px; text-align: center; font-family: var(--font-mono); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 16px; font-size: 13px; color: var(--text-dim); }
.chart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.chart-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
/* 窄屏：图表整体缩放适配屏宽，整图一屏可见、无需横向滑动；文字说明由 figure-split 的 fig-key 或图注/表格承载 */
@media (max-width: 720px) {
  .figure > svg { min-width: 0; }
}
/* 图形 + 标注 自适应布局：桌面左右并排，手机上下堆叠（标注无需横滑即可读全） */
.figure-split { display: grid; grid-template-columns: 1.45fr 1fr; gap: 30px; align-items: center; }
.figure-split > svg { width: 100%; height: auto; display: block; }
.fig-key { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.fig-key li { display: flex; gap: 12px; align-items: flex-start; }
.fig-key__no { flex: none; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; color: #04121a; margin-top: 1px; }
.fig-key__t { font-size: 13.5px; color: var(--text); font-weight: 600; display: block; margin-bottom: 2px; }
.fig-key__d { font-size: 12px; color: var(--text-dim); line-height: 1.45; }
/* 横向可滑动图表的滑动提示（由 JS 仅在确有溢出时插入） */
.swipe-hint { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); text-align: center; margin-top: 10px; }
@media (max-width: 760px) { .figure-split { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- 章节首部（深度页） ---------- */
.page-hero { padding: 70px 0 50px; position: relative; border-bottom: 1px solid var(--hairline); }
.page-hero__row { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 16px; }
.page-hero__lead { font-size: 18px; color: var(--text-dim); max-width: 820px; }
.breadcrumb { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); margin-bottom: 26px; letter-spacing: .04em; }
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--cyan); }

/* 页内小节标题 */
.subhead { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; }
.subhead__line { flex: 1; height: 1px; background: var(--hairline); }
.subhead h2 { font-size: clamp(21px, 2.6vw, 28px); margin: 0; }
.subhead__tag { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--hairline); padding: 50px 0 36px; margin-top: 40px; background: var(--bg-1); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
.footer__brand { font-weight: 700; font-size: 16px; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.footer p { font-size: 13.5px; color: var(--text-faint); }
.footer h4 { font-size: 13px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-mono); margin-bottom: 14px; }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: 9px; }
.footer__links a { color: var(--text-faint); font-size: 13.5px; }
.footer__links a:hover { color: var(--cyan); }
.footer__bottom { border-top: 1px solid var(--hairline); padding-top: 24px; display: flex; flex-wrap: wrap;
  gap: 14px; justify-content: space-between; font-size: 12.5px; color: var(--text-mute); font-family: var(--font-mono); }

/* 期刊来源墙 */
.journal-wall { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.journal-chip { font-family: var(--font-mono); font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--panel-2); color: var(--text-dim); letter-spacing: .02em; }

/* ---------- 滚动揭示动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .6s; }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2){ transition-delay: .06s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay: .12s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay: .18s; }
.reveal-stagger.in > *:nth-child(5){ transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(6){ transition-delay: .30s; }

/* SVG 绘制动画 */
.draw-line { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.in .draw-line { animation: draw 1.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.grow-bar { transform: scaleY(0); transform-origin: bottom; }
.in .grow-bar { animation: growY .9s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes growY { to { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .draw-line { stroke-dashoffset: 0 !important; }
  .grow-bar { transform: none !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .nav.open .nav__links { display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: rgba(8,11,22,0.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); padding: 10px; }
  .nav.open .nav__links a { padding: 13px 16px; border-radius: 9px; }
  .nav.open .nav__cta { margin-top: 6px; justify-content: center; }
}
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .risk-row { grid-template-columns: 1fr; }
  .risk-row > div { border-right: none; border-bottom: 1px solid var(--hairline); }
  .player-row { grid-template-columns: 1fr; gap: 10px; }
  .glossary-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero__meta { gap: 12px; }
  .trend__no { font-size: 24px; width: 38px; }
  .risk-row--head { display: none; }
}
