/* ===================================================================
   GEO 引擎优化平台 — UI 2.1 深色科技风
   深墨底 + 玻璃拟态 + 信号绿/蓝辉光。零外部依赖，图标全部内联 SVG。
   =================================================================== */

* { box-sizing: border-box; }

:root {
  /* 色 */
  --bg: #070C16;
  --ink: #0B1220;
  --surface: rgba(255, 255, 255, .04);
  --border: rgba(255, 255, 255, .09);
  --text: #E8ECF4;
  --muted: #8B94AC;
  --accent: #00E3A0;
  --accent-2: #4D9FFF;
  --accent-ink: #062A20;
  --accent-soft: rgba(0, 227, 160, .14);
  --warn: #F5A524;
  --danger: #FF5D68;

  /* 形 */
  --radius-card: 14px;
  --radius-btn: 10px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, .45);
  --gutter: clamp(20px, 4vw, 64px);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 装饰层：微弱网格 + 顶部信号绿辉光，固定不随内容滚动，永远在最底层 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(560px circle at 50% -10%, rgba(0, 227, 160, .12), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 64px);
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 .5rem;
  color: #fff;
}

h1 { font-size: 1.9rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }

p { margin: 0 0 .9rem; }

.subtitle { color: var(--muted); }

.muted { color: var(--muted); }

/* 数字使用等宽数字特性 */
.num, .stat-value, .price-tag { font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------------
   版心容器
   ------------------------------------------------------------- */

/* 全幅布局：不设居中窄版心，内容区流式全宽，左右内边距随视口缩放 */
.container {
  width: 100%;
  padding: 0 var(--gutter);
}

/* 例外：登录卡与纯长文阅读页需要窄版心 */
.container--narrow { max-width: 420px; margin: 0 auto; padding: 0 20px; }
.container--reading { max-width: 760px; margin: 0 auto; }

.page { padding-top: 2.5rem; padding-bottom: 4rem; }
.page--tight { padding-top: 2rem; padding-bottom: 3.5rem; }

/* -------------------------------------------------------------
   顶部导航（六页统一）
   ------------------------------------------------------------- */

.nav {
  background: rgba(7, 12, 22, .72);
  color: var(--text);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.nav-inner {
  width: 100%;
  padding: 0 var(--gutter);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1.02rem;
  padding: .8rem 0;
  white-space: nowrap;
}

.nav-logo svg { flex: none; color: var(--accent); }

.nav-left { display: flex; align-items: center; gap: 1.4rem; min-width: 0; }
.nav-cluster { display: flex; align-items: center; gap: .9rem; }

.nav-right {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
  padding: .6rem 0;
  font-size: .9rem;
}

.nav-right span { color: rgba(255, 255, 255, .78); }

.nav-right .back-link,
.nav-right a.back-link {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  padding: .4rem .2rem;
  margin-bottom: 0; /* 抵消全局 .back-link 的 margin-bottom，保证导航行内垂直居中 */
  line-height: 1;
}
.nav-right .back-link:hover { color: #fff; }

.nav-right .btn,
.nav-right .btn-sm {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  box-shadow: none;
}
.nav-right .btn:hover,
.nav-right .btn-sm:hover {
  background: rgba(255, 255, 255, .1);
  box-shadow: none;
}

.lang-switch { position: relative; }
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  border-radius: 999px;
  padding: .35rem .7rem;
  font-size: .85rem;
  cursor: pointer;
  min-height: 44px; /* 触控目标：语言切换按钮保证 ≥44px 可点区域 */
}
.lang-switch-btn:hover { background: rgba(255, 255, 255, .1); }
.lang-switch-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .4rem);
  background: #0f1626;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .35rem;
  margin: 0;
  list-style: none;
  min-width: 8rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
  z-index: 50;
}
.lang-switch-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, .85);
  padding: .45rem .6rem;
  border-radius: 6px;
  font-size: .88rem;
  cursor: pointer;
}
.lang-switch-menu button:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255, 255, 255, .1);
  border-radius: 999px;
  padding: .3rem .75rem;
  font-size: .85rem;
  color: #fff;
}

.page-head-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { color: rgba(255, 255, 255, .22); }
.breadcrumb .current { color: var(--text); font-weight: 600; }

/* -------------------------------------------------------------
   Hero（index.html）
   ------------------------------------------------------------- */

.hero {
  color: var(--text);
  padding: 3.4rem 0 4.4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(0, 227, 160, .35);
  border-radius: 999px;
  padding: .32rem .85rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 1.1rem;
}

