/* 聊沃官网：品牌色 靛蓝 #1C096C（主色，配白字）+ 薄荷绿 #00CAA4（点缀，不配白字） */
:root {
  --primary: #1C096C; --primary-hover: #2D1A8C; --on-primary: #fff;
  --accent: #00CAA4; --accent-text: #00806A; --accent-weak: #e6faf6;
  --fg: #16181d; --muted: #5b6370; --line: #dde1e7; --bg: #fff; --bg-soft: #f6f7fb; --card: #fff;
  --demo-bg: #efeae2; --bubble-in: #fff; --bubble-out: #d9fdd3; --shadow: 0 10px 30px rgba(28, 9, 108, .10);
  --radius: 14px; --wrap: 1120px;
}
.lv-a { fill: #1C096C; }
.lv-b { fill: #00CAA4; }
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #00CAA4; --primary-hover: #19DDB8; --on-primary: #14064F;
    --accent-text: #3DDCBE; --accent-weak: rgba(0, 202, 164, .12);
    --fg: #e8ebf0; --muted: #9aa3af; --line: #2c313a; --bg: #101216; --bg-soft: #161a20; --card: #181c23;
    --demo-bg: #0b141a; --bubble-in: #202c33; --bubble-out: #005c4b; --shadow: 0 10px 30px rgba(0, 0, 0, .4);
  }
  .lv-a { fill: #fff; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Noto Sans", sans-serif;
}
:lang(ar) body, body:lang(ar) { font-family: system-ui, "Segoe UI", Tahoma, sans-serif; }
img, svg { max-width: 100%; }
a { color: var(--accent-text); }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 5vw, 52px); margin: .2em 0 .35em; }
h2 { font-size: clamp(23px, 3vw, 32px); margin: 0 0 .6em; }
h3 { font-size: 18px; margin: .2em 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.logo { width: 30px; height: 30px; flex: none; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 7px 14px; font-size: 14px; }
.btn-lg { padding: 13px 22px; font-size: 17px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.center .cta-row { justify-content: center; }
.cta-note { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* ---------- 页头 ---------- */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--fg); text-decoration: none; }
.links { display: flex; align-items: center; gap: 4px; margin-left: 12px; flex: 1; }
.links > a, .dd > summary { color: var(--fg); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: 15px; cursor: pointer; }
.links > a:hover, .dd > summary:hover { background: var(--bg-soft); }
.dd { position: relative; }
.dd > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.dd-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; margin: 0; list-style: none; display: flex; flex-direction: column; }
.dd-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--fg); text-decoration: none; }
.dd-menu a:hover, .dd-menu a[aria-current] { background: var(--bg-soft); color: var(--accent-text); }
.lang { margin-left: auto; }
.lang .dd-menu { left: auto; right: 0; min-width: 160px; }
.lang .ic { width: 18px; height: 18px; }

/* ---------- 首屏 ---------- */
.hero { padding: 56px 0 40px; background: radial-gradient(1200px 500px at 85% -10%, var(--accent-weak), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent-text); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 0; }
.lead { font-size: 19px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 15px; }
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.ticks .ic { width: 18px; height: 18px; color: var(--accent-text); }

