/* ============================================================
   styles.css — P052 丝路智能·AI生产线 全局设计系统
   版本: v2.0 | 日期: 2026-06-17 | 定位: 编辑/人文主义·军团叙事
   ============================================================ */

/* ============================================================
   1. CSS 变量系统 — 军衔色·师徽色·状态色·字体层级
   ============================================================ */

:root {
  /* ── 品牌色 (TASTE宪法锁定) ── */
  --brand-blue: #4f8fff;
  --brand: #4f8fff;
  --brand-orange: #f97316;
  --brand-dark: #0a0e14;

  /* ── 军衔色 (军团体系专属) ── */
  --rank-commander: #4f8fff;    /* 指挥官蓝 */
  --rank-general: #4488ee;      /* 将军蓝 */
  --rank-colonel: #5a92d8;      /* 上校蓝 */
  --rank-major: #6a9cb0;        /* 少校钢蓝 */
  --rank-captain: #80b0c0;      /* 上尉青 */
  --rank-soldier: #8896b0;      /* 战士灰 */

  /* ── 师徽色 (17师识别色) ── */
  --div-strategy: #4f8fff;      /* 战略指挥部 */
  --div-engineering: #5c95e8;   /* 工程类 */
  --div-product: #4890e0;       /* 产品类 */
  --div-creative: #6aa0d0;      /* 创意类 */
  --div-operations: #5888c8;    /* 运营类 */
  --div-support: #7090b8;       /* 支持类 */

  /* ── 状态色 ── */
  --status-active: #4f8fff;     /* 活跃 */
  --status-alert: #f97316;      /* 警戒 */
  --status-success: #22c55e;    /* 成功 */
  --status-warning: #eab308;    /* 警告 */
  --status-offline: #5a6880;    /* 离线 */

  /* ── 暗色模式 (默认·军团深底色) ── */
  --bg: #0a0e14;
  --sf: #111620;
  --sr: #161c28;
  --bg-primary: #0a0e14;
  --bg-secondary: #111620;
  --bg-card: #161c28;
  --bg-hover: #1c2436;
  --bg-elevated: #1a2234;

  --t1: #e0e0e0;
  --t2: #8896b0;
  --t3: #5a6880;
  --text-primary: #e0e0e0;
  --text-secondary: #8896b0;
  --text-muted: #5a6880;

  --border: #1e2a3c;
  --border-light: #162032;
  --border-accent: rgba(79, 143, 255, 0.25);

  --accent-hover: #6aa4ff;
  --accent-muted: rgba(79, 143, 255, 0.12);
  --accent-glow: rgba(79, 143, 255, 0.08);
  --cta: #f97316;
  --cta-hover: #fb8f3c;
  --cta-muted: rgba(249, 115, 22, 0.1);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 24px rgba(79, 143, 255, 0.08);

  /* ── 间距 ── */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;

  /* ── 圆角 ── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;

  /* ── 导航 ── */
  --nav-height: 64px;

  /* ── 容器 ── */
  --container-max: 1200px;
  --container-narrow: 900px;
  --container-padding: 24px;

  /* ── 字体层级 ── */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue",
               Arial, sans-serif;
  --font-display: "PingFang SC", "Noto Sans SC", "Microsoft YaHei",
                  var(--font-sans);
  --font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono",
               "Menlo", "Courier New", monospace;

  /* 字号层级 */
  --fs-display: clamp(36px, 5.5vw, 56px);
  --fs-h1: clamp(28px, 4.5vw, 44px);
  --fs-h2: clamp(24px, 3.5vw, 34px);
  --fs-h3: clamp(20px, 2.5vw, 26px);
  --fs-h4: clamp(17px, 2vw, 21px);
  --fs-body: 15px;
  --fs-sm: 13px;
  --fs-xs: 12px;

  /* 字重 */
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;
  --fw-medium: 500;
  --fw-regular: 400;

  /* 行高 */
  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;

  /* 过渡 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.3s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);
}

/* ── 亮色模式: 系统偏好 ── */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f6f9;
    --sf: #edf0f5;
    --sr: #ffffff;
    --bg-primary: #f4f6f9;
    --bg-secondary: #edf0f5;
    --bg-card: #ffffff;
    --bg-hover: #e8ecf2;
    --bg-elevated: #fafbfc;

    --t1: #1a2130;
    --t2: #4a5568;
    --t3: #8a96a8;
    --text-primary: #1a2130;
    --text-secondary: #4a5568;
    --text-muted: #8a96a8;

    --border: #dde3ed;
    --border-light: #eef1f7;
    --border-accent: rgba(59, 130, 246, 0.2);

    --brand: #3b7ce6;
    --brand-blue: #3b7ce6;
    --accent-hover: #2260cc;
    --accent-muted: rgba(59, 124, 230, 0.08);
    --accent-glow: rgba(59, 124, 230, 0.04);
    --cta: #e5650e;
    --cta-hover: #c24e0a;
    --cta-muted: rgba(229, 101, 14, 0.08);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(59, 124, 230, 0.06);

    --rank-commander: #3b7ce6;
    --rank-general: #3a6fd4;
    --rank-colonel: #4a7cc0;
    --rank-major: #5a88a8;
    --rank-captain: #7098a8;
    --rank-soldier: #6a7a90;

    --status-active: #3b7ce6;
    --status-offline: #8a96a8;
  }
}