.hero h1 {
  background: linear-gradient(90deg, #00E3A0, #4DD8FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 2.5rem;
  max-width: 640px;
  margin-bottom: .75rem;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
}

/* 三步流程条 */
.steps {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: -2.6rem 0 2.6rem;
  position: relative;
  z-index: 1;
}

.step-card {
  flex: 1 1 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.1rem 1.25rem;
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.step-num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(0, 227, 160, .35);
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card strong { display: block; font-size: .95rem; margin-bottom: .2rem; }
.step-card span { color: var(--muted); font-size: .84rem; }

/* -------------------------------------------------------------
   首页「你的情况是？」双路径区
   ------------------------------------------------------------- */

.path-cards { margin: 2.6rem 0 2.8rem; }

.path-card {
  border-radius: var(--radius-card);
  padding: 1.75rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.path-card-media {
  /* 方形插画不裁剪：居中徽章式呈现，圆角+细描边自成一体 */
  display: flex;
  justify-content: center;
  margin: 0 0 1.1rem;
  height: 200px;
}
.path-card-media img {
  width: auto;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 0 32px rgba(0, 227, 160, .08);
}

.path-card--light {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.path-card--dark {
  background: linear-gradient(160deg, rgba(0, 227, 160, .10), rgba(77, 159, 255, .06));
  border: 1px solid rgba(0, 227, 160, .28);
  box-shadow: var(--shadow-sm), 0 0 32px rgba(0, 227, 160, .08);
}

.path-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  font-size: .84rem;
  font-weight: 600;
}

.path-steps .path-step {
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
  padding: .3rem .75rem;
}

.path-steps .path-arrow { color: var(--muted); }

.path-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: .3rem; }

/* -------------------------------------------------------------
   服务卡片 grid
   ------------------------------------------------------------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.1rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

/* 套餐卡专用：subgrid 把 5 个直接子节点对齐到 .service-grid 共享的行轨道，行高按各卡真实
   内容自动撑开（浏览器计算，不是猜的固定高度）——同一视觉行内的卡片，「套餐内含」标题
   （第 4 行）自然落在同一条网格线上；换行到单列（窄屏）时每张卡各自成一组行，互不影响。
   bundleCardHtml 固定输出 5 个直接子节点：icon / h2 / hook / deliverables 容器 / foot-wrap
   （2026-08-19 文字精简去掉 claim 段，见 docs/spec.md「套餐卡文字精简」，行数 6→5）。 */
.bundle-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
  row-gap: .8rem;
}
.bundle-card-foot {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.bundle-hook { min-height: 2.6em; }
.bundle-card .bundle-hook { color: var(--text); font-weight: 500; font-size: .92rem; line-height: 1.4; }

/* 窄屏单列堆叠时，每张卡各自成一组行，上面的 subgrid 共享行轨道机制不再跨卡对齐（见 .bundle-card
   注释）。hook 压到一行短句，三语最长仍可能换行，留够 2 行高度的余量。 */
@media (max-width: 700px) {
  .bundle-hook { min-height: 2.8rem; }
}
.bundle-close {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.4;
  margin: 0;
  padding-top: .6rem;
  border-top: 1px dashed var(--border);
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .2rem;
}

.service-card h2 { font-size: 1.08rem; }
.service-card p { color: var(--muted); flex: 1; }

.service-foot {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: .3rem;
}
.service-foot .btn { margin-left: auto; }

.price-tag {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 700;
  font-size: .95rem;
  padding: .25rem .6rem;
  border-radius: 8px;
}

/* 「你将获得」交付物清单：index.html 服务卡与 form.html 摘要卡共用 */
.service-deliverables { margin: 0; }
.deliverables-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 .35rem;
}
.deliverables-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.deliverables-list li {
  font-size: .84rem;
  font-weight: 500;
  color: var(--text);
}
/* 套餐卡每条 ✓ 下面一行白话短语——得到什么，不是术语；2026-08-19 压成短语后字号再降一级、
   拉开与 ✓ 主项的间距，做出清单的层级感（见 docs/spec.md「套餐卡文字精简」）。 */
.member-blurb {
  display: block;
  margin-top: .25rem;
  font-size: .7rem;
  font-weight: 400;
  line-height: 1.35;
  opacity: .8;
  color: var(--muted);
}

/* -------------------------------------------------------------
   服务卡「效果示意图」mini-mockup（纯 CSS/SVG 手作，非截图/非 AI 生图）
   置于 tagline 与「你将获得」之间，仅前端注入，SSR 输出不含
   ------------------------------------------------------------- */

.svc-illust {
  position: relative;
  margin: .1rem 0 .2rem;
  padding: .6rem .65rem;
  min-height: 118px;
  border-radius: 10px;
  background: linear-gradient(165deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, .18));
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .3rem;
  font-size: .72rem;
  overflow: hidden;
}

/* audit：红绿灯检查条 + 分数徽章 */
.si-check-row { display: flex; align-items: center; gap: .4rem; }
.si-dot {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; font-weight: 700;
}
.si-dot--ok { background: var(--accent-soft); color: var(--accent); }
.si-dot--bad { background: rgba(255, 93, 104, .16); color: var(--danger); }
.si-label { color: var(--text); opacity: .85; }
.si-score-badge {
  position: absolute; top: .5rem; right: .55rem;
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 700; color: var(--accent);
  background: rgba(0, 0, 0, .3);
}
.si-score-badge .si-score-max { font-size: .55rem; opacity: .7; font-weight: 500; margin-left: 1px; }
.si-score-badge--pct {
  position: static; width: auto; height: auto; border-radius: 20px;
  padding: .15rem .55rem; margin-right: auto;
}

/* optimize：前后对比 */
.svc-illust--optimize { flex-direction: row; align-items: center; justify-content: space-between; }
.si-panel {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: .25rem;
  padding: .5rem .3rem; border-radius: 8px; text-align: center;
}
.si-panel--off { background: rgba(255, 93, 104, .08); border: 1px dashed rgba(255, 93, 104, .35); }
.si-panel--on { background: var(--accent-soft); border: 1px solid rgba(0, 227, 160, .35); }
.si-panel-x { font-size: 1rem; font-weight: 700; }
.si-panel--off .si-panel-x { color: var(--danger); }
.si-panel--on .si-panel-x { color: var(--accent); }
.si-panel-label { font-size: .64rem; color: var(--muted); }
.si-arrow { color: var(--accent-2); font-size: 1.1rem; flex: none; padding: 0 .3rem; }

/* website：迷你浏览器窗口 */
.svc-illust--website { padding: 0; }
.si-browser-bar {
  display: flex; align-items: center; gap: .3rem; padding: .4rem .5rem;
  background: rgba(255, 255, 255, .05); border-bottom: 1px solid var(--border);
}
.si-dot-r, .si-dot-y, .si-dot-g { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.si-dot-r { background: var(--danger); }
.si-dot-y { background: var(--warn); }
.si-dot-g { background: var(--accent); }
.si-addr {
  margin-left: .4rem; font-size: .62rem; color: var(--muted);
  background: rgba(255, 255, 255, .05); padding: .12rem .5rem; border-radius: 6px; flex: 1;
}
.si-browser-body { padding: .7rem .6rem; display: flex; flex-direction: column; gap: .35rem; }
.si-skel { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--accent-soft), rgba(77, 159, 255, .14)); }
.si-skel--title { width: 55%; height: 11px; }
.si-skel--line { width: 90%; }
.si-skel--line.short { width: 60%; }

/* generate：文件卡片叠放 + 机器人读取 */
.svc-illust--generate { flex-direction: row; align-items: center; justify-content: space-between; gap: .4rem; }
.si-files { position: relative; width: 76px; height: 66px; flex: none; }
.si-file {
  position: absolute; left: 0; width: 74px; padding: .3rem .4rem; font-size: .58rem; font-weight: 600;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--border); border-radius: 6px; color: var(--text);
  transform: translateY(calc(var(--i) * 14px)) rotate(calc(var(--i) * -2deg));
  box-shadow: var(--shadow-sm);
}
.si-file:nth-child(3) { color: var(--accent); border-color: rgba(0, 227, 160, .35); }
.si-bot { font-size: 1.25rem; display: flex; align-items: center; gap: .25rem; color: var(--accent-2); flex: none; }
.si-bot-arrow { font-size: 1rem; }

