/* 一起来拼接 官网共用样式（无外部依赖、无字体文件，离线可渲染） */
:root {
  --brand: #2f6bff;
  --brand-dark: #1f4fd8;
  --brand-soft: #eef3ff;
  --ink: #111827;
  --ink-2: #4b5563;
  --ink-3: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(23, 43, 99, .08);
  --max: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { opacity: .82; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand .name { font-size: 17px; font-weight: 800; letter-spacing: -.2px; }
.brand .tag { font-size: 12px; color: var(--ink-3); }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; }
.nav a { color: var(--ink-2); }
.nav a.active { color: var(--brand); font-weight: 700; }
.header-cta { display: flex; gap: 10px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 700; border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 1; }
.btn-primary {
  background: linear-gradient(135deg, #4c86ff, var(--brand));
  color: #fff; box-shadow: 0 10px 24px rgba(47, 107, 255, .28);
}
.btn-ghost { background: #fff; color: var(--brand); border-color: rgba(47, 107, 255, .35); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13.5px; }

/* ---------- 首屏 ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 78% -8%, rgba(47, 107, 255, .16), transparent 62%),
    radial-gradient(620px 320px at 10% 0%, rgba(16, 185, 129, .10), transparent 60%),
    linear-gradient(180deg, #f8fbff, #ffffff 78%);
  border-bottom: 1px solid #eef2f8;
}
.hero .inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center; padding: 68px 24px 76px;
}
.eyebrow {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: 12.5px; font-weight: 700;
}
.hero h1 { font-size: 40px; line-height: 1.24; letter-spacing: -.8px; margin: 16px 0 14px; }
.hero h1 .hl { color: var(--brand); }
.hero .desc { color: var(--ink-2); font-size: 16px; margin: 0 0 22px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .meta { color: var(--ink-3); font-size: 13px; margin-top: 18px; }

/* 首屏右侧：拼版预览（纯 CSS，不依赖截图） */
.board {
  position: relative; aspect-ratio: 4 / 3.5; border-radius: 22px;
  background: linear-gradient(160deg, #eaf1ff, #f6f9ff);
  border: 1px solid #e2eaf8; box-shadow: var(--shadow);
  padding: 18px; display: grid; gap: 12px;
  grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr .8fr;
}
.board .cell {
  border-radius: 12px; background: #fff; border: 1px solid #e6ecf7;
  display: flex; align-items: center; justify-content: center;
  color: #b6c6e4; font-size: 12px; letter-spacing: .5px;
}
.board .cell.tall { grid-row: span 2; background: linear-gradient(160deg, #dfe9ff, #eff4ff); }
.board .cell.blue { background: linear-gradient(160deg, #4c86ff, #2f6bff); color: #fff; border: 0; }
.board .badge {
  position: absolute; left: 26px; bottom: -14px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 12.5px; font-weight: 700; color: var(--ink-2);
  box-shadow: var(--shadow);
}

/* ---------- 区块 ---------- */
section { padding: 72px 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head h2 { font-size: 28px; letter-spacing: -.4px; margin: 0 0 10px; }
.section-head p { color: var(--ink-2); margin: 0; }

.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.card h3 { font-size: 17px; margin: 14px 0 8px; }
.card p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
.card .pill {
  display: inline-block; margin-top: 12px; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--brand-dark); background: var(--brand-soft);
}
.card .pill.free { color: #047857; background: #e8f8f1; }

.icon {
  width: 44px; height: 44px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
}
.icon svg { width: 22px; height: 22px; }

/* 会员对比 */
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14.5px; }
.compare th { background: #f4f7ff; font-size: 14px; color: var(--ink-2); font-weight: 700; }
.compare td.yes { color: #047857; font-weight: 700; }
.compare td.no { color: var(--ink-3); }
.compare tr:last-child td { border-bottom: 0; }

/* 步骤 */
.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; width: 30px; height: 30px; border-radius: 50%;
  align-items: center; justify-content: center;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 14px;
}
.step h3 { font-size: 16px; margin: 12px 0 6px; }
.step p { color: var(--ink-2); font-size: 14px; margin: 0; }

/* 下载区 */
.download-box {
  background: linear-gradient(135deg, #eef3ff, #f8fbff);
  border: 1px solid #dfe8fb; border-radius: 22px; padding: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.download-box h2 { margin: 0 0 8px; font-size: 24px; }
.download-box p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* 页脚 */
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 40px 0 32px; }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; max-width: 380px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 11px; }
.footer-brand p { margin: 4px 0 0; color: var(--ink-3); font-size: 13px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; color: var(--ink-3); margin: 0 0 10px; font-weight: 700; }
.footer-col a { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 8px; }
.copyright {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--ink-3); font-size: 12.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* 文档页（协议 / 隐私） */
.doc { max-width: 840px; margin: 0 auto; padding: 48px 24px 64px; }
.doc h1 { font-size: 26px; margin: 0 0 6px; }
.doc .meta { color: var(--ink-3); font-size: 13px; margin-bottom: 26px; }
.doc h2 { font-size: 18px; margin: 32px 0 10px; }
.doc h3 { font-size: 15.5px; margin: 20px 0 6px; }
.doc p, .doc li { font-size: 14.8px; color: #1f2937; }
.doc ul { padding-left: 22px; }
.doc .note { background: var(--bg-soft); border-radius: 12px; padding: 12px 16px; font-size: 13.6px; color: var(--ink-2); }
.doc code { background: #f2f4f8; border-radius: 4px; padding: 1px 5px; font-size: 13px; }

/* 响应式 */
@media (max-width: 960px) {
  .hero .inner { grid-template-columns: 1fr; padding-top: 44px; }
  .board { max-width: 520px; }
  .grid.cols-3, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .hero h1 { font-size: 30px; }
  section { padding: 52px 0; }
  .grid.cols-3, .grid.cols-2, .steps { grid-template-columns: 1fr; }
  .download-box { padding: 26px; }
  .bar { height: 60px; }
}