/* ── 亮色模式: 手动切换 ── */
[data-theme="light"] {
  --bg: #f4f6f9;
  --sf: #edf0f5;
  --sr: #ffffff;
  --bg-primary: #f4f6f9;
  --bg-secondary: #edf0f5;
  --bg-card: #ffffff;
  --bg-hover: #e8ecf2;
  --bg-elevated: #fafbfc;

  --t1: #1a2130;
  --t2: #4a5568;
  --t3: #8a96a8;
  --text-primary: #1a2130;
  --text-secondary: #4a5568;
  --text-muted: #8a96a8;

  --border: #dde3ed;
  --border-light: #eef1f7;
  --border-accent: rgba(59, 130, 246, 0.2);

  --brand: #3b7ce6;
  --brand-blue: #3b7ce6;
  --accent-hover: #2260cc;
  --accent-muted: rgba(59, 124, 230, 0.08);
  --accent-glow: rgba(59, 124, 230, 0.04);
  --cta: #e5650e;
  --cta-hover: #c24e0a;
  --cta-muted: rgba(229, 101, 14, 0.08);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(59, 124, 230, 0.06);

  --rank-commander: #3b7ce6;
  --rank-general: #3a6fd4;
  --rank-colonel: #4a7cc0;
  --rank-major: #5a88a8;
  --rank-captain: #7098a8;
  --rank-soldier: #6a7a90;

  --status-active: #3b7ce6;
  --status-offline: #8a96a8;
}

/* ============================================================
   2. CSS Reset
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--t1);
  background-color: var(--bg);
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
picture { display: block; }

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--accent-hover); }

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--t1);
  font-family: var(--font-display);
}

h1 { font-size: var(--fs-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

/* ============================================================
   3. 容器与布局
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-alt {
  background-color: var(--sf);
}

.section-sm {
  padding: var(--space-3xl) 0;
}

.page-hero {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--container-padding) var(--space-3xl);
  background-color: var(--sf);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { margin-bottom: var(--space-md); }
.page-hero p {
  color: var(--t2);
  font-size: clamp(16px, 2.5vw, 19px);
  max-width: 640px;
}

/* Grids */
.grid-2, .grid-3, .grid-4, .grid-5, .grid-6 {
  display: grid;
  gap: var(--space-lg);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* ============================================================
   4. 按钮体系 (军衔风格)
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px 22px;
  font-size: 15px;
  font-weight: var(--fw-bold);
  line-height: 1.5;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--brand-blue);
  border-color: var(--border-accent);
}
.btn-outline:hover {
  background-color: var(--accent-muted);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.btn-ghost {
  background: transparent;
  color: var(--brand-blue);
}
.btn-ghost:hover {
  background-color: var(--accent-muted);
  color: var(--brand-blue);
}

.btn-cta {
  background-color: var(--cta);
  color: #fff;
  border-color: var(--cta);
}
.btn-cta:hover {
  background-color: var(--cta-hover);
  border-color: var(--cta-hover);
  color: #fff;
}

.btn-lg {
  padding: 14px 34px;
  font-size: 17px;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 13px;
}

.btn-block { width: 100%; }

/* ============================================================
   5. 导航栏 (Nav) — 军团暗色风
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background var(--transition-base),
              box-shadow var(--transition-base);
}

.site-header.scrolled {
  background: rgba(10, 14, 20, 0.95);
  box-shadow: 0 1px 0 rgba(79, 143, 255, 0.06),
              0 4px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(244, 246, 249, 0.95);
  box-shadow: 0 1px 0 rgba(59, 124, 230, 0.06),
              0 4px 24px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 18px;
  font-weight: var(--fw-extrabold);
  color: var(--t1);
  text-decoration: none;
  flex-shrink: 0;
  font-family: var(--font-display);
}
.nav-logo:hover { color: var(--brand-blue); }





/* 桌面菜单 */
.nav-menu ul {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-menu a {
  color: var(--t2);
  font-size: 14px;
  font-weight: var(--fw-medium);
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast),
              border-color var(--transition-fast);
  letter-spacing: 0.02em;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* 主题切换按钮 */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t2);
  transition: background var(--transition-fast),
              color var(--transition-fast);
}
.theme-toggle:hover {
  background: var(--bg-hover);
  color: var(--brand-blue);
}