/* faq：对话气泡 */
.svc-illust--faq { gap: .4rem; }
.si-bubble { max-width: 92%; padding: .4rem .6rem; border-radius: 10px; font-size: .68rem; line-height: 1.35; }
.si-bubble--q { align-self: flex-start; background: rgba(255, 255, 255, .07); color: var(--text); border-bottom-left-radius: 2px; }
.si-bubble--a { align-self: flex-end; background: var(--accent-soft); color: var(--accent); border-bottom-right-radius: 2px; font-weight: 600; }

/* baseline：折线图 + 出现率徽章 */
.svc-illust--baseline { position: relative; }
.si-chart { width: 100%; height: 44px; display: block; }
.si-line { fill: none; stroke-width: 2.4; }
.si-line--brand { stroke: var(--accent); }
.si-line--comp { stroke: var(--muted); opacity: .7; }
.si-chart-legend { display: flex; align-items: center; gap: .3rem; font-size: .6rem; color: var(--muted); flex-wrap: wrap; }
.si-legend-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.si-legend-dot--brand { background: var(--accent); }
.si-legend-dot--comp { background: var(--muted); margin-left: .55rem; }
.svc-illust--baseline .si-score-badge--pct { position: absolute; top: .5rem; right: .55rem; }

/* localmap：抽象地图 + 评分气泡 + 商户信息条 */
.svc-illust--localmap { padding: 0; }
.si-map { position: relative; height: 78px; background: linear-gradient(135deg, #12233A, #0C1A2C); overflow: hidden; }
.si-map-roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.si-road { stroke: rgba(255, 255, 255, .14); stroke-width: 2; }
.si-pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.si-pin::after { content: ""; width: 6px; height: 6px; border-radius: 50%; margin-top: 1px; }
.si-pin-star { font-size: .6rem; font-weight: 700; padding: .1rem .4rem; border-radius: 10px; white-space: nowrap; }
.si-pin--brand .si-pin-star { background: var(--accent); color: var(--accent-ink); }
.si-pin--brand::after { background: var(--accent); }
.si-pin--other .si-pin-star { background: rgba(255, 255, 255, .16); color: var(--muted); }
.si-pin--other::after { background: var(--muted); }
.si-merchant-bar {
  display: flex; align-items: center; gap: .45rem; padding: .45rem .6rem;
  background: rgba(255, 255, 255, .05); border-top: 1px solid var(--border);
}
.si-merchant-avatar { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); flex: none; }
.si-merchant-name { font-size: .68rem; font-weight: 700; color: var(--text); }
.si-merchant-rate { font-size: .6rem; color: var(--muted); margin-left: auto; white-space: nowrap; }

/* citations：源站徽章连线指向中心品牌节点的引用网络示意 */
.svc-illust--citations { position: relative; height: 118px; padding: 0; }
.si-cite-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.si-cite-line { stroke: var(--accent); stroke-width: 1.5; opacity: .45; }
.si-cite-badge {
  position: absolute; transform: translate(-50%, -50%);
  width: 26px; height: 26px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 700; color: var(--text);
  background: rgba(255, 255, 255, .08); border: 1px solid var(--border);
}
.si-cite-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: .3rem .6rem; border-radius: 20px;
  font-size: .66rem; font-weight: 700; color: var(--accent-ink);
  background: var(--accent); white-space: nowrap; box-shadow: var(--shadow-sm);
}

/* 社区口碑建设（community）：社区帖子列表示意，品牌行高亮+正面徽章 */
.svc-illust--community { padding: .5rem .6rem; gap: .32rem; }
.si-post-row { display: flex; align-items: center; gap: .4rem; padding: .22rem .3rem; border-radius: 6px; }
.si-post-row--brand { background: var(--accent-soft); }
.si-post-avatar { width: 16px; height: 16px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, .16); }
.si-post-avatar--brand { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.si-post-title { font-size: .66rem; color: var(--muted); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.si-post-row--brand .si-post-title { color: var(--text); font-weight: 600; }
.si-post-badge { font-size: .58rem; font-weight: 700; color: var(--accent); background: rgba(0, 227, 160, .14); padding: .08rem .35rem; border-radius: 8px; flex: none; }

/* -------------------------------------------------------------
   页脚
   ------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  color: rgba(255, 255, 255, .55);
  font-size: .85rem;
  padding: 1.6rem 0;
  margin-top: 3rem;
}

/* -------------------------------------------------------------
   卡片（玻璃拟态）
   ------------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}

a.card:hover,
.card--hover:hover,
.service-card:hover,
.step-card:hover {
  box-shadow: 0 0 24px rgba(0, 227, 160, .15), var(--shadow-lg);
  border-color: rgba(0, 227, 160, .4);
  transform: translateY(-2px);
}

.card h2 { margin: 0 0 .4rem; }
.card p { color: var(--muted); margin: 0 0 .9rem; }
.card > *:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------
   按钮
   ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: linear-gradient(180deg, #0BEFAC 0%, #00CE90 100%);
  color: #05231A;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 4px 16px rgba(0, 227, 160, .18);
  border-radius: var(--radius-btn);
  padding: .62rem 1.3rem;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: box-shadow .15s ease, filter .15s ease, transform .1s ease;
}

.btn:hover { box-shadow: 0 0 20px rgba(0, 227, 160, .35); filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }

.btn:disabled,
.btn[disabled] {
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .35);
  box-shadow: none;
  filter: none;
  cursor: not-allowed;
  transform: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); color: #fff; }

.btn-sm { padding: .38rem .8rem; font-size: .82rem; border-radius: 8px; }

/* -------------------------------------------------------------
   徽标 badge
   ------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .18rem .6rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

/* 任务状态 */
.status-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 600; }

/* -------------------------------------------------------------
   客户案例卡（首页「客户案例」区）
   ------------------------------------------------------------- */

.case-cards { margin: 2.6rem 0 2.8rem; }

.case-card { padding: 0; overflow: hidden; }

.case-media img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-body { padding: 1.5rem 1.6rem; }
.case-body h3 { margin: 0 0 .3rem; }
.case-body .case-desc { color: var(--muted); margin: 0 0 1rem; }

.case-foot {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  flex-wrap: wrap;
}
.case-foot .case-source { color: var(--muted); font-size: .78rem; }

/* -------------------------------------------------------------
   表单
   ------------------------------------------------------------- */

label {
  display: block;
  font-weight: 600;
  font-size: .82rem;
  margin: 1.1rem 0 .35rem;
  color: var(--text);
}

.help {
  color: var(--muted);
  font-size: .82rem;
  margin: .3rem 0 0;
}

input[type="text"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: .62rem .75rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: .92rem;
  font-family: inherit;
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
textarea::placeholder { color: var(--muted); }

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 227, 160, .18), 0 0 16px rgba(0, 227, 160, .12);
}

