/* ==========================================================================
   国家国防科技工业软件产教研平台 · 全站设计系统
   --------------------------------------------------------------------------
   设计基调：极简 · 科技 · 高级 · 军工特色
   色彩策略：浅色基底（值守蓝 + 科技蓝 + 军工金 + 中国红点缀）
   动效原则：克制、自然、有呼吸感
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计 Token
   -------------------------------------------------------------------------- */
:root {
  /* 基底色 —— 浅色为主，避免过深色调 */
  --bg: #f4f7fb;
  --bg-soft: #eef2f8;
  --surface: #ffffff;
  --surface-2: #f9fbfe;

  /* 文字 */
  --ink: #12233d;          /* 主文字：深海藏青 */
  --ink-2: #45546c;        /* 次级文字 */
  --ink-3: #7a8899;        /* 弱文字 */

  /* 主色 —— 值守蓝 */
  --primary: #0b3a6b;
  --primary-2: #14477d;
  --primary-3: #1c5a9c;

  /* 科技蓝点缀 */
  --accent: #0e7ad6;
  --accent-2: #2f9be8;
  --accent-soft: #e6f2fc;

  /* 军工金 —— 尊贵点缀，克制使用 */
  --gold: #b08a34;
  --gold-2: #d3ac5c;
  --gold-soft: #f7f0dd;

  /* 中国红 —— 关键数据 / 标识 */
  --red: #c2382c;
  --red-soft: #fbecea;

  /* 深海军蓝（工业分割条 / 横幅） */
  --navy-950:#060D18; --navy-900:#0A1526; --navy-850:#0D1B30; --navy-800:#12253F; --navy-700:#173254;
  /* 科技蓝体系 */
  --blue:#2F6FD0; --blue-2:#5B93E3; --blue-t:#EAF1FA; --blue-d:#24558F;
  /* 辅助色 */
  --gold-t:#F6EFDF; --gold-d:#8F6F33;
  --teal:#2E8A6B; --teal-t:#E3F2EC;
  --purple:#6A55B8; --purple-t:#EEEAF8;
  --amber:#C08428; --amber-t:#FAF3E2;

  /* 边框与分隔 */
  --line: #e2e8f2;
  --line-2: #d3dde9;

  /* 玻璃质感 */
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.55);

  /* 阴影 —— 细、轻 */
  --shadow-xs: 0 1px 2px rgba(18, 35, 61, 0.04);
  --shadow-sm: 0 2px 8px rgba(18, 35, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(18, 35, 61, 0.08);
  --shadow-lg: 0 18px 48px rgba(18, 35, 61, 0.12);
  --shadow-card: 0 1px 0 rgba(18, 35, 61, 0.03), 0 10px 30px rgba(18, 35, 61, 0.07);

  /* 圆角 —— 克制，避免大圆角堆叠 */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  /* 字体 */
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.32s;
  --dur-slow: 0.55s;

  /* 容器 */
  --container: 1240px;
}

/* --------------------------------------------------------------------------
   2. Reset & 基础排版
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
::selection { background: rgba(14, 122, 214, 0.18); color: var(--ink); }

/* 细滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #c4d0de; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #a9bacd; }

/* 细噪点纹理（克制） */
.noise::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 网格底纹 */
.grid-bg {
  background-image:
    linear-gradient(rgba(11, 58, 107, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 58, 107, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* 标题 */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.3; letter-spacing: 0.005em; }

/* 容器 */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container--wide { max-width: 1440px; }

/* 区块通用 */
.section { position: relative; padding: 84px 0; }
.section--tight { padding: 56px 0; }

/* --------------------------------------------------------------------------
   3. 通用组件
   -------------------------------------------------------------------------- */

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 22px;
  font-size: 14px; font-weight: 600;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 14px rgba(11, 58, 107, 0.28);
}
.btn--primary:hover { background: var(--primary-2); box-shadow: 0 8px 22px rgba(11, 58, 107, 0.34); transform: translateY(-1px); }

.btn--ghost {
  background: transparent; color: var(--primary);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--primary); background: var(--accent-soft); }

.btn--gold {
  background: linear-gradient(135deg, #c9a24a, #a8812f); color: #fff;
  box-shadow: 0 4px 14px rgba(176, 138, 52, 0.3);
}
.btn--gold:hover { box-shadow: 0 8px 22px rgba(176, 138, 52, 0.4); transform: translateY(-1px); }

.btn--sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn--lg { height: 50px; padding: 0 30px; font-size: 15px; }

/* 标签 */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 10px;
  font-size: 12px; font-weight: 500;
  border-radius: 4px;
  letter-spacing: 0.03em;
}
.tag--blue { background: var(--accent-soft); color: var(--primary-3); }
.tag--gold { background: var(--gold-soft); color: #8a6a20; }
.tag--red { background: var(--red-soft); color: var(--red); }
.tag--line { background: transparent; color: var(--ink-3); border: 1px solid var(--line-2); }

/* --------------------------------------------------------------------------
   4. 顶部导航栏
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 68px;
  background: var(--glass-strong);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease), height var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(18, 35, 61, 0.08); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}

/* 品牌标识 */
.brand { display: flex; align-items: center; gap: 12px; }
.brand__emblem {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-3));
  box-shadow: 0 4px 12px rgba(11, 58, 107, 0.3);
  position: relative; overflow: hidden;
}
.brand__emblem svg { width: 22px; height: 22px; }
.brand__name { line-height: 1.2; }
.brand__name b {
  display: block; font-size: 17px; font-weight: 700; color: var(--ink);
  letter-spacing: 0.02em;
}
.brand__name span {
  display: block; font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.18em; margin-top: 1px;
}

