/* =========================================================
   老李起名 · 首页（V3 极简 Apple/ChatGPT 风格）
   设计令牌 + 布局 + 响应式 + 深色模式
   仅服务于 index.html；免费测名区样式作用域限定 .free-test
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #fbfbfd;
  --ink: #1d1d1f;          /* Apple 近黑 */
  --muted: #6e6e73;        /* Apple 灰 */
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --accent: #2f6fed;       /* 品牌蓝（与全站一致，利于 GEO 实体一致） */
  --accent-strong: #2455d6;
  --accent-wash: rgba(47, 111, 237, .08);
  --ok: #2bb673;
  --warn: #e8843c;
  --bad: #e54545;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 34px rgba(0, 0, 0, .06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-soft: #0a0a0a;
    --ink: #f5f5f7;
    --muted: #98989d;
    --line: #38383c;
    --line-soft: #2a2a2e;
    --accent: #4a8bff;
    --accent-strong: #6aa0ff;
    --accent-wash: rgba(74, 139, 255, .14);
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 34px rgba(0, 0, 0, .55);
  }
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  /* v1.54：第一屏新增对象卡片 + 信息采集面板，容器加宽到 820 避免面板被 720 挤压 */
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(24px, 8vh, 96px) 22px;
  gap: clamp(20px, 3.4vh, 34px);
}

.value {
  margin: 0;
  font-weight: 600;
  font-size: clamp(28px, 5.8vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--ink);
  max-width: 15em;
  text-wrap: balance;
}
.value .em { color: var(--accent); }

/* 差异化价值副标题：说明「不是普通 AI」 */
.sub {
  margin: -0.5em 0 0;
  font-size: clamp(15px, 2.1vw, 18px);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--muted);
  text-wrap: balance;
}

/* ---------- Composer（输入框 + 按钮） ---------- */
.composer {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 8px 8px 18px;
  box-shadow: var(--shadow);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.composer:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-wash), var(--shadow);
}
.composer input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.4;
  padding: 10px 0;
}
.composer input::placeholder { color: var(--muted); }

.start-btn {
  flex: none;
  margin-left: auto;
  border: none;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s cubic-bezier(.22, 1, .36, 1), background-color .18s ease;
}
.start-btn:hover { background: var(--accent-strong); transform: translateY(-1px); }
.start-btn:active { transform: translateY(0); }

/* 按钮下方结果承诺小字（对齐「为结果而来」） */
.composer-hint {
  margin: -6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.01em;
}

/* 信任区：真实统计数据（>0 才由 JS 显示，数字来自 /api/stats） */
.trust {
  margin: -4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.trust .star { color: #f5b301; }
.trust b { color: var(--ink); font-weight: 600; }

/* ---------- AI 思考面板（ChatGPT 式过程感） ---------- */
.thinking {
  width: 100%;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  text-align: left;
  box-shadow: var(--shadow);
}
.thinking[hidden] { display: none; }
.thinking .bot {
  flex: none;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--accent-wash);
  border-radius: 50%;
}
.thinking .body { flex: 1; min-width: 0; }
.thinking .stage {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 9px;
  letter-spacing: 0.01em;
}
.thinking .bar {
  height: 3px;
  border-radius: 2px;
  background: var(--line-soft);
  overflow: hidden;
}
.thinking .bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 2px;
  animation: thinkBar 3.2s cubic-bezier(.22, 1, .36, 1) forwards;
}
@keyframes thinkBar { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .thinking .bar span { animation: none; width: 100%; }
}

/* ---------- 起名类型卡片（emoji 图标 + 标题，替代旧 chips 按钮） ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 560px;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 16px 10px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.card .ico { font-size: 26px; line-height: 1; }
.card .tt { line-height: 1.3; }
.card:hover {
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
@media (max-width: 560px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 为什么选择老李AI（付费理由清单） ---------- */
.why {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 4px 22px 8px;
  text-align: center;
}
.why-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  text-align: left;
}
.why-list li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 7px;
}
.why-list li::before {
  content: '✔';
  color: var(--ok);
  font-size: 13px;
  flex: none;
}
@media (max-width: 480px) {
  .why-list { grid-template-columns: 1fr; }
}