/* 移动端汉堡菜单 */
.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.menu-toggle:hover { background: var(--bg-hover); }
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--t1);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   6. 页脚 (Footer)
   ============================================================ */

.site-footer {
  background-color: var(--sf);
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: var(--fw-extrabold);
  color: var(--t1);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col a {
  color: var(--t2);
  font-size: 14px;
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--brand-blue); }

.footer-legal {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.footer-legal p {
  font-size: var(--fs-xs);
  color: var(--t3);
  text-align: center;
}

/* ============================================================
   7. Hero 首页 — 军团主视觉
   ============================================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(79,143,255,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(249,115,22,0.04) 0%, transparent 45%),
    var(--bg);
}

/* 军团网格线 */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,143,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,143,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* 军团光晕 */
.hero-bg::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  left: 50%;
  top: 30%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(79,143,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  padding: 0 var(--container-padding);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--accent-muted);
  border: 1px solid var(--border-accent);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--brand-blue);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.03em;
}

.hero-title {
  font-size: var(--fs-display);
  font-weight: var(--fw-black);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-family: var(--font-display);
  color: var(--t1);
}

.hero-title .accent { color: var(--brand-blue); }
.hero-title .accent-orange { color: var(--brand-orange); }

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--t2);
  margin-bottom: var(--space-2xl);
  line-height: var(--lh-relaxed);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   8. 动画系统
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 延迟变体 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* 军团数字计数动画 */
.count-up {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   9. 回到顶部
   ============================================================ */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--brand-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--transition-base),
              transform var(--transition-base),
              background var(--transition-fast);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--accent-hover); }

/* ============================================================
   10. 卡片组件体系 (7种)
   ============================================================ */

/* ── 10.1 通用卡片底座 ── */
.card {
  background: var(--sr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

/* ── 10.2 师徽卡 Division Badge Card ── */
.division-card {
  background: var(--sr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.division-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--div-color, var(--brand-blue));
  transition: width var(--transition-base);
}
.division-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}
.division-card:hover::before { width: 5px; }

.division-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.division-card__badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--div-color, var(--brand-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: var(--fw-extrabold);
  font-size: 18px;
  flex-shrink: 0;
}
.division-card__name {
  font-size: 17px;
  font-weight: var(--fw-bold);
  color: var(--t1);
  margin-bottom: 2px;
}
.division-card__code {
  font-size: var(--fs-xs);
  color: var(--t3);
  letter-spacing: 0.06em;
}
.division-card__commander {
  font-size: var(--fs-sm);
  color: var(--div-color, var(--brand-blue));
  font-weight: var(--fw-medium);
}
.division-card__stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}
.division-card__stat {
  text-align: center;
  flex: 1;
}
.division-card__stat-value {
  font-size: 20px;
  font-weight: var(--fw-extrabold);
  color: var(--t1);
}
.division-card__stat-label {
  font-size: 11px;
  color: var(--t3);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── 10.3 Agent卡 ── */
.agent-card {
  background: var(--sr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}
.agent-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.agent-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.agent-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-muted);
  border: 2px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-blue);
  font-weight: var(--fw-extrabold);
  font-size: 18px;
}
.agent-card__info { flex: 1; min-width: 0; }
.agent-card__name {
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--t1);
  line-height: 1.3;
}
.agent-card__role {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--brand-blue);
  background: var(--accent-muted);
  padding: 2px 10px;
  border-radius: 100px;
  margin-top: 4px;
}
.agent-card__duty {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--t2);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-sm);
}
.agent-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--t3);
}
.agent-card__kpi-value { color: var(--brand-blue); font-weight: var(--fw-bold); }

