/* ====================================================================
   AI Engineer Roadmap · Cyber Future Theme
   Author: built for chenxj · 2026
   Palette: Deep Space Black + Neon Violet + Electric Cyan + Hot Pink
==================================================================== */

:root {
  --bg-0:        #05060d;
  --bg-1:        #0a0c1a;
  --bg-2:        #11132a;
  /* 把卡片底色调到更不透明，去掉 backdrop-filter 后视觉上也好看 */
  --bg-card:     rgba(16, 19, 40, 0.92);
  --bg-card-2:   rgba(24, 28, 56, 0.94);
  --border:      rgba(140, 130, 255, 0.18);
  --border-2:    rgba(0, 240, 255, 0.25);

  --c-text:      #e7ebff;
  --c-text-dim:  #9aa3c7;
  --c-text-mute: #6b7299;

  --c-violet:    #8b5cf6;
  --c-violet-2:  #a78bfa;
  --c-cyan:      #00f0ff;
  --c-cyan-2:    #38e8ff;
  --c-pink:      #ff4d8b;
  --c-pink-2:    #ff79b0;
  --c-green:     #34ffb1;
  --c-yellow:    #ffd967;
  --c-gold:      #ffb84d;
  --c-red:       #ff5577;

  --font-sans:   "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:   "JetBrains Mono", "SF Mono", Menlo, monospace;
  --font-tech:   "Orbitron", "Noto Sans SC", sans-serif;

  --shadow-glow-v: 0 0 30px rgba(139, 92, 246, 0.4), 0 0 60px rgba(139, 92, 246, 0.2);
  --shadow-glow-c: 0 0 30px rgba(0, 240, 255, 0.35), 0 0 60px rgba(0, 240, 255, 0.18);
  --shadow-glow-p: 0 0 30px rgba(255, 77, 139, 0.35), 0 0 60px rgba(255, 77, 139, 0.18);
}

/* ============= Reset ============= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--c-text);
  background: var(--bg-0);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}
::selection { background: var(--c-cyan); color: var(--bg-0); }

a { color: var(--c-cyan-2); text-decoration: none; transition: all 0.2s; }
a:hover { color: var(--c-cyan); text-shadow: 0 0 8px currentColor; }
code {
  font-family: var(--font-mono);
  background: rgba(0, 240, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--c-cyan-2);
  font-size: 0.9em;
}

/* ============= 背景 ============= */
#bg-particles {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  /* mask-image 在某些 Mac GPU 驱动上会强制 layer 重绘，改用 radial-gradient 直接画 */
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  opacity: 0.6;
}
/* 光斑：用 radial-gradient 一次绘制到 body 背景，比三层独立 blur 元素省 80% GPU */
/* 这三个元素改为完全静态，无 animation，无 filter:blur（改 mask 实现柔光） */
.bg-glow {
  position: fixed; z-index: 0; pointer-events: none;
  width: 720px; height: 720px;
  border-radius: 50%;
  opacity: 0.32;
  /* 用径向渐变伪造模糊光斑，比 filter: blur(120px) 性能高一个数量级 */
  background: radial-gradient(circle, var(--glow-c) 0%, transparent 70%);
  will-change: auto;
}
.glow-1 { --glow-c: rgba(139,92,246,0.85); top: -260px; left: -200px; }
.glow-2 { --glow-c: rgba(0,240,255,0.65);  top: 30%;    right: -280px; }
.glow-3 { --glow-c: rgba(255,77,139,0.75); bottom: -300px; left: 25%; }

/* 扫描线移除 —— 全屏 repeating-linear-gradient 在 Retina 上特别耗 GPU */
.bg-scanline { display: none; }

/* ============= 顶部导航 ============= */
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
  /* 顶栏不用 backdrop-filter（滚动时每帧重算特别耗），改纯色 + 高不透明度 */
  background: rgba(5, 6, 13, 0.94);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-tech); }
.brand-mark {
  color: var(--c-cyan); font-size: 22px;
  text-shadow: 0 0 8px currentColor;
  display: inline-block;
  /* 移除无限旋转动画，节省持续 GPU 合成 */
}
.brand-text { font-weight: 900; font-size: 18px; letter-spacing: 2px; }
.brand-accent { color: var(--c-cyan); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.brand-tag {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--c-text-mute);
  border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 4px;
  margin-left: 6px;
}

