/* ==========================================================================
   星选官网 · 设计系统 Design Tokens
   主色：珊瑚橙 #E8502F ｜ 中性色：暖灰 ｜ 8px 栅格 ｜ 浅/暗黑双主题
   ========================================================================== */

:root {
  /* 品牌主色（单一主色） */
  --primary: #E8502F;
  --primary-hover: #D34325;
  --primary-active: #C7401F;
  --primary-soft: #FFEFEA;
  --primary-soft-2: #FFF6F2;

  /* 中性色（暖灰阶） */
  --bg: #FBF7F0;
  --bg-alt: #F5F0E8;
  --surface: #FFFFFF;
  --surface-2: #FDFAF5;
  --border: #F0EAE0;
  --border-strong: #E5DED2;

  --text: #1F1E1B;
  --text-muted: #6B6760;
  --text-subtle: #A39E96;
  --text-inverse: #FFFFFF;

  /* 语义色（低饱和，仅用于状态提示） */
  --success: #2E9E6B;
  --success-soft: #E6F5EE;
  --warning: #C77B1F;
  --warning-soft: #FBF0DD;
  --danger: #C7401F;

  /* 圆角（统一规范） */
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-sm: 6px;
  --radius-full: 999px;

  /* 阴影（低透明度柔和阴影，禁止硬黑粗阴影） */
  --shadow-xs: 0 1px 2px rgba(31, 30, 27, 0.04);
  --shadow-sm: 0 2px 8px rgba(31, 30, 27, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 30, 27, 0.08);
  --shadow-lg: 0 16px 40px rgba(31, 30, 27, 0.10);
  --shadow-primary: 0 8px 20px rgba(232, 80, 47, 0.28);

  /* 间距（8px 栅格） */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  /* 文字层级（4 级） */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --text-display: 56px;
  --text-h1: 40px;
  --text-h2: 32px;
  --text-h3: 22px;
  --text-body: 16px;
  --text-small: 14px;
  --text-caption: 13px;

  --container: 1200px;
  --nav-h: 72px;

  /* 动效（轻量化过渡） */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.25s;
}

/* 暗黑主题 */
[data-theme="dark"] {
  --bg: #141312;
  --bg-alt: #1C1A18;
  --surface: #1F1E1B;
  --surface-2: #24221E;
  --border: #2E2B26;
  --border-strong: #3A3630;

  --text: #F5F1EA;
  --text-muted: #BAB4A8;
  --text-subtle: #928C80;

  --primary-soft: #3A1F18;
  --primary-soft-2: #2A1812;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
}

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

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* 焦点可见性（无障碍） */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   布局容器
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

section { padding: var(--space-7) 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--space-6); }
.section-eyebrow {
  display: inline-block;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
}
.section-title {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-2);
  color: var(--text);
}
.section-desc {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.8;
}

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: var(--text-body);
  font-weight: 600;
  border-radius: var(--radius-btn);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  line-height: 1.2;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(232, 80, 47, 0.34); }
.btn-primary:active { transform: translateY(0); background: var(--primary-active); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft-2); }

.btn-lg { padding: 14px 32px; font-size: 17px; }

/* ==========================================================================
   导航栏
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--text-subtle); letter-spacing: 0.04em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-btn);
  transition: all var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--primary); background: var(--primary-soft-2); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-btn);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all var(--dur) var(--ease);
}
.theme-toggle:hover { color: var(--primary); border-color: var(--primary); }

.nav-toggle { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-top: calc(var(--nav-h) + var(--space-7));
  padding-bottom: var(--space-7);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--primary-soft) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: stretch;
  position: relative;
}
/* 左列：纵向分散撑满，与右侧卡片高度持平 */
.hero-text { display: flex; flex-direction: column; justify-content: space-between; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: var(--text-caption);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.hero h1 {
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
  color: var(--text);
}
.hero h1 .accent { color: var(--primary); }
.hero p.lead {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 2.05;
  max-width: 540px;
  margin-bottom: var(--space-4);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--space-4); color: var(--text-subtle); font-size: var(--text-small); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Hero 右侧业务卡片 */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary-soft), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.biz-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.biz-pill {
  padding: var(--space-3);
  border-radius: var(--radius-card);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.biz-pill .ico {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-soft); color: var(--primary);
  margin-bottom: var(--space-2);
}
.biz-pill h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.biz-pill p { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }

/* ==========================================================================
   通用卡片
   ========================================================================== */