textarea { min-height: 5.4rem; resize: vertical; }

.required-mark { color: var(--danger); margin-left: .15rem; }

.field { margin-bottom: 1rem; }

/* 分段控件（登录页角色切换） */
.role-tabs {
  display: flex;
  gap: .3rem;
  background: rgba(0, 0, 0, .22);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .25rem;
  margin-bottom: 1.3rem;
}

.role-tab {
  flex: 1;
  text-align: center;
  padding: .55rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  transition: background .15s ease, color .15s ease;
}

.role-tab.active { background: linear-gradient(180deg, #0BEFAC, #00CE90); color: #05231A; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }

/* -------------------------------------------------------------
   表格
   ------------------------------------------------------------- */

table {
  width: 100%;
  border-collapse: collapse;
  margin: .5rem 0;
}

th, td {
  padding: .6rem .7rem;
  text-align: left;
  font-size: .88rem;
  border-bottom: 1px solid var(--border);
}

th {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  font-weight: 700;
  background: transparent;
}

tbody tr:hover { background: rgba(255, 255, 255, .04); }

/* -------------------------------------------------------------
   报告内容（result.html 注入）：pass / fail
   ------------------------------------------------------------- */

.pass, .fail {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.pass { color: var(--accent); }
.pass::before {
  content: "";
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent);
  display: inline-block;
}
.fail { color: var(--danger); }
.fail::before {
  content: "";
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--danger);
  display: inline-block;
}

pre {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .9rem 1rem;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  font-size: .84rem;
  color: var(--text);
}

details > summary { cursor: pointer; font-weight: 600; color: var(--accent-2); }

/* 报告尾部「下一步」转化钩子（audit/optimize 引擎注入） */
.next-step { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px dashed var(--border); }
.next-step h3 { margin-bottom: .5rem; }
.next-step .btn { margin-top: .3rem; margin-right: .5rem; }

/* -------------------------------------------------------------
   任务状态步骤指示（status.html）
   ------------------------------------------------------------- */

.job-steps {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .3rem;
}

.job-step {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
}

.job-step-dot {
  width: 22px; height: 22px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .18);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  color: var(--muted);
  flex: none;
}

.job-step.done .job-step-dot { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.job-step.done { color: var(--text); }

.job-step.active .job-step-dot {
  border-color: var(--accent);
  color: var(--accent);
  animation: pulse-ring 1.4s ease-in-out infinite;
}
.job-step.active { color: var(--text); }

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 227, 160, .35); }
  50% { box-shadow: 0 0 0 6px rgba(0, 227, 160, 0); }
}

.job-step-line {
  flex: 1 1 24px;
  height: 2px;
  background: rgba(255, 255, 255, .14);
  min-width: 16px;
}
.job-step-line.done { background: var(--accent); }

/* 文件下载区 */
.files-list { list-style: none; padding: 0; margin: 0; }
.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--border);
}
.file-row:last-child { border-bottom: none; }
.file-row-name { display: flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 600; }
.file-row-name svg { color: var(--muted); flex: none; }

/* -------------------------------------------------------------
   提示 / 错误 / 空状态
   ------------------------------------------------------------- */

.error-box {
  background: rgba(255, 93, 104, .12);
  color: var(--danger);
  border: 1px solid rgba(255, 93, 104, .3);
  border-radius: 10px;
  padding: .85rem 1rem;
  white-space: pre-wrap;
  font-size: .9rem;
}

/* Toast（右上角滑入，window.alert 兜底仍可用） */
.toast-stack {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.toast {
  background: rgba(14, 21, 36, .92);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  border-radius: 10px;
  padding: .7rem 1rem;
  font-size: .86rem;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 227, 160, .12);
  animation: toast-in .18s ease;
  max-width: 320px;
}

@keyframes toast-in {
  from { transform: translateX(16px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: start;
}

@media (min-width: 900px) {
  .form-layout { grid-template-columns: 1.6fr 1fr; }
  .summary-card { position: sticky; top: 1.5rem; }
}

.summary-card dt { font-size: .78rem; color: var(--muted); margin-top: .8rem; }
.summary-card dt:first-child { margin-top: 0; }
.summary-card dd { margin: .15rem 0 0; font-size: .92rem; font-weight: 600; color: var(--text); }
.summary-card hr { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }
.summary-note { background: rgba(255, 255, 255, .04); border-radius: 9px; padding: .7rem .8rem; font-size: .8rem; color: var(--muted); margin-top: 1.1rem; }

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent-2);
  text-decoration: none;
  font-size: .9rem;
}
.back-link:hover { text-decoration: underline; }

hr { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }

/* -------------------------------------------------------------
   滚动条（可选，仅 webkit）
   ------------------------------------------------------------- */

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .24); }

/* -------------------------------------------------------------
   响应式细节
   ------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: 2; margin-top: 1.5rem; }
  .steps { margin-top: 0; }
  .page-head { flex-direction: column; align-items: flex-start; }
  .nav-inner { min-height: auto; padding-top: .5rem; padding-bottom: .5rem; }
}

@media (max-width: 640px) {
  /* 手机导航单行：logo 左，知识中心+语言切换紧凑排右；不换行不溢出。
     品牌名与「知识中心」在 en/th 下原文过长，不靠省略号截断兜底——
     原文案节点保留在 DOM（font-size:0 视觉隐藏，不影响可访问名/SEO），短词通过伪元素 content 展示，
     纯 CSS 按 <html lang> 切换（服务端已把该属性设为 zh/en/th），不改 lib/i18n.js 既有 markers 值 */
  .nav-inner { flex-wrap: nowrap; gap: .4rem; padding-left: 14px; padding-right: 14px; }
  .nav-left { gap: .4rem; min-width: 0; }
  .nav-logo { min-width: 0; flex: 0 1 auto; gap: .4rem; }
  .nav-logo span { min-width: 0; font-size: .9rem; white-space: nowrap; }
  html[lang="en"] .nav-logo span,
  html[lang="th"] .nav-logo span {
    font-size: 0;
  }
  html[lang="en"] .nav-logo span::after { content: "GEO Platform"; font-size: .9rem; }
  html[lang="th"] .nav-logo span::after { content: "แพลตฟอร์ม GEO"; font-size: .9rem; }

  .nav-left .back-link {
    flex: 0 1 auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: 0;
  }
  .nav-left .back-link::before { content: "📚"; font-size: .82rem; }
  .nav-left .back-link::after { content: "知识中心"; font-size: .82rem; }
  html[lang="en"] .nav-left .back-link::after { content: "Hub"; }
  html[lang="th"] .nav-left .back-link::after { content: "ศูนย์ฯ"; }

  .nav-cluster { gap: .5rem; flex: none; }
  .lang-switch-btn { padding: .3rem .5rem; gap: 0; }
  .lang-switch-btn #lang-switch-label { display: none; }
  .lang-switch-btn::after { content: attr(data-short); font-weight: 700; font-size: .78rem; margin-left: .3rem; }
}