.nav { display: flex; gap: 6px; }
.nav-link {
  font-family: var(--font-tech); font-size: 13px; letter-spacing: 1px;
  color: var(--c-text-dim);
  padding: 8px 14px; border-radius: 6px;
  position: relative;
  transition: all 0.2s;
}
.nav-link:hover { color: var(--c-cyan); background: rgba(0,240,255,0.06); }
.nav-link.active {
  color: var(--c-cyan);
  background: rgba(0,240,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(0,240,255,0.3);
  text-shadow: 0 0 8px currentColor;
}

.status {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--c-green);
}
.status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-green); box-shadow: 0 0 8px currentColor;
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

/* ============= Hero ============= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 40px 60px;
  z-index: 2;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(5,6,13,0.6) 100%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 1100px; width: 100%; text-align: center; }

.hero-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-bottom: 32px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 3px;
  color: var(--c-cyan);
}
.eyebrow-line {
  flex: 0 0 80px; height: 1px;
  background: linear-gradient(to right, transparent, var(--c-cyan));
}
.eyebrow-line:last-child { background: linear-gradient(to left, transparent, var(--c-cyan)); }

.hero-title {
  font-family: var(--font-tech);
  font-size: clamp(48px, 9vw, 120px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 32px;
}
.title-row { display: block; }
.title-row-2 { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 4px; }
.word-glow {
  background: linear-gradient(135deg, var(--c-violet-2) 0%, var(--c-pink) 60%, var(--c-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* drop-shadow 在巨大文本上特别耗 GPU；只在 Hero 出现一次，但每帧合成都会算 */
  /* 改用 text-shadow 不可用（被 background-clip:text 屏蔽），干脆移除发光 */
}
.title-slash { color: var(--c-text-mute); font-weight: 100; }
.word-cyan {
  color: var(--c-cyan);
  text-shadow: 0 0 30px currentColor;
  font-family: var(--font-mono);
}

.hero-sub {
  font-size: 18px;
  color: var(--c-text-dim);
  max-width: 780px; margin: 0 auto 56px;
  line-height: 1.8;
}
.hl { color: var(--c-violet-2); font-weight: 600; }
.hl-cyan { color: var(--c-cyan); font-weight: 600; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 900px; margin: 0 auto 56px;
}
.stat {
  padding: 24px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-cyan), transparent);
  opacity: 0.5;
}
.stat-num {
  font-family: var(--font-tech); font-weight: 900;
  font-size: 40px;
  background: linear-gradient(180deg, var(--c-cyan) 0%, var(--c-violet) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-num-pct::after { content: '%'; font-size: 22px; opacity: 0.7; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 1.5px;
  color: var(--c-text-mute);
  margin-top: 8px;
}

.hero-actions {
  display: flex; gap: 16px; justify-content: center;
  margin-bottom: 48px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  border-radius: 8px;
  font-family: var(--font-tech); font-size: 14px; letter-spacing: 1.5px; font-weight: 600;
  cursor: pointer; border: none;
  transition: all 0.25s;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-violet), var(--c-pink));
  color: white;
  box-shadow: var(--shadow-glow-v);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(139,92,246,0.6); }
.btn-ghost {
  background: rgba(0, 240, 255, 0.05);
  color: var(--c-cyan);
  border: 1px solid var(--c-cyan);
  box-shadow: inset 0 0 20px rgba(0,240,255,0.1);
}
.btn-ghost:hover { background: rgba(0, 240, 255, 0.12); box-shadow: 0 0 25px rgba(0,240,255,0.3); }
.btn-arrow { transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.hero-quote {
  max-width: 700px; margin: 0 auto;
  padding: 24px 32px;
  border-left: 2px solid var(--c-cyan);
  background: rgba(0, 240, 255, 0.04);
  border-radius: 0 8px 8px 0;
  text-align: left;
  color: var(--c-text-dim);
  font-size: 15px;
  position: relative;
}
.hero-quote em { color: var(--c-pink-2); font-style: normal; font-weight: 600; }
.quote-mark {
  position: absolute; top: 8px; left: 12px;
  font-family: var(--font-tech); font-size: 48px;
  color: var(--c-cyan); opacity: 0.3;
  line-height: 1;
}

/* ============= Section 通用 ============= */
.section {
  position: relative; z-index: 2;
  max-width: 1300px; margin: 0 auto;
  padding: 100px 40px;
}
.section-head {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 60px;
}
.section-num {
  font-family: var(--font-tech); font-weight: 900;
  font-size: 64px;
  background: linear-gradient(180deg, var(--c-violet) 0%, transparent 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
  flex: 0 0 auto;
}
.section-title {
  font-family: var(--font-tech); font-size: 32px; font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.section-sub {
  color: var(--c-text-mute); font-size: 14px;
}

/* ============= 战略地图 ============= */
.strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--c-violet), var(--c-cyan), var(--c-pink));
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
  box-shadow: 0 12px 40px rgba(0, 240, 255, 0.08);
}