.grid { display: grid; gap: var(--space-3); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  transition: all var(--dur) var(--ease);
}
.card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-soft); color: var(--primary);
  margin-bottom: var(--space-2);
  transition: all var(--dur) var(--ease);
}
.card:hover .ico { background: var(--primary); color: #fff; }
.card h3 { font-size: var(--text-h3); font-weight: 700; margin-bottom: var(--space-1); }
.card p { font-size: var(--text-small); color: var(--text-muted); line-height: 1.75; }

/* ==========================================================================
   业务概览区（突出 EDI + ICP）
   ========================================================================== */
.biz-overview { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.biz-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  height: 100%;
}
.biz-block .num {
  font-size: 32px; font-weight: 800; color: var(--primary);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.biz-block .label { font-size: 12px; color: var(--text-subtle); letter-spacing: 0.06em; }
.biz-block h3 { font-size: 18px; font-weight: 700; margin: var(--space-1) 0; }
.biz-block p { font-size: var(--text-small); color: var(--text-muted); line-height: 1.75; margin-bottom: var(--space-2); }
.biz-block ul { display: flex; flex-direction: column; gap: 6px; }
.biz-block li { font-size: 13px; color: var(--text-muted); display: flex; align-items: flex-start; gap: 8px; }
.biz-block li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); margin-top: 8px; flex-shrink: 0; }
/* biz-block 左侧装饰条 + hover 反馈 */
.biz-block { position: relative; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.biz-block::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--primary); transform: scaleY(0.45); transform-origin: top;
  transition: transform var(--dur) var(--ease);
}
.biz-block:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.biz-block:hover::before { transform: scaleY(1); }

/* ==========================================================================
   交易流程（体现 EDI 交易处理）
   ========================================================================== */
.flow { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-2);
  position: relative;
}
.flow-step {
  text-align: center;
  padding: var(--space-3) var(--space-1);
  position: relative;
}
.flow-step .step-ico {
  width: 56px; height: 56px; border-radius: 50%;
  margin: 0 auto var(--space-2);
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1.5px solid var(--border);
  color: var(--text-muted);
  transition: all var(--dur) var(--ease);
}
.flow-step:hover .step-ico { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.flow-step .step-n {
  position: absolute; top: -2px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 700;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}
.flow-step h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.flow-step p { font-size: 12px; color: var(--text-subtle); line-height: 1.6; }

/* ==========================================================================
   合规区
   ========================================================================== */
.compliance { background: var(--bg-alt); }
.comply-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
.comply-item {
  display: flex; gap: var(--space-2); align-items: flex-start;
  padding: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.comply-item .ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--success-soft); color: var(--success); display: flex; align-items: center; justify-content: center; }
.comply-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.comply-item p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ==========================================================================
   关于 / 联系
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center; }
.about-text p { color: var(--text-muted); line-height: 1.9; margin-bottom: var(--space-2); }
.about-tags { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-3); }
.about-tags span { padding: 6px 14px; background: var(--primary-soft); color: var(--primary); border-radius: var(--radius-full); font-size: 13px; font-weight: 500; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
}
.contact-row { display: flex; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: none; }
.contact-row .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row .k { font-size: 12px; color: var(--text-subtle); margin-bottom: 2px; }
.contact-row .v { font-size: 15px; font-weight: 600; color: var(--text); }