/* ── 10.4 流程卡 Process Card ── */
.process-card {
  background: var(--sr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  position: relative;
  transition: all var(--transition-base);
}
.process-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.process-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-muted);
  color: var(--brand-blue);
  font-weight: var(--fw-extrabold);
  font-size: 18px;
  margin-bottom: var(--space-md);
  border: 2px solid var(--border-accent);
}
.process-card__title {
  font-size: 18px;
  font-weight: var(--fw-bold);
  color: var(--t1);
  margin-bottom: var(--space-sm);
}
.process-card__desc {
  font-size: var(--fs-sm);
  color: var(--t2);
  line-height: var(--lh-relaxed);
}

.process-connector {
  position: absolute;
  top: 48px;
  right: -30px;
  color: var(--border-accent);
  font-size: 20px;
  z-index: 1;
}
.process-card:last-child .process-connector { display: none; }

/* ── 10.5 产品卡 Product Card ── */
.product-card {
  background: var(--sr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.product-card__visual {
  aspect-ratio: 16/10;
  background: var(--sf);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.product-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card__icon-placeholder {
  font-size: 48px;
  opacity: 0.6;
}
.product-card__body {
  padding: var(--space-xl);
}
.product-card__title {
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--t1);
  margin-bottom: var(--space-sm);
}
.product-card__desc {
  font-size: var(--fs-sm);
  color: var(--t2);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
}
.product-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.product-card__tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--accent-muted);
  color: var(--brand-blue);
  font-weight: var(--fw-medium);
}
.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--brand-blue);
  transition: gap var(--transition-fast);
}
.product-card__cta:hover { gap: 8px; color: var(--accent-hover); }

/* ── 10.6 技能卡 Skill Card ── */
.skill-card {
  background: var(--sr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.skill-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.skill-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 22px;
}
.skill-card__title {
  font-size: 17px;
  font-weight: var(--fw-bold);
  color: var(--t1);
}
.skill-card__desc {
  font-size: var(--fs-sm);
  color: var(--t2);
  line-height: var(--lh-relaxed);
}
.skill-card__meter {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
  margin-top: auto;
}
.skill-card__meter-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--brand-blue);
  transition: width 1s var(--ease-out);
}

/* ── 10.7 信任卡 Trust Card ── */
.trust-card {
  background: var(--sr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}
.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.trust-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 24px;
}
.trust-card__value {
  font-size: 32px;
  font-weight: var(--fw-extrabold);
  color: var(--brand-blue);
  margin-bottom: var(--space-xs);
}
.trust-card__label {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--t1);
  margin-bottom: var(--space-xs);
}
.trust-card__desc {
  font-size: var(--fs-xs);
  color: var(--t3);
  line-height: var(--lh-relaxed);
}

/* ============================================================
   11. 数据带 (Stats Band)
   ============================================================ */

.stats-band {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  padding: var(--space-2xl) 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: var(--fw-black);
  color: var(--brand-blue);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: var(--fs-sm);
  color: var(--t2);
  margin-top: var(--space-xs);
  font-weight: var(--fw-medium);
}

.stat-suffix {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: var(--fw-extrabold);
  color: var(--brand-blue);
  vertical-align: super;
  margin-left: 2px;
}

/* ============================================================
   12. 军衔徽章 (Rank Badge)
   ============================================================ */

.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
}

