:root {
  --bg: #f8fafc;
  --fg: #0f172a;
  --muted: #64748b;
  --brand: #1E88E5;
  --brand-deep: #1565C0;
  --brand-soft: #E0F2FE;
  --card: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 16px rgba(15, 23, 42, 0.04);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

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

.topbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--fg); }
.brand:hover { text-decoration: none; }
.links { display: flex; gap: 24px; font-size: 14px; }
.links a { color: var(--fg); }

.hero { padding: 80px 0 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 540px; }
.cta { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(30, 136, 229, 0.25); }
.btn.primary:hover { background: var(--brand-deep); }
.btn.primary.big { padding: 16px 32px; font-size: 17px; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn.ghost:hover { background: var(--brand-soft); color: var(--brand-deep); }
.trust { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.trust li::before { content: "✓"; color: var(--brand); margin-right: 4px; font-weight: 700; }

.hero-art img { width: 100%; max-width: 460px; height: auto; }

section h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  text-align: center;
}
.subtitle { color: var(--muted); text-align: center; max-width: 640px; margin: 0 auto 40px; }

.features { padding: 60px 0; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.ico { font-size: 28px; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.pricing { padding: 60px 0; background: linear-gradient(180deg, #f0f9ff 0%, var(--bg) 100%); }
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  color: var(--fg);
  text-decoration: none;
  display: block;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30, 136, 229, 0.15);
  border-color: var(--brand);
  text-decoration: none;
}
}
.plan h3 { margin: 0 0 8px; font-size: 15px; color: var(--muted); font-weight: 500; }
.plan .price { font-size: 26px; font-weight: 700; color: var(--fg); margin-bottom: 6px; }
.plan p { margin: 0; font-size: 13px; color: var(--muted); }
.plan.featured { border-color: var(--brand); background: var(--brand-soft); transform: translateY(-2px); }

.download { padding: 60px 0 80px; text-align: center; }
.download .btn { margin: 12px auto; }
.hint { font-size: 13px; color: var(--muted); margin-top: 14px; }
.faq {
  max-width: 640px;
  margin: 14px auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  text-align: left;
}
.faq summary { cursor: pointer; font-weight: 500; }
.faq p { color: var(--muted); font-size: 14px; margin: 10px 0 0; }

.qr-block {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.qr-img {
  width: 160px;
  height: 160px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.qr-tip { font-size: 13px; color: var(--muted); margin: 0; max-width: 320px; }

.wechat-tip {
  display: none;
}
.wechat-tip:not([hidden]) {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 100;
  padding-top: 24px;
}
.wechat-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px 18px;
  width: min(340px, calc(100% - 32px));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  text-align: center;
  position: relative;
}
.wechat-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
}
.wechat-close:hover { background: #f1f5f9; color: var(--fg); }
.wechat-icon { font-size: 32px; margin-top: 4px; }
.wechat-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0 4px;
  text-align: left;
  background: var(--brand-soft);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--brand-deep);
}
.wechat-step { line-height: 1.6; }
.wechat-link-row {
  display: flex;
  gap: 6px;
  margin: 8px 0 14px;
}
.wechat-link {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--fg);
  outline: none;
}
.wechat-title { font-size: 16px; font-weight: 600; margin: 0 0 8px; color: var(--fg); }
.wechat-body { font-size: 14px; color: var(--muted); margin: 0 0 6px; line-height: 1.6; }
.wechat-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
}
.wechat-btn:hover { background: var(--brand-deep); }
.wechat-btn.primary { padding: 8px 12px; white-space: nowrap; }
.wechat-btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--border); margin-top: 4px; }
.wechat-btn.ghost:hover { background: var(--brand-soft); color: var(--brand-deep); }

.howto { padding: 60px 0 40px; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.howto h2 { margin-bottom: 8px; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.tips {
  margin-top: 36px;
  background: var(--brand-soft);
  border-radius: 12px;
  padding: 24px 28px;
}
.tips h4 { margin: 0 0 12px; font-size: 16px; color: var(--brand-deep); }
.tips ul { margin: 0; padding-left: 22px; color: var(--fg); }
.tips li { margin-bottom: 8px; line-height: 1.7; font-size: 14px; }
.tips li:last-child { margin-bottom: 0; }
footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 48px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
footer h4 { color: #f1f5f9; margin: 0 0 12px; font-size: 14px; }
footer a { display: block; color: #94a3b8; margin-bottom: 8px; font-size: 14px; }
footer a:hover { color: #f1f5f9; text-decoration: none; }
footer .muted { color: #64748b; font-size: 13px; margin: 6px 0 0; }
.copyright { text-align: center; color: #475569; font-size: 12px; margin: 32px 0 0; }

@media (max-width: 760px) {
  .hero { padding: 48px 0 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy h1 { font-size: 32px; }
  .nav .links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
