/* ============================================================
   GUANJEE·观几 官网设计系统
   品牌色（源自 logo.svg）：蓝 #215F9A · 绿 #76B900
   规则：仅使用品牌两色及其透明度变体 + 中性灰，无渐变过渡色
   用法：蓝=信息与结构（标题/图标/编号），绿=行动与结果（按钮/气泡/数据柱/对勾/节标签）
   ============================================================ */

:root {
  --blue: #215F9A;
  --green: #76B900;

  --font-sans: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", sans-serif;
  --font-mono: "Cascadia Code", "JetBrains Mono", Consolas, "SFMono-Regular",
    Menlo, monospace;

  --radius: 16px;
  --header-h: 68px;
}

/* ---------- 主题令牌 ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F6F8FA;
  --bg-alt: #EDF1F5;
  --surface: #FFFFFF;
  --ink: #215F9A;
  --ink-body: #414E5A;
  --muted: #6B7A88;
  --border: rgba(33, 95, 154, 0.13);
  --border-strong: rgba(33, 95, 154, 0.28);
  --hero-grid-line: rgba(33, 95, 154, 0.06);
  --header-bg: rgba(246, 248, 250, 0.82);
  --card-shadow: 0 18px 40px -22px rgba(13, 27, 46, 0.25);
  --scroll-thumb: rgba(33, 95, 154, 0.30);
  --scroll-thumb-hover: rgba(33, 95, 154, 0.55);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0A1524;
  --bg-alt: #0D1B2E;
  --surface: #102538;
  --ink: #E8EEF5;
  --ink-body: #C2CEDB;
  --muted: #8CA0B4;
  --border: rgba(140, 160, 184, 0.16);
  --border-strong: rgba(140, 160, 184, 0.30);
  --hero-grid-line: rgba(140, 160, 184, 0.08);
  --header-bg: rgba(10, 21, 36, 0.80);
  --card-shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.55);
  --scroll-thumb: rgba(127, 178, 220, 0.28);
  --scroll-thumb-hover: rgba(127, 178, 220, 0.50);
}

/* ---------- 滚动条（品牌蓝随主题调浓淡） ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 999px;
  border: 2.5px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: var(--scroll-thumb-hover); }
::-webkit-scrollbar-corner { background: transparent; }

html { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) transparent; }

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
}



body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.35s ease, color 0.35s ease;
}

h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0; }

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; }

::selection { background: rgba(118, 185, 0, 0.32); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}


/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--green);
  color: #FFFFFF;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -14px rgba(13, 27, 46, 0.5);
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

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

/* ---------- 头部 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.site-header.scrolled { border-bottom-color: var(--border); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

.brand-logo { height: 25px; width: auto; }

/* logo 文字色随主题切换（对应 logo 深色变体） */
.lg-blue { fill: var(--blue); }
:root[data-theme="dark"] .lg-blue { fill: #E8EEF5; }
.lg-green { fill: var(--green); }

/* 「观几」原为 NSimSun 合成粗体（字体无粗体面），轮廓化后以描边复现；
   stroke-width 6 为字形坐标单位（upm 256、缩放 0.5，即 3 个文档单位） */
.lg-cjk { stroke-width: 6; stroke-linejoin: round; }
.lg-blue.lg-cjk { stroke: var(--blue); }
:root[data-theme="dark"] .lg-blue.lg-cjk { stroke: #E8EEF5; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 550;
  color: var(--ink-body);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:hover { color: var(--ink); background: var(--bg-alt); }





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

.lang-menu {
  position: relative;
}

.lang-label {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  flex-direction: column;
  min-width: 100px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  z-index: 200;
}

.lang-dropdown.show {
  display: flex;
}

.lang-dropdown button {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 550;
  font-family: inherit;
  border: 0;
  background: transparent;
  color: var(--ink-body);
  cursor: pointer;
  text-align: left;
  border-radius: 6px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-dropdown button:hover {
  background: var(--bg-alt);
  color: var(--ink);
}

.lang-dropdown button.active {
  color: var(--green);
  font-weight: 700;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.icon-btn:hover { border-color: var(--green); background: var(--bg-alt); }

.icon-btn svg { width: 18px; height: 18px; }

:root[data-theme="light"] .ic-sun { display: none; }
:root[data-theme="dark"] .ic-moon { display: none; }

.menu-toggle { display: none; flex-direction: column; gap: 4.5px; }

.menu-toggle span {
  width: 17px;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 108px)) 0 clamp(56px, 7vw, 88px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(85% 65% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(85% 65% at 50% 0%, #000 25%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.h1a { display: block; color: var(--green); }

.h1b { display: inline; color: var(--blue); }

:root[data-theme="dark"] .h1b { color: #7FB2DC; }

.hero-sub {
  margin-top: 22px;
  max-width: 34em;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* ---------- Hero 产品模拟窗 ---------- */
.mock {
  background: #0D1B2E;
  border: 1px solid rgba(140, 160, 184, 0.18);
  border-radius: 20px;
  box-shadow: 0 34px 70px -34px rgba(6, 16, 30, 0.65);
  overflow: hidden;
  color: #C9D6E4;
}

.mock-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(140, 160, 184, 0.14);
}

.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.d-r { background: #FF5F57; }
.d-y { background: #FEBC2E; }
.d-g { background: #28C840; }

.mock-title {
  margin-left: 10px;
  font-size: 0.8rem;
  color: #8CA0B4;
  letter-spacing: 0.02em;
}

.mock-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.bubble-user {
  align-self: flex-end;
  max-width: 88%;
  padding: 10px 15px;
  background: var(--green);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 14px 14px 4px 14px;
}

.ai-steps { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  font-size: 0.76rem;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(33, 95, 154, 0.35);
  color: var(--blue);
}

:root[data-theme="dark"] .chip { border-color: rgba(127, 178, 220, 0.35); color: #7FB2DC; }

/* mock 深色窗内恒为亮蓝（页面主题切换不影响窗内配色） */
.ai-steps .chip { border-color: rgba(127, 178, 220, 0.40); color: #7FB2DC; }

.chip::before { content: "✓ "; }

.digest {
  background: rgba(7, 14, 24, 0.72);
  border: 1px solid rgba(140, 160, 184, 0.14);
  border-radius: 12px;
  overflow: hidden;
}

.digest-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #8CA0B4;
  border-bottom: 1px solid rgba(140, 160, 184, 0.12);
}

.digest-bar span:first-child { width: 8px; height: 8px; border-radius: 50%; background: #7FB2DC; }

.digest-rows { padding: 11px 13px; display: grid; gap: 9px; }

.d-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: 0.82rem;
  color: #A9BACA;
}

.d-tag {
  flex: none;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(33, 95, 154, 0.35);
  color: #7FB2DC;
}

.chart { padding: 4px 2px 0; }

.chart-title { font-size: 0.78rem; color: #8CA0B4; margin-bottom: 10px; }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  height: 128px;
}

.bar-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.bar-val { font-size: 0.82rem; font-weight: 700; color: #DCE8F4; }

.bar-track {
  width: 100%;
  max-width: 66px;
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.bar {
  width: 100%;
  height: calc(var(--v) * 100%);
  background: var(--green);
  border-radius: 7px 7px 3px 3px;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}

.in-view .bar { transform: scaleY(1); }

.bar-label {
  font-size: 0.73rem;
  color: #8CA0B4;
  white-space: nowrap;
}

/* ---------- Hero 洞察卡 ---------- */
.insight-card {
  background: rgba(33, 95, 154, 0.30);
  border: 1px solid rgba(127, 178, 220, 0.28);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #C9D6E4;
}

.insight-head {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7FB2DC;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.insight-head svg { width: 14px; height: 14px; }

.i-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 5px;
}

.i-row:first-of-type { margin-top: 0; }

.i-tag {
  flex: none;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 6px;
  margin-top: 2px;
}

.i-tag.why { background: rgba(33, 95, 154, 0.55); color: #D7E3EF; }
.i-tag.act { background: rgba(118, 185, 0, 0.20); color: var(--green); }

/* ---------- 统计条 ---------- */
.stats {
  position: relative;
  margin-top: clamp(44px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(20px, 3vw, 30px) clamp(18px, 3vw, 40px);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.stat b {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

:root[data-theme="dark"] .stat b { color: #7FB2DC; }

.stat span { font-size: 0.9rem; color: var(--muted); }

/* ---------- 通用 Section ---------- */
.section { padding: clamp(72px, 9vw, 110px) 0; }

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

.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 60px); }

.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.01em; }

.section-sub { margin-top: 14px; color: var(--muted); font-size: 1.02rem; }

/* ---------- 特性卡片 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* ---------- 适用行业 ---------- */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.ind-scenes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 30px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
  border-color: rgba(118, 185, 0, 0.45);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(33, 95, 154, 0.10);
  color: var(--blue);
  margin-bottom: 18px;
}

:root[data-theme="dark"] .card-icon { color: #7FB2DC; }

.card-icon svg { width: 24px; height: 24px; }

/* 卡片图标线条全站统一：圆端点、圆拐角、1.6 线宽（CSS 覆盖 svg 上零散的差异属性） */
.card-icon svg *,
.tech-icon svg *,
.insight-head svg *,
.icon-btn svg * {
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.card h3 { font-size: 1.12rem; margin-bottom: 10px; }

.card p { font-size: 0.93rem; color: var(--muted); }

/* ---------- 分析闭环 ---------- */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.stage {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 14px;
}

:root[data-theme="dark"] .stage { color: #7FB2DC; }

/* ---------- 工作流程 ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  background: var(--surface);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 18px;
}

:root[data-theme="dark"] .step .num { border-color: #7FB2DC; }

.step h3 { font-size: 1.08rem; margin-bottom: 8px; }

.step p { font-size: 0.92rem; color: var(--muted); }

/* ---------- 技术架构 ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.tech-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tech-card:hover {
  transform: translateY(-3px);
  border-color: rgba(118, 185, 0, 0.45);
  box-shadow: var(--card-shadow);
}

.tech-icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(33, 95, 154, 0.10);
  color: var(--blue);
}

:root[data-theme="dark"] .tech-icon { color: #7FB2DC; }

.tech-icon svg { width: 24px; height: 24px; }

.tech-card h3 { font-size: 1.08rem; margin-bottom: 6px; }

.tech-card p { font-size: 0.93rem; color: var(--muted); }


/* ---------- 预约演示表单 ---------- */
.demo-content-centered {
  display: flex;
  justify-content: center;
}

.demo-content-centered .demo-form-wrap {
  max-width: 560px;
  width: 100%;
}

.demo-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink-body);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(118, 185, 0, 0.12);
}

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

.btn-full {
  width: 100%;
}

.demo-msg {
  margin-top: 16px;
  padding: 0;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.demo-msg.show {
  padding: 12px 16px;
  opacity: 1;
}

.demo-msg.success {
  background: rgba(118, 185, 0, 0.10);
  color: var(--green);
  border: 1px solid rgba(118, 185, 0, 0.30);
}

.demo-msg.error {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.25);
}

:root[data-theme="dark"] .demo-msg.error {
  background: rgba(248, 113, 113, 0.10);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.30);
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  padding: clamp(72px, 9vw, 110px) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta-inner h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }

.cta-inner p { margin: 14px auto 30px; max-width: 32em; color: var(--muted); }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: clamp(40px, 5vw, 56px) 0 28px;
}

.footer-tag { margin-top: 14px; font-size: 0.88rem; font-weight: 600; color: var(--ink); }

.footer-desc { margin-top: 6px; max-width: 30em; font-size: 0.9rem; color: var(--muted); }

.footer-nav { display: flex; gap: 10px; flex-wrap: wrap; }

.footer-nav a {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.footer-nav a:hover { color: var(--ink); background: var(--bg-alt); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0 26px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- 用前用后对比 ---------- */
.compare { display: flex; flex-direction: column; gap: 12px; }

.compare-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0 20px;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cell {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 16px 19px;
  border-radius: 14px;
  font-size: 0.96rem;
  line-height: 1.6;
}

.cell p { margin: 0; }

.cell.before {
  background: var(--bg-alt);
  color: var(--muted);
  border: 1px dashed var(--border-strong);
}

.cell.after {
  background: var(--surface);
  color: var(--ink-body);
  border: 1px solid rgba(118, 185, 0, 0.45);
}

.mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  margin-top: 2px;
}

.mark.x { background: rgba(65, 78, 90, 0.12); color: var(--muted); }

.mark.v { background: var(--green); color: #FFFFFF; }

/* ---------- 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease var(--d, 0s), transform 0.7s ease var(--d, 0s);
}

.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bar { transform: scaleY(1); transition: none; }
  .btn, .card, .tech-card { transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 620px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }
}

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

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 4vw 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px -24px rgba(6, 16, 30, 0.35);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  body.menu-open .site-nav { opacity: 1; transform: none; pointer-events: auto; }

  .site-nav a { padding: 13px 16px; font-size: 1rem; }

  
}

@media (max-width: 640px) {
  .brand-logo { height: 20px; }
  .lang-switch button { padding: 6px 9px; }

  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .ind-grid { grid-template-columns: minmax(0, 1fr); }
  .insight-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .compare-head { display: none; }
  .compare-row { grid-template-columns: minmax(0, 1fr); }
  .tech-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .stat { flex-direction: row; justify-content: center; align-items: baseline; gap: 10px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .footer-inner { flex-direction: column; gap: 18px; }
  .mock-body { padding: 15px; }
  .chart-bars { height: 104px; gap: 12px; }
}