.rank-badge--commander {
  background: rgba(79, 143, 255, 0.12);
  color: var(--rank-commander);
  border: 1px solid rgba(79, 143, 255, 0.2);
}
.rank-badge--general {
  background: rgba(68, 136, 238, 0.1);
  color: var(--rank-general);
  border: 1px solid rgba(68, 136, 238, 0.18);
}
.rank-badge--colonel {
  background: rgba(90, 146, 216, 0.1);
  color: var(--rank-colonel);
  border: 1px solid rgba(90, 146, 216, 0.15);
}

/* ============================================================
   13. 时间线
   ============================================================ */

.timeline {
  position: relative;
  padding-left: 120px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline__item {
  position: relative;
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg);
  background: var(--sr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.timeline__item:last-child { margin-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: -74px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-blue);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--accent-muted);
  z-index: 1;
}

.timeline__year {
  position: absolute;
  left: -108px;
  top: 24px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-extrabold);
  color: var(--brand-blue);
  white-space: nowrap;
}

.timeline__title {
  font-size: 17px;
  font-weight: var(--fw-bold);
  color: var(--t1);
  margin-bottom: var(--space-xs);
}

.timeline__desc {
  font-size: var(--fs-sm);
  color: var(--t2);
  line-height: var(--lh-relaxed);
}

/* ============================================================
   14. 资质墙 (Cert Wall)
   ============================================================ */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.cert-card {
  background: var(--sr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}
.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.cert-card__icon {
  font-size: 40px;
  margin-bottom: var(--space-md);
}

.cert-card__title {
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--t1);
  margin-bottom: var(--space-sm);
}

.cert-card__detail {
  font-size: var(--fs-sm);
  color: var(--t2);
  line-height: var(--lh-relaxed);
}

/* ============================================================
   15. 指挥链拓扑 (Command Topology)
   ============================================================ */

.topology-section {
  text-align: center;
  padding: var(--space-2xl) 0;
}

.topology-node {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--sr);
  margin: var(--space-sm);
  transition: all var(--transition-fast);
}
.topology-node:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.topology-node--root {
  border-color: var(--brand-blue);
  background: var(--accent-muted);
}

.topology-node__name {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--t1);
}

.topology-node__rank {
  font-size: 11px;
  color: var(--t3);
}

.topology-connector {
  display: block;
  color: var(--border-accent);
  padding: 4px 0;
}

/* ============================================================
   16. CTA 区
   ============================================================ */

.cta-section {
  text-align: center;
  background: var(--sf);
  border-top: 1px solid var(--border);
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: var(--t2);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--fs-body);
}

/* ============================================================
   17. 对比表格
   ============================================================ */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-weight: var(--fw-extrabold);
  color: var(--t1);
  background: var(--sf);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table td { color: var(--t2); }
.comparison-table tr:hover td { background: var(--bg-hover); }

/* ============================================================
   18. FAQ
   ============================================================ */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--sr);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  font-size: 15px;
  font-weight: var(--fw-bold);
  color: var(--t1);
  cursor: pointer;
  transition: background var(--transition-fast);
  text-align: left;
}
.faq-question:hover { background: var(--bg-hover); }

.faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--accent-muted);
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: var(--fw-extrabold);
  flex-shrink: 0;
}

.faq-q-text { flex: 1; }

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t3);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.faq-item.open .faq-toggle-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base),
              opacity var(--transition-base),
              padding var(--transition-base);
  opacity: 0;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-answer p {
  padding: 0 var(--space-lg) var(--space-md)
           calc(var(--space-lg) + 28px + var(--space-md));
  font-size: var(--fs-sm);
  color: var(--t2);
  line-height: var(--lh-relaxed);
}

/* ============================================================
   19. 联系表单
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-muted);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon svg { width: 24px; height: 24px; }
.contact-item h4 { font-size: 16px; margin-bottom: var(--space-xs); }
.contact-item p { font-size: var(--fs-sm); color: var(--t2); }

.form-group { margin-bottom: var(--space-lg); }

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--t1);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--t1);
  font-size: 15px;
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.company-info-card {
  background: var(--sf);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.company-info-card h4 { margin-bottom: var(--space-md); }

.company-info-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-sm) var(--space-md);
  font-size: var(--fs-sm);
}

.company-info-card dt { color: var(--t3); }
.company-info-card dd { color: var(--t2); }

/* ============================================================
   20. 军团粒子效果
   ============================================================ */

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--brand-blue);
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat 3s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-12px) scale(1.5); opacity: 0.7; }
}

