/* ============================================================
   AI Developer Portfolio v2 · Apple Liquid Glass × Dark Aurora
   设计基调：液态玻璃 / 弥散极光 / 克制的电影感动效
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --bg-deep: #04050a;
  --bg-base: #06070d;
  --bg-elevated: #0a0c14;
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.032));
  --glass-strong: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  --glass-pill: rgba(255, 255, 255, 0.055);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-bright: rgba(255, 255, 255, 0.22);
  --text: #f3f5fb;
  --text-soft: #c7cede;
  --text-muted: #98a2b8;
  --text-dim: #6b7488;
  --ice: #7dd3fc;
  --cyan: #6ee7ff;
  --mint: #6ee7b7;
  --indigo: #8ab4ff;
  --violet: #a78bfa;
  --gradient: linear-gradient(120deg, #8ab4ff 0%, #6ee7ff 45%, #6ee7b7 100%);
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', 'Cascadia Code', Consolas, monospace;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-h: 64px;
  --shadow-glass: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 70px rgba(0, 0, 0, 0.5);
  --shadow-float: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(110, 231, 255, 0.28); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 8px; border: 2px solid var(--bg-deep); }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.24); }

img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.section { position: relative; z-index: 1; padding-block: clamp(84px, 10vw, 140px); }

/* ---------- 背景：暗色极光 + 噪点（无网格、无粒子连线） ---------- */
.aurora { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.aurora::before, .aurora::after { content: ''; position: absolute; inset: 0; }
.aurora::before {
  background:
    radial-gradient(42% 38% at 18% 12%, rgba(79, 70, 229, 0.30), transparent 70%),
    radial-gradient(36% 34% at 82% 20%, rgba(14, 116, 144, 0.26), transparent 70%),
    radial-gradient(46% 42% at 50% 88%, rgba(124, 58, 237, 0.20), transparent 72%),
    radial-gradient(30% 28% at 92% 68%, rgba(16, 185, 129, 0.16), transparent 70%);
  filter: blur(70px);
  animation: aurora-drift 24s ease-in-out infinite alternate;
}
.aurora::after {
  background: radial-gradient(60% 50% at 50% -10%, rgba(56, 130, 246, 0.12), transparent 70%);
  filter: blur(50px);
  animation: aurora-drift-2 30s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(3%, -2%, 0) scale(1.08); }
  100% { transform: translate3d(-2%, 3%, 0) scale(1.04); }
}
@keyframes aurora-drift-2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-4%, 4%, 0) scale(1.1); }
}

.noise {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#spotlight {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 0%), rgba(125, 211, 252, 0.07), transparent 45%);
  transition: opacity 0.7s var(--ease);
}
#spotlight.on { opacity: 1; }

#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--gradient); transform-origin: 0 50%; transform: scaleX(0);
  z-index: 1001; box-shadow: 0 0 18px rgba(110, 231, 255, 0.5);
}

/* ---------- 通用组件 ---------- */
.gradient-text {
  background: linear-gradient(120deg, #8ab4ff, #6ee7ff 45%, #6ee7b7 80%, #8ab4ff);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

.hl {
  padding: 0.06em 0.42em; border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ice);
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan);
  background: var(--glass-pill); border: 1px solid var(--border-glass);
  border-radius: 999px; padding: 7px 14px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.55); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(110, 231, 183, 0); }
  100% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0); }
}

/* ---------- 玻璃基础 ---------- */
.glass {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  box-shadow: var(--shadow-glass);
}
.glass::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 1px; border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  opacity: 0.7; pointer-events: none;
}

