/* ============================================================
   JEBI — Design System v3 (ref: jebicapital.com)
   X.com dark · X-blue #1d9bf0 accent · blue→green gradient
   HTML/class 结构保持不变，仅视觉风格对齐参考站
 ============================================================ */
:root {
  --bg:          #000000;
  --bg-elev:     #0a0a0a;
  --bg-card:     #141414;
  --bg-hover:    #1a1a1a;
  --bg-input:    #0d0d0d;
  --border:      #2d2d2d;
  --border-2:    #3a3a3a;
  --accent:      #1d9bf0;
  --accent-h:    #1a8cd8;
  --accent-glow: rgba(29, 155, 240, 0.15);
  --text:        #e7e9ea;
  --text-2:      #71767b;
  --text-3:      #536471;
  --green:       #00ba7c;
  --green-soft:  rgba(0, 186, 124, 0.12);
  --danger:      #f4212e;
  --danger-soft: rgba(244, 33, 46, 0.12);
  --success:     #00ba7c;
  --success-soft: rgba(0, 186, 124, 0.12);
  /* 兼容旧引用：gold 系变量全部映射为蓝绿强调 */
  --gold-1:       #1d9bf0;
  --gold-2:       #4db4ff;
  --gold-grad:    linear-gradient(135deg, #1d9bf0 0%, #00ba7c 100%);
  --gold-soft:    rgba(29, 155, 240, 0.14);
  --caramel:      #1d9bf0;
  --caramel-dark: #1a8cd8;
  --caramel-soft: rgba(29, 155, 240, 0.12);
  --ink:          #000000;
  --ink-2:        #141414;
  --ink-3:        #71767b;
  --line:         #2d2d2d;
  --shadow:       0 12px 40px rgba(0, 0, 0, 0.4);
  --shadow-lg:    0 18px 56px rgba(0, 0, 0, 0.55);
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;
  --nav-h:        64px;
  --max-w:        1280px;
  --font: 'Helvetica Neue', 'Segoe UI', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Kufi Arabic', Tahoma, sans-serif;
  --mono: 'SF Mono', 'Cascadia Code', 'Fira Code', Consolas, 'Courier New', monospace;
  --t-fast: 0.15s ease;
  --t:      0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-align: start;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; font-family: var(--font); }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent); text-decoration: none; }
img { max-width: 100%; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶栏（毛玻璃 + 滚动加深） ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.topbar.scrolled { background: rgba(0, 0, 0, 0.95); }
.topbar .container { display: flex; align-items: center; gap: 20px; min-height: var(--nav-h); }

/* Logo：JEBI 白色粗体 + 蓝色标语 + 绿色脉冲点（参照 jebicapital） */
.brand {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-size: 30px; font-weight: 800; line-height: 1;
  letter-spacing: 2px; text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  text-decoration: none !important;
  user-select: none;
}
.brand .tagline {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent); text-transform: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.brand .tagline::before {
  content: ''; width: 7px; height: 7px;
  background: var(--green); border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ---------- 导航（悬停下拉，淡入上滑） ---------- */
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  color: var(--text); font-size: 14px; font-weight: 500;
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.nav-link:hover { background: var(--bg-hover); color: var(--accent); }
.nav-link.active { color: var(--text); font-weight: 700; position: relative; }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -2px; inset-inline-start: 14px; inset-inline-end: 14px;
  height: 3px; border-radius: 3px; background: var(--accent);
}
.nav-link .caret { font-size: 10px; opacity: 0.5; transition: transform var(--t-fast); }
.nav-item:hover .nav-link .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); inset-inline-start: 0;
  min-width: 250px; padding: 6px;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  z-index: 200;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown .dd-label {
  padding: 8px 12px 4px; font-size: 12px; font-weight: 700;
  color: var(--text-2); letter-spacing: 0.05em; text-transform: uppercase;
}
.dropdown a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  color: var(--text); font-size: 14px; font-weight: 500;
  transition: background var(--t-fast);
}
.dropdown a:hover { background: var(--bg-hover); color: var(--accent); }
.dropdown a.dd-strong { font-weight: 700; color: var(--accent); }