.card-head { margin-bottom: 20px; }
.card-tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px;
  color: var(--c-cyan);
  padding: 3px 10px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 4px;
  margin-bottom: 12px;
}
.card-head h3 {
  font-family: var(--font-tech); font-size: 18px; font-weight: 700;
  letter-spacing: 0.5px;
}

/* 画像 bar */
.bar-list { list-style: none; }
.bar-list li {
  display: grid; grid-template-columns: 110px 1fr 80px;
  gap: 12px; align-items: center;
  padding: 8px 0;
  font-size: 13px;
}
.bar-name { color: var(--c-text); font-weight: 500; }
.bar {
  height: 8px; background: rgba(255,255,255,0.05); border-radius: 4px; overflow: hidden;
  position: relative;
}
.bar-fill { display: block; height: 100%; border-radius: 4px; transition: width 1.5s; }
.bar-green  { background: linear-gradient(90deg, var(--c-green), #00d488); box-shadow: 0 0 10px var(--c-green); }
.bar-yellow { background: linear-gradient(90deg, var(--c-yellow), var(--c-gold)); box-shadow: 0 0 8px var(--c-yellow); }
.bar-red    { background: linear-gradient(90deg, var(--c-red), var(--c-pink)); box-shadow: 0 0 8px var(--c-red); }
.bar-val { text-align: right; font-family: var(--font-mono); font-size: 11px; color: var(--c-text-mute); }

/* Donut */
.donut-wrap { display: flex; align-items: center; gap: 20px; }
.donut { width: 140px; height: 140px; transform: rotate(-90deg); flex-shrink: 0; }
.donut-bg { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 4; }
.donut-seg { fill: none; stroke-width: 4; transition: stroke-dasharray 1.2s; }
.seg-1 { stroke: var(--c-violet); filter: drop-shadow(0 0 4px currentColor); }
.seg-2 { stroke: var(--c-cyan);   filter: drop-shadow(0 0 4px currentColor); }
.seg-3 { stroke: var(--c-pink);   filter: drop-shadow(0 0 4px currentColor); }
.seg-4 { stroke: var(--c-green);  filter: drop-shadow(0 0 4px currentColor); }
.seg-5 { stroke: var(--c-yellow); filter: drop-shadow(0 0 4px currentColor); }
.donut-text {
  transform: rotate(90deg); transform-origin: 18px 18px;
  text-anchor: middle; fill: var(--c-cyan);
  font-family: var(--font-tech); font-size: 6px; font-weight: 700;
}
.donut-text-sub {
  transform: rotate(90deg); transform-origin: 18px 18px;
  text-anchor: middle; fill: var(--c-text-mute);
  font-family: var(--font-mono); font-size: 2px;
}
.legend { list-style: none; flex: 1; font-size: 12px; }
.legend li { display: flex; align-items: center; gap: 8px; padding: 4px 0; color: var(--c-text-dim); }
.legend b { color: var(--c-text); margin-left: auto; font-family: var(--font-mono); }
.legend .dot { width: 8px; height: 8px; border-radius: 2px; }
.legend .dot-1 { background: var(--c-violet); box-shadow: 0 0 6px currentColor; }
.legend .dot-2 { background: var(--c-cyan);   box-shadow: 0 0 6px currentColor; }
.legend .dot-3 { background: var(--c-pink);   box-shadow: 0 0 6px currentColor; }
.legend .dot-4 { background: var(--c-green);  box-shadow: 0 0 6px currentColor; }
.legend .dot-5 { background: var(--c-yellow); box-shadow: 0 0 6px currentColor; }

/* Rules */
.rule-list { list-style: none; counter-reset: rule; }
.rule-list li {
  counter-increment: rule;
  position: relative; padding: 10px 0 10px 36px;
  font-size: 13px; color: var(--c-text-dim);
  border-bottom: 1px dashed rgba(255,255,255,0.04);
}
.rule-list li:last-child { border-bottom: none; }
.rule-list li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute; left: 0; top: 10px;
  font-family: var(--font-tech); font-size: 12px;
  color: var(--c-cyan); font-weight: 700;
  letter-spacing: 1px;
}
.rule-list b { color: var(--c-pink-2); }

/* ============= 五阶段 ============= */
.stages { display: flex; flex-direction: column; gap: 16px; }
.stage {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s;
}
.stage:hover { border-color: var(--border-2); }
.stage[data-color="violet"] { --stage-c: var(--c-violet); }
.stage[data-color="cyan"]   { --stage-c: var(--c-cyan); }
.stage[data-color="pink"]   { --stage-c: var(--c-pink); }
.stage[data-color="green"]  { --stage-c: var(--c-green); }
.stage[data-color="gold"]   { --stage-c: var(--c-gold); }

.stage-head {
  display: grid;
  grid-template-columns: 180px 1fr auto 50px;
  gap: 20px; align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  position: relative;
}
.stage-head::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--stage-c);
  box-shadow: 0 0 12px var(--stage-c);
}
.stage-id { display: flex; flex-direction: column; gap: 4px; }
.stage-week {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px;
  color: var(--c-text-mute);
}
.stage-num {
  font-family: var(--font-tech); font-size: 32px; font-weight: 900;
  color: var(--stage-c);
  text-shadow: 0 0 16px currentColor;
  line-height: 1;
}
.stage-title h3 {
  font-family: var(--font-tech); font-size: 20px; font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.stage-title p { color: var(--c-text-mute); font-size: 13px; }
.focus-badge {
  display: inline-block; vertical-align: middle;
  margin-left: 8px;
  padding: 2px 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px;
  background: linear-gradient(90deg, var(--c-pink), var(--c-violet));
  color: white;
  border-radius: 4px;
  box-shadow: var(--shadow-glow-p);
}
.stage-meta { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.chip {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px;
  color: var(--c-text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.chip-green { color: var(--c-green); border-color: rgba(52,255,177,0.3); }
.chip-warn  { color: var(--c-yellow); border-color: rgba(255,217,103,0.3); }
.chip-hot   { color: var(--c-pink); border-color: rgba(255,77,139,0.3); }

.stage-toggle {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--stage-c);
  border-radius: 50%;
  font-size: 22px; font-weight: 300;
  cursor: pointer; transition: all 0.3s;
}
.stage-toggle:hover { background: var(--stage-c); color: white; box-shadow: 0 0 20px var(--stage-c); }

.stage-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}
.stage.open .stage-body { max-height: 800px; }
.stage.open .stage-toggle { transform: rotate(45deg); background: var(--stage-c); color: white; }

.stage-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  padding: 0 28px 28px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.stage-grid h4 {
  font-family: var(--font-tech); font-size: 12px; letter-spacing: 2px;
  color: var(--c-cyan);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.kp-list { list-style: none; }
.kp-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 6px 0;
  font-size: 13px;
  color: var(--c-text-dim);
}
.kp-num {
  flex: 0 0 24px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--c-pink-2);
  background: rgba(255,77,139,0.08);
  border: 1px solid rgba(255,77,139,0.2);
  border-radius: 3px;
  padding: 1px 4px;
  text-align: center;
}

.res-list { list-style: none; }
.res-list li {
  display: flex; gap: 10px; align-items: center;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px dashed rgba(255,255,255,0.04);
}
.res-list li:last-child { border-bottom: none; }
.star {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--c-yellow);
  flex: 0 0 36px;
}