/* ---------- 按钮 ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
  cursor: pointer; white-space: nowrap; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-lg { padding: 16px 32px; font-size: 16.5px; }
.btn-lg svg { width: 20px; height: 20px; }

.btn-primary {
  color: #05070d; font-weight: 700;
  background: linear-gradient(120deg, #8ab4ff, #6ee7ff 45%, #6ee7b7);
  background-size: 180% auto;
  box-shadow: 0 12px 34px rgba(110, 231, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 42%;
  left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg); animation: btn-sheen 3.4s ease-in-out infinite;
}
@keyframes btn-sheen { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(110, 231, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6); }

.btn-ghost {
  color: var(--text);
  background: var(--glass-pill);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.09); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4); }

/* ---------- 导航：悬浮玻璃胶囊 ---------- */
.site-header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 1000;
  display: flex; justify-content: center; pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: min(920px, calc(100% - 32px));
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 20px;
  border-radius: 999px;
  background: rgba(10, 12, 20, 0.55);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: background-color 0.4s var(--ease);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.brand-mark {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-menu { display: contents; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.nav-link.active { color: var(--text); background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.nav-cta { margin: 4px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px 12px; border-radius: 999px; }
.menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--nav-h) + 60px); padding-bottom: 72px;
}
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; align-items: center; gap: clamp(36px, 5vw, 72px); }
.hero-title { margin: 22px 0 20px; }
.hero-name { display: block; font-size: clamp(52px, 7vw, 92px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.0; }
.hero-role { display: inline-block; margin-top: 14px; font-size: clamp(24px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; }
.hero-quote { font-size: clamp(19px, 2.3vw, 25px); font-weight: 500; color: var(--text-soft); margin: 8px 0 20px; letter-spacing: -0.01em; }
.hero-desc { max-width: 58ch; color: var(--text-muted); font-size: 16.5px; line-height: 1.9; }
.hero-desc .hl { color: var(--ice); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 14px; margin-top: 44px; }
.stat {
  display: flex; flex-direction: column; gap: 5px; min-width: 118px;
  padding: 14px 18px; border-radius: 20px;
  background: var(--glass-pill); border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s var(--spring), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.stat:hover { transform: translateY(-3px); border-color: rgba(125, 211, 252, 0.35); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(110, 231, 255, 0.08); }
.stat-num { font-family: var(--font-mono); font-size: clamp(26px, 3vw, 34px); font-weight: 700; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

/* ---------- 终端：液态玻璃 ---------- */
.hero-terminal { display: flex; flex-direction: column; gap: 16px; perspective: 1200px; }
.terminal {
  position: relative; border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.028));
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.terminal::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 60% at 20% 0%, rgba(255, 255, 255, 0.06), transparent 55%);
}
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 15px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.t-dot { width: 11px; height: 11px; border-radius: 50%; }
.t-red { background: #ff5f57; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.t-yellow { background: #febc2e; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.t-green { background: #28c840; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.terminal-title { margin-left: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); letter-spacing: 0.04em; }
.terminal-body { padding: 22px 24px; min-height: 330px; font-family: var(--font-mono); font-size: 13px; line-height: 2.05; color: #c9d2e4; overflow: hidden; }
.tl-line { display: flex; gap: 8px; align-items: baseline; }
.tl-prompt { color: var(--mint); font-weight: 700; flex: none; }
.tl-cmd { color: var(--text); }
.tl-out { color: var(--text-muted); }
.tl-ok { color: var(--mint); }
.tl-info { color: var(--cyan); }
.tl-indent { padding-left: 24px; }
.caret { display: inline-block; width: 8px; height: 15px; background: var(--cyan); vertical-align: -2px; animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.terminal-caption { display: flex; flex-wrap: wrap; gap: 8px; }
.caption-chip {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; color: var(--ice);
  background: var(--glass-pill); border: 1px solid var(--border-glass); border-radius: 999px; padding: 6px 13px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.caption-chip:hover { border-color: rgba(125, 211, 252, 0.45); color: var(--cyan); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: 26px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 16px;
  display: flex; justify-content: center; padding-top: 8px;
  background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(8px);
}
.scroll-hint span { width: 3px; height: 9px; border-radius: 3px; background: var(--cyan); animation: scroll-dot 1.8s var(--ease) infinite; }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(15px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* ---------- 技术栈走马灯 ---------- */
.marquee-wrap {
  position: relative; z-index: 1;
  overflow: hidden; padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 32s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.09em;
  color: var(--text-muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px;
}
.marquee-track span::after { content: '·'; font-size: 18px; color: var(--indigo); opacity: 0.65; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 章节头 ---------- */
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-title { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin: 22px 0 18px; }
.section-sub { color: var(--text-muted); font-size: 16.5px; line-height: 1.9; }

/* ---------- 核心项目 · 管道图 ---------- */
.pipeline { display: grid; grid-template-columns: 1fr 64px 1.3fr 64px 1fr; align-items: stretch; margin-bottom: clamp(40px, 5vw, 60px); }
.pipe-stage {
  position: relative; padding: 24px;
  background: var(--glass); border: 1px solid var(--border-glass); border-radius: var(--radius-lg);
  backdrop-filter: blur(26px) saturate(170%); -webkit-backdrop-filter: blur(26px) saturate(170%);
  box-shadow: var(--shadow-glass);
  transition: transform 0.4s var(--ease), border-color 0.35s var(--ease), box-shadow 0.4s var(--ease);
}
.pipe-stage:hover { transform: translateY(-4px); border-color: rgba(125, 211, 252, 0.4); box-shadow: var(--shadow-float), 0 0 50px rgba(110, 231, 255, 0.07); }
.stage-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.stage-index {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stage-head h3 { font-size: 17.5px; font-weight: 700; }
.stage-list { display: flex; flex-direction: column; gap: 12px; }

.pipe-item {
  display: flex; align-items: flex-start; gap: 13px; padding: 13px 15px;
  border-radius: var(--radius); background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.pipe-item:hover { border-color: rgba(125, 211, 252, 0.4); background: rgba(255, 255, 255, 0.07); transform: translateX(4px); }
.pipe-icon {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px;
  background: linear-gradient(160deg, rgba(125, 211, 252, 0.16), rgba(125, 211, 252, 0.04));
  border: 1px solid rgba(125, 211, 252, 0.24); color: var(--ice);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.pipe-icon svg { width: 19px; height: 19px; }
.pipe-item b { display: block; font-size: 14.5px; font-weight: 600; color: var(--text); line-height: 1.4; }
.pipe-item small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }

.pipe-core .stage-list { display: block; }
.core-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.core-card {
  padding: 17px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.core-card:hover { border-color: rgba(125, 211, 252, 0.4); transform: translateY(-2px); }
.core-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--indigo); background: rgba(138, 180, 255, 0.12); border: 1px solid rgba(138, 180, 255, 0.28);
  border-radius: 999px; padding: 3px 10px;
}
.core-card h4 { font-size: 14.5px; font-weight: 600; margin: 11px 0 6px; line-height: 1.45; }
.core-card p { font-size: 13px; color: var(--text-muted); line-height: 1.75; }
.core-card p b { color: var(--text-soft); font-weight: 600; }

.pipe-connector { display: grid; grid-template-rows: repeat(3, 1fr); gap: 8px; padding: 24px 0; }
.pipe-connector span {
  position: relative; align-self: center; height: 2px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, rgba(138, 180, 255, 0.4) 0 8px, transparent 8px 16px);
  overflow: hidden;
}
.pipe-connector span::after {
  content: ''; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(110, 231, 255, 0.5);
  animation: flow-x 2.2s var(--ease) infinite;
}
.pipe-connector span:nth-child(2)::after { animation-delay: 0.35s; }
.pipe-connector span:nth-child(3)::after { animation-delay: 0.7s; }
@keyframes flow-x { 0% { left: -12px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 4px); opacity: 0; } }

/* ---------- 四步故事线 ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card {
  position: relative; padding: 26px 24px; overflow: hidden;
  background: var(--glass); border: 1px solid var(--border-glass); border-radius: var(--radius-lg);
  backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow: var(--shadow-glass);
  transition: transform 0.4s var(--ease), border-color 0.35s var(--ease), box-shadow 0.4s var(--ease);
}
.step-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(340px circle at 50% -10%, rgba(125, 211, 252, 0.12), transparent 60%);
  opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none;
}
.step-card:hover { transform: translateY(-5px); border-color: rgba(125, 211, 252, 0.42); box-shadow: var(--shadow-float), 0 0 60px rgba(110, 231, 255, 0.06); }
.step-card:hover::after { opacity: 1; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 13px; font-family: var(--font-mono); font-size: 13.5px; font-weight: 700;
  color: var(--ice); background: rgba(125, 211, 252, 0.1); border: 1px solid rgba(125, 211, 252, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 9px; }
.step-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.8; }

/* ---------- 项目 ---------- */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project-card {
  display: flex; flex-direction: column; padding: 28px; position: relative; overflow: hidden;
  background: var(--glass); border: 1px solid var(--border-glass); border-radius: var(--radius-lg);
  backdrop-filter: blur(26px) saturate(170%); -webkit-backdrop-filter: blur(26px) saturate(170%);
  box-shadow: var(--shadow-glass);
  transition: transform 0.45s var(--ease), border-color 0.35s var(--ease), box-shadow 0.45s var(--ease);
}
.project-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.7), rgba(110, 231, 183, 0.7), transparent);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.project-card:hover { transform: translateY(-6px); border-color: rgba(125, 211, 252, 0.4); box-shadow: var(--shadow-float), 0 0 70px rgba(110, 231, 255, 0.07); }
.project-card:hover::before { opacity: 1; }
.project-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.project-flag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--mint); background: rgba(110, 231, 183, 0.08); border: 1px solid rgba(110, 231, 183, 0.3);
  border-radius: 999px; padding: 4px 12px;
}
.project-icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px;
  background: linear-gradient(160deg, rgba(138, 180, 255, 0.18), rgba(110, 231, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.14); color: var(--ice);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.project-icon svg { width: 22px; height: 22px; }
.project-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 9px; }
.project-desc { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; }
.project-points { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; flex: 1; }
.project-points li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--text-muted); line-height: 1.75; }
.project-points li::before {
  content: ''; position: absolute; left: 2px; top: 0.68em; width: 9px; height: 2px; border-radius: 2px;
  background: var(--gradient);
}
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project-tags span {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-soft);
  background: var(--glass-pill); border: 1px solid var(--border-glass); border-radius: 999px; padding: 5px 12px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.project-tags span:hover { border-color: rgba(125, 211, 252, 0.5); color: var(--ice); }

/* ---------- 技术栈 ---------- */
.stack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stack-group {
  padding: 26px; background: var(--glass); border: 1px solid var(--border-glass); border-radius: var(--radius-lg);
  backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow: var(--shadow-glass);
  transition: transform 0.4s var(--ease), border-color 0.35s var(--ease);
}
.stack-group:hover { transform: translateY(-3px); border-color: rgba(125, 211, 252, 0.38); }
.stack-group h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.stack-group h3::before { content: ''; width: 9px; height: 9px; border-radius: 3px; background: var(--gradient); box-shadow: 0 0 12px rgba(110, 231, 255, 0.5); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips span {
  font-size: 13px; font-weight: 500; color: var(--text-soft);
  background: var(--glass-pill); border: 1px solid var(--border-glass); border-radius: 999px; padding: 7px 14px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.chips span:hover { border-color: rgba(125, 211, 252, 0.5); color: var(--ice); background: rgba(125, 211, 252, 0.06); }

/* ---------- 经历 · 时间线 ---------- */
.timeline { position: relative; max-width: 800px; padding-left: 36px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--indigo), var(--cyan), var(--mint), transparent); opacity: 0.5;
}
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -35px; top: 9px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-deep); border: 2px solid var(--cyan);
  box-shadow: 0 0 0 5px rgba(110, 231, 255, 0.12), 0 0 18px rgba(110, 231, 255, 0.5);
}
.tl-card {
  padding: 24px 26px; background: var(--glass); border: 1px solid var(--border-glass); border-radius: var(--radius-lg);
  backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow: var(--shadow-glass);
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.tl-card:hover { transform: translateX(5px); border-color: rgba(125, 211, 252, 0.4); }
.tl-card time {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--ice);
  background: rgba(125, 211, 252, 0.08); border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 999px; padding: 4px 12px;
}
.tl-card h3 { font-size: 18px; font-weight: 700; margin: 13px 0 9px; }
.tl-card p { font-size: 14px; color: var(--text-muted); line-height: 1.85; }