/* 语言按钮 */
.lang-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg-input); color: var(--text);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  font-family: var(--font);
}
.lang-btn:hover { border-color: var(--accent); background: var(--bg-card); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--text); border-radius: 999px; width: 40px; height: 40px;
  font-size: 18px; cursor: pointer;
}

/* ---------- 徽章 / 标签 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-2); font-size: 13px; font-weight: 600; letter-spacing: 0.3px;
}
.badge.gold {
  color: var(--accent); border-color: rgba(29, 155, 240, 0.3);
  background: var(--accent-glow);
}
.badge.gold::before {
  content: ''; width: 8px; height: 8px;
  background: var(--green); border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
.badge.solid { background: var(--accent); color: #fff; border-color: transparent; }
.tag {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-2);
}
.tag.gold { color: var(--accent); border-color: rgba(29, 155, 240, 0.4); }

/* ---------- 按钮（52px 药丸） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 32px; border-radius: 999px; border: none;
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: all var(--t-fast);
  font-family: var(--font); white-space: nowrap;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-h); transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); }
.btn.outline { background: transparent; color: var(--text); border: 1px solid var(--border-2); }
.btn.outline:hover { border-color: var(--accent); color: var(--accent); }
.btn.dark { background: var(--text); color: #000; }
.btn.dark:hover { background: #fff; }
.btn.small { height: 38px; padding: 0 18px; font-size: 14px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

/* ---------- Hero（网格背景 + 光晕，参照 jebicapital） ---------- */
.hero {
  position: relative;
  padding: 96px 0 84px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero::after {
  content: ''; position: absolute; z-index: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  top: -120px; inset-inline-end: -120px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(40px, 6vw, 64px); font-weight: 800;
  line-height: 1.05; letter-spacing: -1px;
  margin: 22px auto 22px; max-width: 900px;
}
.hero h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { font-size: 18px; color: var(--text-2); max-width: 640px; margin: 0 auto; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero .stats {
  display: flex; justify-content: center; gap: 0; margin: 56px auto 0; max-width: 860px;
  border-top: 1px solid var(--border);
}
.hero .stat { flex: 1; padding: 24px 18px 0; }
.hero .stat + .stat { border-inline-start: 1px solid var(--border); }
.hero .stat b { display: block; font-size: 26px; font-weight: 800; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .stat span { font-size: 13px; color: var(--text-2); }

/* 内页小 hero */
.hero.alt { padding: 72px 0 56px; text-align: start; }
.hero.alt::before { background-size: 32px 32px; -webkit-mask-image: radial-gradient(ellipse at 20% 40%, black 20%, transparent 70%); mask-image: radial-gradient(ellipse at 20% 40%, black 20%, transparent 70%); }
.hero.alt::after { width: 400px; height: 400px; top: -120px; inset-inline-end: -80px; }
.hero.alt h1 { font-size: clamp(34px, 4.4vw, 48px); margin: 16px 0 12px; letter-spacing: -0.5px; }
.hero.alt .lead { margin: 0; }

/* ---------- 区块 ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 36px); margin: 12px 0 12px; letter-spacing: -0.5px; }
.section-head p { color: var(--text-2); font-size: 16px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { color: var(--accent); font-weight: 700; letter-spacing: 1px; font-size: 13px; text-transform: uppercase; }

/* ---------- 卡片 / 网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: all var(--t);
}
.card:hover { border-color: var(--border-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon { font-size: 26px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 14.5px; }
.card ul { margin: 12px 0 0 18px; color: var(--text-2); font-size: 14.5px; }
.card ul li { margin: 7px 0; }
.card.gold-border { border-color: rgba(29, 155, 240, 0.5); }
/* 兼容旧内联金色边框（HTML 未改动） */
[style*="212, 168, 84"], [style*="212,168,84"] { border-color: var(--border-2) !important; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
table.table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.table th {
  color: var(--text-2); text-align: start; padding: 14px 16px;
  font-weight: 700; border-bottom: 1px solid var(--border); white-space: nowrap; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.table td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--bg-hover); }
.table td.num { text-align: end; font-variant-numeric: tabular-nums; }

/* ---------- 步骤 ---------- */
.steps { counter-reset: step; display: grid; gap: 12px; }
.step {
  position: relative; padding: 18px 20px 18px 64px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; inset-inline-start: 16px; top: 16px;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  background: var(--gold-grad); color: #fff; border-radius: 10px;
  font-weight: 800; font-size: 13px;
}
.step b { display: block; margin-bottom: 2px; }
.step span { color: var(--text-2); font-size: 14px; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; margin-top: 12px; padding-inline-start: 28px; }
.timeline::before { content: ''; position: absolute; inset-inline-start: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.tl-item { position: relative; margin-bottom: 28px; }
.tl-item::before {
  content: ''; position: absolute; inset-inline-start: -27px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold-grad); border: 3px solid var(--bg);
}
.tl-item h4 { font-size: 17px; margin-bottom: 6px; }
.tl-item p { color: var(--text-2); font-size: 14.5px; }
.tl-item .tag { margin-bottom: 8px; }

/* ---------- 架构层 ---------- */
.arch-layer { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); padding: 16px 20px; margin-bottom: 10px; }
.arch-layer .layer-title { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.arch-layer .layer-title .num { width: 26px; height: 26px; border-radius: 8px; background: var(--gold-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.arch-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.arch-pills span { background: var(--bg-input); border: 1px solid var(--border); padding: 4px 12px; border-radius: 999px; font-size: 13px; color: var(--text-2); }
.arch-flow { text-align: center; color: var(--accent); font-size: 16px; margin: 2px 0; }

/* ---------- 对齐块 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.split .aside { order: 2; }
.split.rev .aside { order: 1; }

/* ---------- FAQ ---------- */
.acc { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); margin-bottom: 10px; overflow: hidden; transition: border-color var(--t-fast); }
.acc:hover { border-color: var(--border-2); }
.acc summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: var(--bg-hover); }
.acc summary::after { content: '+'; font-size: 20px; color: var(--accent); font-weight: 400; }
.acc[open] summary::after { content: '−'; }
.acc .acc-body { padding: 0 20px 16px; color: var(--text-2); font-size: 14.5px; }

/* ---------- 演示台 ---------- */
.demo-hero { border-bottom: 1px solid var(--border); padding: 56px 0 40px; position: relative; overflow: hidden; }
.demo-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}
.demo-hero .container { position: relative; z-index: 1; }
.demo-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 13px; color: var(--text-2); white-space: nowrap;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--danger); display: inline-block; }
.dot.ok { background: var(--success); box-shadow: 0 0 8px var(--success); }
.demo-layout { display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: start; margin-top: 24px; }
.panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.panel h3 { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.panel .hint { font-size: 12px; color: var(--text-2); font-weight: 400; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-input); color: var(--text); font-size: 14.5px; font-family: var(--font);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--bg-card); }
.field select option { background: var(--bg-card); }
.field-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: transparent; color: var(--text-2); font-size: 13.5px;
  cursor: pointer; user-select: none; transition: all var(--t-fast);
}
.chip:hover { background: var(--bg-hover); color: var(--text); }
.chip.on { background: var(--text); color: #000; border-color: var(--text); font-weight: 700; }
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }
.kpi b { display: block; font-size: 21px; font-weight: 800; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.kpi span { font-size: 12px; color: var(--text-2); }
.rec-card {
  border: 1px solid rgba(29, 155, 240, 0.45); border-radius: var(--radius); padding: 18px 20px;
  background: linear-gradient(160deg, var(--accent-glow), var(--bg-card));
}
.rec-card .name { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.rec-card .reason { font-size: 14px; color: var(--text-2); margin-bottom: 12px; }
.conf-bar { height: 8px; border-radius: 999px; background: var(--bg-input); overflow: hidden; margin: 6px 0 14px; border: 1px solid var(--border); }
.conf-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--green)); }
.msg-banner { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 14px; display: none; }
.msg-banner.err { display: block; background: var(--danger-soft); border: 1px solid rgba(244, 33, 46, 0.4); color: #ff7a7a; }
.msg-banner.info { display: block; background: var(--success-soft); border: 1px solid rgba(0, 186, 124, 0.4); color: #4fd1a8; }
.mono { font-family: var(--mono); font-size: 13px; }
.role-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.role-card {
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px;
  cursor: pointer; background: var(--bg-input); transition: all var(--t-fast);
  text-align: start; font-family: var(--font); color: var(--text);
}
.role-card:hover { background: var(--bg-hover); }
.role-card.on { border-color: var(--accent); background: var(--accent-glow); }
.role-card b { display: block; font-size: 14px; margin-bottom: 2px; }
.role-card span { font-size: 12px; color: var(--text-2); }
.divider { border: 0; border-top: 1px dashed var(--border); margin: 16px 0; }
.flow-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.flow-strip .card { padding: 12px 14px; }
.flow-strip b { color: var(--accent); display: block; font-size: 14px; }
.flow-strip span { font-size: 12px; color: var(--text-2); }

/* ---------- 语言弹窗（参照 jebicapital） ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 44px 40px; max-width: 520px; width: 90%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: none; } }
.modal .brand { font-size: 30px; margin-bottom: 6px; }
.modal h2 { font-size: 22px; margin: 10px 0 4px; }
.modal p.sub { color: var(--text-2); font-size: 15px; margin-bottom: 28px; }
.lang-options { display: grid; gap: 12px; margin-bottom: 20px; }
.lang-option {
  display: flex; align-items: center; gap: 16px;
  width: 100%; padding: 16px 18px; border-radius: var(--radius);
  border: 2px solid var(--border); background: var(--bg-card);
  color: var(--text); cursor: pointer; text-align: start;
  font-family: var(--font); transition: all var(--t-fast);
}
.lang-option:hover { border-color: var(--accent); background: var(--bg-hover); transform: translateY(-2px); }
.lang-option .flag {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.lang-option b { display: block; font-size: 16px; font-weight: 700; }
.lang-option span { font-size: 13px; color: var(--text-2); }

/* ---------- 页脚 ---------- */
.foot { border-top: 1px solid var(--border); background: var(--bg-elev); padding: 44px 0 28px; margin-top: 72px; }
.foot .grid { gap: 30px; }
.foot h4 { font-size: 14px; margin-bottom: 12px; letter-spacing: 0.03em; }
.foot a { color: var(--text-2); font-size: 14px; display: block; margin: 6px 0; transition: color var(--t-fast); }
.foot a:hover { color: var(--accent); }
.foot .disclaimer { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-2); opacity: 0.85; }

/* ---------- 进入动画 ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RTL ---------- */
[dir="rtl"] .step { padding: 18px 64px 18px 20px; }
[dir="rtl"] .step::before { inset-inline-start: auto; inset-inline-end: 16px; }
[dir="rtl"] .modal { text-align: center; }
[dir="rtl"] .brand { letter-spacing: 1px; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .aside { order: 0; }
  .demo-layout { grid-template-columns: 1fr; }
  .role-cards { grid-template-columns: 1fr; }
  .flow-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .flow-strip { grid-template-columns: 1fr 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .brand { font-size: 26px; }
  .nav {
    display: none; position: absolute; top: var(--nav-h); inset-inline: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 10px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-link { width: 100%; justify-content: space-between; }
  .nav-link.active::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-inline-start: 16px; }
  .nav-item.open .dropdown { display: block; }
  .nav-toggle { display: block; }
  .hero { padding: 72px 0 60px; }
  .hero .stats { flex-direction: column; gap: 0; border-top: 0; }
  .hero .stat { border-inline-start: 0 !important; border-top: 1px solid var(--border); }
  .section { padding: 56px 0; }
  .lang-btn span { display: none; }
  .modal { padding: 32px 24px; }
}