/* ============= 时间表 ============= */
.timeline {
  position: relative;
  padding-left: 40px;
}
.tl-line {
  position: absolute; left: 16px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(to bottom, var(--c-violet), var(--c-cyan), var(--c-pink));
  box-shadow: 0 0 12px var(--c-cyan);
}
.tl-week { margin-bottom: 32px; position: relative; }
.tl-week::before {
  content: ''; position: absolute; left: -33px; top: 18px;
  width: 18px; height: 18px;
  background: var(--bg-0);
  border: 3px solid var(--c-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--c-cyan);
}
.tl-week-head {
  font-family: var(--font-tech); font-size: 14px; letter-spacing: 1px;
  color: var(--c-text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 12px;
  display: inline-block;
}
.tl-week-head b { color: var(--c-cyan); font-family: var(--font-mono); margin-right: 8px; }

.tl-row {
  display: grid; grid-template-columns: 110px 1fr 220px;
  gap: 20px; align-items: center;
  padding: 12px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  transition: all 0.2s;
}
.tl-row:hover {
  background: rgba(0, 240, 255, 0.04);
  border-color: var(--border-2);
  transform: translateX(4px);
}
.tl-row-key {
  background: rgba(255, 77, 139, 0.05);
  border-color: rgba(255,77,139,0.25);
}
.tl-row-final {
  background: linear-gradient(90deg, rgba(139,92,246,0.1), rgba(0,240,255,0.1));
  border-color: var(--c-violet);
  box-shadow: 0 0 30px rgba(139,92,246,0.2);
}
.tl-day {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--c-cyan); font-weight: 600;
}
.tl-task { font-size: 14px; color: var(--c-text); }
.tl-out {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--c-text-mute);
  text-align: right;
}