/* ---------- 关于我 ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 5vw, 68px); align-items: start; }
.about-copy .section-title { margin-bottom: 10px; }
.about-copy > p { color: var(--text-muted); font-size: 15.5px; line-height: 2; margin-top: 20px; }
.about-copy > p strong { color: var(--text-soft); font-weight: 600; }
.about-copy .hl { color: var(--ice); }
.about-tags { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.about-tag {
  display: flex; align-items: baseline; gap: 12px; padding: 14px 17px; border-radius: var(--radius);
  background: var(--glass-pill); border: 1px solid var(--border-glass); font-size: 14px; color: var(--text-muted);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.about-tag:hover { border-color: rgba(125, 211, 252, 0.4); background: rgba(255, 255, 255, 0.07); transform: translateX(5px); }
.about-tag b {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; flex: none;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.beliefs { display: flex; flex-direction: column; gap: 16px; }
.belief-card {
  position: relative; padding: 24px 26px;
  background: var(--glass); border: 1px solid var(--border-glass); border-radius: var(--radius-lg);
  backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow: var(--shadow-glass);
  transition: transform 0.4s var(--ease), border-color 0.35s var(--ease), box-shadow 0.4s var(--ease);
}
.belief-card:hover { transform: translateY(-4px); border-color: rgba(110, 231, 183, 0.42); box-shadow: var(--shadow-float); }
.belief-num {
  position: absolute; right: 20px; top: 16px; font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  color: var(--text-dim); letter-spacing: 0.05em;
}
.belief-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.belief-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.8; }

/* ---------- 联系 ---------- */
.section-contact { padding-top: clamp(40px, 5vw, 70px); }
.contact-card {
  position: relative; max-width: 880px; margin-inline: auto; text-align: center; overflow: hidden;
  padding: clamp(44px, 7vw, 76px) clamp(24px, 6vw, 64px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--border-bright); border-radius: var(--radius-xl);
  backdrop-filter: blur(34px) saturate(180%); -webkit-backdrop-filter: blur(34px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 40px 120px rgba(0, 0, 0, 0.6);
}
.contact-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 46% at 50% -12%, rgba(125, 211, 252, 0.16), transparent 65%),
    radial-gradient(38% 30% at 12% 108%, rgba(167, 139, 250, 0.12), transparent 65%),
    radial-gradient(38% 30% at 90% 108%, rgba(110, 231, 183, 0.1), transparent 65%);
}
.contact-card > * { position: relative; z-index: 1; }
.contact-card .eyebrow { justify-content: center; }
.contact-title { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; margin-top: 22px; }
.contact-desc { max-width: 560px; margin: 18px auto 0; color: var(--text-muted); font-size: 16px; line-height: 1.9; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.contact-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 34px;
  font-family: var(--font-mono); font-size: 13px; color: var(--text-muted);
}
.contact-meta li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass-pill); border: 1px solid var(--border-glass); border-radius: 999px; padding: 7px 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.contact-meta svg { width: 15px; height: 15px; color: var(--ice); }
.contact-meta a { color: var(--text-muted); transition: color 0.25s var(--ease); }
.contact-meta li:hover { border-color: rgba(125, 211, 252, 0.45); }
.contact-meta li:hover a { color: var(--ice); }