/* 主导航 */
.main-nav { display: flex; align-items: center; height: 100%; }
.main-nav__item { position: static; height: 100%; display: flex; align-items: center; }
.main-nav__link {
  position: relative; display: flex; align-items: center; gap: 5px;
  height: 100%; padding: 0 18px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: color var(--dur) var(--ease);
  letter-spacing: 0.02em;
}
.main-nav__link .caret {
  width: 0; height: 0; margin-top: 2px;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--dur) var(--ease);
  opacity: 0.5;
}
.main-nav__link::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--dur) var(--ease);
}
.main-nav__item:hover .main-nav__link,
.main-nav__item.is-active .main-nav__link { color: var(--primary); }
.main-nav__item:hover .main-nav__link .caret { transform: rotate(180deg); opacity: 1; }
.main-nav__item:hover .main-nav__link::after { transform: scaleX(1); }

/* 右侧操作区 */
.header-actions { display: flex; align-items: center; gap: 12px; }

/* Mega 下拉面板 */
.mega-panel {
  position: absolute; left: 0; right: 0; top: 68px;
  background: var(--glass-strong);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(18, 35, 61, 0.14);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  pointer-events: none;
}
.main-nav__item:hover .mega-panel,
.mega-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

.mega-panel__inner { display: flex; padding: 30px 0 34px; gap: 36px; }
.mega-panel__intro { flex: 0 0 200px; padding-right: 28px; border-right: 1px solid var(--line); display: flex; align-items: center; }
.mega-panel__intro b { display: block; font-size: 19px; color: var(--ink); font-weight: 700; letter-spacing: 0.04em; }
.mega-panel__cols { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; }

.mega-item {
  display: flex; gap: 12px; padding: 12px 14px;
  border-radius: var(--r-md);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.mega-item:hover { background: var(--accent-soft); transform: translateX(2px); }
.mega-item__icon {
  flex-shrink: 0; width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 8px; color: var(--primary);
  background: var(--surface); border: 1px solid var(--line);
}
.mega-item__icon svg { width: 18px; height: 18px; }
.mega-item b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.mega-item span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; line-height: 1.5; }

/* 移动端汉堡 */
.nav-toggle { display: none; width: 42px; height: 42px; position: relative; }
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--ink); border-radius: 1px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), top var(--dur) var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

/* --------------------------------------------------------------------------
   5. 主视觉 Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(23, 74, 130, 0.95), rgba(9, 34, 63, 0.55) 58%, transparent 80%),
    linear-gradient(180deg, #0a2c52 0%, #0c335c 38%, #0f3f70 100%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 78%);
}
.hero__content { position: relative; z-index: 2; text-align: center; color: #fff; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.28em; color: rgba(255,255,255,0.72);
  margin-bottom: 30px;
}
.hero__eyebrow::before, .hero__eyebrow::after {
  content: ""; width: 42px; height: 1px; background: rgba(255,255,255,0.35);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700; line-height: 1.12;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #ffffff 30%, #dbe6f2 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 26px;
}
.hero__title .accent-gold {
  background: linear-gradient(180deg, #f6dfa0, #c9a24a 78%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__subtitle {
  font-size: clamp(15px, 2vw, 21px);
  font-weight: 400; line-height: 1.9;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.08em;
  max-width: 820px; margin: 0 auto;
}
.hero__actions { margin-top: 46px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.6);
  font-size: 12px; letter-spacing: 0.2em;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll i {
  width: 1px; height: 34px; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.7));
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero .btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* --------------------------------------------------------------------------
   6. 横贯式数据卡片
   -------------------------------------------------------------------------- */
