/* ============================================================
   智启新途官网 · Design System v4
   品牌色：深科技蓝 #163B65 + 科技蓝 #1677FF + 青绿 #19B88A
   背景：#F7F9FC / #F1F5F9
   设计理念：教育专业感 + 科技现代感 + 企业服务感
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* ===== 品牌核心：深科技蓝 ===== */
  --brand-50:  #eef6ff;
  --brand-100: #d6e9ff;
  --brand-200: #aed0ff;
  --brand-300: #7bb0ff;
  --brand-400: #4790f7;
  --brand-500: #1a6fd4;
  --brand-600: #0d5bb5;
  --brand-700: #164d8c;
  --brand-800: #163B65;
  --brand-900: #0e2845;

  /* ===== 科技交互色 ===== */
  --accent-50:  #eef7ff;
  --accent-100: #d0e9ff;
  --accent-200: #9ed4ff;
  --accent-300: #6abaff;
  --accent-400: #3da0ff;
  --accent-500: #1677FF;
  --accent-600: #0d5fd4;
  --accent-700: #0a4bb0;

  /* ===== AI/ADE 强调色：青绿 ===== */
  --ade-50:  #e8f9f3;
  --ade-100: #c7f0e0;
  --ade-200: #9ae2c8;
  --ade-300: #67cfaa;
  --ade-400: #3fbd90;
  --ade-500: #19B88A;
  --ade-600: #13966e;
  --ade-700: #0f7a58;

  /* ===== 中性色 ===== */
  --white:      #ffffff;
  --bg-primary: #F7F9FC;
  --bg-secondary:#F1F5F9;
  --card-bg:    #ffffff;
  --border:     #E5EAF0;
  --border-strong:#cbd5e1;

  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-tertiary:  #94a3b8;
  --text-muted:     #64748b;

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

  /* ===== 圆角 ===== */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* ===== 阴影 ===== */
  --shadow-xs: 0 1px 2px rgba(22, 59, 101, 0.04);
  --shadow-sm: 0 1px 3px rgba(22, 59, 101, 0.06), 0 1px 2px rgba(22, 59, 101, 0.04);
  --shadow-md: 0 4px 12px rgba(22, 59, 101, 0.08), 0 1px 3px rgba(22, 59, 101, 0.05);
  --shadow-lg: 0 8px 24px rgba(22, 59, 101, 0.10), 0 2px 6px rgba(22, 59, 101, 0.06);
  --shadow-xl: 0 16px 48px rgba(22, 59, 101, 0.12), 0 4px 12px rgba(22, 59, 101, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(22, 59, 101, 0.14), 0 4px 12px rgba(22, 59, 101, 0.08);

  /* ===== 字体 ===== */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "SF Mono", "Fira Code", "JetBrains Mono", ui-monospace, monospace;

  /* ===== 动效 ===== */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* ===== 布局 ===== */
  --maxw: 1200px;
  --maxw-narrow: 960px;
  --header-h: 72px;

  /* ===== 旧变量兼容映射（全局收敛） ===== */
  --green-50:  var(--ade-50);
  --green-100: var(--ade-100);
  --green-200: var(--ade-200);
  --green-300: var(--ade-300);
  --green-400: var(--ade-400);
  --green-500: var(--ade-500);
  --green-600: var(--ade-600);
  --green-700: var(--ade-700);
  --green-800: var(--ade-600);
  --green-900: var(--ade-700);

  --blue-50:  var(--accent-50);
  --blue-100: var(--accent-100);
  --blue-200: var(--accent-200);
  --blue-300: var(--accent-300);
  --blue-400: var(--accent-400);
  --blue-500: var(--accent-500);
  --blue-600: var(--accent-600);
  --blue-700: var(--accent-700);

  --slate-50:  var(--bg-primary);
  --slate-100: var(--bg-secondary);
  --slate-200: var(--border);
  --slate-300: var(--border-strong);
  --slate-400: var(--text-muted);
  --slate-500: var(--text-tertiary);
  --slate-600: var(--text-secondary);
  --slate-700: var(--text-primary);
  --slate-800: var(--brand-800);
  --slate-900: var(--brand-900);

  --primary-50:  var(--brand-50);
  --primary-100: var(--brand-100);
  --primary-200: var(--brand-200);
  --primary-300: var(--brand-300);
  --primary-400: var(--brand-400);
  --primary-500: var(--brand-500);
  --primary-600: var(--brand-600);
  --primary-700: var(--brand-700);
  --primary-800: var(--brand-800);
  --primary-900: var(--brand-900);

  --teal-50:  var(--ade-50);
  --teal-100: var(--ade-100);
  --teal-200: var(--ade-200);
  --teal-300: var(--ade-300);
  --teal-400: var(--ade-400);
  --teal-500: var(--ade-500);
  --teal-600: var(--ade-600);
  --teal-700: var(--ade-700);

  --gray-50:  var(--bg-primary);
  --gray-100: var(--bg-secondary);
  --gray-200: var(--border);
  --gray-300: var(--border-strong);
  --gray-400: var(--text-muted);
  --gray-500: var(--text-tertiary);
  --gray-600: var(--text-secondary);
  --gray-700: var(--text-primary);
  --gray-800: var(--brand-800);
  --gray-900: var(--brand-900);
}