/* ---------- 热门问题（GEO 内容入口） ---------- */
.faq {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 22px 40px;
  text-align: center;
}
.faq-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}
.faq-list li { line-height: 1.6; }
.faq-list a {
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  transition: color .18s ease;
}
.faq-list a:hover { color: var(--accent-strong); text-decoration: underline; }

/* ---------- Footer（全站导航枢纽，SEO/GEO 内容互联） ---------- */
.foot {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  /* v1.54：底部常驻 CTA 高约 60px，留出安全间距避免遮住备案信息 */
  padding: 34px 22px 96px;
  line-height: 1.7;
  border-top: 1px solid var(--line-soft);
}
.foot-links {
  max-width: 620px;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: left;
}
.foot-group { min-width: 0; }
.foot-gt {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.foot-group a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  padding: 3px 0;
  transition: color .18s ease;
}
.foot-group a:hover { color: var(--accent); }
.foot .disc { margin-top: 6px; font-size: 12px; opacity: .85; }
.foot .icp a { color: var(--muted); text-decoration: none; }
.foot .icp a:hover { color: var(--ink); }
@media (max-width: 560px) {
  .foot-links { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* ---------- 老李AI 聊天（右下角，未来 Agent 入口） ---------- */
.chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(47, 111, 237, .35);
  transition: transform .2s cubic-bezier(.22, 1, .36, 1), background-color .18s ease;
  animation: chatPulse 3s ease-out infinite;
}
.chat-fab:hover { background: var(--accent-strong); transform: scale(1.06); }
.chat-fab:active { transform: scale(.96); }
@keyframes chatPulse {
  0% { box-shadow: 0 6px 24px rgba(47,111,237,.35), 0 0 0 0 rgba(47,111,237,.28); }
  70% { box-shadow: 0 6px 24px rgba(47,111,237,.35), 0 0 0 14px rgba(47,111,237,0); }
  100% { box-shadow: 0 6px 24px rgba(47,111,237,.35), 0 0 0 0 rgba(47,111,237,0); }
}

.chat {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 60;
  width: 350px;
  max-width: calc(100vw - 28px);
  height: 480px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
  overflow: hidden;
}
.chat[hidden] { display: none; }
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--accent);
  color: #fff;
}
.chat-avatar {
  flex: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(255, 255, 255, .2);
  border-radius: 50%;
}
.chat-id { flex: 1; min-width: 0; }
.chat-id b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
.chat-id span { font-size: 11px; opacity: .85; }
.chat-close {
  flex: none;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.chat-close:hover { background: rgba(255, 255, 255, .3); }
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bubble {
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.bubble.ai {
  align-self: flex-start;
  background: var(--bg-soft);
  color: var(--ink);
  border-top-left-radius: 4px;
}
.bubble.me {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-top-right-radius: 4px;
}
.chat-opts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.chat-opt {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.chat-opt:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-wash); }
.think-dots { display: inline-flex; gap: 4px; padding: 4px 2px; }
.think-dots i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted);
  animation: dotBlink 1.2s infinite ease-in-out;
}
.think-dots i:nth-child(2) { animation-delay: .18s; }
.think-dots i:nth-child(3) { animation-delay: .36s; }
@keyframes dotBlink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line-soft);
}
.chat-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  background: var(--bg);
  color: var(--ink);
  outline: none;
}
.chat-form input:focus { border-color: var(--accent); }
.chat-send {
  flex: none;
  border: none;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  cursor: pointer;
}
.chat-send:hover { background: var(--accent-strong); }
.chat-foot { padding: 7px 14px; font-size: 11px; color: var(--muted); text-align: center; border-top: 1px solid var(--line-soft); }

