:root {
  --bg: #f3f5f9;
  --panel: #ffffff;
  --text: #0f172a;
  --sub: #5b6472;
  --dim: #8b93a1;
  --line: #dde3ee;
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --amber: #f59e0b;
  --amber-deep: #d97706;
  --amber-soft: #fff7e8;
  --star: #f59e0b;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  color: var(--text);
  font-family: "PingFang SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 10% -8%, rgba(245, 158, 11, 0.22), transparent 32%),
    radial-gradient(circle at 94% 0%, rgba(15, 23, 42, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #eef2f7 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='%230f172a' fill-opacity='0.04'%3E%3Cpath d='M28 8l1.1 2.6 2.6 1.1-2.6 1.1L28 15.4l-1.1-2.6-2.6-1.1 2.6-1.1z'/%3E%3C/g%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, li, button { user-select: text; }

.wrap { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }

/* Fixed global nav — same size/labels on every page */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(245, 158, 11, 0.14);
}
.site-nav::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--ink) 0 42%, var(--amber) 42% 58%, var(--ink) 58% 100%);
}
.site-nav-inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  width: 32px;
  height: 32px;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 6px 14px rgba(15, 23, 42, 0.12);
}
.brand-name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand-tag {
  font-size: 10px;
  font-weight: 800;
  font-family: ui-monospace, Consolas, monospace;
  color: #92400e;
  background: var(--amber-soft);
  border: 1px solid #fcd34d;
  border-radius: 4px;
  padding: 2px 6px;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--line);
}
.nav-links a {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  padding: 8px 14px;
  border-radius: 10px;
  line-height: 1;
  white-space: nowrap;
}
.nav-links a:hover { background: #fff; color: var(--text); }
.nav-links a.on {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: inset 0 -2px 0 rgba(245, 158, 11, 0.85);
}
.nav-cta:hover { background: var(--ink-soft); }
.nav-lang {
  display: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--sub);
}
.nav-lang a:hover { color: var(--text); }
.nav-lang .on { color: var(--text); }

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-lang { display: inline-flex; align-items: center; gap: 6px; }
}