@media (max-width: 560px) {
  .hero { padding: 2.4rem 0 3.2rem; }
}


/* ===================================================================
   营销页 3.0 —— 首页专用排版（居中版心 + 区块节奏）
   深色背景下采用 1180px 居中版心让内容饱满；后台页不受影响。
   =================================================================== */

/* 全幅：内容吃满视口，仅保留随视口缩放的边距（用户明确要求，不设居中版心） */
.shell {
  width: 100%;
  padding: 0 clamp(24px, 5vw, 80px);
}

.section { padding: 4.2rem 0; }
.section--flush { padding: 0 0 1rem; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.4rem;
}
.kicker {
  display: inline-block;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.section-head h2 { font-size: 1.9rem; margin-bottom: .4rem; }
.section-sub { color: var(--muted); font-size: .95rem; }

.btn-lg { padding: .85rem 1.9rem; font-size: 1rem; }

/* ---- Hero 3.0：居中文案 + 电影宽幅大图 ---- */
.hero-3 { padding: 4.6rem 0 3.4rem; }
.hero-3-copy { text-align: center; max-width: 760px; margin: 0 auto; }
.hero-3-copy h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.16;
  margin: .9rem 0 1rem;
  background: linear-gradient(92deg, #FFFFFF 15%, #00E3A0 55%, #4DD8FF 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-3-sub { color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.hero-3-cta { display: flex; gap: .9rem; justify-content: center; margin-top: 1.7rem; flex-wrap: wrap; }

.hero-figure {
  margin: 3rem 0 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 60px rgba(0, 227, 160, .07);
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 2.4 / 1;
  object-fit: cover;
  display: block;
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 12, 22, .78) 100%);
  pointer-events: none;
}

/* ---- 双路径 3.0 ---- */
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.path-card-3 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.path-card-3:hover {
  border-color: rgba(0, 227, 160, .4);
  box-shadow: 0 0 24px rgba(0, 227, 160, .12);
  transform: translateY(-2px);
}
.path-media-3 { height: 210px; overflow: hidden; position: relative; }
.path-media-3 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.path-media-3::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 14, 24, .72) 100%);
}
.path-body-3 { padding: 1.4rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.path-body-3 h3 { font-size: 1.25rem; margin: 0; }
.path-body-3 > p { color: var(--muted); margin: 0 0 .4rem; }
.path-body-3 .path-steps { margin-bottom: .9rem; }
.path-body-3 .btn { margin-top: auto; }

/* ---- 案例 3.0 ---- */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 1.4rem; }
.case-card-3 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
}
.case-media-3 { height: 230px; overflow: hidden; border-bottom: 1px solid var(--border); }
.case-media-3 img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.case-body-3 { padding: 1.4rem 1.6rem 1.5rem; }
.case-body-3 h3 { font-size: 1.2rem; margin-bottom: .1rem; }
.case-tag-3 { color: var(--accent); font-size: .82rem; font-weight: 600; margin-bottom: .7rem; }
.case-desc { color: var(--muted); font-size: .92rem; margin-bottom: 1.1rem; }
.case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-bottom: 1rem;
}
.case-stat {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .75rem .9rem;
}
.case-stat--wide { grid-column: 1 / -1; }
.case-stat b {
  display: block;
  font-size: 1.35rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.case-stat span { color: var(--muted); font-size: .78rem; line-height: 1.45; display: block; margin-top: .15rem; }
.case-source { color: rgba(139, 148, 172, .6); font-size: .74rem; margin: 0; }
.case-cta { text-align: center; margin-top: 1.8rem; }

/* ---- 留资 3.0：左文案右表单 ---- */
.section--contact {
  background: linear-gradient(180deg, transparent, rgba(0, 227, 160, .045) 40%, transparent);
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
}
.lead-pitch h2 { font-size: 1.9rem; line-height: 1.3; margin-bottom: 1.1rem; }
.lead-points { list-style: none; margin: 0; padding: 0; }
.lead-points li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--muted);
  margin-bottom: .75rem;
  line-height: 1.6;
}
.lead-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.lead-card { margin: 0; }
/* 留资表单：输入框 font-size 需 ≥16px，避免 iOS Safari 聚焦时自动放大整页 */
#lead-form input[type="text"],
#lead-form textarea,
#lead-form select { font-size: 16px; }
/* 留资表单提交按钮：触控目标保证 ≥44px */
#lead-submit-btn { min-height: 44px; }

/* ---- 页脚 3.0 ---- */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-link {
  color: var(--muted);
  text-decoration: none;
  font-size: .85rem;
  margin-left: 1rem;
}
.footer-link:hover { color: var(--text); }

/* ---- 营销页响应式 ---- */
@media (max-width: 920px) {
  .path-grid, .case-grid, .lead-grid { grid-template-columns: 1fr; }
  .lead-grid { gap: 1.6rem; }
  .hero-figure img { aspect-ratio: 16 / 10; }
  .section { padding: 3rem 0; }
}