/* ---------- 演示（纯 CSS 模拟聊天窗口）---------- */
.demo { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--demo-bg); font-size: 15px; }
.demo-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--card); border-bottom: 1px solid var(--line); }
.demo-top small { display: block; color: var(--muted); font-size: 12px; line-height: 1.2; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-weak); color: var(--accent-text); font-weight: 700; }
.demo-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--accent-text); }
.demo-badge .logo { width: 16px; height: 16px; }
.demo-body { padding: 16px 14px 6px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 82%; padding: 8px 11px; border-radius: 10px; background: var(--bubble-in); box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.msg p { margin: 0; }
.msg .tr { margin-top: 5px; padding-top: 5px; border-top: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent-text); font-size: 14px; }
.msg.out { align-self: flex-end; background: var(--bubble-out); }
.msg.out .tr { color: var(--muted); }
.compose { margin: 8px 10px 12px; background: var(--card); border: 1px solid color-mix(in srgb, var(--accent) 60%, var(--line)); border-radius: 12px; padding: 10px 12px; }
.compose-bar { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.compose-bar span:first-child { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.compose-bar .logo { width: 14px; height: 14px; }
.pill { background: var(--accent-weak); color: var(--accent-text); padding: 1px 8px; border-radius: 10px; font-weight: 600; }
.draft { color: var(--muted); font-size: 14px; }
.draft-tr { font-weight: 600; margin-top: 4px; }
.compose-hint { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent-text); margin-top: 8px; }
.compose-hint .ic { width: 14px; height: 14px; }

/* ---------- 区块 ---------- */
.section { padding: 64px 0; }
.section.tight { padding: 32px 0 48px; }
.section.alt { background: var(--bg-soft); }
.page-head { padding: 40px 0 8px; }
.answer-first .answer { font-size: 19px; border-left: 4px solid var(--accent); padding: 4px 0 4px 16px; }
.cards { display: grid; gap: 18px; margin-top: 28px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .ic { color: var(--accent-text); width: 26px; height: 26px; }
.card p { color: var(--muted); margin: 0; }
.card h3 a { color: var(--fg); text-decoration: none; }
.card h3 a:hover { color: var(--accent-text); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 800; margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; }
.howto { padding-left: 22px; }
.howto li { margin: 6px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.checklist .ic { color: var(--accent-text); margin-top: 2px; }
.lang-chips { list-style: none; padding: 0; margin: 20px auto 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 860px; }
.lang-chips li { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 4px 14px; font-size: 15px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 16px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }
.final { background: linear-gradient(180deg, var(--bg-soft), var(--accent-weak)); }
.related { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.crumbs { font-size: 14px; color: var(--muted); padding-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }

/* ---------- 定价 ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.plan.best { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #14064F; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.plan h3 { font-size: 22px; margin: 0; }
.plan-for { color: var(--muted); font-size: 14px; min-height: 2.6em; margin: 4px 0 10px; }
.price { font-size: 40px; font-weight: 800; margin: 0; line-height: 1.1; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.yearly { color: var(--accent-text); font-size: 14px; font-weight: 600; min-height: 1.6em; margin: 6px 0 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; flex: 1; }
.plan li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.plan li .ic { width: 18px; height: 18px; color: var(--accent-text); margin-top: 3px; }
.topup { margin-top: 18px; display: flex; gap: 14px; align-items: flex-start; border: 1px dashed var(--line); border-radius: 14px; padding: 18px 20px; background: var(--card); }
.topup .ic { color: var(--accent-text); margin-top: 3px; }
.topup h3 { margin: 0 0 4px; }
.topup p { margin: 0; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-soft); font-weight: 700; }
.facts th { width: 34%; color: var(--muted); font-weight: 600; }

/* ---------- 正文 / 法律文本 ---------- */
.prose h2 { margin-top: 1.6em; font-size: 24px; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-inline-start: 22px; }
.prose li { margin: 4px 0; }
.legal { font-size: 15.5px; }
.legal h2 { font-size: 21px; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 26px; background: var(--bg-soft); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 6px 0 10px; }
.foot-grid > div > a { display: block; color: var(--fg); text-decoration: none; padding: 3px 0; }
.foot-grid > div > a:hover { color: var(--accent-text); }
.foot-brand p { color: var(--muted); margin: 10px 0 0; }
.foot-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot-bottom p { margin: 4px 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .cards.three, .cards.four, .steps, .plans { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 6px; gap: 8px; }
  .links { order: 3; flex-basis: 100%; margin: 0 -10px; overflow-x: auto; }
  .lang summary span { display: none; }
  .cards.two, .cards.three, .cards.four, .steps, .plans { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .section { padding: 44px 0; }
  .lead { font-size: 17px; }
  .dd-menu { position: fixed; left: 12px; right: 12px; top: auto; min-width: 0; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
