:root {
  --bg: #f6f7fb;
  --ink: #16181d;
  --muted: #5b6472;
  --card: #ffffff;
  --brand: #2f6bff;      /* 主强调色 */
  --brand-2: #16c2a3;    /* 次强调色 */
  --block: #11151c;      /* 大色块（深色背景块，符合"黑底强调"偏好） */
  --line: #e6e9f0;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 30, 60, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ---------- 顶栏 ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 247, 251, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.logo .mark {
  width: 34px; height: 34px; border-radius: 9px;
  display: block; object-fit: contain;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(47,107,255,.28); }
.btn-primary:hover { background: #2459e0; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 56px; }
.hero .tag {
  display: inline-block; background: #eaf0ff; color: var(--brand);
  font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: 46px; line-height: 1.18; letter-spacing: -0.5px; max-width: 760px; }
.hero h1 .hl { color: var(--brand); }
.hero p.sub { color: var(--muted); font-size: 18px; margin: 18px 0 30px; max-width: 620px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 38px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .s b { font-size: 26px; display: block; }
.hero-stats .s span { color: var(--muted); font-size: 14px; }

/* ---------- 大色块展示带 ---------- */
.showcase { background: var(--block); color: #fff; border-radius: 24px; padding: 44px 40px; margin: 8px 0 8px; }
.showcase h2 { font-size: 26px; margin-bottom: 14px; }
.showcase p { color: #c7cdd8; max-width: 640px; }
.showcase .cards-preview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
.showcase .mini { background: #1e2530; border: 1px solid #2b3340; border-radius: 12px; height: 86px; padding: 12px; }
.showcase .mini .t { width: 64%; height: 9px; background: #3a4453; border-radius: 4px; margin-bottom: 9px; }
.showcase .mini .d { width: 88%; height: 7px; background: #2c3543; border-radius: 4px; }

/* ---------- 区块标题 ---------- */
.section { padding: 64px 0; }
.section h2 { font-size: 32px; text-align: center; margin-bottom: 8px; }
.section .lead { text-align: center; color: var(--muted); margin-bottom: 40px; }

/* ---------- 功能卡片 ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: #eaf0ff; color: var(--brand); margin-bottom: 14px;
}
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ---------- 价格 ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1120px; margin: 0 auto; }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative;
}
.plan.pro { border: 2px solid var(--brand); }
.plan .badge {
  position: absolute; top: -12px; right: 18px; background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.plan .tag-soft {
  position: absolute; top: -11px; left: 18px; background: #eaf0ff; color: var(--brand);
  font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.plan .name { font-size: 19px; font-weight: 800; }
.plan .price { font-size: 32px; font-weight: 800; margin: 12px 0 2px; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; margin: 18px 0 24px; flex: 1; }
.plan li { padding: 6px 0 6px 24px; position: relative; color: var(--muted); font-size: 13.5px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-weight: 800; }

/* ---------- 下载区 ---------- */
.download { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; text-align: center; box-shadow: var(--shadow); }
.download .ver { display: inline-block; background: #e7faf4; color: var(--brand-2); font-weight: 700; padding: 5px 14px; border-radius: 999px; font-size: 13px; margin-bottom: 14px; }
.download h2 { font-size: 28px; margin-bottom: 10px; }
.download p { color: var(--muted); margin-bottom: 22px; }
.download .note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .pricing { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; }
  .showcase .cards-preview { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 34px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .pricing { grid-template-columns: 1fr; }
}

/* ---------- 法律/联系页面 ---------- */
.legal { padding: 56px 0 72px; }
.legal-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 48px; box-shadow: var(--shadow); max-width: 860px; margin: 0 auto;
}
.legal-card h1 { font-size: 30px; margin-bottom: 6px; }
.legal-card .updated { color: var(--muted); font-size: 13.5px; margin-bottom: 28px; }
.legal-card h2 { font-size: 19px; margin: 28px 0 10px; }
.legal-card p, .legal-card li { color: var(--muted); font-size: 15px; }
.legal-card ul { padding-left: 22px; margin: 8px 0; }
.legal-card li { margin: 5px 0; }
.legal-card strong { color: var(--ink); }
.legal-card a { color: var(--brand); }
.notice {
  background: #fff8e6; border: 1px solid #f0dfa8; border-radius: 12px;
  padding: 14px 18px; margin-bottom: 24px; color: #8a6d1a; font-size: 14px;
}
@media (max-width: 640px) {
  .legal-card { padding: 28px 22px; }
}