/* ---- Hero 4.0：全屏大图，文字叠图 ---- */
.hero-4 {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-4-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
/* 遮罩：中央径向压暗保文字对比，底部渐入页面底色衔接下一区块 */
.hero-4::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(4, 8, 16, .66), rgba(4, 8, 16, .28) 70%),
    linear-gradient(180deg, rgba(7, 12, 22, .55) 0%, rgba(7, 12, 22, .15) 35%, rgba(7, 12, 22, .92) 92%, var(--bg) 100%);
  pointer-events: none;
}
.hero-4-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 880px;
  padding: 7rem clamp(24px, 5vw, 80px) 6rem;
}
.hero-4-content h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  line-height: 1.14;
  letter-spacing: -.015em;
  margin: 1.1rem 0 1.2rem;
  background: linear-gradient(92deg, #FFFFFF 20%, #7CF5CE 60%, #4DD8FF 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.hero-4-sub {
  color: rgba(232, 236, 244, .82);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.85;
}
.hero-4-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-4 .hero-tag { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

@media (max-width: 920px) {
  .hero-4 { min-height: 72vh; }
  .hero-4-content { padding-top: 5rem; padding-bottom: 4rem; }
}


/* ---- Hero 4.1：更大气——满屏高度 + 超大单行标题 ---- */
.hero-4 { min-height: calc(100vh - 64px); }
.hero-4-content {
  max-width: none;
  width: 100%;
  padding-left: clamp(24px, 5vw, 80px);
  padding-right: clamp(24px, 5vw, 80px);
}
.hero-4-content h1 {
  font-size: clamp(2.6rem, 6.6vw, 8.5rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 1.4rem 0 1.5rem;
}
.hero-4-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.9;
}
.hero-4 .hero-tag { font-size: .92rem; padding: .45rem 1.1rem; }
.hero-4-cta { margin-top: 2.4rem; gap: 1.1rem; }
.hero-4-cta .btn-lg { padding: 1.05rem 2.6rem; font-size: 1.12rem; border-radius: 12px; }

/* Hero 标题分段折行：每段一个 inline-block，只在语义断点处换行；中文段短用 nowrap 保证段内不断字 */
.hero-line { display: inline-block; }
.hero-line--tight { white-space: nowrap; }
@media (max-width: 760px) {
  .hero-line--tight { white-space: normal; }

  /* 手机首屏压缩：内容自然高度，露出下一区块头部暗示可滚动 */
  .hero-4 { min-height: auto; }
  .hero-4-content { padding-top: 4.5rem; padding-bottom: 3rem; }
  .hero-4 .hero-tag { font-size: .68rem; padding: .35rem .8rem; white-space: nowrap; }
  .hero-4-sub { font-size: .92rem; line-height: 1.55; }
  .hero-4-cta { flex-wrap: nowrap; gap: .75rem; margin-top: 1.8rem; }
  .hero-4-cta .btn-lg { flex: 1; padding: .85rem .6rem; font-size: .88rem; white-space: nowrap; }
}


/* ---- CTA 层级：全页仅 Hero 主按钮与表单提交为实心，其余用文字箭头链接 ---- */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--accent);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  padding: .3rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease;
}
.link-cta .arrow { transition: transform .18s ease; }
.link-cta:hover { border-bottom-color: rgba(0, 227, 160, .5); }
.link-cta:hover .arrow { transform: translateX(4px); }
.link-cta--lg { font-size: 1.02rem; }


/* ---- 官网 FAQ 区：两列紧凑手风琴 ---- */
.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 1rem;
  align-items: start;
}
.faq-list details {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  color: #fff;
  font-weight: 600;
  font-size: .98rem;
  user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--accent);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, border-color .18s ease;
}
.faq-list details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  border-color: rgba(0, 227, 160, .5);
}
.faq-list details > p {
  margin: 0;
  padding: 0 1.3rem 1.15rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.75;
}
.faq-list details:hover { border-color: rgba(0, 227, 160, .35); }
@media (max-width: 1024px) {
  .faq-list { grid-template-columns: 1fr; }
}