/* ---------- 页脚 ---------- */
.site-footer { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 28px 0; background: rgba(0, 0, 0, 0.2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.footer-note { font-size: 13px; color: var(--text-dim); font-family: var(--font-mono); }

/* ---------- 滚动显现 ---------- */
.reveal {
  opacity: 0; transform: translateY(28px) scale(0.985);
  filter: blur(8px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  will-change: opacity, transform, filter;
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-terminal { max-width: 640px; }
  .scroll-hint { display: none; }
  .pipeline { grid-template-columns: 1fr; gap: 14px; }
  .pipe-connector { display: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .project-grid, .stack-grid, .about-grid { grid-template-columns: 1fr; }
  .core-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .menu-toggle { display: flex; }
  .site-header.menu-open .nav-menu {
    display: flex; flex-direction: column;
    position: fixed; top: calc(var(--nav-h) + 34px); left: 16px; right: 16px;
    gap: 2px; padding: 14px;
    background: rgba(10, 12, 20, 0.9);
    border: 1px solid var(--border-glass); border-radius: 24px;
    backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  .site-header.menu-open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .site-header.menu-open .nav-link { padding: 13px 12px; font-size: 15.5px; border-radius: 14px; }
  .site-header.menu-open .nav-cta { display: block; padding-top: 12px; margin: 0; border-top: 1px solid var(--border-glass); }
  .site-header.menu-open .nav-cta .btn { width: 100%; }
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .hero { padding-top: calc(var(--nav-h) + 80px); padding-bottom: 48px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; }
  .stat { min-width: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .project-card { padding: 24px; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
  .timeline { padding-left: 26px; }
  .tl-dot { left: -26px; }
  .terminal-body { min-height: 280px; padding: 18px; font-size: 12px; }
}

/* ---------- 打印 ---------- */
@media print {
  body { background: #fff; color: #111; font-size: 12px; }
  .aurora, .noise, #spotlight, #scroll-progress, .site-header, .marquee-wrap,
  .hero-terminal, .pipeline, .scroll-hint, .contact-actions, .site-footer { display: none !important; }
  .section { padding: 16px 0; }
  .hero { min-height: auto; padding: 0; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .glass, .pipe-stage, .step-card, .project-card, .stack-group, .tl-card, .belief-card, .contact-card, .stat, .about-tag, .contact-meta li {
    background: #fff !important; border: 1px solid #ddd !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; break-inside: avoid; color: #111;
  }
  .project-points li, .project-desc, .step-card p, .tl-card p, .about-copy > p, .section-sub, .contact-desc, .hero-desc, .chips span, .project-tags span, .pipe-item small, .core-card p, .stat-label, .belief-card p, .contact-meta {
    color: #333 !important;
  }
  .gradient-text, .stat-num, .about-tag b { color: #2563eb !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; animation: none !important; }
  .contact-card { max-width: 100%; padding: 24px; }
}

/* ---------- 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ---------- v2 精修：去 AI 味 + 液态玻璃细节 ---------- */
.hl {
  padding: 0 0.08em;
  border: 0;
  border-radius: 0;
  background: linear-gradient(120deg, rgba(125, 211, 252, 0.32), rgba(110, 231, 255, 0.32));
  background-repeat: no-repeat;
  background-size: 100% 0.14em;
  background-position: 0 100%;
}

/* 终端底部状态栏 */
.terminal-footer {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px;
  padding: 12px 22px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
}
.tf-label { letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.terminal-footer .caption-chip {
  background: none; border: 0; padding: 0; color: var(--text-dim);
}
.terminal-footer .caption-chip::before { content: '· '; color: var(--ice); }
.terminal-footer .caption-chip:hover { color: var(--ice); border: 0; }
.terminal-caption { display: none; }

/* 滚动指示器 */
.scroll-hint svg { width: 16px; height: 16px; color: var(--ice); animation: scroll-bounce 1.8s var(--ease) infinite; }
@keyframes scroll-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* 数据指标：无框轻量化 */
.stat { background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0 22px 0 0; min-width: 0; border-right: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0; }
.stat:last-child { border-right: 0; }
.stat:hover { transform: none; border-color: transparent; box-shadow: none; }
.stat-num { font-size: clamp(30px, 3.4vw, 40px); }

/* 折射高光渐变边（液态玻璃核心） */
.nav, .terminal, .contact-card {
  border: 1px solid transparent;
  background-image:
    linear-gradient(rgba(13, 16, 25, 0.40), rgba(13, 16, 25, 0.28)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.07) 42%, rgba(125, 211, 252, 0.20) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* 卡片悬停扫光（液态反光） */
.project-card::after, .pipe-stage::after, .step-card::before, .stack-group::after, .tl-card::after, .belief-card::after, .contact-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.075) 46%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.project-card:hover::after, .pipe-stage:hover::after, .step-card:hover::before, .stack-group:hover::after, .tl-card:hover::after, .belief-card:hover::after, .contact-card:hover::after { transform: translateX(120%); }

/* ---------- v2 终版微调 ---------- */
:root { --text-muted: #a6b0c4; }
.contact-card::before {
  background:
    radial-gradient(60% 46% at 50% -12%, rgba(125, 211, 252, 0.16), transparent 65%),
    radial-gradient(38% 30% at 12% 108%, rgba(167, 139, 250, 0.12), transparent 65%),
    radial-gradient(38% 30% at 90% 108%, rgba(110, 231, 183, 0.10), transparent 65%),
    radial-gradient(70% 50% at 50% 110%, rgba(125, 211, 252, 0.12), transparent 70%);
}

/* ============================================================
   Enterprise Skin · 企业级宣传风（深海军蓝 × 高级金）
   ============================================================ */
:root {
  --bg-deep: #070d18;
  --bg-base: #0a1220;
  --bg-elevated: #0e1830;
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  --glass-strong: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
  --glass-pill: rgba(255, 255, 255, 0.045);
  --border-glass: rgba(148, 178, 224, 0.16);
  --border-bright: rgba(186, 208, 240, 0.30);
  --text: #f4f7fc;
  --text-soft: #d6e1f2;
  --text-muted: #a4b2c9;
  --text-dim: #6d7c96;
  --ice: #9ec0f0;
  --cyan: #8ab6ff;
  --mint: #7fd8a8;
  --indigo: #5b8def;
  --violet: #8f7bd8;
  --blue: #3e7bfa;
  --blue-deep: #1e4fd8;
  --navy: #12294f;
  --gold: #c9a227;
  --gold-soft: #e6c558;
  --gradient: linear-gradient(120deg, #4d8dff 0%, #2f6bff 45%, #c9a227 100%);
  --gradient-blue: linear-gradient(135deg, #3e7bfa, #1e4fd8);
  --gradient-gold: linear-gradient(135deg, #e6c558, #c9a227);
  --shadow-glass: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 70px rgba(2, 8, 20, 0.55);
  --shadow-float: 0 30px 90px rgba(2, 8, 20, 0.6), 0 0 0 1px rgba(148, 178, 224, 0.08);
}

/* 背景：深蓝极光（低饱和） */
.aurora::before {
  background:
    radial-gradient(42% 38% at 16% 10%, rgba(30, 58, 138, 0.40), transparent 70%),
    radial-gradient(36% 34% at 84% 18%, rgba(15, 76, 129, 0.30), transparent 70%),
    radial-gradient(46% 42% at 48% 90%, rgba(58, 84, 150, 0.22), transparent 72%),
    radial-gradient(30% 28% at 90% 66%, rgba(120, 95, 25, 0.10), transparent 70%);
}
.aurora::after {
  background: radial-gradient(60% 50% at 50% -10%, rgba(62, 123, 250, 0.10), transparent 70%);
}

/* 巨型水印字（企业宣传页常见） */
.bg-watermark {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: center;
  padding-top: 9vh;
  font-family: var(--font-sans); font-weight: 800; letter-spacing: 0.04em; line-height: 1;
  color: rgba(148, 178, 224, 0.045);
  font-size: clamp(64px, 13vw, 190px);
  white-space: nowrap;
  text-transform: uppercase;
  user-select: none;
}
.bg-watermark .wm-line2 { font-size: 0.42em; letter-spacing: 0.5em; color: rgba(201, 162, 39, 0.05); margin-top: 2vh; }

/* 蓝图网格 */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 178, 224, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 224, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 15%, transparent 78%);
}

/* 顶部光束 */
.bg-beam {
  position: fixed; z-index: -2; pointer-events: none;
  width: 1px; height: 60vh; top: -12vh;
  background: linear-gradient(180deg, transparent, rgba(62, 123, 250, 0.28), rgba(201, 162, 39, 0.14), transparent);
  filter: blur(1px);
  animation: beam-drift 18s ease-in-out infinite alternate;
}
.bg-beam-l { left: 14%; transform: rotate(14deg); }
.bg-beam-r { right: 12%; transform: rotate(-12deg); animation-delay: -9s; }
@keyframes beam-drift { 0% { opacity: 0.35; transform: rotate(14deg) translateY(0); } 100% { opacity: 0.8; transform: rotate(14deg) translateY(4vh); } }
.bg-beam-r { animation-name: beam-drift-r; }
@keyframes beam-drift-r { 0% { opacity: 0.35; transform: rotate(-12deg) translateY(0); } 100% { opacity: 0.8; transform: rotate(-12deg) translateY(4vh); } }

/* 渐变文字：蓝→金 */
.gradient-text {
  background: linear-gradient(120deg, #6ea1ff, #3e7bfa 45%, #e6c558 85%, #6ea1ff);
  background-size: 220% auto;
}

/* 高亮：金色下划线 */
.hl {
  background: linear-gradient(120deg, rgba(201, 162, 39, 0.42), rgba(230, 197, 88, 0.34));
  color: var(--gold-soft);
}

/* 眼标 / 状态点 */
.eyebrow { color: var(--gold); border-color: rgba(201, 162, 39, 0.30); background: rgba(201, 162, 39, 0.06); }
.pulse-dot { background: var(--gold); box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.5); }
@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(201, 162, 39, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0); }
}
.pulse-dot { animation: pulse-gold 2.2s infinite; }

/* 按钮：企业蓝渐变 + 白字 + 金色扫光 */
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #2f6bff, #1e4fd8 60%, #2458ea);
  background-size: 180% auto;
  box-shadow: 0 12px 34px rgba(30, 79, 216, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.30);
}
.btn-primary::after {
  background: linear-gradient(100deg, transparent, rgba(230, 197, 88, 0.75), transparent);
}
.btn-primary:hover { box-shadow: 0 18px 50px rgba(30, 79, 216, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.34); }
.btn-primary svg { color: rgba(255, 255, 255, 0.92); }

/* 数据数字 / 编号：蓝→金 */
.stat-num, .stage-index, .about-tag b, .brand-mark {
  background: linear-gradient(120deg, #6ea1ff, #3e7bfa 45%, #e6c558 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step-num {
  color: var(--gold-soft);
  background: rgba(201, 162, 39, 0.08);
  border-color: rgba(201, 162, 39, 0.30);
}

/* 管道 / 卡片图标与标签：蓝 + 金点缀 */
.pipe-icon, .project-icon {
  background: linear-gradient(160deg, rgba(62, 123, 250, 0.16), rgba(62, 123, 250, 0.04));
  border-color: rgba(62, 123, 250, 0.30);
  color: var(--ice);
}
.core-tag {
  color: var(--gold-soft);
  background: rgba(201, 162, 39, 0.08);
  border-color: rgba(201, 162, 39, 0.30);
}
.project-flag {
  color: var(--gold-soft);
  background: rgba(201, 162, 39, 0.07);
  border-color: rgba(201, 162, 39, 0.32);
}
.caption-chip { color: var(--ice); }
.caption-chip:hover { color: var(--gold-soft); border-color: rgba(201, 162, 39, 0.5); }
.tl-prompt { color: var(--gold-soft); }
.tl-ok { color: var(--mint); }
.tl-info { color: var(--cyan); }
.caret { background: var(--gold); }

/* 终端底部 modules 标签 */
.tf-label { color: var(--text-dim); }
.terminal-footer .caption-chip::before { color: var(--gold); }

/* 时间线 */
.timeline::before {
  background: linear-gradient(180deg, #3e7bfa, #8ab6ff, #c9a227, transparent);
}
.tl-dot {
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(201, 162, 39, 0.12), 0 0 18px rgba(201, 162, 39, 0.4);
}
.tl-card time { color: var(--gold-soft); border-color: rgba(201, 162, 39, 0.30); background: rgba(201, 162, 39, 0.06); }

/* 联系卡：蓝金光晕 */
.contact-card::before {
  background:
    radial-gradient(60% 46% at 50% -12%, rgba(62, 123, 250, 0.16), transparent 65%),
    radial-gradient(38% 30% at 12% 108%, rgba(201, 162, 39, 0.10), transparent 65%),
    radial-gradient(38% 30% at 90% 108%, rgba(62, 123, 250, 0.10), transparent 65%),
    radial-gradient(70% 50% at 50% 110%, rgba(201, 162, 39, 0.08), transparent 70%);
}

/* 折射高光边：蓝金 */
.nav, .terminal, .contact-card {
  background-image:
    linear-gradient(rgba(10, 18, 32, 0.42), rgba(10, 18, 32, 0.30)),
    linear-gradient(135deg, rgba(230, 197, 88, 0.35) 0%, rgba(148, 178, 224, 0.10) 42%, rgba(62, 123, 250, 0.25) 100%);
}

/* 走马灯分隔符 */
.marquee-track span::after { color: var(--gold); }

/* 聚光灯 */
#spotlight { background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 0%), rgba(62, 123, 250, 0.07), transparent 45%); }

@media print {
  .bg-watermark, .bg-grid, .bg-beam { display: none !important; }
}

/* ---------- Enterprise Skin · 收敛版（蓝主导，金微点缀） ---------- */
.gradient-text {
  background: linear-gradient(120deg, #8ab6ff, #3e7bfa 55%, #9ec0f0 90%);
  background-size: 220% auto;
}
.hl {
  padding: 0;
  background: none;
  color: var(--ice);
  text-decoration: underline;
  text-decoration-color: rgba(201, 162, 39, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.bg-watermark { color: rgba(148, 178, 224, 0.026); }
.bg-watermark .wm-line2 { color: rgba(201, 162, 39, 0.028); }
.bg-grid {
  background-image:
    linear-gradient(rgba(148, 178, 224, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 224, 0.03) 1px, transparent 1px);
}
.bg-beam { background: linear-gradient(180deg, transparent, rgba(62, 123, 250, 0.16), rgba(201, 162, 39, 0.07), transparent); }
@keyframes beam-drift { 0% { opacity: 0.25; transform: rotate(14deg) translateY(0); } 100% { opacity: 0.55; transform: rotate(14deg) translateY(4vh); } }
@keyframes beam-drift-r { 0% { opacity: 0.25; transform: rotate(-12deg) translateY(0); } 100% { opacity: 0.55; transform: rotate(-12deg) translateY(4vh); } }

/* 眼标：蓝字 + 金点 */
.eyebrow { color: var(--blue); border-color: rgba(62, 123, 250, 0.30); background: rgba(62, 123, 250, 0.06); }

/* 数字/编号：蓝渐变 */
.stat-num, .stage-index, .about-tag b, .brand-mark {
  background: linear-gradient(120deg, #7aa5ff, #3e7bfa 60%, #5b8def);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.project-flag {
  color: var(--ice);
  background: rgba(62, 123, 250, 0.08);
  border-color: rgba(62, 123, 250, 0.30);
}
.core-tag {
  color: var(--ice);
  background: rgba(62, 123, 250, 0.08);
  border-color: rgba(62, 123, 250, 0.28);
}
.tl-card time {
  color: var(--ice);
  border-color: rgba(62, 123, 250, 0.28);
  background: rgba(62, 123, 250, 0.07);
}
.step-num {
  color: var(--ice);
  background: rgba(62, 123, 250, 0.08);
  border-color: rgba(62, 123, 250, 0.28);
}
.tl-dot {
  border-color: var(--blue);
  box-shadow: 0 0 0 5px rgba(62, 123, 250, 0.12), 0 0 18px rgba(62, 123, 250, 0.4);
}
.scroll-hint svg { color: var(--ice); }

/* 指标：底部发丝线（企业组件规整感） */
.stat { border-bottom: 1px solid rgba(148, 178, 224, 0.12); padding-bottom: 14px; }
.stat:last-child { border-right: 0; }

/* 终端排版更透气 */
.terminal-body { font-size: 13.5px; line-height: 2.1; }