.page { padding: 48px 0 80px; }
.page h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
}
.page .sub {
  margin: 12px 0 0;
  max-width: 36em;
  color: var(--sub);
  font-size: 15px;
}
.kicker {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #fcd34d;
  background: var(--amber-soft);
  color: #92400e;
  font-size: 12px;
  font-weight: 800;
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--amber);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 10px 28px rgba(15, 23, 42, 0.05);
  position: relative;
}
.card.accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--amber), var(--ink));
}
.grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 800px) {
  .grid.packs { grid-template-columns: repeat(3, 1fr); }
  .grid.two { grid-template-columns: 1fr 1fr; }
}
.price {
  margin: 10px 0 0;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.price span { font-size: 14px; font-weight: 700; color: var(--sub); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn.primary:hover { background: var(--ink-soft); }
.btn.amber {
  background: linear-gradient(180deg, #fbbf24, var(--amber));
  border-color: #f59e0b;
  color: #111;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.28);
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}
.hero-panel {
  padding: 10px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.82)),
    radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.35), transparent 40%);
  border: 1px solid #1e293b;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
}
.hero-panel .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  color: #cbd5e1;
  font-size: 12px;
}
.hero-panel .bar strong { color: #fff; }
.hero-panel .bar em {
  font-style: normal;
  font-weight: 800;
  color: #fbbf24;
}
.hero-panel .shot {
  overflow: hidden;
  border-radius: 14px;
  background: #020617;
  margin-top: 6px;
}
.hero-panel .shot img {
  display: block;
  width: 100%;
  height: auto;
}
.ink-cta {
  margin-top: 56px;
  text-align: center;
  padding: 44px 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 0%, rgba(245, 158, 11, 0.28), transparent 42%),
    linear-gradient(160deg, #0f172a, #1e293b);
  border: 1px solid #1e293b;
  color: #fff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}
.ink-cta h2 { margin: 0; font-size: 28px; font-weight: 900; color: #fff; }
.ink-cta p { margin: 12px auto 0; max-width: 28em; color: #94a3b8; font-size: 14px; }
.ink-cta .btn:not(.amber) {
  background: transparent;
  border-color: #334155;
  color: #e2e8f0;
}
.site-foot {
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 28px 0;
  font-size: 12px;
  color: var(--sub);
}
.site-foot .foot-inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 720px) {
  .site-foot .foot-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.site-foot a { color: var(--sub); }
.site-foot a:hover { color: var(--text); }
.site-foot .links { display: flex; flex-wrap: wrap; gap: 10px 14px; }

/* Pay page */
.pay-hero {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 8px;
}
.pay-kicker {
  margin: 0 0 12px;
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid #fcd34d;
  background: var(--amber-soft);
  color: #92400e;
  font-size: 12px;
  font-weight: 800;
}
.pay-pills {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.pay-pills span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}
.pack { position: relative; }
.pack h2 {
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 900;
}
.pack-label {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--sub);
}
.pack-label-hot { color: #b45309; }
.pack-unit {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--sub);
}
.pack-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #334155;
  font-size: 14px;
  line-height: 1.85;
}
.pack-hot {
  border-color: #f59e0b;
  background:
    linear-gradient(180deg, #fffbeb 0%, #ffffff 38%);
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.18);
  transform: translateY(-4px);
}
.pack-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 900;
}
.pay-compare-grid {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}
.pay-compare-num {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
}
.pay-compare-num.hot { color: #b45309; }
@media (max-width: 720px) {
  .pack-hot { transform: none; }
  .pay-compare-grid { grid-template-columns: 1fr; }
}

/* Hero sell + download version */
.hero-sell {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.hero-sell h1 {
  margin: 0;
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.hero-sell .sub {
  margin: 14px auto 0;
  max-width: 28em;
}
.dl-ver {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--sub);
  letter-spacing: 0.02em;
}
.dl-ver strong { color: var(--text); }

/* Support float */
.qq-float {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28), inset 0 -2px 0 rgba(245, 158, 11, 0.9);
}
.qq-float:hover { background: var(--ink-soft); color: #fff; }
.qq-float .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}
/* Mobile: icon-only float + content padding so cards are not covered */
@media (max-width: 480px) {
  body {
    padding-bottom: 72px;
    padding-right: 0;
  }
  .wrap.page,
  .wrap {
    padding-right: 20px;
    padding-left: 20px;
    box-sizing: border-box;
  }
  .qq-float {
    right: 12px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    font-size: 0;
    gap: 0;
  }
  .qq-float .dot {
    margin: 0;
  }
}
.dl-meta {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--sub);
  word-break: break-all;
}
.cs-pick {
  margin-top: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .cs-pick { grid-template-columns: 1fr 1fr; }
}
.cs-pick .card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cs-pick .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}
.cs-pick h3 { margin: 0; font-size: 17px; }
.cs-pick p { margin: 8px 0 0; font-size: 13px; color: var(--sub); }
.cs-pick .btn { margin-top: 16px; width: 100%; }

/* CS QR modal — IDs not shown on page */
.cs-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cs-modal.is-open { display: flex !important; }
.cs-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}
.cs-modal-panel {
  position: relative;
  width: min(380px, 100%);
  padding: 28px 22px 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  text-align: center;
}
.cs-modal-x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #475569;
}
.cs-modal-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
}
.cs-modal-qr {
  display: block;
  width: min(280px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.cs-modal-tip {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--sub);
  line-height: 1.6;
  text-align: left;
}
.cs-modal-panel .btn { margin-top: 14px; width: 100%; }
.cs-modal-panel .copy-tip {
  margin: 8px 0 0;
  min-height: 1.2em;
  font-size: 12px;
  font-weight: 700;
  color: #0f766e;
}

/* Three-step flow */
.flow-head { margin: 0; font-size: 28px; font-weight: 900; }
.flow-sub { margin: 8px 0 0; }
.flow-track {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .flow-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: stretch;
  }
}
.flow-step {
  position: relative;
  padding: 22px 20px 22px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}
.flow-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--ink);
}
.flow-step:nth-child(2)::before { background: var(--amber); }
.flow-step:nth-child(3)::before { background: #0f766e; }
.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  background: var(--ink);
  margin: 0 0 14px;
}
.flow-step:nth-child(2) .flow-num { background: var(--amber); color: #111; }
.flow-step:nth-child(3) .flow-num { background: #0f766e; }
.flow-step h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}
.flow-step p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--sub);
  line-height: 1.7;
}
.flow-tag {
  margin: 14px 0 0;
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: #f1f5f9;
  color: #475569;
}
.flow-step:nth-child(2) .flow-tag { background: var(--amber-soft); color: #92400e; }
.flow-step:nth-child(3) .flow-tag { background: #ecfdf5; color: #0f766e; }
@media (min-width: 860px) {
  .flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 40px;
    right: -10px;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--line), transparent);
    z-index: 1;
  }
}

/* legacy aliases used by old pages */
.top, .pillnav, .lang, .wm { display: none !important; }
footer:not(.site-foot) { display: none; }