/* 案例区经验汇总条：突出跨行业经验 */
.exp-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}
.exp-item {
  text-align: center;
  padding: 1rem .8rem;
  background: rgba(0, 227, 160, .05);
  border: 1px solid rgba(0, 227, 160, .18);
  border-radius: 12px;
}
.exp-item b {
  display: block;
  font-size: 1.7rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.exp-item span { color: var(--muted); font-size: .82rem; }

/* ---- Hero AI 引擎图标带 ---- */
.engines-band { margin-top: 2.6rem; }
.engines-band-title {
  font-size: .82rem;
  color: rgba(232, 236, 244, .6);
  letter-spacing: .02em;
  margin: 0 0 .9rem;
}
.engines-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}
.engine-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: .4rem .9rem;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(232, 236, 244, .88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background .15s ease, border-color .15s ease;
}
.engine-badge:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .26); }
.engine-icon, .engine-letter { flex: none; width: 20px; height: 20px; }
/* 官方 favicon 位图：轻圆角，深色底上不带白底块的品牌图更协调 */
img.engine-icon { border-radius: 4px; object-fit: contain; }
.engine-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 700;
  color: #fff;
}
.el-claude { background: #CC785C; }
.el-doubao { background: #1B6EF3; font-size: .6rem; }
.el-deepseek { background: #4D6BFE; }
.el-kimi { background: #2B2F36; }

@media (max-width: 760px) {
  .engines-band { margin-top: 2rem; }
  .engines-list { gap: .5rem; }
  .engine-badge { padding: .3rem .7rem; font-size: .74rem; gap: .35rem; }
  .engine-icon, .engine-letter { width: 17px; height: 17px; }
}

/* -------------------------------------------------------------
   任务产物报告排版（status.html 交付页，深色版）
   ------------------------------------------------------------- */

.report-card { padding-top: 1.3rem; }

.report-head-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.report-title { margin: 0; font-size: 1.3rem; line-height: 1.4; }

.report-toolbar { display: flex; gap: .5rem; flex: none; }

.report-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin: .7rem 0 1.3rem; }

.badge-service { background: var(--accent-soft); color: var(--accent); }
.badge-time { background: rgba(255, 255, 255, .06); color: var(--muted); border: 1px solid var(--border); }

/* 待补信息汇总提示条：客户要行动的点，放在产物顶部不能淹没 */
.todo-alert {
  display: flex;
  align-items: center;
  gap: .55rem;
  background: rgba(245, 165, 36, .12);
  border: 1px solid rgba(245, 165, 36, .35);
  color: var(--warn);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: 1.2rem;
}
.todo-alert:empty { display: none; margin: 0; padding: 0; border: none; }

/* 正文内联「待补」徽章：由 {{TODO: 待补}} 占位符替换而来 */
.todo-badge {
  display: inline-flex;
  align-items: center;
  padding: .05rem .55rem;
  border-radius: 999px;
  background: rgba(245, 165, 36, .18);
  border: 1px solid rgba(245, 165, 36, .4);
  color: var(--warn);
  font-weight: 700;
  font-size: .78rem;
  white-space: nowrap;
}

/* 正文标题层级：h1 已提升到 report-head，避免与正文重复 */
.report-body h1 { display: none; }

.report-body h2 {
  margin: 0 0 1rem;
  padding-left: .7rem;
  border-left: 4px solid var(--accent);
  font-size: 1.12rem;
}

.report-body h3 {
  display: inline-block;
  margin: 1.6rem 0 .8rem;
  padding: .32rem .8rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
  font-size: .95rem;
}

.report-body p { line-height: 1.75; margin: 0 0 .9rem; }
.report-intro { color: var(--muted); margin-bottom: 1.2rem; }
.report-intro:empty { display: none; }

.report-body ul, .report-body ol { padding-left: 1.3rem; margin: .8rem 0; }
.report-body li { margin: .4rem 0; line-height: 1.7; }

.report-body blockquote {
  margin: 1rem 0;
  padding: .7rem 1rem;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
  color: var(--text);
}

.report-body table { width: 100%; border-collapse: collapse; margin: 1rem 0; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.report-body th, .report-body td { padding: .55rem .75rem; border: 1px solid var(--border); text-align: left; }
.report-body thead { background: rgba(255, 255, 255, .05); }
.report-body tbody tr:nth-child(even) { background: rgba(255, 255, 255, .03); }

.report-body pre { background: #0A1120; border: 1px solid var(--border); border-radius: 10px; padding: 1rem; overflow-x: auto; }
.report-body code { background: rgba(255, 255, 255, .08); border-radius: 5px; padding: .15em .4em; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .88em; }
.report-body pre code { background: none; padding: 0; }

/* ## 二级标题分区：独立子面板，不复用 .card（避免卡中卡双层玻璃叠加） */
.report-section {
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1rem;
}
.report-section:last-child { margin-bottom: 0; }
.report-section h2:first-child { margin-top: 0; }

/* 关键值两栏定义列表：**label**：value 行，由 JS 识别转换 */
.kv-list { list-style: none; padding: 0; margin: .8rem 0; display: grid; grid-template-columns: max-content 1fr; column-gap: 1.2rem; row-gap: .55rem; }
.kv-row { display: contents; }
.kv-label { color: var(--muted); white-space: nowrap; }
.kv-value { color: var(--text); font-weight: 600; }

@media (max-width: 640px) {
  .report-head-top { flex-direction: column; }
  .report-toolbar { width: 100%; }
  .report-toolbar .btn { flex: 1; }
  .report-section { padding: 1rem; }
  .report-body table { font-size: .86rem; }
  .kv-list { grid-template-columns: 1fr; row-gap: .3rem; }
  .kv-row { display: block; margin-bottom: .5rem; }
  .kv-label { display: block; font-size: .8rem; }
}

/* 进度条精细化：完成态连接线渐变过渡 + 打勾轻弹入 */
.job-step-line.done { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.job-step.done .job-step-dot { animation: step-pop .32s ease; }
@keyframes step-pop {
  0% { transform: scale(.6); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.stat-delta { font-size: .74rem; color: var(--accent); margin-top: .35rem; }
.stat-delta.is-down { color: var(--danger); }
.bundle-card h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.bundle-card .deliverables-list { margin: .6rem 0; }
.bundle-baseline-note { font-size: .76rem; }
.price-strike { color: var(--muted); text-decoration: line-through; font-size: .84rem; }

/* -------------------------------------------------------------
   信息搜集页（intake.html）：全幅表单，字段网格宽屏自动多列
   ------------------------------------------------------------- */
.intake-card { padding: 2rem clamp(1.2rem, 3vw, 3rem); }
.intake-card form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: .4rem 2rem;
  align-items: start;
}
/* 长文本字段与提交按钮跨满整行 */
.intake-card form .field:has(textarea),
.intake-card form .summary-note,
.intake-card form button[type="submit"],
.intake-card form .error-box { grid-column: 1 / -1; }
.intake-card form textarea { min-height: 96px; }
@media (max-width: 700px) {
  .intake-card form { grid-template-columns: 1fr; }
}

/* 浏览器自动填充的默认黄底在深色系里刺眼：统一压成深色底浅色字 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #141B2B inset;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  transition: background-color 9999s ease-in-out 0s;
}

/* -------------------------------------------------------------
   AI 免费体检（引流钩子）—— public/free-audit.js 驱动，仅本区段追加，
   进度剧场复用 .job-step/.job-step-dot 圆点+脉冲动效
   打码清单：类目词可见 + ▓ 遮罩，营造「有货但上锁」而非加载失败
   ------------------------------------------------------------- */
.free-audit-section { padding-top: 2.4rem; }
.fa-panel {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2.2rem clamp(1.2rem, 4vw, 2.6rem);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}
.fa-intro { text-align: center; margin-bottom: 1.6rem; }
.fa-intro .section-sub { max-width: 520px; margin: 0 auto; }
.fa-form { display: flex; gap: .7rem; flex-wrap: wrap; }
/* .fa-form 前缀提高特异性，压过全局 input[type="text"] 规则（否则 font-size 等会被后者悄悄覆盖） */
.fa-form .fa-input {
  flex: 1 1 260px;
  min-width: 0;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: .85rem 1rem;
  color: var(--text);
  font-size: .95rem;
}
.fa-form .fa-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fa-form .btn { flex: none; }
.fa-disclaimer { color: var(--muted); font-size: .78rem; margin: .8rem 0 0; text-align: center; }
.fa-error { margin-top: .9rem; }
.fa-stage { margin-top: 1.8rem; }
.fa-stage[hidden] { display: none; }

/* 进度剧场：垂直排列的圆点步骤，圆点/脉冲样式直接复用 .job-step-dot
   语义中性化：剧场推进时真实结果未知，done/active 不用品牌绿（绿=通过），
   等轮询回真实结果后再回填 —— done 用 .verified 一次性绿化，unreachable 用 .alert 标红中断 */
.fa-steps { display: flex; flex-direction: column; gap: 1rem; }
.fa-step { font-size: .92rem; }
.fa-step .job-step-dot { font-size: .82rem; }
.fa-step.active .job-step-dot {
  border-color: var(--muted);
  color: var(--muted);
  animation: fa-pulse-neutral 1.4s ease-in-out infinite;
}
.fa-step.done .job-step-dot { border-color: var(--muted); background: transparent; color: var(--text); }
@keyframes fa-pulse-neutral {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 148, 172, .35); }
  50% { box-shadow: 0 0 0 6px rgba(139, 148, 172, 0); }
}
.fa-step.verified .job-step-dot { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); animation: none; }
.fa-step.alert .job-step-dot { border-color: var(--danger); background: var(--danger); color: #fff; animation: none; }
.fa-step.alert { color: var(--text); }

/* 结果卡 */
.fa-result { display: flex; flex-direction: column; gap: 1.4rem; align-items: center; text-align: center; }
.fa-score-badge {
  width: 128px; height: 128px; border-radius: 999px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 3px solid var(--tier-color, var(--accent));
  box-shadow: 0 0 30px var(--tier-glow, var(--accent-soft));
}
.fa-score-num { font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--tier-color, var(--accent)); font-variant-numeric: tabular-nums; }
.fa-score-max { font-size: .75rem; color: var(--muted); margin-top: .1rem; }
.fa-tier-headline { font-size: 1.2rem; font-weight: 700; margin: 0 0 .4rem; }
.fa-tier-desc { color: var(--muted); font-size: .92rem; margin: 0; max-width: 480px; }
.fa-scope-note { color: var(--muted); font-size: .74rem; margin: .6rem 0 0; max-width: 460px; }
.fa-result-top { width: 100%; display: flex; justify-content: flex-start; }
.fa-reset-top {
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--border); border-radius: 999px;
  color: var(--text); font-size: .78rem; padding: .4rem .9rem; cursor: pointer;
}
.fa-reset-top:hover { border-color: var(--accent-2); }
.fa-well-known {
  width: 100%; box-sizing: border-box; color: var(--text); font-size: .82rem;
  background: rgba(245, 165, 36, .1); border: 1px solid var(--warn); border-radius: 8px;
  padding: .6rem .9rem; margin: 0;
}

.fa-dims { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; width: 100%; }
.fa-dim {
  flex: 1 1 140px; max-width: 200px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--border); border-radius: 10px;
  padding: .8rem .9rem; text-align: left;
}
.fa-dim-label { display: block; color: var(--muted); font-size: .74rem; margin-bottom: .3rem; }
.fa-dim-state { font-weight: 700; font-size: .88rem; }
.fa-warn { color: var(--warn); }
.fa-warn::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--warn); margin-right: .35rem; }

