/* ============================================================
   51软著 · 全局样式
   浅色主题 / 响应式（PC / 平板 / 手机）
   ============================================================ */

:root {
  --brand: #1a56db;
  --brand-dark: #1442ad;
  --brand-light: #e8effc;
  --brand-50: #f3f7ff;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fff6e6;
  --green: #059669;
  --green-light: #e7f7f1;
  --red: #dc2626;
  --red-light: #fdeaea;

  --text: #0f172a;
  --text-2: #475569;
  --text-3: #7a869a;
  --line: #e4e9f0;
  --line-2: #eef2f7;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-soft-2: #eff3f9;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06);
  --shadow: 0 6px 20px rgba(15, 23, 42, .08);
  --shadow-lg: 0 18px 44px rgba(15, 23, 42, .12);
  --maxw: 1200px;
  --font: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cfd8e3; border-radius: 8px; border: 2px solid #fff; }
::-webkit-scrollbar-thumb:hover { background: #b3c0d1; }

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 76px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  color: var(--brand);
  background: var(--brand-light);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.section-head h2 { font-size: 32px; margin-bottom: 12px; }
.section-head p { color: var(--text-2); font-size: 15.5px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; cursor: pointer;
  transition: .18s ease; white-space: nowrap; background: none;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(26, 86, 219, .25); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #40260a; box-shadow: 0 6px 16px rgba(245, 158, 11, .28); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--text); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { color: var(--brand); background: var(--brand-50); }
.btn-sm { padding: 7px 14px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- 顶部导航 ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.navbar .nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 66px; display: flex; align-items: center; gap: 28px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; flex-shrink: 0; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand) 0%, #4f8bf7 100%);
  color: #fff; display: grid; place-items: center;
  font-size: 15px; font-weight: 800; letter-spacing: -.5px;
  box-shadow: 0 4px 12px rgba(26, 86, 219, .3);
}
.logo span.sub { font-size: 12px; color: var(--text-3); font-weight: 600; letter-spacing: 0; }
.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-menu a {
  padding: 8px 14px; border-radius: 8px; font-size: 15px; font-weight: 500;
  color: var(--text-2); transition: .16s;
}
.nav-menu a:hover { color: var(--brand); background: var(--brand-50); }
.nav-menu a.active { color: var(--brand); font-weight: 700; background: var(--brand-light); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  padding: 0; place-items: center;
}
.nav-toggle i {
  display: block; width: 18px; height: 2px; background: var(--text);
  border-radius: 2px; position: relative; transition: .2s;
}
.nav-toggle i::before, .nav-toggle i::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--text); border-radius: 2px; transition: .2s;
}
.nav-toggle i::before { top: -6px; }
.nav-toggle i::after { top: 6px; }
body.nav-open .nav-toggle i { background: transparent; }
body.nav-open .nav-toggle i::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle i::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 400px at 85% -10%, #dce8ff 0%, transparent 60%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  padding: 72px 0 68px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: center; }
.hero .tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; font-size: 13.5px; color: var(--text-2);
  box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.hero .tag b { color: var(--brand); }
.hero h1 { font-size: 44px; line-height: 1.22; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: 17px; color: var(--text-2); max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; color: var(--text-2); }
.hero-trust b { display: block; font-size: 20px; color: var(--text); line-height: 1.3; }
.hero-trust .item { padding-left: 14px; border-left: 3px solid var(--brand); }

.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-lg);
}
.hero-card .hc-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.hero-card .hc-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-light); }
.hc-item {
  display: flex; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--line);
}
.hc-item:first-of-type { border-top: none; }
.hc-item .k { color: var(--text-3); font-size: 13px; min-width: 68px; }
.hc-item .v { font-weight: 600; font-size: 14px; flex: 1; }
.hc-item .v small { display: block; font-weight: 400; color: var(--text-3); font-size: 12.5px; }
.hc-foot {
  margin-top: 16px; padding: 12px; background: var(--accent-light);
  border: 1px solid #fbe3b5; border-radius: var(--radius-sm);
  font-size: 13.5px; color: #7a4a09;
}

