/* 话术助手官网 · 样式表
   设计口径：亮色为主，主色沿用产品暗色主题里的紫，圆角克制，不用大面积渐变堆叠。 */

:root {
  --ink: #14161C;
  --ink-2: #3B414E;
  --ink-3: #6B7280;
  --ink-4: #9AA1AD;
  --line: #E6E8EE;
  --line-2: #EEF0F5;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FC;
  --bg-deep: #14121C;
  --brand: #6D4AFF;
  --brand-2: #8B6BFF;
  --brand-soft: #F0ECFF;
  --brand-line: #D9CFFF;
  --ok: #15A46E;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 28, .05);
  --shadow: 0 8px 28px rgba(20, 22, 28, .08);
  --shadow-lg: 0 24px 70px rgba(20, 22, 28, .13);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

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

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

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0; letter-spacing: -.01em; }
h1 { font-size: 46px; font-weight: 750; letter-spacing: -.025em; }
h2 { font-size: 32px; font-weight: 720; letter-spacing: -.02em; }
h3 { font-size: 18px; font-weight: 680; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 720; color: var(--ink); font-size: 16.5px; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav a { color: var(--ink-3); font-size: 14.5px; font-weight: 520; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 11px;
  font-size: 14.8px; font-weight: 620; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; transition: .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(109, 74, 255, .28); }
.btn-primary:hover { background: #5C39F0; }
.btn-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { border-color: #CFD4DE; background: #FCFCFE; }
.btn-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-light:hover { background: rgba(255, 255, 255, .18); }
.btn-lg { height: 50px; padding: 0 26px; font-size: 15.5px; border-radius: 13px; }

/* ---------- hero ---------- */
.hero { padding: 76px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -180px -10% auto -10%; height: 520px;
  background: radial-gradient(60% 70% at 50% 0%, rgba(109, 74, 255, .13), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--brand-soft); color: #5334D6;
  font-size: 12.8px; font-weight: 620; border: 1px solid var(--brand-line);
}
.hero h1 { margin: 18px 0 16px; }
.hero .lead { font-size: 17.5px; line-height: 1.75; color: var(--ink-3); max-width: 520px; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--ink-4); }

/* ---------- 产品演示（纯 CSS 画的界面，不是截图） ---------- */
.demo {
  background: var(--bg-deep); border-radius: 20px; padding: 14px;
  box-shadow: var(--shadow-lg); border: 1px solid #241F35;
}
.demo-bar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 12px; }
.demo-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3A3348; display: block; }
.demo-bar i:first-child { background: #4B4162; }
.demo-bar span { margin-left: 8px; font-size: 11.5px; color: #7E7594; }
.demo-body { display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
.demo-side { display: flex; flex-direction: column; gap: 6px; }
.demo-side b {
  display: block; height: 30px; border-radius: 8px; background: #1D1929;
  font-size: 11.5px; font-weight: 500; color: #8B829F; line-height: 30px;
  padding-left: 9px; overflow: hidden; white-space: nowrap;
}
.demo-side b.on { background: #2C2344; color: #C6B9E8; box-shadow: inset 0 0 0 1px #453569; }
.demo-main { background: #1A1724; border-radius: 10px; padding: 10px; }
.demo-search {
  display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px;
  background: #221E2E; border-radius: 8px; margin-bottom: 9px;
  font-size: 11.5px; color: #8C83A0;
}
.demo-search em { width: 1px; height: 13px; background: var(--brand-2); display: block; animation: caret 1.6s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.demo-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 10px; border-radius: 7px; font-size: 11.8px; color: #A79DBE;
  border: 1px solid transparent;
}
.demo-row:nth-child(odd) { background: #1F1B29; }
.demo-row.hit { background: #2A2142; border-color: #4B3A76; color: #D7CBF2; }
.demo-row u { color: #6E6486; font-size: 10.5px; text-decoration: none; }
.demo-foot {
  margin-top: 8px; padding-top: 8px; border-top: 1px solid #262031;
  display: flex; justify-content: space-between; font-size: 10.5px; color: #6B6280;
}

/* ---------- 信任条 ---------- */
.trust { padding: 8px 0 0; }
.trust .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-2); border: 1px solid var(--line-2);
  border-radius: var(--radius); overflow: hidden;
}
.trust div { background: #fff; padding: 20px 22px; }
.trust b { display: block; font-size: 20px; color: var(--ink); font-weight: 720; letter-spacing: -.01em; }
.trust span { font-size: 13px; color: var(--ink-4); }

/* ---------- 通用 section ---------- */
section { padding: 84px 0; }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head h2 { margin-bottom: 12px; }
.sec-head p { color: var(--ink-3); font-size: 16px; }
.soft { background: var(--bg-soft); }
.deepline { border-top: 1px solid var(--line-2); }

/* ---------- 功能卡 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); transition: .18s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: #DCD8EC; transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--ink-3); }
.ico {
  width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px; background: var(--brand-soft); color: var(--brand);
}
.ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ---------- 层级示意 ---------- */
.levels { display: flex; flex-direction: column; gap: 10px; }
.level {
  display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px;
}
.level b { font-size: 14.5px; color: var(--ink); }
.level span { font-size: 14px; color: var(--ink-3); }
.level em {
  font-style: normal; font-size: 12px; font-weight: 620; color: #5334D6;
  background: var(--brand-soft); border: 1px solid var(--brand-line);
  padding: 2px 9px; border-radius: 999px; margin-right: 8px; white-space: nowrap;
}

/* ---------- 步骤 ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: s; content: counter(s);
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: 14px;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 15px;
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: 14.2px; color: var(--ink-3); }

/* ---------- 下载 CTA ---------- */
.cta {
  background: var(--bg-deep); border-radius: 22px; padding: 52px 48px;
  color: #C9C3D8; display: grid; grid-template-columns: 1.25fr .75fr;
  gap: 36px; align-items: center;
}
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: #9C93B2; font-size: 15.5px; }
.cta .meta { margin-top: 18px; font-size: 13px; color: #6E6486; }
.cta .side { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.cta .side .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 18px 4px;
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-weight: 620; color: var(--ink); font-size: 15.5px;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-4); font-weight: 400; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; font-size: 14.6px; color: var(--ink-3); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line-2); background: #FBFBFE; padding: 52px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-size: 13px; color: var(--ink); margin-bottom: 12px; font-weight: 680; }
.foot-grid a { display: block; color: var(--ink-3); font-size: 14px; padding: 5px 0; }
.foot-grid a:hover { color: var(--ink); text-decoration: none; }
/* 页脚品牌行必须是 flex：上面 .foot-grid a 的 display:block 会盖掉 .brand 的 flex */
.foot-grid .brand { display: flex; padding: 0; }
.foot-brand p { font-size: 13.5px; color: var(--ink-4); margin-top: 12px; max-width: 300px; }
.foot-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-4);
}

/* ---------- 内页（下载 / 法律） ---------- */
.page-head { padding: 64px 0 36px; border-bottom: 1px solid var(--line-2); background: var(--bg-soft); }
.page-head h1 { font-size: 38px; margin-bottom: 12px; }
.page-head p { color: var(--ink-3); font-size: 16px; max-width: 780px; }
.prose { max-width: 780px; padding: 48px 0 72px; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; }
.prose h3 { font-size: 16.5px; margin: 24px 0 8px; }
.prose p, .prose li { font-size: 15px; color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0; }
.prose li { margin: 6px 0; }
.prose code {
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 1px 6px; border-radius: 5px; font-size: 13.5px;
}
.note {
  background: #FFFBEB; border: 1px solid #FDE68A; color: #7C5A08;
  border-radius: 10px; padding: 14px 16px; font-size: 14px; margin: 18px 0;
}
.dl-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  background: #fff; box-shadow: var(--shadow-sm); display: grid;
  grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin: 26px 0;
}
.dl-card h3 { font-size: 19px; margin-bottom: 6px; }
.dl-card .req { font-size: 13px; color: var(--ink-4); margin-top: 8px; }
.tag {
  display: inline-block; font-size: 11.8px; font-weight: 620; color: #5334D6;
  background: var(--brand-soft); border: 1px solid var(--brand-line);
  border-radius: 999px; padding: 2px 9px; margin-left: 8px; vertical-align: 2px;
}
table.simple { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
table.simple th, table.simple td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.simple th { color: var(--ink); font-weight: 640; background: var(--bg-soft); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  h1 { font-size: 36px; }
  h2 { font-size: 27px; }
  .hero { padding: 52px 0 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .demo-body { grid-template-columns: 78px 1fr; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; padding: 36px 26px; }
  .cta .side { align-items: stretch; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  section { padding: 60px 0; }
  .dl-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .trust .wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .level { grid-template-columns: 1fr; gap: 6px; }
}