.stat-band {
  position: relative; z-index: 5;
  margin-top: -84px;
  padding: 0 0 8px;
}
.stat-band__grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px;
}
.stat-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 20px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease), border-color var(--dur) var(--ease);
  overflow: hidden;
  cursor: pointer;
}
/* 立体感：底部轻投影 + 顶部高光 */
.stat-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent 42%);
  pointer-events: none;
}
.stat-card::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.45; transition: opacity var(--dur) var(--ease), left var(--dur) var(--ease), right var(--dur) var(--ease);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.stat-card:hover::after { opacity: 1; left: 6%; right: 6%; }
.stat-card__num {
  font-family: var(--font-mono);
  font-size: 50px; font-weight: 800; line-height: 1;
  color: var(--primary);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-card__num .unit { font-size: 21px; font-weight: 700; margin-left: 4px; color: var(--primary-3); }
.stat-card__label { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: 0.08em; }
.stat-card--gold .stat-card__num { color: var(--gold); }
.stat-card--gold .stat-card__num .unit { color: var(--gold-2); }
.stat-card--red .stat-card__num { color: var(--red); }
.stat-card--red .stat-card__num .unit { color: var(--red); }

/* --------------------------------------------------------------------------
   7. 横贯式工业分割条 + 内容分区（参考产教研平台设计）
   -------------------------------------------------------------------------- */
.sec { scroll-margin-top: 80px; }
.ico { width: 18px; height: 18px; flex: none; }

/* 深色工业分割条 */
.sec-divider {
  background: linear-gradient(90deg, var(--navy-950), var(--navy-850) 18%, var(--navy-850) 82%, var(--navy-950));
  border-top: 1px solid rgba(201,165,92,.2);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative; overflow: hidden;
}
.sd-inner { display: flex; align-items: center; gap: 22px; padding: 20px 0; position: relative; z-index: 2; }
.sd-num {
  font-family: var(--font-mono); font-size: 44px; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px rgba(201,165,92,.75);
  letter-spacing: .04em; line-height: 1; flex: none;
}
.sd-titles { flex: none; }
.sd-title { color: #fff; font-size: 22px; font-weight: 700; letter-spacing: .12em; line-height: 1.3; }
.sd-en { color: rgba(201,165,92,.66); font-size: 10.5px; letter-spacing: .3em; font-family: var(--font-mono); margin-top: 3px; text-transform: uppercase; }
.sd-ruler {
  flex: 1; height: 16px; position: relative; min-width: 60px;
  background:
    repeating-linear-gradient(90deg, rgba(201,165,92,.28) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, rgba(201,165,92,.55) 0 1px, transparent 1px 60px);
  background-size: 100% 8px, 100% 15px; background-repeat: no-repeat; background-position: bottom left, bottom left;
}
.sd-ruler::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(201,165,92,.4); }
.sd-more {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  color: var(--gold-2); font-size: 13px; font-weight: 600; letter-spacing: .08em;
  padding: 9px 18px; border: 1px solid rgba(201,165,92,.4); border-radius: 4px; transition: all .25s; cursor: pointer;
}
.sd-more:hover { background: rgba(201,165,92,.12); border-color: var(--gold); }
.sd-more .ico { width: 14px; height: 14px; }

/* 内容区 */
.sec-body { padding: 56px 0 64px; background: var(--bg); }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-title { font-size: 20px; font-weight: 700; letter-spacing: .06em; display: flex; align-items: center; gap: 12px; }
.sec-title::before { content: ''; width: 4px; height: 20px; background: linear-gradient(180deg, var(--blue), var(--gold)); border-radius: 2px; }
.tabs { display: inline-flex; gap: 6px; background: #e9eef5; border-radius: 8px; padding: 4px; flex-wrap: wrap; }
.tab { height: 34px; padding: 0 16px; border-radius: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: all .22s; }
.tab:hover { color: var(--ink); }
.tab.active { background: #fff; color: var(--ink); font-weight: 700; box-shadow: var(--shadow-xs); }

/* 通用组件 */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); transition: all .28s cubic-bezier(.4,0,.2,1); position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 4px; font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.b-mil { background: var(--blue-t); color: var(--blue-d); }
.b-ven { background: var(--teal-t); color: #1e6b50; }
.b-uni { background: var(--purple-t); color: #57449b; }
.b-joint { background: var(--gold-t); color: var(--gold-d); }
.pri { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 3px; font-size: 11.5px; font-weight: 700; font-family: var(--font-mono); letter-spacing: .04em; }
.pri-0 { background: var(--red-soft); color: var(--red); }
.pri-1 { background: var(--amber-t); color: #9a6a15; }
.pri-2 { background: var(--teal-t); color: var(--teal); }
.pri-3 { background: var(--blue-t); color: var(--blue-d); }
.st { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.st-open { background: var(--blue-t); color: var(--blue-d); } .st-open::before { background: var(--blue); }
.st-run { background: var(--teal-t); color: var(--teal); } .st-run::before { background: var(--teal); animation: pulse 2s infinite; }
.st-review { background: var(--amber-t); color: #9a6a15; } .st-review::before { background: var(--amber); }
.st-done { background: var(--gold-t); color: var(--gold-d); } .st-done::before { background: var(--gold); }
.st-soon { background: #edf0f5; color: var(--ink-3); } .st-soon::before { background: var(--ink-3); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.meta { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-3); }
.meta .ico { width: 14px; height: 14px; opacity: .7; }
.link-arrow { font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; cursor: pointer; white-space: nowrap; }
.link-arrow:hover { gap: 8px; }
.link-arrow .ico { width: 13px; height: 13px; }

/* 封面 */
.cover { position: relative; border-radius: var(--r-lg) var(--r-lg) 0 0; height: 150px; overflow: hidden; background: linear-gradient(140deg, var(--navy-800), var(--navy-950) 70%); }
.cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(91,147,227,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(91,147,227,.07) 1px, transparent 1px); background-size: 28px 28px; }
.cover::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,165,92,.5), transparent); }
.cover-ico { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); color: rgba(140,180,235,.4); }
.cover-ico .ico { width: 64px; height: 64px; }
.cover .corner { position: absolute; width: 14px; height: 14px; border-color: rgba(201,165,92,.55); border-style: solid; border-width: 0; }
.cover .c-tl { top: 10px; left: 10px; border-top-width: 1.5px; border-left-width: 1.5px; }
.cover .c-br { bottom: 10px; right: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.cover-tag { position: absolute; top: 12px; left: 14px; z-index: 2; }

/* 01 军工软件攻坚项目（Bento） */
.p-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p-feat { grid-column: span 2; display: flex; overflow: hidden; }
.p-feat .pf-cover { width: 42%; flex: none; position: relative; background: linear-gradient(140deg, #15304f, var(--navy-950) 75%); border-radius: var(--r-lg) 0 0 var(--r-lg); }
.p-feat .pf-body { flex: 1; padding: 24px 26px; display: flex; flex-direction: column; }
.pf-body h4 { font-size: 17px; font-weight: 700; line-height: 1.5; margin: 10px 0 8px; }
.pf-body p { font-size: 13px; color: var(--ink-2); line-height: 1.75; }
.pf-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 14px; }
.pfm { background: linear-gradient(160deg, #f7fafd, #f0f4f9); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.pfm b { font-family: var(--font-mono); font-size: 20px; color: var(--blue-d); display: block; }
.pfm span { font-size: 11.5px; color: var(--ink-3); }
.pf-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pf-org { font-size: 12px; color: var(--ink-3); }
.p-card { padding: 20px 22px; display: flex; flex-direction: column; cursor: pointer; }
.p-card .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.p-card h4 { font-size: 15px; font-weight: 700; line-height: 1.55; margin: 12px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card p { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-metas { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 14px 0 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.p-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.p-org { font-size: 12px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
.p-org .ico { width: 13px; height: 13px; }
.p-cta { border: 1.5px dashed var(--line-2); background: #fbfcfe; border-radius: var(--r-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; cursor: pointer; transition: all .25s; min-height: 180px; }
.p-cta:hover { border-color: var(--blue); background: var(--blue-t); }
.p-cta .ico { width: 30px; height: 30px; color: var(--blue); }
.p-cta b { font-size: 15px; color: var(--blue-d); }
.p-cta span { font-size: 12px; color: var(--ink-3); }

/* 02 揭榜挂帅（Banner + 任务卡） */
.tk-banner { display: flex; align-items: stretch; gap: 0; background: linear-gradient(120deg, var(--navy-900) 0%, #10263f 55%, #15304f 100%); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 24px; border: 1px solid rgba(120,155,210,.2); }
.tb-main { flex: 1; padding: 30px 34px; }
.tb-tagrow { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.tb-tagrow .badge { background: rgba(201,165,92,.14); color: var(--gold-2); border: 1px solid rgba(201,165,92,.35); }
.tb-tagrow .st { background: rgba(46,138,107,.15); color: #6fcfa6; }
.tk-banner h3 { color: #fff; font-size: 22px; font-weight: 700; letter-spacing: .04em; margin-bottom: 10px; }
.tk-banner .tb-desc { color: rgba(230,240,252,.65); font-size: 13.5px; line-height: 1.8; max-width: 640px; }
.tb-meta { display: flex; gap: 26px; margin-top: 18px; flex-wrap: wrap; }
.tb-meta .m b { display: block; font-family: var(--font-mono); color: var(--gold-2); font-size: 20px; font-weight: 700; }
.tb-meta .m span { color: rgba(255,255,255,.45); font-size: 11.5px; letter-spacing: .08em; }
.tb-side { width: 250px; flex: none; border-left: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 26px; background: rgba(6,13,24,.35); }
.cd-label { color: rgba(255,255,255,.45); font-size: 11px; letter-spacing: .28em; }
.cd { font-family: var(--font-mono); font-size: 26px; font-weight: 700; color: #fff; letter-spacing: .06em; }
.cd i { font-style: normal; color: var(--gold); }
.tk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tk-card { padding: 20px 22px; display: flex; flex-direction: column; cursor: pointer; }
.tk-amt { font-family: var(--font-mono); font-size: 26px; font-weight: 700; color: var(--gold-d); line-height: 1; }
.tk-amt span { font-size: 12px; color: var(--ink-3); font-weight: 400; margin-left: 2px; }
.tk-card h4 { font-size: 15px; font-weight: 700; line-height: 1.55; margin: 12px 0 6px; }
.tk-info { font-size: 12px; color: var(--ink-3); line-height: 1.7; }
.tk-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tk-bid { font-size: 12px; color: var(--ink-3); }
.tk-bid b { color: var(--blue-d); font-family: var(--font-mono); font-size: 15px; }
.mini-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.mini-card { display: flex; gap: 14px; align-items: center; padding: 18px 20px; }
.mc-ico { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(150deg, var(--gold-t), #f3e7cb); color: var(--gold-d); display: flex; align-items: center; justify-content: center; flex: none; }
.mc-ico .ico { width: 22px; height: 22px; }
.mini-card b { font-size: 14px; display: block; line-height: 1.4; }
.mini-card span { font-size: 12px; color: var(--ink-3); }
.mini-card .mc-val { margin-left: auto; font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--teal); flex: none; }

/* 03 全国工软赛事 */
.ev-banner { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 22px; background: linear-gradient(120deg, var(--navy-900), #15304f); border: 1px solid rgba(120,155,210,.2); }
.evb-left { padding: 34px 38px; position: relative; }
.evb-left .lvl { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-2); font-size: 12px; letter-spacing: .24em; font-weight: 700; border: 1px solid rgba(201,165,92,.45); padding: 5px 13px; border-radius: 3px; }
.evb-left h3 { color: #fff; font-size: 26px; font-weight: 800; letter-spacing: .08em; margin: 16px 0 10px; }
.evb-left p { color: rgba(230,240,252,.62); font-size: 13.5px; line-height: 1.8; max-width: 520px; }
.evb-stats { display: flex; gap: 30px; margin-top: 20px; flex-wrap: wrap; }
.evb-stats .m b { display: block; font-family: var(--font-mono); color: var(--gold-2); font-size: 22px; font-weight: 700; }
.evb-stats .m span { color: rgba(255,255,255,.45); font-size: 11.5px; letter-spacing: .06em; }
.evb-right { position: relative; background: linear-gradient(150deg, #132a48, var(--navy-950)); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding: 30px; border-left: 1px solid rgba(255,255,255,.08); }
.evb-cd { font-family: var(--font-mono); font-size: 30px; font-weight: 700; color: #fff; }
.evb-cd i { font-style: normal; color: var(--gold); }
.ev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ev-card { display: flex; flex-direction: column; overflow: hidden; cursor: pointer; }
.ev-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ev-body h4 { font-size: 15px; font-weight: 700; margin: 10px 0 6px; line-height: 1.5; }
.ev-body p { font-size: 12.5px; color: var(--ink-2); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-steps { display: flex; gap: 4px; margin-top: 14px; }
.ev-step { flex: 1; height: 5px; border-radius: 3px; background: #e6ebf2; }
.ev-step.done { background: var(--blue); }
.ev-step.now { background: var(--gold); }
.ev-steps-label { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--ink-3); margin-top: 6px; }
.ev-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }

/* 04 优质典型行业案例 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { display: flex; flex-direction: column; overflow: hidden; cursor: pointer; }
.case-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.case-body h4 { font-size: 15.5px; font-weight: 700; line-height: 1.55; margin: 10px 0 8px; }
.case-body p { font-size: 13px; color: var(--ink-2); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case-metric { display: flex; align-items: center; gap: 10px; margin: 14px 0; background: linear-gradient(90deg, var(--gold-t), transparent); border-left: 3px solid var(--gold); padding: 8px 12px; border-radius: 0 6px 6px 0; }
.case-metric b { font-family: var(--font-mono); font-size: 17px; color: var(--gold-d); }
.case-metric span { font-size: 12px; color: var(--ink-2); }
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; }

/* 05 人才供需大厅 */
.t-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.ts-item { display: flex; align-items: center; gap: 16px; padding: 20px 22px; }
.ts-ico { width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.ts-ico .ico { width: 22px; height: 22px; }
.ts-item b { font-family: var(--font-mono); font-size: 26px; font-weight: 700; display: block; line-height: 1.15; }
.ts-item span { font-size: 12.5px; color: var(--ink-3); }
.t-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.t-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); }
.t-panel-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.t-panel-head b { font-size: 16px; letter-spacing: .04em; }
.t-list { padding: 8px; }
.job-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 14px; border-radius: var(--r-md); transition: background .2s; cursor: pointer; }
.job-item:hover { background: var(--bg); }
.j-main { flex: 1; min-width: 0; }
.j-title { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.j-org { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; }
.j-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.j-side { text-align: right; flex: none; }
.j-salary { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--gold-d); }
.j-match { font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.talent-item { display: flex; gap: 14px; padding: 16px 14px; border-radius: var(--r-md); transition: background .2s; cursor: pointer; }
.talent-item:hover { background: var(--bg); }
.avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: #fff; }
.av-0 { background: linear-gradient(140deg, #4a7bc4, #2f5ca8); }
.av-1 { background: linear-gradient(140deg, #8a6fd0, #6a55b8); }
.av-2 { background: linear-gradient(140deg, #4fb693, #2e8a6b); }
.talent-item b { font-size: 14.5px; }
.talent-item .lv { font-size: 10.5px; font-family: var(--font-mono); color: var(--gold-d); background: var(--gold-t); border-radius: 3px; padding: 1px 6px; margin-left: 6px; font-weight: 700; }
.talent-item .sch { font-size: 12px; color: var(--ink-3); margin: 2px 0 8px; }
.t-cta { margin-top: 14px; padding: 18px 22px; background: linear-gradient(120deg, var(--navy-900), #12253f); border-radius: var(--r-lg); display: flex; justify-content: space-between; align-items: center; color: #fff; gap: 14px; flex-wrap: wrap; }
.t-cta b { font-size: 15px; letter-spacing: .06em; }
.t-cta span { display: block; font-size: 12px; color: rgba(255,255,255,.5); margin-top: 3px; font-weight: 400; }

/* 06 生态联盟风采 */
.eco-row { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); padding: 18px 22px; margin-bottom: 16px; }
.eco-row-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eco-row-head .ico { width: 16px; height: 16px; }
.eco-row-head b { font-size: 14px; letter-spacing: .06em; }
.eco-row-head .cnt { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.eco-row-head .cnt b { color: var(--blue-d); font-size: 14px; margin: 0 2px; }
.logo-wall { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.logo-tile { height: 44px; border: 1px solid var(--line); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .03em; background: linear-gradient(180deg, #fff, #f7f9fc); transition: all .22s; cursor: default; overflow: hidden; padding: 0 6px; white-space: nowrap; }
.logo-tile:hover { border-color: var(--blue); color: var(--blue-d); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.logo-more { border-style: dashed; border-color: var(--gold); color: var(--gold-d); background: var(--gold-t); font-family: var(--font-mono); font-weight: 700; }
.eco-panels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.ep-card { padding: 20px; display: flex; flex-direction: column; }
.ep-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ep-head .ico { width: 17px; height: 17px; }
.ep-head b { font-size: 14.5px; letter-spacing: .04em; }
.ep-head .link-arrow { margin-left: auto; font-size: 12px; }
.bar-row { display: grid; grid-template-columns: 52px 1fr 34px; align-items: center; gap: 10px; margin-bottom: 11px; font-size: 12px; }
.bar-row .n { color: var(--ink-2); }
.bar-row .v { font-family: var(--font-mono); color: var(--ink-3); text-align: right; }
.bo { height: 6px; background: #edf1f6; border-radius: 3px; overflow: hidden; }
.bo i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-2)); width: 0; transition: width 1.2s cubic-bezier(.2,.7,.3,1); }
.ep-card.in .bo i { width: var(--w); }
.chipset { display: flex; flex-wrap: wrap; gap: 7px; }
.chipset .grp { width: 100%; font-size: 11px; color: var(--ink-3); letter-spacing: .1em; margin-top: 6px; }
.chipset .grp:first-child { margin-top: 0; }
.cs-chip { height: 26px; padding: 0 11px; border-radius: 4px; font-size: 12px; display: inline-flex; align-items: center; background: #eff3f8; color: var(--ink-2); border: 1px solid transparent; transition: all .2s; cursor: pointer; }
.cs-chip:hover { background: var(--teal-t); color: #1e6b50; border-color: rgba(46,138,107,.3); }
.chain { display: flex; flex-direction: column; gap: 0; }
.chain .ch { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 12.5px; color: var(--ink-2); }
.chain .ch b { width: 56px; flex: none; font-size: 11.5px; color: var(--gold-d); letter-spacing: .06em; }
.chain .ch .arr { width: 12px; height: 12px; color: var(--ink-3); opacity: .5; flex: none; }
.expert { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.expert:last-child { border-bottom: none; }
.expert .avatar { width: 38px; height: 38px; font-size: 13px; }
.expert .ex-t b { font-size: 13.5px; display: block; }
.expert .ex-t span { font-size: 11.5px; color: var(--ink-3); }
.expert .btn { margin-left: auto; }

/* 分区响应式 */
@media (max-width: 1100px) {
  .p-bento { grid-template-columns: repeat(2, 1fr); }
  .p-feat { grid-column: span 2; }
  .tk-grid, .ev-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-panels { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .t-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .sd-num { font-size: 34px; }
  .sd-title { font-size: 18px; }
  .sd-more, .sd-ruler { display: none; }
  .p-bento { grid-template-columns: 1fr; }
  .p-feat { grid-column: span 1; flex-direction: column; }
  .p-feat .pf-cover { width: 100%; height: 160px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .tk-banner, .ev-banner { display: flex; flex-direction: column; }
  .tb-side, .evb-right { width: 100%; border-left: none; border-top: 1px solid rgba(255,255,255,.08); }
  .tk-grid, .ev-grid, .case-grid, .mini-strip, .t-stats { grid-template-columns: 1fr; }
  .eco-panels { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   8. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0a2c52; color: rgba(255,255,255,0.72);
  padding: 56px 0 0;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(211, 172, 92, 0.6), transparent);
}
.site-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer__brand .brand__name b { color: #fff; }
.site-footer__brand .brand__name span { color: rgba(255,255,255,0.5); }
.site-footer__about { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.8; max-width: 360px; }
.site-footer h5 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: 0.06em; }
.site-footer__links li { margin-bottom: 10px; }
.site-footer__links a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color var(--dur) var(--ease); }
.site-footer__links a:hover { color: #fff; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; text-align: center;
  font-size: 12.5px; color: rgba(255,255,255,0.45);
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   9. 动效：scroll reveal / stagger
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   10. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .stat-band__grid { grid-template-columns: repeat(4, 1fr); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .mega-panel__intro { display: none; }
  .mega-panel__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-actions .btn--ghost { display: none; }
  .stat-band { margin-top: -48px; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .stat-band__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 26px 14px 22px; }
  .stat-card__num { font-size: 34px; }
  .stat-card__num .unit { font-size: 16px; }
  .hero__title { font-size: 34px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================================
   以下为 登录页 / 驾驶舱 专用样式
   ========================================================================== */

/* --- 登录页 --- */
.auth-body { background: #07182e; overflow: hidden; }
.auth-shell { position: relative; min-height: 100vh; display: grid; grid-template-columns: 1fr 1.15fr; }
.auth-shell__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 600px at 82% 30%, rgba(23, 74, 130, 0.5), transparent 60%),
    radial-gradient(700px 500px at 12% 80%, rgba(14, 122, 214, 0.22), transparent 60%),
    linear-gradient(160deg, #07182e 0%, #0a2544 55%, #0c2f55 100%);
}
.auth-shell__flow { position: absolute; inset: 0; z-index: 1; opacity: 0.5; }

.auth-panel { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 48px; }
.auth-card {
  width: 100%; max-width: 430px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 20px;
  padding: 44px 42px;
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  color: #fff;
}
.auth-card__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.auth-card__brand b { font-size: 17px; color: #fff; letter-spacing: 0.03em; }
.auth-card__brand span { display: block; font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.16em; }
.auth-card h1 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.auth-card > p { font-size: 13.5px; color: rgba(255,255,255,0.6); margin-bottom: 30px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: rgba(255,255,255,0.78); margin-bottom: 8px; letter-spacing: 0.03em; }
.field input {
  width: 100%; height: 46px; padding: 0 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  color: #fff; font-size: 14.5px; font-family: inherit;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field input::placeholder { color: rgba(255,255,255,0.35); }
.field input:focus { outline: none; border-color: rgba(47, 155, 232, 0.8); background: rgba(255,255,255,0.1); }
.field--row { display: flex; align-items: center; justify-content: space-between; }
.field--row label { margin-bottom: 0; }
.field--row a { font-size: 12.5px; color: rgba(47,155,232,0.9); }

.auth-card .btn { width: 100%; height: 48px; font-size: 15px; }
.auth-card .btn--primary { background: linear-gradient(135deg, #0e7ad6, #0b3a6b); }
.auth-alt { margin-top: 22px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.55); }
.auth-alt a { color: rgba(47,155,232,0.9); margin-left: 6px; }

/* 3D 中枢展示区 */
.auth-visual { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.auth-visual__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-visual__caption {
  position: absolute; bottom: 48px; left: 0; right: 0; text-align: center;
  color: rgba(255,255,255,0.55); font-size: 12.5px; letter-spacing: 0.14em;
}

@media (max-width: 860px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-panel { padding: 24px; }
  .auth-card { padding: 34px 26px; }
}

/* --- 数字智能运营驾驶舱 --- */
.dash-body { background: #06141f; color: #dbe6f2; overflow-x: hidden; }
.dash-shell { position: relative; min-height: 100vh; padding: 20px; }
.dash-bg {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(1000px 500px at 50% -10%, rgba(14, 122, 214, 0.16), transparent 60%),
    linear-gradient(180deg, #06141f, #071a2a 50%, #06141f);
}
.dash-bg__grid {
  position: fixed; inset: 0; z-index: 0; opacity: 0.35;
  background-image:
    linear-gradient(rgba(47,155,232,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,155,232,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
}
.dash-content { position: relative; z-index: 2; max-width: 1600px; margin: 0 auto; }

.dash-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 4px 20px; }
.dash-header__title { display: flex; align-items: center; gap: 14px; }
.dash-header__title h1 { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 0.04em; }
.dash-header__title .tag { background: rgba(14,122,214,0.16); color: #4db3f0; border: 1px solid rgba(14,122,214,0.3); }
.dash-header__clock { font-family: var(--font-mono); font-size: 14px; color: #4db3f0; letter-spacing: 0.08em; }

.dash-kpi { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; margin-bottom: 18px; }
.dash-kpi__item {
  background: linear-gradient(180deg, rgba(20,40,60,0.85), rgba(12,26,40,0.85));
  border: 1px solid rgba(47,155,232,0.22);
  border-radius: 10px; padding: 18px 16px; position: relative; overflow: hidden;
}
.dash-kpi__item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, #4db3f0, transparent);
}
.dash-kpi__item b { display: block; font-family: var(--font-mono); font-size: 28px; color: #fff; font-weight: 700; line-height: 1; }
.dash-kpi__item b .unit { font-size: 13px; color: #4db3f0; font-weight: 500; margin-left: 2px; }
.dash-kpi__item span { display: block; margin-top: 8px; font-size: 12px; color: #7fa6c6; letter-spacing: 0.04em; }
.dash-kpi__item .trend { position: absolute; right: 12px; top: 12px; font-size: 11px; color: #57d68a; }

.dash-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.dash-panel {
  background: linear-gradient(180deg, rgba(16,34,52,0.8), rgba(10,22,34,0.8));
  border: 1px solid rgba(47,155,232,0.18);
  border-radius: 12px; padding: 18px;
  position: relative;
}
.dash-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dash-panel__head h3 { font-size: 15px; color: #eaf3fb; font-weight: 600; letter-spacing: 0.03em; }
.dash-panel__head h3::before { content: ""; display: inline-block; width: 3px; height: 14px; background: #4db3f0; border-radius: 2px; margin-right: 8px; vertical-align: -2px; }
.dash-panel__head .hint { font-size: 11.5px; color: #6a8aa8; }
.dash-panel__canvas { width: 100%; }

/* 驾驶舱指标列表 */
.dash-metric-list { display: flex; flex-direction: column; gap: 10px; }
.dash-metric {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  background: rgba(20,40,60,0.5);
  border: 1px solid rgba(47,155,232,0.14);
  border-radius: 8px;
}
.dash-metric span { flex: 1; font-size: 13px; color: #7fa6c6; }
.dash-metric b { font-family: var(--font-mono); font-size: 22px; color: #fff; font-weight: 700; }
.dash-metric i { font-style: normal; font-size: 12px; color: #4db3f0; }

/* 实时动态流 */
.dash-feed { display: flex; flex-direction: column; }
.dash-feed__item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(47,155,232,0.1);
}
.dash-feed__item:last-child { border-bottom: none; }
.dash-feed__item .time { font-family: var(--font-mono); font-size: 12.5px; color: #4db3f0; flex-shrink: 0; }
.dash-feed__item .dot-p { width: 6px; height: 6px; border-radius: 50%; background: #4db3f0; flex-shrink: 0; box-shadow: 0 0 8px #4db3f0; }
.dash-feed__item p { font-size: 13.5px; color: #c3d5e4; }
.dash-feed__item p b { color: #eaf3fb; font-weight: 600; }

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

@media (max-width: 1100px) {
  .dash-kpi { grid-template-columns: repeat(4, 1fr); }
  .col-3, .col-4, .col-5, .col-6, .col-7 { grid-column: span 6; }
}
@media (max-width: 700px) {
  .dash-kpi { grid-template-columns: repeat(2, 1fr); }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 12; }
}

/* ==========================================================================
   右侧隐藏式锚点导航（首页板块快捷导航）
   ========================================================================== */
.side-nav {
  position: fixed;
  right: 0; top: 50%;
  transform: translateY(-50%) translateX(calc(100% - 30px));
  z-index: 900;
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 12px 14px 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-right: none;
  border-radius: 12px 0 0 12px;
  box-shadow: -6px 0 22px rgba(18, 35, 61, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.45s var(--ease);
}
.side-nav:hover { transform: translateY(-50%) translateX(0); }
.side-nav__item {
  display: flex; align-items: center; gap: 12px;
  height: 38px; padding: 0 12px 0 6px;
  border-radius: 8px;
  font-size: 13px; color: var(--ink-2);
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.side-nav__item .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line-2); flex-shrink: 0;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.side-nav__item span {
  opacity: 0; transform: translateX(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.side-nav:hover .side-nav__item span { opacity: 1; transform: translateX(0); }
.side-nav__item:hover { color: var(--primary); background: var(--accent-soft); }
.side-nav__item.is-active { color: var(--primary); }
.side-nav__item.is-active .dot { background: var(--accent); box-shadow: 0 0 0 3px rgba(14, 122, 214, 0.18); }

@media (max-width: 900px) {
  .side-nav { display: none; }
}