/* ---------- 2. Reset + Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ---------- 3. Typography ---------- */
.text-h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand-800);
  letter-spacing: -0.02em;
}
.text-h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-800);
  letter-spacing: -0.01em;
}
.text-h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--brand-800);
}
.text-h4 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--brand-800);
}
.text-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}
.text-body-sm {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.text-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-500);
  margin-bottom: var(--space-md);
}
.text-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent-500);
  border-radius: 2px;
}
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-brand { color: var(--brand-800); }
.text-accent { color: var(--accent-500); }
.text-ade { color: var(--ade-500); }

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.container-narrow { max-width: var(--maxw-narrow); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  border: 1.5px solid transparent;
  line-height: 1.4;
}
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

.btn-primary {
  background: var(--accent-500);
  color: var(--white);
  border-color: var(--accent-500);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-600);
  border-color: var(--accent-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--brand-800);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  background: var(--bg-secondary);
  border-color: var(--brand-300);
  color: var(--brand-800);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-white {
  background: var(--white);
  color: var(--brand-800);
  border-color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: var(--bg-primary);
  box-shadow: var(--shadow-md);
}

.btn-ade {
  background: var(--ade-500);
  color: var(--white);
  border-color: var(--ade-500);
  box-shadow: var(--shadow-sm);
}
.btn-ade:hover {
  background: var(--ade-600);
  border-color: var(--ade-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* ---------- 6. Header / Navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.96);
}
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand .word { display: none; }
.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.brand-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* ---- Logo 尺寸适配：导航/页脚横版 logo 按高度显示，不再受 40x40 方形裁剪 ---- */
.site-header .brand-icon,
.site-footer .brand-icon {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.site-header .brand-icon img {
  width: auto;
  height: 36px;
  object-fit: contain;
}
.site-footer .brand-icon img {
  width: auto;
  height: 44px;
  object-fit: contain;
}
/* 页脚深色背景下 logo 配套文字强制白色 */
.site-footer .brand .word { color: var(--white); }
.site-footer .brand .word small { color: rgba(255, 255, 255, 0.7); }
.brand .word {
  font-weight: 800;
  color: var(--brand-800);
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.brand .word small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s var(--ease-out);
  position: relative;
}
.nav-links a:hover {
  color: var(--brand-700);
  background: var(--brand-50);
}
.nav-links a.active {
  color: var(--brand-800);
  font-weight: 600;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-500);
  border-radius: 2px;
  transition: all 0.25s var(--ease-out);
  transform: translateX(-50%);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 20px;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta .btn {
  padding: 10px 20px;
  font-size: 0.88rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--brand-800);
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

/* ---------- 7. Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 80px) 0 80px;
  overflow: hidden;
}
.hero-dark {
  background: linear-gradient(135deg, #163B65 0%, #0e2845 50%, #1a3d5c 100%);
  color: var(--white);
}
.hero-dark .text-h1,
.hero-dark .text-h2,
.hero-dark .text-h3,
.hero-dark .text-h4 { color: var(--white); }
.hero-dark .text-body,
.hero-dark .text-body-sm { color: rgba(255, 255, 255, 0.75); }
.hero-dark .text-eyebrow { color: var(--accent-300); }
.hero-dark .text-eyebrow::before { background: var(--accent-300); }

.hero-light {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--white) 50%, var(--bg-primary) 100%);
}

/* 科技网格背景 */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-grid-bg.light {
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(22, 59, 101, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 59, 101, 0.08) 1px, transparent 1px);
}

/* 光效 */
.hero-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(100px);
}
.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(22, 119, 255, 0.15);
  top: -10%;
  right: -5%;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(25, 184, 138, 0.12);
  bottom: -10%;
  left: -5%;
}