@media (max-width: 560px) {
  .chat { right: 12px; bottom: 84px; left: 12px; width: auto; height: 62vh; }
}

/* ---------- 免费测名（懒加载，仅作用域） ---------- */
.free-test { display: none; width: 100%; max-width: 680px; margin: 0 auto; padding: 0 22px 56px; }
.free-test.open { display: block; }

.test-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  text-align: left;
}
.test-card h2 { font-size: 18px; margin: 0 0 14px; font-weight: 600; }
.test-card label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
.test-card input, .test-card select {
  width: 100%; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 15px;
  background: var(--bg); color: var(--ink);
}
.test-card .row { display: flex; gap: 10px; }
.test-card .row > * { flex: 1; min-width: 0; }
.test-card .primary {
  width: 100%; margin-top: 18px; padding: 14px;
  border: none; border-radius: 14px;
  background: var(--accent); color: #fff;
  font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
}
.test-card .primary.alt { background: var(--accent-strong); }
.result { display: none; margin-top: 16px; }
.score { font-size: 48px; font-weight: 800; text-align: center; color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 14px 0; }
.g { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 8px 4px; text-align: center; }
.g .n { font-size: 18px; font-weight: 700; }
.g .l { font-size: 11px; color: var(--muted); }
.g .w { font-size: 11px; }
.g .j { font-size: 10px; margin-top: 2px; }
.j.ok { color: var(--ok); } .j.half { color: var(--warn); } .j.no { color: var(--bad); }
.yi { font-size: 14px; margin-top: 8px; line-height: 1.6; }
.note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.bazi { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 10px 0; }
.bazi .brow { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; padding: 3px 0; }
.bazi .brow span { color: var(--muted); min-width: 34px; }
.bazi .brow b { color: var(--ink); }
.bazi .btip { font-size: 12px; color: var(--muted); margin-top: 6px; }
.poster { display: none; margin-top: 14px; background: var(--bg-soft); border-radius: 12px; padding: 14px; }
.poster.show { display: block; }
.poster img { width: 100%; border-radius: 12px; display: block; }
.poster .dl {
  display: block; text-align: center; background: var(--accent); color: #fff;
  padding: 12px; border-radius: 10px; text-decoration: none; margin-top: 10px; font-weight: 600;
}

/* ---------- 响应式：手机端 composer 纵向堆叠 ---------- */
@media (max-width: 560px) {
  .composer { flex-direction: column; align-items: stretch; padding: 14px; }
  .composer input { text-align: center; padding: 6px 0 12px; }
  .start-btn { width: 100%; }
  .grid { gap: 6px; }
}

/* ---------- 尊重减弱动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .start-btn:hover, .chip:hover { transform: none; }
}


/* ===== M4-13 首页重设计：知识系统定位 ===== */
.kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid rgba(47, 111, 237, .25);
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
}
.caps {
  margin: -2px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
}
.cap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}
@media (max-width: 480px) {
  .cap { font-size: 12px; padding: 5px 10px; }
}

/* =========================================================
   v1.54 首页第一屏重构：品牌定位 / 起名对象卡片 /
   宝宝信息采集 / 名字偏好 / CTA 优化
   ========================================================= */

/* 品牌定位 */
.position{
  margin:-.4em 0 0;
  font-size:clamp(14px,2vw,16px);
  line-height:1.7;
  color:var(--muted);
  max-width:36em;
  text-wrap:balance;
}
.position b{color:var(--ink);font-weight:600}
.pos-sub{display:block;margin-top:6px;font-size:13px;opacity:.9}