/* 合作咨询（另起一行：左说明 + 右表单） */
.consult-panel { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; align-items: stretch; margin-top: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.consult-aside { background: linear-gradient(160deg, var(--primary-soft), transparent 75%); padding: var(--space-5); }
.consult-title { font-size: 24px; font-weight: 800; color: var(--text); margin-top: 8px; }
.consult-sub { font-size: 14px; color: var(--text-muted); line-height: 1.9; margin-top: var(--space-2); }
.consult-side-contacts { margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.consult-side-row { display: flex; flex-direction: column; gap: 2px; }
.consult-side-row span { font-size: 12px; color: var(--text-subtle); }
.consult-side-row strong { font-size: 16px; color: var(--primary); font-weight: 700; }
.consult-form { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.consult-form .field { display: flex; flex-direction: column; gap: 6px; }
.consult-form .field > span { font-size: 13px; font-weight: 600; color: var(--text); }
.consult-form input, .consult-form textarea { width: 100%; padding: 10px 12px; font-size: 14px; font-family: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.consult-form input::placeholder, .consult-form textarea::placeholder { color: var(--text-subtle); }
.consult-form input:focus, .consult-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.consult-form textarea { resize: vertical; min-height: 96px; }
.consult-submit { width: 100%; margin-top: var(--space-1); }
.consult-submit[disabled] { opacity: .6; pointer-events: none; }
.consult-note { font-size: 12px; color: var(--text-subtle); text-align: center; margin-top: 4px; }
.consult-note.is-ok { color: var(--primary); }
.consult-note.is-err { color: #d4380d; }

@media (max-width: 900px) {
  .consult-panel { grid-template-columns: 1fr; }
}

/* ==========================================================================
   页脚
   ========================================================================== */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: var(--space-6) 0 var(--space-4); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-5); margin-bottom: var(--space-5); }
.footer h5 { font-size: 14px; font-weight: 700; margin-bottom: var(--space-2); color: var(--text); }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 13px; color: var(--text-muted); }
.footer ul a:hover { color: var(--primary); }
.footer .brand { margin-bottom: var(--space-2); }
.footer .brand-desc { font-size: 13px; color: var(--text-muted); line-height: 1.8; max-width: 280px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-3);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2);
  font-size: 12.5px; color: var(--text-subtle);
}
.footer-bottom a:hover { color: var(--primary); }
.footer-bottom .beian { display: inline-flex; align-items: center; gap: 6px; }

/* ==========================================================================
   文章页（协议 / 隐私政策）
   ========================================================================== */
.doc {
  padding-top: calc(var(--nav-h) + var(--space-5));
  padding-bottom: var(--space-7);
}
.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  max-width: 860px;
  margin: 0 auto;
}
.doc-meta { font-size: 13px; color: var(--text-subtle); margin-bottom: var(--space-2); }
.doc h1 { font-size: var(--text-h1); font-weight: 800; margin-bottom: var(--space-2); }
.doc h2 { font-size: 22px; font-weight: 700; margin: var(--space-5) 0 var(--space-2); color: var(--text); }
.doc h3 { font-size: 17px; font-weight: 700; margin: var(--space-3) 0 var(--space-1); }
.doc p, .doc li { font-size: 15px; color: var(--text-muted); line-height: 1.9; }
.doc ul { list-style: disc; padding-left: 22px; margin: var(--space-2) 0; }
.doc ol { padding-left: 22px; margin: var(--space-2) 0; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc .highlight { background: var(--warning-soft); padding: var(--space-2) var(--space-3); border-left: 3px solid var(--warning); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: var(--space-3) 0; }
.doc .highlight p { color: var(--text); font-size: 14px; }
.doc-toc {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  margin-bottom: var(--space-4);
}
.doc-toc h4 { font-size: 13px; font-weight: 700; margin-bottom: var(--space-1); color: var(--text-subtle); letter-spacing: 0.04em; }
.doc-toc ol { columns: 2; column-gap: var(--space-3); padding-left: 20px; }
.doc-toc a { font-size: 13.5px; color: var(--text-muted); }
.doc-toc a:hover { color: var(--primary); }

/* ==========================================================================
   动效：滚动渐入 reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
/* 网格错峰延迟，增强节奏感 */
.grid .reveal:nth-child(2), .comply-list .reveal:nth-child(2) { transition-delay: 0.08s; }
.grid .reveal:nth-child(3), .comply-list .reveal:nth-child(3) { transition-delay: 0.16s; }
.grid .reveal:nth-child(4), .comply-list .reveal:nth-child(4) { transition-delay: 0.08s; }
.grid .reveal:nth-child(5), .comply-list .reveal:nth-child(5) { transition-delay: 0.16s; }
.grid .reveal:nth-child(6), .comply-list .reveal:nth-child(6) { transition-delay: 0.24s; }

/* 尊重系统「减少动态效果」偏好 */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .orb { animation: none !important; }
  .flow-step::after { animation: none !important; }
}

/* ==========================================================================
   Hero 背景浮动光斑（替换原静态光晕）
   ========================================================================== */
.hero { position: relative; }
.hero::before { display: none; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-grid { position: relative; z-index: 1; }
.orb { position: absolute; border-radius: 50%; filter: blur(64px); opacity: 0.5; }
.orb-1 { width: 400px; height: 400px; background: var(--primary); top: -110px; right: -40px; animation: floatA 14s ease-in-out infinite; }
.orb-2 { width: 320px; height: 320px; background: var(--primary); opacity: 0.18; bottom: -130px; left: -60px; animation: floatB 18s ease-in-out infinite; }
[data-theme="dark"] .orb-1 { opacity: 0.3; }
[data-theme="dark"] .orb-2 { opacity: 0.12; }
@keyframes floatA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-26px, 22px) scale(1.08); } }
@keyframes floatB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(24px, -18px) scale(1.1); } }

