/* ==========================================================================
   CG28 包网 (CG28) — 全站样式表
   设计语言：深蓝科技风 · 蓝色/青色渐变点缀 · 科技网格背景 · 发光效果
   技术：纯 CSS3（变量 / Grid / Flexbox / 动画），无框架
   ========================================================================== */

/* ---------- 0. 自托管字体：Inter（可变字体单文件 100-900） ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local('Inter'), url('fonts/Inter-Variable.woff2') format('woff2');
}

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 色板：深蓝科技 */
  --bg: #0a1020;                 /* 页面底色：深蓝 */
  --bg-2: #0d1526;               /* 次级底色 */
  --surface: #111a30;            /* 卡片表面：深蓝卡片 */
  --surface-2: #182344;          /* 抬升表面 */
  --border: rgba(122, 152, 224, 0.16);        /* 常规描边 */
  --border-strong: rgba(122, 152, 224, 0.34); /* 强调描边 */
  --text-1: #eef3ff;             /* 主文字 */
  --text-2: #a8b7d9;             /* 次级文字 */
  --text-3: #68789f;             /* 弱化文字 */
  --brand: #3b82f6;              /* 品牌蓝 */
  --brand-strong: #2563eb;       /* 深蓝 */
  --cyan: #06b6d4;               /* 品牌青 */
  --green: #34d399;              /* 成功绿 */
  --grad: linear-gradient(120deg, #3b82f6 0%, #2f9bf0 50%, #06b6d4 100%);  /* 蓝→青主渐变 */
  --grad-soft: linear-gradient(120deg, rgba(59,130,246,.16), rgba(6,182,212,.16));

  /* 阴影（蓝调） */
  --shadow-card: 0 24px 60px -28px rgba(7, 42, 106, 0.65), 0 8px 24px -12px rgba(0, 0, 0, 0.55);
  --shadow-btn: 0 12px 32px -12px rgba(59, 130, 246, 0.55);
  --shadow-glow: 0 0 80px -12px rgba(59, 130, 246, 0.38);

  /* 圆角与容器 */
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1160px;

  /* 字体栈：Inter + 中文系统字体 */
  --font: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

body.menu-open { overflow: hidden; } /* 移动端菜单打开时锁定滚动 */

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: rgba(59, 130, 246, 0.45); color: #fff; }

/* 键盘可达性焦点环 */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. 布局工具 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; position: relative; }
.section-tight { padding: 72px 0; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* 小标签（眉题） */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--grad); border-radius: 2px; }

/* ---------- 4. 排版 ---------- */
h1, h2, h3, h4 {
  color: var(--text-1); font-weight: 700; line-height: 1.22;
  letter-spacing: -0.02em; text-wrap: balance;
}

.h1-hero {
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.14;
}

.h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.03em; }
.h3 { font-size: 20px; letter-spacing: -0.01em; }

.lead { font-size: 18px; color: var(--text-2); line-height: 1.75; }

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.muted { color: var(--text-3); }
.small { font-size: 14px; }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 12px;
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), border-color var(--transition), color var(--transition);
}
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #2563eb 0%, #3b82f6 55%, #06b6d4 130%);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(59, 130, 246, 0.75); }

.btn-ghost {
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--brand); background: rgba(59, 130, 246, 0.10); transform: translateY(-2px); }

.btn-lg { padding: 16px 34px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

/* ---------- 6. 页头 / 玻璃拟态导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 16, 32, 0.68);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(10, 16, 32, 0.86); }

.nav { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text-1); letter-spacing: -0.01em; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; flex: none; filter: drop-shadow(0 4px 14px rgba(59, 130, 246, 0.45)); }

/* 汉堡按钮（移动端） */
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,0.03); align-items: center; justify-content: center; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; width: 20px; height: 2px;
  background: var(--text-1); border-radius: 2px; transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.active span::after { transform: rotate(-45deg); top: 0; }

.nav-menu { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-menu a {
  display: inline-block; padding: 9px 13px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--text-2);
  transition: color var(--transition), background var(--transition);
}
.nav-menu a:hover { color: var(--text-1); background: rgba(59, 130, 246, 0.08); }
.nav-menu a.active { color: var(--cyan); background: rgba(6, 182, 212, 0.10); }
.nav-menu .lang-btn { margin-left: 6px; padding: 7px 14px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-1); }
.nav-menu .lang-btn:hover { border-color: var(--cyan); background: rgba(6, 182, 212, 0.10); }

.nav-cta { flex: none; }