/* ---------- 卡片通用 ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: .2s ease;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3dff2; }

.svc-card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 21px; margin-bottom: 14px; background: var(--brand-light); color: var(--brand);
}
.svc-card:nth-child(2) .ico { background: var(--accent-light); color: var(--accent-dark); }
.svc-card:nth-child(3) .ico { background: var(--green-light); color: var(--green); }
.svc-card:nth-child(4) .ico { background: #f3e8ff; color: #7c3aed; }
.svc-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.svc-card p { color: var(--text-2); font-size: 14.5px; margin-bottom: 12px; }
.svc-card .meta { font-size: 13.5px; color: var(--brand); font-weight: 600; }

/* ---------- 步骤流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { text-align: center; padding: 0 14px; position: relative; }
.step::after {
  content: ""; position: absolute; top: 26px; left: 60%; width: 80%;
  height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }
.step .num {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 14px;
  background: #fff; border: 2px solid var(--brand-light); color: var(--brand);
  display: grid; place-items: center; font-weight: 800; font-size: 19px; position: relative; z-index: 1;
  box-shadow: 0 0 0 6px #fff;
}
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13.8px; color: var(--text-2); }

/* ---------- 优势 ---------- */
.adv-item { display: flex; gap: 14px; }
.adv-item .tick {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: var(--green-light); color: var(--green); display: grid; place-items: center;
  font-size: 14px; font-weight: 800;
}
.adv-item h4 { font-size: 15.5px; margin-bottom: 4px; }
.adv-item p { font-size: 14px; color: var(--text-2); }

/* ---------- 软著资源卡 ---------- */
.rj-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: .2s ease;
}
.rj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3dff2; }
.rj-top { padding: 18px 20px 14px; border-bottom: 1px dashed var(--line); }
.rj-badges { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.badge {
  font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 6px;
  background: var(--brand-light); color: var(--brand);
}
.badge.sell { background: var(--green-light); color: var(--green); }
.badge.buy { background: var(--accent-light); color: var(--accent-dark); }
.badge.gray { background: var(--bg-soft-2); color: var(--text-2); }
.badge.purple { background: #f3e8ff; color: #7c3aed; }
.rj-name { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; line-height: 1.45; }
.rj-no { font-size: 12.5px; color: var(--text-3); font-family: ui-monospace, Consolas, monospace; }
.rj-body { padding: 14px 20px; flex: 1; }
.rj-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 4px 0; color: var(--text-2); }
.rj-row span:first-child { color: var(--text-3); }
.rj-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tagx { font-size: 12px; color: var(--text-2); background: var(--bg-soft-2); padding: 3px 8px; border-radius: 5px; }
.rj-foot {
  padding: 14px 20px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg-soft);
}
.price { font-size: 22px; font-weight: 800; color: var(--red); letter-spacing: -.02em; }
.price small { font-size: 13px; font-weight: 600; }
.price.free { color: var(--green); }