.hero-content {
  position: relative;
  z-index: 2;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(22, 119, 255, 0.15);
  border: 1px solid rgba(22, 119, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-300);
  margin-bottom: var(--space-lg);
}
.hero-dark .hero-badge {
  background: rgba(22, 119, 255, 0.2);
  border-color: rgba(22, 119, 255, 0.35);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: var(--space-xl);
}

/* AI 路径可视化 */
.path-visual {
  position: relative;
  z-index: 2;
}
.path-nodes {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.path-node {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  margin-bottom: 8px;
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease-out);
}
.path-node:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(22, 119, 255, 0.3);
  transform: translateX(4px);
}
.path-node-num {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--accent-500);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.path-node-text {
  font-weight: 600;
  font-size: 0.95rem;
}
.path-arrow {
  text-align: center;
  color: var(--accent-300);
  font-size: 1.2rem;
  line-height: 1;
  margin: -4px 0;
  opacity: 0.6;
}
.path-node.ade .path-node-num { background: var(--ade-500); }

/* ---------- 8. Section System ---------- */
section {
  position: relative;
  padding: var(--space-4xl) 0;
}
.section-bg { background: var(--bg-primary); }
.section-white { background: var(--white); }
.section-dark {
  background: linear-gradient(135deg, #163B65 0%, #0e2845 100%);
  color: var(--white);
}
.section-dark .text-h1,
.section-dark .text-h2,
.section-dark .text-h3,
.section-dark .text-h4 { color: var(--white); }
.section-dark .text-body,
.section-dark .text-body-sm { color: rgba(255, 255, 255, 0.75); }
.section-dark .text-eyebrow { color: var(--accent-300); }
.section-dark .text-eyebrow::before { background: var(--accent-300); }

.section-head {
  max-width: 720px;
  margin-bottom: var(--space-2xl);
}
.section-head.text-center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 9. Cards ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease-out);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-strong);
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-500);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-50);
  color: var(--accent-500);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-md);
  transition: all 0.3s var(--ease-out);
}
.card:hover .card-icon {
  background: var(--accent-500);
  color: var(--white);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-800);
  margin-bottom: 8px;
}
.card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-md);
}
.card-tag {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-weight: 500;
}
.card-tag.ade { background: var(--ade-50); color: var(--ade-600); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* ---------- 10. Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border-right: 1px solid var(--border);
  transition: background 0.2s var(--ease);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg-primary); }
.stat-number {
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent-500);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}
.stat-label {
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 4px;
}
.stat-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- 11. Feature Mini Row ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-mini {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out);
}
.feature-mini:hover {
  border-color: var(--accent-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-mini .ico {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-50);
  color: var(--accent-500);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}
.feature-mini:hover .ico {
  background: var(--accent-500);
  color: var(--white);
}
.feature-mini .ico svg { width: 20px; height: 20px; }
.feature-mini h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-800);
  margin-bottom: 4px;
}
.feature-mini p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ---------- 12. Certification / ADE ---------- */
.cert-lv {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.cert-lv:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.cert-lv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-500);
}
.cert-lv:nth-child(2)::before { background: var(--ade-500); }
.cert-lv:nth-child(3)::before { background: var(--brand-700); }

.lv-tag {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--accent-500);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  z-index: 10;
}
.cert-lv:nth-child(2) .lv-tag { background: var(--ade-500); }
.cert-lv:nth-child(3) .lv-tag { background: var(--brand-700); }

.lv-sub {
  font-weight: 700;
  color: var(--accent-500);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.cert-lv:nth-child(2) .lv-sub { color: var(--ade-500); }
.cert-lv:nth-child(3) .lv-sub { color: var(--brand-700); }

/* ---------- 13. Client / Logo Wall ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.logo-cell {
  background: var(--white);
  display: grid;
  place-items: center;
  padding: 20px;
  height: 80px;
  transition: background 0.2s var(--ease);
}
.logo-cell:hover { background: var(--bg-primary); }
.logo-cell img {
  max-height: 36px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.3s var(--ease);
}
.logo-cell:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---------- 14. CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-800) 0%, #1a4d75 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(22,119,255,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 80% 50%, rgba(25,184,138,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.75); }
.cta-band .btn-group {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

/* ---------- 15. Footer ---------- */
.site-footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, 0.65);
  padding: var(--space-3xl) 0 var(--space-xl);
}
.site-footer a { color: rgba(255, 255, 255, 0.65); transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }
.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}
.site-footer p, .site-footer li { font-size: 0.88rem; line-height: 1.8; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}
.footer-brand .brand-icon { margin-bottom: var(--space-md); }
.footer-brand .word { color: var(--white); }
.footer-brand .word small { color: rgba(255,255,255,0.5); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- 16. Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.stagger-children.in-view > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.in-view > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.stagger-children.in-view > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: translateY(0); }
.stagger-children.in-view > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: translateY(0); }
.stagger-children.in-view > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: translateY(0); }
.stagger-children.in-view > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }

/* ---------- 17. FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg) 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--brand-800);
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent-500); }
.faq-q svg { flex-shrink: 0; transition: transform 0.3s var(--ease-out); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding-top: var(--space-md);
}

/* ---------- 18. News / List ---------- */
.news-list-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s var(--ease);
}
.news-list-item:hover {
  padding-left: 8px;
}
.news-list-item:hover .news-title { color: var(--accent-500); }
.news-date-block {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  padding-top: 4px;
}
.news-date-block .day {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-800);
  line-height: 1;
}
.news-date-block .year-month {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.news-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-800);
  margin-bottom: 4px;
  transition: color 0.2s;
}
.news-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- 19. Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: var(--white);
  transition: all 0.2s var(--ease);
}
.pagination a:hover {
  background: var(--bg-primary);
  border-color: var(--accent-200);
  color: var(--accent-500);
}
.pagination .current {
  background: var(--accent-500);
  color: var(--white);
  border-color: var(--accent-500);
  font-weight: 600;
}
.pagination .disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ---------- 20. Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent-500); }
.breadcrumb span { color: var(--text-primary); font-weight: 500; }

/* ---------- 21. Article ---------- */
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.article-meta .tag {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.78rem;
}

/* ---------- 22. Form ---------- */
.form-group { margin-bottom: var(--space-md); }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-300);
  box-shadow: 0 0 0 3px var(--accent-50);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

/* ---------- 23. Alert / Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  background: var(--brand-800);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--ade-500); }
.toast.error { background: #dc2626; }

/* ---------- 24. Mobile Navigation ---------- */
@media (max-width: 991px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  /* 触控区域 */
  .btn, .nav-links a, .mobile-menu a, .pagination a, .faq-q {
    min-height: 44px;
  }
  .btn { padding: 14px 24px; font-size: 1rem; }
  .btn-lg { padding: 16px 28px; }
  .form-group input, .form-group textarea, .form-group select {
    padding: 14px 16px;
    font-size: 1rem;
  }
  /* 网格单列 */
  .grid-4, .grid-3, .grid-2, .feature-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  /* 间距与字号收紧 */
  section { padding: var(--space-2xl) 0; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 32px) 0 48px; }
  .hero-layout { gap: 28px; }
  .text-h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .text-h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .text-h3 { font-size: clamp(1.1rem, 4.5vw, 1.3rem); }
  .container { padding: 0 20px; }
  /* 卡片触控优化 */
  .card, .feature-mini, .cert-lv, .pay-step {
    padding: 24px 20px;
  }
  /* CTA按钮堆叠 */
  .hero-cta-group, .cta-band .btn-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-cta-group .btn, .cta-band .btn-group .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* 小屏精细适配 */
  .text-h1 { font-size: clamp(1.4rem, 7vw, 1.8rem); }
  .text-h2 { font-size: clamp(1.15rem, 5.5vw, 1.5rem); }
  .text-h3 { font-size: 1.05rem; }
  .text-body { font-size: 0.92rem; line-height: 1.7; }
  .container { padding: 0 16px; }
  section { padding: var(--space-xl) 0; }
  .card, .feature-mini, .cert-lv, .pay-step, .info-block {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
  .card-icon { width: 40px; height: 40px; }
  .card-icon svg { width: 18px; height: 18px; }
  .stats-grid { border-radius: var(--radius-md); }
  .stat-item { padding: var(--space-lg) var(--space-md); }
  .stat-number { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-cell { padding: 16px; height: 64px; }
  .logo-cell img { max-height: 28px; max-width: 100px; }
  .news-list-item { flex-direction: column; gap: 12px; padding: 18px 0; }
  .news-date-block { width: auto; text-align: left; }
  .hero-badge { font-size: 0.75rem; padding: 6px 12px; }
  .path-node { padding: 12px 14px; }
  .path-node-num { width: 30px; height: 30px; font-size: 0.78rem; }
  .footer-grid { gap: var(--space-md); }
  .site-footer { padding: var(--space-2xl) 0 var(--space-lg); }
  .faq-q { font-size: 0.95rem; }
  .toast { left: 16px; right: 16px; bottom: 16px; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 999;
  padding: var(--space-xl);
  overflow-y: auto;
}
.mobile-menu.active { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a.active { color: var(--accent-500); font-weight: 600; }

/* ---------- 25. Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