/* ============= 项目 ============= */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.project {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all 0.3s;
  overflow: hidden;
}
.project::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(0,240,255,0.08), transparent 60%);
  pointer-events: none;
}
.project:hover {
  transform: translateY(-6px);
  border-color: var(--c-cyan);
  box-shadow: var(--shadow-glow-c);
}
.project-num {
  font-family: var(--font-tech); font-weight: 900; font-size: 56px;
  background: linear-gradient(135deg, var(--c-violet), var(--c-cyan));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.6;
}
.project h3 {
  font-family: var(--font-tech); font-size: 17px; font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.project-desc { font-size: 13px; color: var(--c-text-dim); margin-bottom: 16px; line-height: 1.65; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.project-tags span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.5px;
  color: var(--c-cyan-2);
  background: rgba(0,240,255,0.06);
  border: 1px solid rgba(0,240,255,0.2);
  padding: 3px 8px;
  border-radius: 4px;
}
.project-time {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--c-text-mute);
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,0.05);
}
.project-key {
  border-color: var(--c-pink);
  background: linear-gradient(135deg, rgba(255,77,139,0.06), var(--bg-card));
  box-shadow: var(--shadow-glow-p);
}
.project-key .project-num { background: linear-gradient(135deg, var(--c-pink), var(--c-violet)); -webkit-background-clip: text; background-clip: text; }
.badge-hot {
  display: inline-block;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 1.5px;
  background: var(--c-pink); color: white;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: 0 0 10px var(--c-pink);
}

/* ============= 资源 Tab ============= */
.tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.tab {
  font-family: var(--font-tech); font-size: 12px; letter-spacing: 1px;
  color: var(--c-text-dim);
  padding: 12px 22px;
  background: transparent;
  border: none; border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.tab:hover { color: var(--c-cyan); }
.tab.active {
  color: var(--c-cyan);
  border-bottom-color: var(--c-cyan);
  text-shadow: 0 0 8px currentColor;
}

.tab-panel {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.tab-panel.active { display: grid; }
.res-card {
  display: block;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.25s;
  color: var(--c-text);
}
.res-card b {
  display: block; font-size: 14px; margin-bottom: 6px;
  font-family: var(--font-tech); font-weight: 600;
}
.res-card span { display: block; font-size: 12px; color: var(--c-text-mute); }
.res-card:hover {
  border-color: var(--c-cyan);
  background: rgba(0,240,255,0.04);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0,240,255,0.1);
}

/* ============= 自检 Checklist ============= */
.checklist-progress {
  display: grid; grid-template-columns: auto 1fr auto auto;
  gap: 20px; align-items: center;
  padding: 24px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 32px;
}
.cp-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px;
  color: var(--c-cyan);
}
.cp-bar {
  height: 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 7px; overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.cp-bar::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 4px, rgba(255,255,255,0.03) 4px 8px);
}
#cp-fill {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--c-violet), var(--c-cyan), var(--c-pink));
  transition: width 0.6s;
  box-shadow: 0 0 10px var(--c-cyan);
  /* 移除无限渐变流动动画 */
}
.cp-num {
  font-family: var(--font-tech); font-weight: 900; font-size: 32px;
  color: var(--c-cyan); text-shadow: 0 0 12px currentColor;
  font-variant-numeric: tabular-nums;
}
.cp-num::after { content: '%'; font-size: 18px; opacity: 0.7; }
.cp-status {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--c-text-dim);
  min-width: 110px; text-align: center;
}