/* ---------- 筛选栏 ---------- */
.filter-bar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end;
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 150px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px;
  background: #fff; font-size: 14px; outline: none; transition: .15s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26, 86, 219, .12);
}
.field input::placeholder, .field textarea::placeholder { color: #a9b4c4; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 13.5px; cursor: pointer; transition: .15s; color: var(--text-2);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; }
table.tbl th, table.tbl td {
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
table.tbl th { background: var(--bg-soft); font-weight: 700; font-size: 13.5px; color: var(--text-2); white-space: nowrap; }
table.tbl td { color: var(--text-2); }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl tbody tr:hover td { background: var(--brand-50); }
.tick-cell { color: var(--green); font-weight: 800; }
.cross-cell { color: #b6bfcd; }

/* ---------- 价格套餐 ---------- */
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; position: relative; display: flex; flex-direction: column; transition: .2s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.hot { border-color: var(--brand); box-shadow: 0 10px 30px rgba(26, 86, 219, .14); }
.plan .ribbon {
  position: absolute; top: -1px; right: 22px;
  background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 5px 12px; border-radius: 0 0 8px 8px;
}
.plan h3 { font-size: 18px; margin-bottom: 6px; }
.plan .desc { font-size: 13.5px; color: var(--text-3); margin-bottom: 16px; }
.plan .p { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.plan .p small { font-size: 15px; font-weight: 600; color: var(--text-3); }
.plan .p em { font-style: normal; font-size: 13px; color: var(--text-3); text-decoration: line-through; font-weight: 500; margin-left: 6px; }
.plan ul { margin: 18px 0 22px; flex: 1; }
.plan ul li { display: flex; gap: 9px; font-size: 14px; color: var(--text-2); padding: 6px 0; }
.plan ul li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; }
.plan ul li.off { color: var(--text-3); }
.plan ul li.off::before { content: "—"; color: #b6bfcd; }

/* ---------- FAQ 手风琴 ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px; background: none; border: none; cursor: pointer; text-align: left;
  font-size: 15.5px; font-weight: 600; transition: .15s;
}
.faq-q:hover { background: var(--brand-50); }
.faq-q .arw { transition: .25s; color: var(--text-3); font-size: 13px; flex-shrink: 0; }
.faq-item.open .faq-q .arw { transform: rotate(180deg); color: var(--brand); }
.faq-a { display: none; padding: 0 20px 18px; color: var(--text-2); font-size: 14.5px; }
.faq-item.open .faq-a { display: block; }

/* ---------- 生成器 ---------- */
.gen-layout { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }
.gen-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); position: sticky; top: 82px;
  max-height: calc(100vh - 100px); overflow-y: auto;
}
.gen-form h3 { font-size: 16.5px; margin-bottom: 4px; }
.gen-form .sub { font-size: 13px; color: var(--text-3); margin-bottom: 18px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.form-group label .req { color: var(--red); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px;
  font-size: 14px; outline: none; transition: .15s; background: #fff;
}
.form-group textarea { resize: vertical; min-height: 66px; line-height: 1.6; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26, 86, 219, .12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hint { font-size: 12px; color: var(--text-3); margin-top: 5px; }

.mod-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.mod-row { display: flex; gap: 8px; align-items: flex-start; }
.mod-row input { flex: 1; }
.mod-row .rm {
  width: 32px; height: 36px; flex-shrink: 0; border: 1px solid var(--line);
  background: #fff; border-radius: 8px; cursor: pointer; color: var(--text-3);
  font-size: 16px; line-height: 1; transition: .15s;
}
.mod-row .rm:hover { border-color: var(--red); color: var(--red); background: var(--red-light); }
.mod-desc { flex-basis: 100%; }

.gen-result { min-width: 0; }
.res-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.res-tabs {
  display: flex; gap: 2px; padding: 8px 10px 0; background: var(--bg-soft);
  border-bottom: 1px solid var(--line); overflow-x: auto;
}
.res-tab {
  padding: 10px 15px; border: none; background: none; cursor: pointer; font-size: 14px;
  font-weight: 600; color: var(--text-2); border-radius: 9px 9px 0 0; white-space: nowrap;
  transition: .15s; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.res-tab:hover { color: var(--brand); }
.res-tab.on { color: var(--brand); background: #fff; border-bottom-color: #fff; }
.res-bar {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--brand-50);
}
.res-bar .stat { font-size: 13px; color: var(--text-2); }
.res-bar .stat b { color: var(--brand); }
.res-bar .spacer { flex: 1; }
.res-body { padding: 22px 24px; max-height: 70vh; overflow-y: auto; }
.res-pane { display: none; }
.res-pane.on { display: block; }

.doc-preview { font-size: 14.5px; line-height: 1.9; color: #1f2937; }
.doc-preview h1 { font-size: 22px; text-align: center; margin: 0 0 6px; }
.doc-preview h2 { font-size: 18px; margin: 26px 0 12px; padding-left: 11px; border-left: 4px solid var(--brand); }
.doc-preview h3 { font-size: 15.5px; margin: 18px 0 8px; color: var(--brand-dark); }
.doc-preview p { margin: 0 0 11px; text-indent: 2em; }
.doc-preview .center { text-align: center; text-indent: 0; }
.doc-preview ol, .doc-preview ul { margin: 0 0 12px; padding-left: 26px; list-style: decimal; }
.doc-preview ul { list-style: disc; }
.doc-preview li { margin-bottom: 5px; }
.doc-preview table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.doc-preview th, .doc-preview td { border: 1px solid var(--line); padding: 9px 11px; font-size: 14px; text-align: left; }
.doc-preview th { background: var(--bg-soft); font-weight: 700; width: 150px; white-space: nowrap; }
.doc-preview code { background: var(--bg-soft-2); padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.doc-preview .note {
  background: var(--accent-light); border-left: 3px solid var(--accent);
  padding: 10px 14px; border-radius: 0 8px 8px 0; margin: 12px 0; font-size: 13.5px; color: #7a4a09;
  text-indent: 0;
}

.empty-state { text-align: center; padding: 70px 24px; color: var(--text-3); }
.empty-state .big { font-size: 46px; margin-bottom: 12px; opacity: .45; }
.empty-state h4 { font-size: 16px; color: var(--text-2); margin-bottom: 6px; }

.raw-toggle { font-size: 13px; }

/* ---------- 检查清单 ---------- */
.check-item {
  display: flex; gap: 11px; align-items: flex-start; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 9px;
  cursor: pointer; transition: .15s; background: #fff;
}
.check-item:hover { border-color: var(--brand); background: var(--brand-50); }
.check-item input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--brand); flex-shrink: 0; }
.check-item.checked { background: var(--green-light); border-color: #a7dfc8; }
.check-item.checked .ci-title { text-decoration: line-through; color: var(--text-3); }
.ci-title { font-size: 14.5px; font-weight: 600; }
.ci-desc { font-size: 13px; color: var(--text-3); }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line);
}
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand);
}
.tl-item h4 { font-size: 15.5px; margin-bottom: 4px; }
.tl-item .dur { font-size: 12.5px; color: var(--brand); font-weight: 600; margin-bottom: 4px; }
.tl-item p { font-size: 14px; color: var(--text-2); }

/* ---------- 弹窗 ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(15, 23, 42, .5); backdrop-filter: blur(3px);
}
.modal.open { display: flex; }
.modal-box {
  background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 560px;
  max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  animation: pop .22s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-head {
  padding: 18px 22px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: sticky; top: 0; background: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; z-index: 1;
}
.modal-head h3 { font-size: 17px; }
.modal-close {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; color: var(--text-3); font-size: 17px; line-height: 1;
}
.modal-close:hover { border-color: var(--red); color: var(--red); }
.modal-body { padding: 22px; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 999; }
.toast {
  background: #0f172a; color: #fff; padding: 11px 20px; border-radius: 10px;
  font-size: 14px; box-shadow: var(--shadow-lg); margin-top: 10px;
  animation: up .25s ease;
}
@keyframes up { from { opacity: 0; transform: translateY(12px); } }

/* ---------- CTA 条 ---------- */
.cta-bar {
  background: linear-gradient(120deg, var(--brand) 0%, #3b6fe0 60%, #5b8bf5 100%);
  border-radius: var(--radius-lg); padding: 42px 40px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-bar::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px;
  border-radius: 50%; background: rgba(255, 255, 255, .09);
}
.cta-bar h2 { font-size: 27px; margin-bottom: 8px; }
.cta-bar p { opacity: .9; font-size: 15px; }
.cta-bar .btn-accent { background: #fff; color: var(--brand); }
.cta-bar .btn-accent:hover { background: var(--accent); color: #fff; }
.cta-bar .btn-outline { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.cta-bar .btn-outline:hover { background: rgba(255, 255, 255, .15); border-color: #fff; color: #fff; }

/* ---------- 页脚 ---------- */
.footer { background: #0f172a; color: #b9c3d2; padding: 54px 0 22px; font-size: 14px; }
.footer .fg { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 14px; font-weight: 700; }
.footer p { color: #8d9aad; font-size: 13.5px; line-height: 1.8; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: #b9c3d2; font-size: 13.8px; transition: .15s; }
.footer ul a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .logo span.sub { color: #8d9aad; }
.fbot {
  border-top: 1px solid #1e2b45; padding-top: 18px; font-size: 13px; color: #6f7d92;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- 杂项 ---------- */
.demo-note {
  background: var(--accent-light); border: 1px solid #f7dfae; color: #7a4a09;
  padding: 11px 16px; border-radius: var(--radius-sm); font-size: 13.5px; margin-bottom: 20px;
}
.breadcrumb { font-size: 13.5px; color: var(--text-3); padding: 16px 0 0; }
.breadcrumb a:hover { color: var(--brand); }
.page-head {
  background: linear-gradient(180deg, #f5f8ff 0%, #fff 100%);
  border-bottom: 1px solid var(--line); padding: 44px 0 40px; text-align: center;
}
.page-head h1 { font-size: 33px; margin-bottom: 12px; }
.page-head p { color: var(--text-2); font-size: 16px; max-width: 640px; margin: 0 auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.list-check li { display: flex; gap: 10px; padding: 7px 0; font-size: 14.8px; color: var(--text-2); }
.list-check li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; }
.stat-box {
  text-align: center; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.stat-box b { display: block; font-size: 30px; color: var(--brand); line-height: 1.2; letter-spacing: -.02em; }
.stat-box span { font-size: 13.5px; color: var(--text-3); }

/* ---------- 打印 ---------- */
@media print {
  .navbar, .footer, .res-bar, .res-tabs, .gen-form, .no-print, .cta-bar, .toast-wrap { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .gen-layout { display: block; }
  .res-body { max-height: none; overflow: visible; padding: 0; }
  .res-card { border: none; }
  .res-pane { display: block !important; page-break-after: always; }
}

/* ---------- 响应式：平板 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { max-width: 520px; }
  .gen-layout { grid-template-columns: 330px 1fr; }
  .footer .fg { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav-menu {
    position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 18px;
    box-shadow: var(--shadow); display: none; gap: 2px; margin-left: 0;
  }
  body.nav-open .nav-menu { display: flex; }
  .nav-menu a { padding: 12px 14px; font-size: 15.5px; border-radius: 9px; }
  .nav-menu a.active { background: var(--brand-light); }
  .nav-inner { position: relative; }
  .nav-actions .btn-outline { display: none; }
  .nav-inner { justify-content: space-between; }
  .nav-links-wrap { display: contents; }

  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .step::after { display: none; }
  .gen-layout { grid-template-columns: 1fr; }
  .gen-form { position: static; max-height: none; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 48px 0 44px; }
}

/* ---------- 响应式：手机 ---------- */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; height: 60px; }
  .logo { font-size: 17px; }
  body { font-size: 14.5px; }

  .hero { padding: 34px 0 34px; }
  .hero h1 { font-size: 27px; }
  .hero .lead { font-size: 15px; margin-bottom: 22px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1; min-width: 140px; }
  .hero-trust { gap: 16px; }
  .hero-trust .item { flex: 1; min-width: 92px; }
  .hero-trust b { font-size: 18px; }
  .hero-card { padding: 18px; }

  .section { padding: 42px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 23px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step { text-align: left; display: flex; gap: 14px; padding: 0; }
  .step .num { width: 44px; height: 44px; margin: 0; flex-shrink: 0; font-size: 17px; }

  .filter-bar { padding: 14px; gap: 10px; }
  .field { min-width: 100%; }
  .field.half { min-width: calc(50% - 5px); }

  .res-body { padding: 16px 14px; max-height: none; }
  .res-bar { padding: 10px 12px; }
  .doc-preview th, .doc-preview td { padding: 7px 8px; font-size: 13px; }
  .doc-preview th { width: 96px; white-space: normal; }
  .doc-preview h1 { font-size: 19px; }
  .doc-preview h2 { font-size: 16.5px; }
  .form-row { grid-template-columns: 1fr; }

  .cta-bar { padding: 28px 20px; border-radius: var(--radius); }
  .cta-bar h2 { font-size: 21px; }
  .cta-bar .btn { width: 100%; }

  .footer { padding: 40px 0 18px; }
  .footer .fg { grid-template-columns: 1fr; gap: 24px; margin-bottom: 26px; }
  .modal-box { max-height: 92vh; }
  .page-head { padding: 32px 0 30px; }
  .page-head h1 { font-size: 25px; }
  .price { font-size: 19px; }
  .plan .p { font-size: 29px; }
  .fbot { flex-direction: column; gap: 6px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 24px; }
  .btn { padding: 10px 16px; font-size: 14px; }
}
