/* ============================================================
   GEOVisibilityTool · 官方网站样式
   定位：开源、本地、端到端的 AI 品牌可见度测量与 GEO 投放策略工具集
   ============================================================ */

:root {
  /* 品牌色 */
  --brand-50:  #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-300: #a5b4fc;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f46e5;
  --brand-700: #4338ca;
  --brand-800: #3730a3;
  --violet-500: #7c3aed;
  --violet-600: #6d28d9;

  /* 语义色 */
  --cyan-500:   #06b6d4;
  --cyan-600:   #0891b2;
  --emerald-500:#10b981;
  --emerald-600:#059669;
  --red-500:    #ef4444;
  --red-600:    #dc2626;
  --amber-500:  #f59e0b;
  --amber-600:  #d97706;

  /* 中性色 */
  --ink-900: #0b1020;
  --ink-800: #0f172a;
  --ink-700: #1e293b;
  --ink-600: #334155;
  --ink-500: #475569;
  --ink-400: #64748b;
  --ink-300: #94a3b8;
  --ink-200: #cbd5e1;
  --ink-100: #e2e8f0;
  --ink-50:  #f1f5f9;

  --bg:        #ffffff;
  --bg-soft:   #f6f8fb;
  --bg-dark:   #0b1020;

  --grad-brand: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --grad-hero:  linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #4c1d95 100%);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .06);
  --shadow-lg: 0 18px 40px -12px rgba(15, 23, 42, .22);
  --shadow-brand: 0 12px 32px -8px rgba(79, 70, 229, .42);

  --ring: 0 0 0 3px rgba(99, 102, 241, .25);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
          "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, Menlo, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-800);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
code, kbd { font-family: var(--mono); }

::selection { background: var(--brand-500); color: #fff; }

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

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #e2e8f0; }

/* ---------- 通用标题 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section--dark .eyebrow,
.section--dark .eyebrow--ghost { color: var(--brand-300); background: rgba(99,102,241,.14); border-color: rgba(99,102,241,.3); }

.h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink-900);
}
.section--dark .h2 { color: #fff; }

.lead {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--ink-500);
  margin-top: 16px;
  max-width: 720px;
}
.section--dark .lead { color: #a5b4fc; }

.section-head { max-width: 780px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

.grad-text {
  background: linear-gradient(120deg, #a5b4fc 0%, #818cf8 40%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

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

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { box-shadow: 0 16px 40px -8px rgba(79,70,229,.55); transform: translateY(-1px); }

.btn--ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }

.btn--light {
  background: #fff;
  color: var(--brand-700);
  box-shadow: var(--shadow-md);
}
.btn--light:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  color: var(--brand-600);
  border-color: var(--brand-200);
}
.btn--outline:hover { background: var(--brand-50); border-color: var(--brand-300); }

.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 16, 32, 0.0);
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.nav.is-scrolled {
  background: rgba(11, 16, 32, .82);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.01em;
  color: #fff;
}
.brand__logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-brand);
  flex: none;
}
.brand__logo svg { width: 28px; height: 28px; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: #a5b4fc; letter-spacing: .04em; line-height: 1.1; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  color: #cbd5e1;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.08); }

.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__cta .btn { padding: 11px 18px; font-size: 14px; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  color: #fff;
}
.nav__toggle svg { width: 20px; height: 20px; }

/* 移动端菜单 */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(11,16,32,.97);
  backdrop-filter: blur(10px);
  padding: 100px 24px 40px;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  color: #e2e8f0;
  font-size: 20px;
  font-weight: 600;
  padding: 14px 6px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu .btn { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  color: #fff;
  padding: 168px 0 112px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}
.hero__orb--a { width: 520px; height: 520px; background: #4f46e5; top: -180px; left: -120px; }
.hero__orb--b { width: 460px; height: 460px; background: #7c3aed; bottom: -180px; right: -100px; opacity: .4; }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: #c7d2fe;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald-500);
  box-shadow: 0 0 0 4px rgba(16,185,129,.25);
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.03em;
}
.hero h1 .grad-text { display: inline-block; }

.hero__sub {
  margin-top: 24px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
  color: #cbd5e1;
  max-width: 560px;
}
.hero__sub strong { color: #fff; font-weight: 700; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__stat .num {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, #fff, #c7d2fe);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__stat .lbl { font-size: 13.5px; color: #94a3b8; margin-top: 2px; }

/* Hero 右侧：报告卡片 mock */
.hero__visual { position: relative; }
.report-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.5);
}
.report-card__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.report-card__title { font-size: 14px; color: #cbd5e1; }
.report-card__title b { display: block; font-size: 16px; color: #fff; font-weight: 700; }
.report-card__tag {
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: #34d399; background: rgba(16,185,129,.16);
  border: 1px solid rgba(16,185,129,.3);
  padding: 4px 10px; border-radius: 999px;
}

.score-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-bottom: 24px; }
.score-gauge { position: relative; width: 150px; height: 150px; margin: auto; }
.score-gauge svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.score-gauge .track { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 12; }
.score-gauge .fill {
  fill: none; stroke: url(#scoreGrad); stroke-width: 12; stroke-linecap: round;
  stroke-dasharray: 351.86; stroke-dashoffset: 351.86;
  transition: stroke-dashoffset 1.4s cubic-bezier(.22,1,.36,1);
}
.score-gauge__label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.score-gauge__label .v { font-size: 40px; font-weight: 900; line-height: 1; }
.score-gauge__label .t { font-size: 12px; color: #94a3b8; margin-top: 4px; }

.score-bars { display: flex; flex-direction: column; gap: 14px; }
.score-bar .bar-top { display: flex; justify-content: space-between; font-size: 12.5px; color: #cbd5e1; margin-bottom: 6px; }
.score-bar .bar-top b { color: #fff; font-weight: 700; }
.score-bar .bar {
  height: 7px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden;
}
.score-bar .bar > i {
  display: block; height: 100%; border-radius: 99px;
  background: var(--grad-brand);
  width: 0; transition: width 1.2s cubic-bezier(.22,1,.36,1);
}
.score-bar .bar > i.c-green { background: linear-gradient(90deg, #10b981, #34d399); }
.score-bar .bar > i.c-cyan { background: linear-gradient(90deg, #0891b2, #22d3ee); }
.score-bar .bar > i.c-amber { background: linear-gradient(90deg, #d97706, #fbbf24); }
.score-bar .bar > i.c-red { background: linear-gradient(90deg, #dc2626, #f87171); }

.report-card__foot {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.pill {
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  color: #cbd5e1; background: rgba(255,255,255,.05);
}
.pill--red { color: #fca5a5; border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.12); }
.pill--amber { color: #fcd34d; border-color: rgba(245,158,11,.35); background: rgba(245,158,11,.12); }
.pill--green { color: #6ee7b7; border-color: rgba(16,185,129,.35); background: rgba(16,185,129,.12); }

/* ---------- 痛点 ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.problem-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--brand-50); color: var(--brand-600);
}
.problem-card__icon svg { width: 26px; height: 26px; }
.problem-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; color: var(--ink-900); }
.problem-card p { font-size: 15px; color: var(--ink-500); }

/* ---------- 8 模块流水线 ---------- */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pipeline-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.pipeline-step__idx {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  color: var(--brand-300);
}
.pipeline-step__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--brand-50); color: var(--brand-600);
}
.pipeline-step__icon svg { width: 22px; height: 22px; }
.pipeline-step h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; color: var(--ink-900); }
.pipeline-step h3 em { font-style: normal; color: var(--brand-600); margin-right: 6px; }
.pipeline-step p { font-size: 13.5px; color: var(--ink-500); line-height: 1.6; }
.pipeline-step .tag {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  margin-top: 12px; padding: 3px 9px; border-radius: 6px;
  background: var(--ink-50); color: var(--ink-500);
}
.pipeline-step--core { border-color: var(--brand-200); background: linear-gradient(180deg, #fff, #f7f6ff); }
.pipeline-step--core .tag { background: var(--brand-50); color: var(--brand-600); }

.flow-arrow {
  text-align: center;
  color: var(--brand-400);
  font-size: 22px;
  line-height: 1;
  padding: 12px 0;
}
.flow-arrow svg { width: 22px; height: 22px; }

/* ---------- 指标 ---------- */
.metric-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.formula-box {
  background: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: #e2e8f0;
  position: sticky; top: 100px;
  box-shadow: var(--shadow-lg);
}
.formula-box h3 { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 18px; }
.formula {
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--mono); font-size: 14.5px;
}
.formula .row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-radius: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07);
}
.formula .row .w { color: var(--brand-300); font-weight: 700; }
.formula .row .op { color: #64748b; }
.formula .eq {
  text-align: center; font-weight: 800; color: #fff;
  padding: 10px 0; font-size: 16px;
}
.formula .result {
  background: var(--grad-brand); color: #fff; font-weight: 800;
  text-align: center; padding: 14px; border-radius: 10px;
}
.formula-note { font-size: 12.5px; color: #94a3b8; margin-top: 16px; line-height: 1.6; }

.metric-list { display: flex; flex-direction: column; gap: 16px; }
.metric-item {
  display: grid; grid-template-columns: 46px 1fr; gap: 16px;
  background: #fff; border: 1px solid var(--ink-100);
  border-radius: var(--radius); padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.metric-item__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600);
}
.metric-item__icon svg { width: 23px; height: 23px; }
.metric-item h4 { font-size: 16px; font-weight: 800; color: var(--ink-900); }
.metric-item p { font-size: 14px; color: var(--ink-500); margin-top: 4px; line-height: 1.6; }

/* ---------- 负面检测 ---------- */
.negative-banner {
  background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.negative-banner::after {
  content: ""; position: absolute; width: 380px; height: 380px;
  border-radius: 50%; background: rgba(255,255,255,.08);
  top: -160px; right: -100px; filter: blur(10px);
}
.negative-banner h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; letter-spacing: -.02em; }
.negative-banner p { margin-top: 12px; color: #fecaca; max-width: 640px; font-size: 16px; }
.negative-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.negative-cell {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 22px;
}
.negative-cell .k { font-size: 13px; font-weight: 700; color: #fca5a5; letter-spacing: .04em; text-transform: uppercase; }
.negative-cell .v { font-size: 24px; font-weight: 900; margin-top: 8px; }
.negative-cell .d { font-size: 13.5px; color: #fecaca; margin-top: 6px; line-height: 1.55; }

/* ---------- 差异化 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: #fff; border: 1px solid var(--ink-100);
  border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-card__icon {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--brand-50); color: var(--brand-600);
}
.why-card__icon svg { width: 27px; height: 27px; }
.why-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; color: var(--ink-900); }
.why-card p { font-size: 14.5px; color: var(--ink-500); line-height: 1.7; }

/* ---------- 对比表 ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14.5px; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; vertical-align: top; }
.compare-table thead th {
  background: var(--ink-900); color: #e2e8f0; font-weight: 700;
  font-size: 14px; white-space: nowrap;
}
.compare-table thead th:first-child { color: #94a3b8; font-weight: 600; }
.compare-table thead th.hl {
  background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff;
}
.compare-table thead th.hl small { display: block; font-weight: 500; font-size: 11.5px; color: #c7d2fe; }
.compare-table tbody tr { border-bottom: 1px solid var(--ink-100); }
.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table tbody td { background: #fff; color: var(--ink-600); }
.compare-table tbody td:first-child { font-weight: 700; color: var(--ink-800); background: var(--bg-soft); white-space: nowrap; }
.compare-table tbody td.hl { background: #f5f4ff; font-weight: 600; color: var(--brand-700); }
.compare-table tbody tr:hover td { background: #fafaff; }
.compare-table tbody tr:hover td:first-child { background: var(--ink-50); }
.check { color: var(--emerald-600); font-weight: 700; }
.half { color: var(--amber-600); }
.cross { color: var(--ink-300); }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.case-card {
  background: #fff; border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.case-card__head {
  background: var(--grad-hero); color: #fff; padding: 28px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
}
.case-card__head h3 { font-size: 20px; font-weight: 800; }
.case-card__head .sub { font-size: 13px; color: #a5b4fc; margin-top: 4px; }
.case-card__head .score {
  text-align: center; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px; padding: 10px 16px; flex: none;
}
.case-card__head .score .v { font-size: 30px; font-weight: 900; line-height: 1; color: #fbbf24; }
.case-card__head .score .t { font-size: 11px; color: #cbd5e1; margin-top: 2px; }
.case-card__body { padding: 28px; }

.kv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.kv .cell { background: var(--bg-soft); border-radius: 10px; padding: 14px; text-align: center; }
.kv .cell .v { font-size: 22px; font-weight: 900; color: var(--ink-900); }
.kv .cell .t { font-size: 12px; color: var(--ink-400); margin-top: 2px; }
.kv .cell.warn .v { color: var(--red-500); }

.finding { border-left: 3px solid var(--brand-500); padding: 4px 0 4px 16px; margin: 16px 0; }
.finding.risk { border-color: var(--red-500); }
.finding h5 { font-size: 14.5px; font-weight: 700; color: var(--ink-900); }
.finding p { font-size: 13.5px; color: var(--ink-500); margin-top: 4px; line-height: 1.6; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px;
  background: var(--ink-50); color: var(--ink-500);
}

/* ---------- 上手 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--ink-100);
  border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 24px; right: 26px;
  font-size: 44px; font-weight: 900; line-height: 1;
  color: var(--ink-50);
}
.step h3 { font-size: 18px; font-weight: 800; color: var(--ink-900); margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--ink-500); line-height: 1.7; }

.code-block {
  margin-top: 40px;
  background: var(--ink-900);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.code-block__head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.code-block__dot { width: 12px; height: 12px; border-radius: 50%; }
.code-block__dot:nth-child(1) { background: #f87171; }
.code-block__dot:nth-child(2) { background: #fbbf24; }
.code-block__dot:nth-child(3) { background: #34d399; }
.code-block__title { margin-left: 10px; font-size: 13px; color: #64748b; font-family: var(--mono); }
.code-block pre {
  margin: 0; padding: 22px 24px; overflow-x: auto;
  color: #e2e8f0; font-size: 13.5px; line-height: 1.75; font-family: var(--mono);
}
.code-block .c { color: #64748b; }
.code-block .s { color: #86efac; }
.code-block .k { color: #a5b4fc; }

/* ---------- 定价 ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.pricing--3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  background: #fff; border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg); padding: 36px 34px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
}
.price-card--featured {
  border: 2px solid var(--brand-500);
  box-shadow: var(--shadow-brand);
  position: relative;
}
.price-card--featured::before {
  content: "推荐";
  position: absolute; top: -14px; left: 32px;
  background: var(--grad-brand); color: #fff;
  font-size: 12px; font-weight: 800; padding: 4px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 17px; font-weight: 800; color: var(--ink-900); }
.price-card .price { font-size: 44px; font-weight: 900; letter-spacing: -.03em; margin: 18px 0 4px; color: var(--ink-900); }
.price-card .price small { font-size: 16px; font-weight: 600; color: var(--ink-400); }
.price-card .desc { font-size: 14px; color: var(--ink-500); margin-bottom: 24px; }
.price-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.price-card ul li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-600); }
.price-card ul li svg { width: 18px; height: 18px; color: var(--emerald-500); flex: none; margin-top: 2px; }
.price-card .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--ink-100);
  border-radius: var(--radius); margin-bottom: 14px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px; font-weight: 700; font-size: 16px;
  color: var(--ink-900);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; width: 22px; height: 22px; color: var(--ink-300); transition: transform .2s ease; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .answer { padding: 0 24px 22px; font-size: 14.5px; color: var(--ink-500); line-height: 1.75; }
.faq-item .answer code {
  background: var(--ink-50); padding: 2px 7px; border-radius: 6px;
  font-size: 13px; color: var(--brand-700);
}

/* ---------- 关于 / CTA ---------- */
.cta-band {
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px);
}
.cta-band::before { width: 340px; height: 340px; background: rgba(255,255,255,.16); top: -140px; left: -80px; }
.cta-band::after { width: 300px; height: 300px; background: rgba(255,255,255,.12); bottom: -140px; right: -60px; }
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; letter-spacing: -.02em; position: relative; }
.cta-band p { margin: 16px auto 32px; max-width: 560px; color: #e0e7ff; font-size: 16px; position: relative; }
.cta-band .btn { position: relative; }
.cta-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 30px; position: relative; font-size: 14px; }
.cta-contacts a { color: #c7d2fe; text-decoration: none; border: 1px solid rgba(255,255,255,.25); padding: 8px 16px; border-radius: 999px; transition: .2s; }
.cta-contacts a:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); }
.cta-contacts b { color: #fff; font-weight: 700; }
.cta-company { margin: 24px auto 0 !important; max-width: none !important; font-size: 13px !important; color: #a5b4fc !important; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 72px 0 40px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer h4 { color: #e2e8f0; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer a { display: block; font-size: 14px; color: #94a3b8; padding: 5px 0; transition: color .15s ease; }
.footer a:hover { color: #fff; }
.footer .brand { margin-bottom: 14px; }
.footer__about p { font-size: 14px; color: #94a3b8; line-height: 1.75; margin-bottom: 18px; }
.footer__license { font-size: 12.5px; color: #64748b; line-height: 1.7; }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 26px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 13px; color: #64748b;
}

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 480px; margin: 0 auto; }
  .metric-layout { grid-template-columns: 1fr; gap: 40px; }
  .formula-box { position: static; }
  .case-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pricing--3 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .hero { padding: 130px 0 72px; }
  .problem-grid, .why-grid, .negative-grid, .steps, .pricing { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .kv { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .report-card { padding: 22px; }
  .negative-banner { padding: 28px 24px; }
  .cta-band { padding: 48px 24px; }
  .h2 { font-size: 28px; }
}