.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.checklist-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.checklist-block h3 {
  font-family: var(--font-tech); font-size: 16px; font-weight: 700;
  letter-spacing: 0.5px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--c-cyan);
}
.checklist-block h3 small { color: var(--c-text-mute); font-weight: 400; font-family: var(--font-mono); font-size: 11px; margin-left: 8px; }
.check-list { list-style: none; }
.check-list li { padding: 6px 0; }
.check-list label {
  display: flex; gap: 12px; align-items: flex-start;
  cursor: pointer;
  font-size: 13px;
  color: var(--c-text-dim);
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.15s;
}
.check-list label:hover { background: rgba(0,240,255,0.04); color: var(--c-text); }
.ck {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; flex: 0 0 18px;
  background: transparent;
  border: 1.5px solid var(--c-text-mute);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  margin-top: 2px;
  transition: all 0.2s;
}
.ck:hover { border-color: var(--c-cyan); }
.ck:checked {
  background: var(--c-cyan);
  border-color: var(--c-cyan);
  box-shadow: 0 0 12px var(--c-cyan);
}
.ck:checked::after {
  content: '✓'; color: var(--bg-0);
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px; font-weight: 900;
}
.ck:checked + span { color: var(--c-cyan); text-decoration: line-through; text-decoration-color: rgba(0,240,255,0.4); }

/* ============= Footer ============= */
.footer {
  position: relative; z-index: 2;
  margin-top: 80px;
  padding: 50px 40px 30px;
  border-top: 1px solid var(--border);
  background: rgba(5,6,13,0.5);
}
.footer-content {
  max-width: 1300px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 30px;
}
.footer-brand {
  font-family: var(--font-tech); font-weight: 900; font-size: 20px;
  letter-spacing: 2px;
  color: var(--c-cyan);
  text-shadow: 0 0 12px currentColor;
  margin-bottom: 8px;
}
.footer-tagline { color: var(--c-text-mute); font-size: 12px; }
.footer-right { text-align: right; }
.footer-quote {
  color: var(--c-text-dim); font-size: 13px;
  margin-bottom: 8px;
}
.footer-quote em { color: var(--c-pink-2); font-style: normal; }
.footer-meta {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px;
  color: var(--c-text-mute);
}

/* ============= 响应式 ============= */
@media (max-width: 1024px) {
  .strategy-grid { grid-template-columns: 1fr; }
  .stage-head { grid-template-columns: 130px 1fr 50px; }
  .stage-meta { display: none; }
  .stage-grid { grid-template-columns: 1fr; }
  .checklist-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stats .stat:nth-child(4),
  .hero-stats .stat:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 700px) {
  .topbar { padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  .nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .nav-link { font-size: 11px; padding: 6px 10px; white-space: nowrap; }
  .section { padding: 60px 20px; }
  .hero { padding: 60px 20px 40px; }
  .hero-title { font-size: 56px; }
  .title-row-2 { gap: 8px; flex-wrap: wrap; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-quote { font-size: 13px; padding: 18px 20px; }
  .tl-row { grid-template-columns: 1fr; gap: 6px; }
  .tl-out { text-align: left; }
  .section-num { font-size: 40px; }
  .section-title { font-size: 22px; }
  .checklist-progress { grid-template-columns: 1fr; text-align: center; }
}

/* ============= Reveal 动画 ============= */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
