/* LiveSubtitle 官网样式 —— 无外部依赖（不引 CDN / 不引 Google Fonts），国内打开也快 */

:root {
  --ink: #14161c;
  --ink-2: #454b59;
  --ink-3: #767e91;
  --line: #e6e8ee;
  --line-2: #f1f3f7;
  --bg: #ffffff;
  --bg-soft: #fafbfd;
  --accent: #4f46e5;
  --accent-soft: #eeecfe;
  --ok: #12a150;
  --warn: #b45309;
  --radius: 14px;
  --max: 1060px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ── 顶栏 ── */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 26px; height: 62px; }
.logo { font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -.2px; }
.logo:hover { text-decoration: none; }
.logo b { color: var(--accent); }
.nav nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav nav a { color: var(--ink-2); font-size: 14.5px; }
.nav nav a:hover { color: var(--ink); text-decoration: none; }

.btn {
  display: inline-block; padding: 10px 18px; border-radius: 10px;
  background: var(--accent); color: #fff !important; font-size: 14.5px; font-weight: 600;
  border: 1px solid var(--accent); transition: .18s;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn.ghost { background: #fff; color: var(--ink) !important; border-color: var(--line); }
.btn.ghost:hover { background: var(--bg-soft); }
.btn.lg { padding: 13px 26px; font-size: 16px; border-radius: 12px; }

/* ── Hero ── */
.hero { padding: 68px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.tag {
  display: inline-block; padding: 5px 12px; border-radius: 100px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
h1 { font-size: 40px; line-height: 1.28; margin: 0 0 18px; letter-spacing: -.6px; font-weight: 750; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 17px; color: var(--ink-2); margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { font-size: 13px; color: var(--ink-3); margin-top: 14px; }

/* ── 字幕面板示意图（纯 CSS，不用图片） ── */
.panel {
  background: #0d1017; border-radius: 16px; padding: 14px;
  box-shadow: 0 26px 60px -22px rgba(20,22,28,.42), 0 2px 6px rgba(20,22,28,.06);
  border: 1px solid #1c2130;
}
.panel-head { display: flex; align-items: center; gap: 7px; padding: 2px 4px 12px; }
.panel-head i { width: 9px; height: 9px; border-radius: 50%; background: #2c3446; }
.panel-head span { margin-left: 8px; color: #6f7a92; font-size: 12px; }
.lines { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow: hidden; }
.lines li {
  display: grid; grid-template-columns: 52px 1fr; gap: 12px;
  padding: 10px 10px; border-radius: 10px; margin-bottom: 2px;
}
.lines li time { color: #59637c; font-size: 12.5px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.lines li p { margin: 0; color: #b9c2d4; font-size: 14px; line-height: 1.6; }
.lines li p.tr { color: #6f7a92; font-size: 13px; margin-top: 4px; }
.lines li.on { background: #172033; }
.lines li.on time { color: #7f8cb0; }
.lines li.on p { color: #f0f3f9; }
.lines li.on p.tr { color: #98a4bf; }

/* ── 通用区块 ── */
section { padding: 62px 0; border-top: 1px solid var(--line-2); }
.sec-head { margin-bottom: 38px; max-width: 640px; }
h2 { font-size: 27px; margin: 0 0 10px; letter-spacing: -.4px; font-weight: 700; }
.sec-head p { margin: 0; color: var(--ink-2); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; background: #fff;
}
.card h3 { margin: 0 0 8px; font-size: 16.5px; }
.card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

.feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feat .card { padding: 26px 24px; }
.feat .card .k {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); border-radius: 6px; padding: 3px 9px; margin-bottom: 12px;
}

/* ── 对比表 ── */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; }
th { font-size: 13.5px; color: var(--ink-3); font-weight: 600; background: var(--bg-soft); }
th:first-child, td:first-child { padding-left: 16px; }
td.mid, th.mid { text-align: center; }
.ok { color: var(--ok); font-weight: 600; }
.no { color: var(--ink-3); }
.tbl-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

/* ── 定价 ── */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; align-items: start; }
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; background: #fff; }
.plan.hot { border: 2px solid var(--accent); box-shadow: 0 18px 44px -24px rgba(79,70,229,.5); position: relative; }
.plan.hot::after {
  content: "最划算"; position: absolute; top: -12px; left: 26px;
  background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px;
}
.plan h3 { margin: 0 0 4px; font-size: 18px; }
.plan .sub { color: var(--ink-3); font-size: 13.5px; margin: 0 0 18px; }
.amount { font-size: 38px; font-weight: 750; letter-spacing: -1px; line-height: 1.1; }
.amount small { font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.plan ul { list-style: none; margin: 20px 0 24px; padding: 0; }
.plan li { padding: 8px 0 8px 26px; position: relative; font-size: 14.5px; color: var(--ink-2); }
.plan li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--accent); font-weight: 700; font-size: 13px;
}
.plan .btn { width: 100%; text-align: center; }

/* ── FAQ ── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 18px 2px; font-weight: 600; font-size: 16px;
  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-3); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .ans { padding: 0 2px 20px; color: var(--ink-2); font-size: 15px; max-width: 780px; }
.faq .ans p { margin: 0 0 10px; }

/* ── 页脚 ── */
footer { border-top: 1px solid var(--line); padding: 40px 0 54px; color: var(--ink-3); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.foot-in nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 20px; }
.foot-in a { color: var(--ink-2); }
.brandline { margin-top: 18px; font-size: 13px; line-height: 1.9; }

/* ── 法律页 ── */
.legal { padding: 48px 0 70px; }
.legal h1 { font-size: 30px; margin-bottom: 6px; }
.legal .stamp { color: var(--ink-3); font-size: 14px; margin: 0 0 34px; }
.legal h2 { font-size: 19px; margin: 34px 0 10px; }
.legal h3 { font-size: 16px; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 7px; }
.legal .box {
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 16px 18px; margin: 18px 0;
}
.legal .fill { background: #fff7ed; border-bottom: 1px dashed var(--warn); color: var(--warn); font-weight: 600; }
.back { display: inline-block; margin-bottom: 22px; font-size: 14.5px; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  h1 { font-size: 31px; }
  .cards, .feat { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .nav nav a:not(.btn) { display: none; }
  th, td { padding: 11px 10px; font-size: 14px; }
}
