:root {
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;
  --ok: #10b981;
  --ok-soft: #ecfdf5;
  --warn: #f59e0b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.brand img { width: 26px; height: 26px; border-radius: 6px; }

.nav-links { display: flex; gap: 20px; margin-left: auto; }

.nav-links a { color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }

.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--brand-dark); text-decoration: none; }

/* ---------- 通用区块 ---------- */
section { padding: 62px 0; }
section.tight { padding: 40px 0; }

h1 { font-size: 40px; line-height: 1.25; margin: 0 0 18px; letter-spacing: -0.5px; }
h2 { font-size: 26px; margin: 0 0 14px; letter-spacing: -0.3px; }
h3 { font-size: 17px; margin: 0 0 8px; }

.lead { font-size: 17px; color: var(--muted); margin: 0 0 26px; }

.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- 首屏 ---------- */
.hero { padding: 74px 0 52px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}

.hero-shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}
.hero-shot img { display: block; width: 100%; }

.tagline {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- 按钮 ---------- */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }

.btn-ghost { background: #fff; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-lg { padding: 14px 26px; font-size: 16px; }

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.card .icon { font-size: 22px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- 价格表 ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.price {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
}
.price.featured { border-color: var(--brand); box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12); }
.price .name { font-weight: 700; margin-bottom: 4px; }
.price .count { font-size: 26px; font-weight: 700; color: var(--brand); }
.price .unit { font-size: 12px; color: var(--muted); }
.price .amount { font-size: 20px; font-weight: 700; margin-top: 10px; }
.price .save { font-size: 12px; color: var(--ok); }

/* ---------- 表格 ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
th { background: #f8fafc; font-weight: 600; }
tr:last-child td { border-bottom: none; }

/* ---------- 提示条 ---------- */
.note {
  background: var(--ok-soft);
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
}

.warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
}

/* ---------- 步骤 ---------- */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.step p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- 下载块 ---------- */
.download-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
}

.meta {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 页脚 ---------- */
footer.site {
  background: #0f172a;
  color: #94a3b8;
  padding: 42px 0 30px;
  font-size: 13px;
}
footer.site a { color: #cbd5e1; }
footer.site .links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
footer.site .legal { line-height: 2; }

/* ---------- 政策页 ---------- */
.policy { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 34px; }
.policy h1 { font-size: 26px; }
.policy h2 { font-size: 19px; margin-top: 30px; }
.policy p, .policy li { color: #334155; font-size: 14.5px; }
.policy table { margin: 14px 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
  .nav-links { display: none; }
  section { padding: 44px 0; }
}

/* ---------- 表单 ---------- */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.row { display: flex; gap: 10px; }
.row input { flex: 1; }

/* ---------- 导航右侧账号区 ---------- */
.nav-user { display: flex; align-items: center; gap: 14px; }
.nav-link-plain { color: var(--muted); font-size: 14px; }
.nav-link-plain:hover { color: var(--brand); text-decoration: none; }

/* ---------- 轻提示 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: -80px;
  transform: translateX(-50%);
  background: #0f172a;
  color: #fff;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(15,23,42,.25);
  transition: bottom .25s ease;
  z-index: 99;
  max-width: 90vw;
}
.toast.show { bottom: 26px; }
.toast.ok { background: #065f46; }
.toast.err { background: #991b1b; }

/* ---------- 图形验证码 ---------- */
.captcha-box {
  width: 132px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  flex: 0 0 auto;
}
.captcha-box svg { display: block; width: 132px; height: 42px; }