/* 起名对象卡片 */
.objects{
  width:100%;max-width:760px;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;
}
.obj{
  display:flex;flex-direction:column;align-items:center;gap:4px;
  padding:14px 8px 12px;
  background:var(--bg-soft);border:1px solid var(--line);border-radius:16px;
  color:var(--ink);font-family:inherit;cursor:pointer;text-align:center;
  transition:border-color .18s ease,background-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.obj .obj-ico{font-size:24px;line-height:1}
.obj .obj-t{font-size:14px;font-weight:600;line-height:1.3}
.obj .obj-d{font-size:11px;color:var(--muted);line-height:1.3}
.obj:hover{border-color:var(--accent);background:var(--bg);box-shadow:var(--shadow);transform:translateY(-1px)}
.obj.is-active{border-color:var(--accent);background:var(--accent-wash);box-shadow:0 0 0 3px var(--accent-wash)}
@media(max-width:560px){.objects{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 信息采集 + 偏好面板 */
.intake{
  width:100%;max-width:760px;
  background:var(--bg);border:1px solid var(--line);border-radius:20px;
  padding:20px 18px 18px;box-shadow:var(--shadow);text-align:left;
}
.intake-head{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  font-size:14px;font-weight:600;color:var(--ink);margin:0 0 12px;
}
.intake-head .step{
  flex:none;width:20px;height:20px;border-radius:50%;
  background:var(--accent);color:#fff;font-size:12px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.intake-head .ih-note{font-size:12px;font-weight:400;color:var(--muted)}
.intake-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.fld{display:flex;flex-direction:column;min-width:0}
.fld .fl{font-size:12px;color:var(--muted);margin-bottom:6px;font-weight:500}
.fld .fl em{font-style:normal;margin-left:4px;opacity:.75;font-size:11px}
.fld input{
  width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:12px;
  font-family:inherit;font-size:15px;background:var(--bg-soft);color:var(--ink);outline:none;
  transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.fld input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-wash);background:var(--bg)}

/* 性别分段（覆盖旧暖色内联样式，统一走设计令牌） */
.intake .gender-seg{
  display:flex;padding:4px;gap:0;
  background:var(--bg-soft);border:1px solid var(--line);border-radius:12px;
}
.intake .g-opt{
  flex:1 1 0;display:flex;align-items:center;justify-content:center;gap:5px;
  padding:9px 0;border:0;background:transparent;color:var(--muted);
  font-family:inherit;font-size:14px;font-weight:600;border-radius:9px;cursor:pointer;
  transition:background .18s ease,color .18s ease;
}
.intake .g-opt .ic{font-size:14px}
.intake .g-opt:hover{color:var(--accent)}
.intake .g-opt.is-active{background:var(--accent);color:#fff}

/* 偏好 chips */
.pref-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.pf{
  padding:9px 16px;border:1px solid var(--line);border-radius:999px;
  background:var(--bg-soft);color:var(--ink);font-family:inherit;font-size:14px;font-weight:500;cursor:pointer;
  transition:border-color .18s ease,background-color .18s ease,color .18s ease;
}
.pf:hover{border-color:var(--accent);color:var(--accent)}
.pf.is-active{background:var(--accent);border-color:var(--accent);color:#fff}

/* 主 CTA（第一屏转化按钮） */
.intake .start-btn{
  width:100%;padding:15px 20px;border:0;border-radius:14px;
  background:var(--accent);color:#fff;font-family:inherit;font-size:16px;font-weight:600;cursor:pointer;
  transition:transform .18s cubic-bezier(.22,1,.36,1),background-color .18s ease;
}
.intake .start-btn:hover{background:var(--accent-strong);transform:translateY(-1px)}
.intake .start-btn:active{transform:translateY(0)}
.intake .start-btn:disabled{opacity:.7;cursor:default;transform:none}
.intake .composer-hint{text-align:center;margin:10px 0 0}

@media(max-width:560px){
  .intake{padding:16px 14px;border-radius:16px}
  .intake-grid{grid-template-columns:1fr;gap:12px}
}

/* 其他入口 */
.sub-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;width:100%;max-width:560px}
.sub-link{
  display:inline-flex;align-items:center;gap:6px;padding:8px 14px;
  border:1px solid var(--line);border-radius:999px;background:var(--bg-soft);
  color:var(--muted);font-family:inherit;font-size:13px;text-decoration:none;cursor:pointer;
  transition:border-color .18s ease,color .18s ease;
}
.sub-link .ico{font-size:15px}
.sub-link:hover{border-color:var(--accent);color:var(--accent)}

/* 旧 .cards 导航已由 .objects / .sub-links 取代，保留兜底隐藏避免残留样式影响 */
.hero > .cards{display:none}

/* =========================================================
   v1.54 首页内容升级：AI 能力 / 案例 / 流程 / 品牌 / FAQ
   ========================================================= */

html { scroll-behavior: smooth; }

.content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 22px 40px;
}

.sec { padding: clamp(38px, 6vw, 64px) 0; border-top: 1px solid var(--line-soft); }
.sec:first-child { border-top: 0; }
.sec-h { margin: 0 0 22px; text-align: center; }
.sec-k {
  margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em;
  color: var(--accent); text-transform: uppercase;
}
.sec-t {
  margin: 0 0 8px; font-size: clamp(21px, 3.4vw, 27px); line-height: 1.35;
  font-weight: 700; color: var(--ink); letter-spacing: -.01em;
}
.sec-d { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.sec-note { margin: 16px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--muted); opacity: .9; }
.sec-cta { margin: 22px 0 0; text-align: center; }

/* 1. AI 能力 */
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ai-card {
  padding: 18px 16px; background: var(--bg-soft); border: 1px solid var(--line-soft);
  border-radius: 16px; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.ai-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.ai-ico { display: block; font-size: 22px; line-height: 1; margin-bottom: 10px; }
.ai-card h3 { margin: 0 0 7px; font-size: 15.5px; font-weight: 650; color: var(--ink); }
.ai-card p { margin: 0; font-size: 13.5px; line-height: 1.72; color: var(--muted); }
.warn-txt { color: var(--warn); font-weight: 600; }

/* 2. 案例 */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.case {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 16px 14px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 16px; text-decoration: none; color: inherit;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.case:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.case-top { display: flex; align-items: center; gap: 8px; }
.case-n { font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.tag {
  flex: none; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.6;
}
.tag.tf { background: rgba(232, 92, 138, .12); color: #d2477c; }
.tag.tm { background: rgba(47, 111, 237, .12); color: var(--accent); }
.case-q { margin: 2px 0 0; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.case-m { margin: 0; font-size: 13px; color: var(--ink); opacity: .85; }
.case-go { margin-top: auto; padding-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--accent); }

/* 3. 流程 */
.flow-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.flow-step { display: flex; flex-direction: column; gap: 8px; }
.fnum {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-wash); color: var(--accent);
  font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent-wash);
}
.fbody h3 { margin: 0 0 5px; font-size: 15px; font-weight: 650; color: var(--ink); }
.fbody p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.btn-ghost {
  display: inline-block; padding: 11px 22px; border: 1px solid var(--accent); border-radius: 999px;
  color: var(--accent); font-size: 14.5px; font-weight: 600; text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.btn-ghost:hover { background: var(--accent); color: #fff; }

/* 4. 品牌 */
.brand-box {
  padding: 22px 20px; background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 18px;
}
.brand-box p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.85; color: var(--ink); }
.brand-box p:last-child { margin-bottom: 0; }
.no-list { margin: 18px 0; padding: 16px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
.no-list h3 { margin: 0 0 10px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.no-list ul { margin: 0; padding-left: 18px; }
.no-list li { margin-bottom: 7px; font-size: 13.5px; line-height: 1.75; color: var(--muted); }
.no-list li:last-child { margin-bottom: 0; }
.no-list b { color: var(--ink); }
.brand-links { font-size: 13.5px; }
.brand-links a { color: var(--accent); text-decoration: none; }
.brand-links a:hover { text-decoration: underline; }

/* 5. FAQ */
.faq2 { display: flex; flex-direction: column; gap: 10px; }
.faq2 .q {
  background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden;
}
.faq2 .q summary {
  padding: 15px 18px; font-size: 15px; font-weight: 600; color: var(--ink);
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq2 .q summary::-webkit-details-marker { display: none; }
.faq2 .q summary::after { content: '+'; flex: none; font-size: 19px; font-weight: 400; color: var(--muted); transition: transform .18s ease; }
.faq2 .q[open] summary::after { content: '\2212'; }
.faq2 .q[open] { border-color: var(--accent); }
.faq2 .a { padding: 0 18px 16px; }
.faq2 .a p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--muted); }
.faq2 .a a { color: var(--accent); text-decoration: none; }
.faq2 .a a:hover { text-decoration: underline; }

/* 响应式 */
@media (max-width: 860px) {
  .ai-grid, .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .content { padding: 0 16px 30px; }
  .ai-grid, .case-grid, .flow-list { grid-template-columns: 1fr; }
  .case-n { font-size: 22px; }
}

/* 4.5 姓名知识入口（v1.54.2 SEO/GEO） */
.kb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kb-group {
  padding: 16px 16px 14px; background: var(--bg-soft);
  border: 1px solid var(--line-soft); border-radius: 16px;
}
.kb-gt {
  margin: 0 0 10px; font-size: 13.5px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 7px;
}
.kb-gt::before { content: ''; width: 3px; height: 13px; border-radius: 2px; background: var(--accent); }
.kb-links { display: flex; flex-wrap: wrap; gap: 7px; }
.kb-links a {
  padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); color: var(--muted); font-size: 12.5px; line-height: 1.5; text-decoration: none;
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
.kb-links a:hover {
  border-color: var(--accent); color: var(--accent); background: var(--accent-wash);
}
@media (max-width: 860px) { .kb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kb-grid { grid-template-columns: 1fr; } }

/* =========================================================
   v1.56 验收达标：5 秒说清做什么 / 10 秒愿意输入姓氏
   ========================================================= */

/* 首屏副标（h1 之下，一句话说清「给什么」） */
.hero > .sub {
  margin: -.2em 0 0;
  font-size: clamp(14px, 2.1vw, 16.5px);
  line-height: 1.75;
  max-width: 34em;
  text-wrap: balance;
}
.hero > .position { margin: 0; }

/* 热门姓氏快捷选择：把「输入姓氏」成本降到一次点击 */
.hot-sur {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: -6px 0 16px;
}
.hs-l { flex: none; font-size: 12px; color: var(--muted); font-weight: 500; }
.hs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hs {
  min-width: 34px; padding: 6px 9px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-soft); color: var(--ink);
  font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer;
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
.hs:hover { border-color: var(--accent); color: var(--accent); }
.hs.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* CTA 上方信任三标 */
.cta-trust {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px;
  margin: 16px 0 10px; font-size: 13px; color: var(--muted);
}
.cta-trust span { display: inline-flex; align-items: center; gap: 4px; }
.cta-trust span::before { content: ''; }
.cta-trust { font-weight: 500; }

@media (max-width: 560px) {
  .hot-sur { gap: 8px; }
  .hs { min-width: 30px; padding: 5px 8px; font-size: 13px; }
  .cta-trust { gap: 10px; font-size: 12px; }
}

/* v1.56 品牌区：一句话定义 + 适合/不适合边界（供搜索与 AI 引用） */
.brand-def {
  padding: 13px 15px; margin: 0 0 14px !important;
  background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 12px; font-size: 14px; line-height: 1.8; color: var(--ink);
}
.brand-def b { color: var(--accent); font-weight: 700; }

.bf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.bf { padding: 14px 15px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 13px; }
.bf h3 { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.bf ul { margin: 0; padding-left: 16px; }
.bf li { margin-bottom: 6px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.bf li:last-child { margin-bottom: 0; }
.bf-yes h3::before { content: '✓ '; color: #1a9c5b; }
.bf-no h3::before { content: '× '; color: var(--warn, #d2477c); }
@media (max-width: 640px) { .bf-grid { grid-template-columns: 1fr; } }