.fa-issues { width: 100%; max-width: 420px; text-align: left; }
.fa-issues-title { font-size: .88rem; font-weight: 700; margin: 0 0 .7rem; }
.fa-issues-title b { color: var(--danger); }
/* 清单容器：锁提示条现在是内部头部整行（见 .fa-issues-lock），overflow hidden 裁出顶部圆角 */
.fa-issues-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--surface);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.fa-issues-body { padding: .3rem .9rem; }
.fa-issue-row { display: flex; align-items: center; gap: .55rem; padding: .5rem 0; border-bottom: 1px dashed var(--border); user-select: none; }
.fa-issue-row:last-child { border-bottom: none; }
.fa-issue-dot { flex: none; width: 7px; height: 7px; border-radius: 999px; }
.fa-issue-dot--red { background: var(--danger); }
.fa-issue-dot--yellow { background: var(--warn); }
.fa-issue-label { flex: none; font-size: .82rem; color: var(--text); white-space: nowrap; }
.fa-issue-mask { flex: 1; overflow: hidden; white-space: nowrap; color: var(--muted); opacity: .55; letter-spacing: 1px; }
.fa-issues-more { margin: .5rem 0 0; padding-top: .5rem; border-top: 1px dashed var(--border); font-size: .76rem; color: var(--muted); text-align: center; }
/* 锁提示条：清单头部整行，不再悬浮遮挡内容；下接打码行 */
.fa-issues-lock {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  box-sizing: border-box;
  padding: .65rem .9rem;
  background: rgba(255, 255, 255, .05);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color .15s ease;
}
.fa-issues-lock:hover, .fa-issues-lock:focus-visible { background: rgba(255, 255, 255, .09); }
.fa-issues-lock svg { flex: none; width: 14px; height: 14px; color: var(--warn); }
.fa-issues-lock span { flex: 1; text-align: left; }

.fa-cta-row { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; }

.fa-lead { width: 100%; max-width: 420px; display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; padding-top: 1rem; border-top: 1px dashed var(--border); }
.fa-lead input { flex: 1 1 200px; min-width: 0; }
.fa-lead-note { width: 100%; color: var(--muted); font-size: .78rem; margin: 0 0 .3rem; text-align: center; }

.fa-reset { background: none; border: none; color: var(--accent-2); cursor: pointer; font-size: .84rem; text-decoration: underline; padding: 0; }

/* 不可达结果卡：中性提示，不带分数环/危险色，避免读成「检测出问题」 */
.fa-result--unreachable { padding: 1rem 0; }
.fa-unreachable-msg { color: var(--text); font-size: .96rem; max-width: 460px; margin: 0; }

@media (max-width: 480px) {
  .fa-panel { padding: 1.6rem 1.1rem; }
  .fa-form { flex-direction: column; gap: .7rem; }
  /* flex-basis 260px 在 column 主轴下会被当成高度基准，撑出巨型输入框，这里显式清零改用 100% 宽度 */
  .fa-form .fa-input { flex: none; width: 100%; font-size: 16px; } /* 16px 防 iOS focus 自动缩放 */
  .fa-form .btn { width: 100%; }
  .fa-score-badge { width: 108px; height: 108px; }
  .fa-score-num { font-size: 2rem; }
  .fa-result { gap: 1.1rem; }
  /* 三维度卡在窄屏下 2+1 换行会让第三张孤零零居中，改竖排各占一行；
     且原 flex:1 1 140px 在纵向 flex 下会把 140px 当高度基准撑出空块，改紧凑横条（类 .row-item），每行~56px */
  .fa-dims { flex-direction: column; gap: .5rem; }
  .fa-dim {
    flex: none; max-width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: .6rem;
    padding: .65rem .9rem;
  }
  .fa-dim-label { margin-bottom: 0; }
  .fa-dim-label, .fa-dim-state { flex: none; }
  .fa-cta-row { flex-direction: column; width: 100%; }
  .fa-cta-row .btn { width: 100%; }
  .fa-lead { flex-direction: column; }
  .fa-lead input, .fa-lead .btn { flex: none; width: 100%; }
}