/* ============================================================
   21. 军团脉冲效果
   ============================================================ */

@keyframes legionPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79, 143, 255, 0.2); }
  50% { box-shadow: 0 0 0 10px rgba(79, 143, 255, 0); }
}

.pulse-ring { animation: legionPulse 2.5s ease-in-out infinite; }

/* ============================================================
   22. 通用工具类
   ============================================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--t3); }
.icp-record { color: var(--t3); font-size: 0.75rem; text-align: center; padding: var(--space-md) 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.accent { color: var(--brand-blue); }
.accent-orange { color: var(--brand-orange); }

/* ============================================================
   23. 响应式断点 — 375px (Mobile S)
   ============================================================ */

@media (max-width: 375px) {
  :root {
    --container-padding: 16px;
    --space-4xl: 48px;
    --space-3xl: 40px;
  }

  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 {
    grid-template-columns: 1fr;
  }

  .footer-links { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; }
  .stats-band { gap: var(--space-xl); flex-direction: column; }

  .hero-title { font-size: 26px; }
  .hero-subtitle { font-size: 15px; }
  .hero-badge { font-size: 11px; padding: 4px 12px; }

  .contact-grid { grid-template-columns: 1fr; }

  .division-card__stats { flex-direction: column; gap: var(--space-sm); }
  .timeline { padding-left: 60px; }
  .timeline::before { left: 24px; }
  .timeline__dot { left: -40px; }
  .timeline__year { left: -56px; font-size: 11px; }
}

/* ============================================================
   24. 响应式断点 — 768px (Tablet)
   ============================================================ */

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    padding: var(--space-xl) var(--container-padding);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-in-out);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }

  .nav-menu ul { flex-direction: column; gap: 0; }
  .nav-menu li { border-bottom: 1px solid var(--border); }
  .nav-menu a {
    display: block;
    padding: var(--space-md) 0;
    font-size: 17px;
    border-bottom: none;
  }
  .nav-menu a.active { border-bottom: none; color: var(--brand-blue); }

  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 {
    grid-template-columns: 1fr;
  }

  .footer-links { grid-template-columns: 1fr; gap: var(--space-lg); }

  .hero-title { font-size: clamp(24px, 7vw, 32px); }
  .hero-subtitle { font-size: 16px; }

  .back-to-top { bottom: 20px; right: 20px; }

  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-item { margin-bottom: var(--space-lg); }

  .stats-band { gap: var(--space-xl); }
  .stat-number { font-size: 28px; }
  .stat-suffix { font-size: 18px; }

  .timeline { padding-left: 60px; }
  .timeline::before { left: 24px; }
  .timeline__dot { left: -40px; width: 10px; height: 10px; }
  .timeline__year { left: -50px; top: 22px; font-size: 11px; }
  .timeline__item { padding: var(--space-md); }

  .page-hero {
    min-height: 200px;
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-2xl);
  }

  .process-card .process-connector { display: none; }

  .topology-section { padding: var(--space-lg) 0; }
  .topology-node { padding: var(--space-sm) var(--space-md); }
}

/* ============================================================
   25. 响应式断点 — 1024px (Desktop narrow)
   ============================================================ */

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }

  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .container { max-width: 960px; }

  .timeline { padding-left: 100px; }
  .timeline::before { left: 44px; }
  .timeline__dot { left: -60px; }
  .timeline__year { left: -90px; }
}

/* ============================================================
   26. 响应式断点 — 1025px+ (Desktop)
   ============================================================ */

@media (min-width: 1025px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .grid-6 { grid-template-columns: repeat(6, 1fr); }
  .container { max-width: var(--container-max); }
}

/* ============================================================
   27. 宽屏增强 — 1920px+
   ============================================================ */

@media (min-width: 1920px) {
  .container { max-width: 1400px; }
  body { font-size: 17px; }
  .hero-title { font-size: clamp(44px, 5vw, 60px); }
  .hero-bg::before { background-size: 100px 100px; }
}

/* Logo image */
.nav-logo-img { height: 40px; width: auto; display: block; border-radius: 50%; }
@media (max-width: 768px) { .nav-logo-img { height: 32px; } }