/* Hero 业务卡片 */
.hero-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-3); }
.hero-card-sub { font-size: 12px; color: var(--text-subtle); }
.hero-card .biz-pill { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.hero-card .biz-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }

/* ==========================================================================
   平台能力数字条
   ========================================================================== */
.stats { padding: var(--space-5) 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.stat-item { text-align: center; padding: var(--space-3) var(--space-2); }
.stat-num { font-size: 46px; font-weight: 800; color: var(--primary); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: var(--space-1); font-size: 14px; color: var(--text-muted); }
.stat-ico {
  width: 40px; height: 40px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-soft); color: var(--primary);
  margin: 0 auto var(--space-2);
  transition: transform var(--dur) var(--ease);
}
.stat-item:hover .stat-ico { transform: translateY(-2px) scale(1.05); }

/* ==========================================================================
   卡片 / 列表微交互增强
   ========================================================================== */
.card .ico { transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease); }
.card:hover .ico { transform: scale(1.08) rotate(-3deg); }
.comply-item { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.comply-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }

/* 联系卡片头部 */
.contact-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-3); }
.contact-card-head img { width: 44px; height: 44px; border-radius: 11px; }
.contact-card-title { font-weight: 700; font-size: 17px; }
.contact-card-sub { font-size: 12px; color: var(--text-subtle); }

/* ==========================================================================
   交易流程连接线（桌面端）
   ========================================================================== */
.flow-steps { position: relative; }
.flow-step { position: relative; }
.flow-step::after {
  content: "";
  position: absolute;
  top: 28px; left: calc(50% + 30px); right: calc(-50% + 30px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
  background-size: 24px 100%;
  z-index: 0;
  animation: flowDash 2.4s linear infinite;
}
@keyframes flowDash {
  from { background-position-x: 0; }
  to { background-position-x: 24px; }
}
.flow-step:last-child::after { display: none; }
.flow-step .step-ico { position: relative; z-index: 1; background: var(--surface); }

/* ==========================================================================
   图片融合：Hero 头图 / 场景横幅 / 关于我们配图
   ========================================================================== */
.hero-card-img { border-radius: var(--radius-card); overflow: hidden; margin-bottom: var(--space-3); }
.hero-card-img img { width: 100%; height: 168px; object-fit: cover; display: block; }

.scene-band { padding: var(--space-7) 0; }
.scene-inner { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.scene-inner img { width: 100%; height: 380px; object-fit: cover; display: block; }
.scene-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; gap: var(--space-2);
  padding: var(--space-6);
  background: linear-gradient(90deg, rgba(31,30,27,0.66) 0%, rgba(31,30,27,0.3) 55%, rgba(31,30,27,0) 100%);
  color: #fff;
}
.scene-overlay h2 { font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.scene-overlay p { color: rgba(255,255,255,0.88); font-size: 15px; max-width: 46ch; }

.about-img { border-radius: var(--radius-card); overflow: hidden; margin: var(--space-3) 0; box-shadow: var(--shadow-sm); }
.about-img img { width: 100%; height: 240px; object-fit: cover; display: block; }

@media (max-width: 768px) {
  .scene-inner img { height: 280px; }
  .scene-overlay { padding: var(--space-4); }
  .scene-overlay h2 { font-size: 24px; }
  .about-img img { height: 200px; }
  .hero-card-img img { height: 150px; }
}

/* 新元素响应式适配 */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 38px; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --text-display: 44px; --text-h1: 34px; --text-h2: 28px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { justify-content: flex-start; }
  .hero-card { max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --text-display: 36px; --text-h2: 24px; }
  section { padding: var(--space-6) 0; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .biz-row { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .comply-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .doc-card { padding: var(--space-4) var(--space-3); }
  .doc-toc ol { columns: 1; }
}
@media (max-width: 480px) {
  :root { --text-display: 30px; }
  .container { padding: 0 var(--space-2); }
  .hero-cta .btn { width: 100%; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
}

/* 移动端展开菜单 */
.nav-mobile {
  display: none;
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--space-2) var(--space-3);
  box-shadow: var(--shadow-md);
}
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 12px 8px; font-size: 15px; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.nav-mobile a:last-child { border-bottom: none; }