/* 移动端导航 */
@media (max-width: 1020px) {
  .nav { gap: 14px; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-menu {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 14px 24px 24px; background: rgba(10, 16, 32, 0.97);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 13px 16px; font-size: 16px; }
  .nav-menu .lang-btn { margin: 8px 16px 0; text-align: center; }
}

/* ---------- 7. 首页 Hero（科技网格背景） ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 104px 0 88px;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(59, 130, 246, 0.22), transparent 60%),
    radial-gradient(700px 420px at 8% 108%, rgba(6, 182, 212, 0.14), transparent 60%),
    linear-gradient(rgba(94, 132, 224, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 132, 224, 0.07) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 96%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
  border: 1px solid rgba(122, 152, 224, 0.30);
  background: rgba(17, 26, 48, 0.6);
  margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 560px; margin-bottom: 30px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-mini { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-mini-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.hero-mini-item svg { color: var(--cyan); }

/* Hero 右侧：控制台拟真卡片 */
.hero-visual { position: relative; }
.console {
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, rgba(24, 35, 68, 0.92), rgba(17, 26, 48, 0.96));
  border: 1px solid rgba(122, 152, 224, 0.28);
  box-shadow: var(--shadow-card), 0 0 60px -20px rgba(59, 130, 246, 0.5);
}
.console-bar { display: flex; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.console-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3760; }
.console-bar i:nth-child(1) { background: #ff5f57; }
.console-bar i:nth-child(2) { background: #febc2e; }
.console-bar i:nth-child(3) { background: #28c840; }
.console-body { padding: 22px 24px 26px; display: grid; gap: 18px; }
.console-row { display: grid; grid-template-columns: 86px 1fr 92px; align-items: center; gap: 12px; font-size: 13.5px; }
.console-row .label { color: var(--text-3); }
.console-row .val { text-align: right; font-weight: 600; color: var(--text-1); font-variant-numeric: tabular-nums; }
.console-bar-grow { height: 8px; border-radius: 99px; background: var(--grad-soft); overflow: hidden; position: relative; }
.console-bar-grow::after { content: ""; position: absolute; inset: 0; border-radius: 99px; background: var(--grad); opacity: 0.85; transform-origin: left; animation: grow 1.6s cubic-bezier(.4,0,.2,1) both; }
.console-bar-grow.g1::after { width: 58%; animation-delay: .1s; }
.console-bar-grow.g2::after { width: 82%; animation-delay: .2s; }
.console-bar-grow.g3::after { width: 46%; animation-delay: .3s; }
.console-bar-grow.g4::after { width: 96%; animation-delay: .4s; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 600; color: var(--text-1);
  background: rgba(17, 26, 48, 0.92); border: 1px solid rgba(122, 152, 224, 0.30);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.float-chip svg { color: var(--cyan); }
.fc-1 { top: -18px; right: 26px; }
.fc-2 { bottom: -18px; left: 30px; }

/* ---------- 8. 核心数据 ---------- */
.stats { padding: 56px 0; border-block: 1px solid var(--border); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat-num {
  display: block; font-size: clamp(34px, 4.6vw, 48px); font-weight: 800; letter-spacing: -0.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-label { display: block; margin-top: 6px; font-size: 14.5px; color: var(--text-3); }

/* ---------- 9. 网格与卡片 ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.card {
  position: relative; padding: 30px 28px; border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(24, 35, 68, 0.55), rgba(17, 26, 48, 0.92));
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.55), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.card:hover { transform: translateY(-5px); border-color: rgba(59, 130, 246, 0.45); box-shadow: var(--shadow-card); }
.card:hover::before { opacity: 1; }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(6, 182, 212, 0.14));
  border: 1px solid rgba(122, 152, 224, 0.28);
  box-shadow: 0 8px 24px -10px rgba(59, 130, 246, 0.45);
}
.card h3 { margin-bottom: 10px; font-size: 19px; }
.card p { font-size: 14.5px; line-height: 1.75; }

.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-size: 14px; font-weight: 600; color: var(--brand);
  transition: color var(--transition), gap var(--transition);
}
.card-link:hover { color: var(--cyan); gap: 9px; }

.service-tag {
  position: absolute; top: 22px; right: 22px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  color: rgba(6, 182, 212, 0.75); padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.30); background: rgba(6, 182, 212, 0.08);
}

/* ---------- 10. 特性列表（左文右图区块） ---------- */
.feature-list { display: grid; gap: 22px; margin-top: 30px; }
.feature-item { display: flex; gap: 16px; }
.fi-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px; color: var(--cyan);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(122, 152, 224, 0.26);
}
.feature-item h4 { font-size: 16.5px; margin-bottom: 4px; }
.feature-item p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ---------- 11. 流程步骤 ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step-card { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  font-size: 17px; font-weight: 800; color: #fff;
  background: var(--grad); box-shadow: 0 8px 22px -8px rgba(59, 130, 246, 0.6);
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ---------- 12. 内页 Hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 72px 0 56px; text-align: center;
  background:
    radial-gradient(760px 400px at 50% -20%, rgba(59, 130, 246, 0.20), transparent 62%),
    linear-gradient(rgba(94, 132, 224, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 132, 224, 0.06) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(32px, 4.6vw, 46px); font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 16px; }
.page-hero .lead { max-width: 680px; margin: 0 auto; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-3); }
.crumb a { color: var(--text-2); transition: color var(--transition); }
.crumb a:hover { color: var(--cyan); }

/* ---------- 13. FAQ 手风琴 ---------- */
.accordion { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.accordion-item {
  border-radius: var(--radius); border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(24, 35, 68, 0.45), rgba(17, 26, 48, 0.9));
  overflow: hidden; transition: border-color var(--transition);
}
.accordion-item.open { border-color: rgba(59, 130, 246, 0.5); }
.accordion-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 20px 24px; text-align: left;
  font-size: 16px; font-weight: 600; color: var(--text-1); line-height: 1.5;
}
.accordion-btn .chev { flex: none; display: inline-flex; color: var(--text-3); transition: transform var(--transition), color var(--transition); }
.accordion-item.open .chev { transform: rotate(180deg); color: var(--cyan); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.34s cubic-bezier(0.4, 0, 0.2, 1); }
.accordion-panel-inner { padding: 0 24px 22px; font-size: 14.5px; color: var(--text-2); line-height: 1.85; }

/* ---------- 14. CTA 横幅（发光渐变） ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(640px 300px at 50% 120%, rgba(6, 182, 212, 0.22), transparent 62%),
    linear-gradient(120deg, rgba(37, 99, 235, 0.30), rgba(6, 182, 212, 0.16));
  border-top: 1px solid rgba(122, 152, 224, 0.22);
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 620px; margin: 0 auto 30px; color: var(--text-2); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 15. 页脚 ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { margin-top: 14px; font-size: 14px; color: var(--text-3); max-width: 300px; line-height: 1.8; }
.footer-col h4 { font-size: 14.5px; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--text-2); transition: color var(--transition); }
.footer-col a:hover { color: var(--cyan); }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-1); font-weight: 500; }
.footer-contact a svg { color: var(--cyan); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding: 22px 0; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-3);
}

/* ---------- 16. 资讯页 ---------- */
.news-filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.news-filter {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.news-filter:hover { color: var(--text-1); border-color: rgba(59, 130, 246, 0.5); background: rgba(59, 130, 246, 0.08); }
.news-filter::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.news-filter.active { color: var(--cyan); border-color: rgba(6, 182, 212, 0.35); background: rgba(6, 182, 212, 0.08); }

.news-card { display: flex; flex-direction: column; }
.news-tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  color: var(--cyan); padding: 4px 12px; border-radius: 999px;
  background: rgba(6, 182, 212, 0.1); border: 1px solid rgba(6, 182, 212, 0.28);
}
.news-date { font-size: 13px; color: var(--text-3); margin-top: 16px; }
.news-card h3 { margin: 10px 0 12px; font-size: 19px; line-height: 1.5; letter-spacing: -0.01em; }
.news-card h3 a { transition: color var(--transition); }
.news-card h3 a:hover { color: var(--cyan); }
.news-card p { flex: 1; }
.news-card .card-link { margin-top: 20px; }

/* ---------- 17. 文章页 ---------- */
.article-head { max-width: 820px; }
.article-head h1 { font-size: clamp(28px, 3.8vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; margin: 16px 0 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: 13.5px; color: var(--text-3); }
.article-meta .author { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .author::before { content: ""; width: 22px; height: 1.5px; background: var(--grad); border-radius: 2px; }

.article-body { max-width: 820px; font-size: 16px; color: var(--text-2); line-height: 1.95; }
.article-body h2 { font-size: 24px; font-weight: 700; color: var(--text-1); letter-spacing: -0.02em; margin: 48px 0 16px; padding-top: 6px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin-bottom: 20px; }
.article-body strong { color: var(--text-1); font-weight: 600; }
.article-body ul { margin-bottom: 20px; display: grid; gap: 12px; list-style: none; }
.article-body ul li { position: relative; padding-left: 28px; }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 9px; height: 9px; border-radius: 3px; background: var(--grad); }
.article-body blockquote { margin: 28px 0; padding: 18px 24px; border-left: 3px solid var(--brand); border-radius: 0 14px 14px 0; background: rgba(59, 130, 246, 0.07); color: var(--text-1); font-size: 15.5px; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card h3 { margin: 10px 0 10px; font-size: 16px; line-height: 1.5; }
.related-card h3 a { transition: color var(--transition); }
.related-card h3 a:hover { color: var(--cyan); }
.related-card p { font-size: 13.5px; color: var(--text-3); }

/* ---------- 18. 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; }
.contact-channel {
  display: flex; align-items: flex-start; gap: 18px; padding: 26px 24px;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(24, 35, 68, 0.5), rgba(17, 26, 48, 0.92));
  transition: border-color var(--transition), transform var(--transition);
}
.contact-channel:hover { border-color: rgba(59, 130, 246, 0.5); transform: translateY(-3px); }
.contact-channel .cc-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; color: var(--cyan);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(6, 182, 212, 0.14));
  border: 1px solid rgba(122, 152, 224, 0.28);
}
.contact-channel h3 { font-size: 17px; margin-bottom: 6px; }
.contact-channel p { font-size: 14px; color: var(--text-2); margin-bottom: 12px; }
.contact-channel .cc-meta { font-size: 13px; color: var(--text-3); }
.contact-channel.featured { border-color: rgba(59, 130, 246, 0.55); box-shadow: var(--shadow-card), 0 0 50px -18px rgba(59, 130, 246, 0.45); }
.contact-channel .soon { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--text-3); padding: 3px 10px; border-radius: 999px; border: 1px dashed var(--border-strong); }

/* ---------- 19. 404 ---------- */
.error-hero { text-align: center; padding: 110px 0 90px; }
.error-code {
  font-size: clamp(96px, 18vw, 170px); font-weight: 800; letter-spacing: -0.05em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 12px 40px rgba(59, 130, 246, 0.35));
}
.error-hero h1 { margin: 20px 0 12px; }
.error-hero p { max-width: 480px; margin: 0 auto 30px; color: var(--text-2); }
.error-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 20. 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .console-bar-grow::after, .hero-badge .dot { animation: none; }
}

/* ---------- 21. 响应式 ---------- */
@media (max-width: 1020px) {
  .hero-inner, .split { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 76px 0 96px; }
  .hero-visual { max-width: 520px; }
  .grid-3, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .site-header, .float-chip, .nav-menu { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .grid-2, .grid-3, .grid-4, .grid-6, .process-grid, .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .hero-actions .btn { width: 100%; }
  .float-chip { display: none; }
  .cta-actions .btn { width: 100%; }
}

/* ==========================================================================
   EN page components (shared by /en/* pages; additive, does not affect ZH pages)
   ========================================================================== */

/* Stat blocks */
.stat { text-align: center; }

/* Steps (EN launch process) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 26px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 20px; right: 22px;
  font-size: 30px; font-weight: 800; letter-spacing: -0.03em;
  color: rgba(59, 130, 246, 0.22);
}
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--text-3); }

/* Service cards (EN) */
.service-card { text-align: left; }

/* Compare table (EN) */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.compare thead th {
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-3); background: var(--bg-2);
}
.compare thead th:first-child { border-radius: 14px 0 0 0; }
.compare thead th:last-child { border-radius: 0 14px 0 0; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; color: var(--text-1); }
.compare .yes { color: var(--cyan); font-weight: 600; }
.compare .no { color: var(--text-3); }
.compare tbody { background: var(--surface); }
.compare tbody tr:hover { background: rgba(59, 130, 246, 0.05); }

/* Market cards (EN) */
.market-card { text-align: center; padding: 36px 24px; }
.market-code {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 15px;
  font-size: 15px; font-weight: 800; letter-spacing: 0.04em;
  color: #fff; background: var(--grad); box-shadow: 0 0 32px rgba(59, 130, 246, 0.4);
  margin-bottom: 18px;
}
.market-card h3 { font-size: 17px; }

/* Contact page (EN) */
.contact-main h2 { font-size: 26px; margin-bottom: 14px; }
.contact-main p { margin-bottom: 26px; }
.tg-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border-radius: 14px;
  font-size: 16px; font-weight: 700; color: #fff;
  background: var(--grad); box-shadow: var(--shadow-btn);
  transition: transform var(--transition), box-shadow var(--transition);
}
.tg-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(59, 130, 246, 0.45); }
.tg-handle { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.contact-facts { display: grid; gap: 16px; }
.contact-fact { display: flex; gap: 14px; align-items: flex-start; padding: 20px; }
.contact-fact h4 { font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }
.contact-fact p { font-size: 13.5px; color: var(--text-3); }

@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
}
