:root {
  --bg: #fffafc;
  --bg-alt: #f6eef3;
  --card: #ffffff;
  --text: #1f1218;
  --text-dim: #7a5a69;
  --border: #f0d7e2;
  --brand: #f43f7a;
  --brand-2: #ff7aa8;
  --brand-ink: #ffffff;
  --shadow: 0 10px 32px rgba(180, 40, 90, .08);
  --shadow-lg: 0 24px 64px rgba(180, 40, 90, .14);
  --radius: 20px;
  --wrap: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #140c11;
    --bg-alt: #1c1218;
    --card: #24161d;
    --text: #fbeff4;
    --text-dim: #c39aab;
    --border: #3d2632;
    --brand: #ff5c8d;
    --brand-2: #ffa3c4;
    --shadow: 0 12px 40px rgba(0, 0, 0, .45);
    --shadow-lg: 0 28px 70px rgba(0, 0, 0, .55);
  }
}

:root[data-theme="light"] {
  --bg: #fffafc; --bg-alt: #f6eef3; --card: #fff; --text: #1f1218;
  --text-dim: #7a5a69; --border: #f0d7e2; --brand: #f43f7a; --brand-2: #ff7aa8;
  --shadow: 0 10px 32px rgba(180,40,90,.08);
  --shadow-lg: 0 24px 64px rgba(180,40,90,.14);
}
:root[data-theme="dark"] {
  --bg: #140c11; --bg-alt: #1c1218; --card: #24161d; --text: #fbeff4;
  --text-dim: #c39aab; --border: #3d2632; --brand: #ff5c8d; --brand-2: #ffa3c4;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
  --shadow-lg: 0 28px 70px rgba(0,0,0,.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--brand); color: #fff; padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand img { border-radius: 10px; box-shadow: 0 4px 12px rgba(180, 40, 90, .18); }
.brand-name { font-weight: 700; font-size: 1.12rem; letter-spacing: .15px; }
.brand-name b, .brand-pro { color: var(--brand); }
.nav { margin-left: auto; display: flex; gap: 22px; }
.nav a { color: var(--text-dim); font-weight: 600; font-size: .94rem; }
.nav a:hover { color: var(--text); }
.theme-toggle {
  background: var(--card); border: 1px solid var(--border); color: var(--text);
  width: 40px; height: 40px; border-radius: 12px; cursor: pointer;
  display: grid; place-items: center; padding: 0;
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .ic-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ic-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .ic-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
}
.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(50px);
  opacity: .55;
}
.orb-a {
  width: 420px; height: 420px; top: -140px; right: 8%;
  background: color-mix(in srgb, var(--brand-2) 55%, transparent);
}
.orb-b {
  width: 320px; height: 320px; top: -40px; left: -40px;
  background: color-mix(in srgb, var(--brand) 28%, transparent);
}
.orb-c {
  width: 220px; height: 220px; bottom: -80px; left: 38%;
  background: color-mix(in srgb, var(--brand-2) 35%, transparent);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, var(--card));
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--border));
  color: var(--brand); font-size: .82rem; font-weight: 700; letter-spacing: .02em;
}
.badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent);
}
.hero h1 { margin: 0 0 12px; font-size: clamp(2.4rem, 5.4vw, 3.7rem); line-height: 1.05; letter-spacing: -.03em; }
.hero-tag { margin: 0 0 12px; font-size: 1.28rem; font-weight: 700; color: var(--text); }
.hero-desc { margin: 0 0 20px; font-size: 1.05rem; color: var(--text-dim); max-width: 46ch; }
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 0 0 24px; padding: 0;
}
.hero-chips li {
  padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  border: 1px solid var(--border); color: var(--text-dim);
  box-shadow: 0 1px 0 rgba(255,255,255,.6);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.meta-pill {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--card) 70%, transparent);
  border: 1px solid var(--border);
  color: var(--text-dim); font-size: .82rem; font-weight: 600;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .14s ease, box-shadow .2s ease, border-color .2s ease, filter .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--brand-ink); box-shadow: 0 10px 26px color-mix(in srgb, var(--brand) 38%, transparent);
}
.btn-primary:hover { box-shadow: 0 14px 32px color-mix(in srgb, var(--brand) 48%, transparent); filter: brightness(1.03); }
.btn-ghost {
  background: color-mix(in srgb, var(--card) 80%, transparent);
  color: var(--text); border-color: var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* Hero visual — 真机框 */
.hero-visual { display: flex; justify-content: center; }
.phone-stage { position: relative; width: 320px; }
.phone-stage::before {
  content: ""; position: absolute; inset: 8% 6% 4%;
  border-radius: 50%; background: color-mix(in srgb, var(--brand) 28%, transparent);
  filter: blur(36px); z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: 262px; margin-inline: auto;
  border-radius: 40px; padding: 8px;
  background: linear-gradient(165deg, #3a2430 0%, #1a1016 42%, #0e0a0c 100%);
  box-shadow:
    0 28px 60px rgba(180, 40, 90, .22),
    0 8px 20px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .18);
  transform: rotate(3.5deg);
}
.phone::before, .phone::after {
  content: ""; position: absolute; background: #2a1a22; border-radius: 2px;
}
.phone::before { right: -3px; top: 88px; width: 3px; height: 46px; }
.phone::after { right: -3px; top: 148px; width: 3px; height: 72px; }
.phone-bezel {
  position: relative; border-radius: 32px; overflow: hidden; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.phone-bezel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: linear-gradient(125deg, rgba(255,255,255,.22) 0%, transparent 28%, transparent 62%, rgba(0,0,0,.06) 100%);
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 12px; border-radius: 999px; background: #0e0a0c; z-index: 4;
  box-shadow: 0 0 0 3px #0e0a0c;
}
.phone-shot { width: 100%; height: auto; display: block; }
.float-chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px 8px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--text);
  box-shadow: 0 10px 24px rgba(180, 40, 90, .12);
  animation: chip-float 5.4s ease-in-out infinite;
}
.float-chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.chip-1 { top: 9%; left: -22px; }
.chip-2 { top: 42%; right: -34px; animation-delay: -1.8s; }
.chip-3 { bottom: 15%; left: -12px; animation-delay: -3.2s; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .float-chip { animation: none; }
}

/* Sections */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-kicker {
  text-align: center; margin: 0 0 8px;
  font-size: .72rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand);
}
.section-title { text-align: center; font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: 0 0 8px; letter-spacing: -.02em; }
.section-sub { text-align: center; color: var(--text-dim); margin: 0 0 40px; }

/* Download grid */
.download-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px;
  align-items: stretch;
}
.dl-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 22px 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease;
}
.dl-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--brand) 55%, var(--border)); box-shadow: var(--shadow-lg); }
.dl-card.is-recommended {
  border-color: var(--brand);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--brand) 16%, transparent);
}
.dl-head { display: flex; align-items: center; gap: 12px; }
.dl-ic {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 12%, var(--card));
}
.dl-ic svg { width: 24px; height: 24px; fill: var(--brand); }
.dl-card .dl-os { font-size: 1.18rem; font-weight: 800; letter-spacing: -.01em; }
.dl-note { color: var(--text-dim); font-size: .9rem; margin: 2px 0 4px; }
.dl-size { color: var(--text-dim); font-size: .82rem; min-height: 1.2em; }
.dl-tag-slot { min-height: 22px; margin-bottom: 4px; }
.dl-tag {
  display: inline-block; font-size: .7rem; font-weight: 800; padding: 3px 9px;
  border-radius: 999px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand);
}
.dl-tag-alt { background: color-mix(in srgb, #f59e0b 16%, transparent); color: #b45309; }
:root[data-theme="dark"] .dl-tag-alt { color: #fbbf24; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dl-tag-alt { color: #fbbf24; } }
.dl-card .dl-size { margin-bottom: 14px; }
.dl-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.dl-btn { width: 100%; }
button.dl-btn { font-family: inherit; }
.dl-btn-alt { padding: 10px 20px; font-size: .92rem; }
.dl-card[data-disabled="true"] { opacity: .72; }
.dl-card[data-disabled="true"]:hover { transform: none; box-shadow: var(--shadow); }
.dl-card[data-disabled="true"] .dl-btn {
  background: var(--bg-alt); color: var(--text-dim); border: 1px dashed var(--border);
  cursor: not-allowed; pointer-events: none; box-shadow: none;
}
.download-hint { text-align: center; color: var(--text-dim); font-size: .9rem; margin-top: 26px; }

/* 安装包校验值：默认折叠，展开后是可换行的 64 位 hex + 复制 */
.dl-hash { margin-top: 12px; font-size: .78rem; color: var(--text-dim); }
.dl-hash summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.dl-hash summary::-webkit-details-marker { display: none; }
.dl-hash summary::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%; flex: none;
  border: 1.6px solid color-mix(in srgb, var(--brand) 70%, transparent);
  background: linear-gradient(var(--brand), var(--brand)) center / 4px 4px no-repeat;
}
.dl-hash code {
  display: block; margin-top: 8px; padding: 8px 10px; border-radius: 10px;
  background: var(--bg-alt); border: 1px solid var(--border);
  font-family: ui-monospace, Consolas, monospace; font-size: .72rem; line-height: 1.5;
  word-break: break-all; color: var(--text); user-select: all;
}
.dl-hash-copy {
  margin-top: 6px; background: none; border: 1px solid var(--border); border-radius: 8px;
  padding: 3px 10px; font: inherit; font-size: .74rem; color: var(--text-dim); cursor: pointer;
}
.dl-hash-copy:hover { border-color: var(--brand); color: var(--brand); }
.dl-hash-copy.is-done { border-color: #1e7a45; color: #1e7a45; }

/* Changelog */
.section-changelog { background: var(--bg-alt); }
.changelog { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 10px; }
.changelog .cl {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2px 20px;
  transition: border-color .2s ease;
}
.changelog .cl[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.changelog summary {
  cursor: pointer; list-style: none; padding: 14px 0;
  display: flex; align-items: center; gap: 10px; font-weight: 700;
}
.changelog summary::-webkit-details-marker { display: none; }
.cl-ver { font-family: "Plus Jakarta Sans", inherit; font-weight: 800; letter-spacing: -.01em; }
.cl-cur {
  font-size: .68rem; font-weight: 800; padding: 2px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand);
}
.cl-date { margin-left: auto; color: var(--text-dim); font-size: .82rem; font-weight: 500; }
.changelog ul { margin: 0 0 16px; padding-left: 20px; color: var(--text-dim); display: grid; gap: 4px; }

/* Features */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform .16s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); box-shadow: var(--shadow); }
.feature-ic {
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 12%, var(--card));
  color: var(--brand);
}
.feature-ic svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 1.12rem; }
.feature p { margin: 0; color: var(--text-dim); font-size: .95rem; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2px 20px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.faq summary {
  cursor: pointer; font-weight: 700; padding: 15px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  background-image: linear-gradient(var(--brand), var(--brand)), linear-gradient(var(--brand), var(--brand));
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: 10px 2px, 2px 10px;
}
.faq details[open] summary::after { background-size: 10px 2px, 0 0; }
.faq p { margin: 0 0 16px; color: var(--text-dim); }
.faq code {
  font-family: ui-monospace, Consolas, monospace; font-size: .86em; padding: 1px 6px; border-radius: 6px;
  background: var(--bg-alt); border: 1px solid var(--border); color: var(--text); word-break: break-all;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner { text-align: center; color: var(--text-dim); font-size: .9rem; }
.footer-inner p { margin: 10px 0 0; }
.brand-foot { justify-content: center; }

/* Purchase / webapp modal */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(22, 8, 14, .52); backdrop-filter: blur(8px); }
.modal-panel {
  position: relative; width: min(540px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--card); border: 1px solid var(--border); border-radius: 24px;
  padding: 26px 26px 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
  animation: modal-in .2s ease-out;
}
.modal-panel::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 24px 24px 0 0;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg-alt); color: var(--text);
  display: grid; place-items: center; padding: 0; cursor: pointer;
}
.modal-close svg { width: 14px; height: 14px; }
.modal-close:hover { border-color: var(--brand); color: var(--brand); }
.modal-kicker {
  margin: 0 0 6px; font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand);
}
.modal-panel h3 { margin: 0 0 6px; font-size: 1.32rem; padding-right: 40px; letter-spacing: -.02em; }
.modal-sub { margin: 0 0 18px; color: var(--text-dim); font-size: .94rem; }

/* 商品：会员中心式横排卡 */
.plans { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.plans[hidden] { display: none; }
.plan {
  position: relative; display: flex; flex-direction: row; align-items: center; gap: 12px; text-align: left;
  padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--border); background: var(--bg-alt);
  color: var(--text); font: inherit; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.plan:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--border)); }
.plan.is-active {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, var(--card));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent);
}
.plan::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--card);
}
.plan.is-active::before {
  border-color: var(--brand); background: var(--brand);
  box-shadow: inset 0 0 0 3px var(--card);
}
.plan-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.plan-tag {
  align-self: flex-start; font-size: .66rem; font-weight: 800; padding: 2px 8px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
}
.plan-name { font-weight: 800; font-size: .98rem; }
.plan-desc { color: var(--text-dim); font-size: .8rem; line-height: 1.45; }
.plan-meta { color: var(--text-dim); font-size: .72rem; line-height: 1.4; }
.plan.is-soldout { opacity: .55; cursor: not-allowed; }
.plan.is-soldout:hover { border-color: var(--border); }
.plan.is-soldout .plan-meta { color: #b03a2e; font-weight: 700; }
.plan-price {
  margin-top: 0; flex: none; flex-direction: column; align-items: flex-end; gap: 2px;
  color: var(--brand); font-weight: 800; font-size: 1.2rem; line-height: 1; display: flex;
}
.plan-now { display: inline-flex; align-items: baseline; gap: 1px; }
.plan-price small { font-size: .78rem; }
.plan-price s { color: var(--text-dim); font-weight: 500; font-size: .76rem; }

.price-row { display: none; }
.price { color: var(--brand); font-weight: 800; font-size: 2.1rem; line-height: 1; letter-spacing: -.03em; }
.price small { font-size: 1.05rem; margin-right: 2px; }
.price-note { color: var(--text-dim); font-size: .88rem; }
.steps { margin: 0 0 20px; padding-left: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 8px; }
.steps[hidden] { display: none; }
.steps li { position: relative; padding-left: 34px; font-size: .94rem; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand);
  font-size: .78rem; font-weight: 800; display: grid; place-items: center;
}
.pay-panel { text-align: center; }

.pay-go {
  display: flex; align-items: center; gap: 14px; width: 100%; border: 0; cursor: pointer;
  padding: 15px 18px; border-radius: 16px; color: #fff; font: inherit; font-weight: 700; font-size: 1.02rem;
  text-align: left; box-shadow: 0 10px 26px rgba(22, 119, 255, .28);
  transition: transform .12s ease, filter .15s ease;
}
.pay-go:hover { filter: brightness(1.06); }
.pay-go:active { transform: scale(.985); }
.pay-go:disabled { opacity: .7; cursor: progress; }
.pay-go-alipay { background: linear-gradient(135deg, #1677ff, #4096ff); }
.pay-acct + .pay-go { margin-top: 14px; }
.pay-go-ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); border-radius: 10px; }
.pay-go-ic svg { width: 22px; height: 22px; }
.pay-go-text { flex: 1; }
.pay-go-text b { font-weight: 800; margin-left: 4px; }
.pay-go-arrow { font-size: 1.6rem; line-height: 1; opacity: .8; }

.pay-acct {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--border);
  text-align: left;
}
.pay-acct-label { flex: none; color: var(--text-dim); font-size: .88rem; }
.pay-acct-value { flex: 1; font-family: ui-monospace, Consolas, monospace; font-size: 1rem; color: var(--text); word-break: break-all; }
.pay-copy {
  flex: none; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--brand); background: transparent;
  color: var(--brand); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer;
}
.pay-copy:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.pay-copy.is-done { background: var(--brand); color: #fff; }

/* 购买须知 + 买家填写项（Apple ID 邮箱 / 联系方式等），都在付款按钮上方 */
.pay-prompt {
  margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; text-align: left; white-space: pre-line;
  font-size: .85rem; line-height: 1.6; color: var(--text-dim);
  background: color-mix(in srgb, var(--brand) 6%, var(--bg-alt)); border: 1px dashed color-mix(in srgb, var(--brand) 35%, var(--border));
}
.pay-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; text-align: left; }
.pay-field-label { font-size: .88rem; font-weight: 700; }
.pay-field-label em { color: var(--brand); font-style: normal; }
.pay-field-label small { color: var(--text-dim); font-weight: 500; }
.pay-input {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--card);
  color: var(--text); font: inherit; font-size: 1rem; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.pay-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); }

/* 发货内容：卡密 / 兑换码 / 安装说明，等宽多行 + 复制 */
.pay-deliver { margin-top: 14px; border: 1px solid rgba(46, 204, 113, .35); border-radius: 14px; overflow: hidden; text-align: left; }
.pay-deliver-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px;
  background: rgba(46, 204, 113, .1); font-size: .88rem; font-weight: 700; color: #1e7a45;
}
.pay-deliver-body {
  margin: 0; padding: 14px; max-height: 260px; overflow: auto; white-space: pre-wrap; word-break: break-all;
  font-family: ui-monospace, Consolas, monospace; font-size: .95rem; line-height: 1.6; color: var(--text); background: var(--bg-alt);
}

.pay-missing {
  padding: 28px 16px; border: 1px dashed var(--border); border-radius: 16px;
  color: var(--text-dim); font-size: .95rem; line-height: 1.7;
}
.pay-missing-ic { font-size: 2rem; margin-bottom: 4px; }
.pay-missing small { font-size: .82rem; }
.pay-tip { margin: 12px 0 0; color: var(--text-dim); font-size: .85rem; line-height: 1.6; }
.pay-tip b { color: var(--brand); }
.pay-error { margin: 12px 0 0; padding: 8px 12px; border-radius: 10px; font-size: .85rem; color: #b03a2e; background: rgba(231, 76, 60, .1); }
.pay-status { display: flex; align-items: center; justify-content: center; gap: 8px; }
.pay-dot { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; animation: pay-pulse 1.2s ease-in-out infinite; }
@keyframes pay-pulse { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }
.pay-paid {
  margin-top: 14px; padding: 16px; border-radius: 14px; font-size: 1.12rem; font-weight: 800; color: #1e7a45;
  background: rgba(46, 204, 113, .12); border: 1px solid rgba(46, 204, 113, .35);
}
.pay-link { margin-top: 10px; border: 0; background: none; color: var(--text-dim); font: inherit; font-size: .82rem; text-decoration: underline; cursor: pointer; }
.pay-link:hover { color: var(--brand); }
.pay-link:disabled { opacity: .5; cursor: default; }
.pay-link.is-done { color: #1e7a45; }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 800; }
.order-plan { font-size: 1rem; }
.order-amount { color: var(--brand); font-size: 1.15rem; }
.modal-alt { margin: 14px 0 0; text-align: center; color: var(--text-dim); font-size: .85rem; }
.modal-alt[hidden] { display: none; }
.link-btn { border: 0; background: none; padding: 0; color: var(--brand); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.compare-col { padding: 14px; border-radius: 16px; background: color-mix(in srgb, #2ecc71 8%, var(--card)); border: 1px solid color-mix(in srgb, #2ecc71 28%, var(--border)); }
.compare-col.compare-dim { background: var(--bg-alt); border-color: var(--border); }
.compare-col h4 { margin: 0 0 8px; font-size: .86rem; }
.compare-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: .82rem; line-height: 1.45; }
.compare-col li { padding-left: 18px; position: relative; }
.compare-col li::before { content: "✓"; position: absolute; left: 0; color: #1e9e57; font-weight: 800; }
.compare-dim li { color: var(--text-dim); }
.compare-dim li::before { content: "✕"; color: var(--text-dim); }
.webapp-warn {
  margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; font-size: .85rem; line-height: 1.55;
  background: color-mix(in srgb, #f59e0b 12%, transparent); border-left: 3px solid #f59e0b; color: var(--text);
}
.webapp-warn[hidden] { display: none; }
.webapp-actions { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pay-go-web { background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 26px color-mix(in srgb, var(--brand) 36%, transparent); }
.pay-go-web .pay-go-ic { font-size: 1.25rem; }
.upsell {
  margin-top: 18px; padding: 14px; border-radius: 16px; border: 1px dashed color-mix(in srgb, var(--brand) 45%, var(--border));
  background: color-mix(in srgb, var(--brand) 6%, var(--card));
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.upsell-text { flex: 1 1 200px; font-size: .86rem; color: var(--text-dim); line-height: 1.55; }
.upsell-text b { color: var(--text); display: block; margin-bottom: 2px; }
.btn-sm { padding: 10px 16px; font-size: .9rem; white-space: nowrap; }
.contacts { margin-top: 20px; }
.contacts h4 { margin: 0 0 10px; font-size: 1rem; }
.contact-list { display: flex; flex-direction: column; gap: 8px; }
.contact {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-alt); color: var(--text);
}
a.contact:hover { border-color: var(--brand); }
.contact-name { color: var(--text-dim); font-size: .9rem; }
.contact code { font-family: ui-monospace, Consolas, monospace; font-size: .92rem; word-break: break-all; }
.modal-notice { margin: 18px 0 0; padding: 10px 14px; border-radius: 12px; font-size: .85rem; color: var(--text-dim);
  background: color-mix(in srgb, #f59e0b 10%, transparent); border-left: 3px solid #f59e0b; }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero { padding: 28px 0 16px; }
  .hero-inner { display: flex; flex-direction: column; gap: 18px; }
  .hero-copy { display: contents; }
  .badge { order: 1; }
  .hero h1 { order: 2; }
  .hero-tag { order: 3; }
  .hero-actions { order: 4; margin-bottom: 6px; }
  .hero-meta { order: 5; }
  .hero-visual { order: 6; }
  .hero-desc { order: 7; margin-bottom: 12px; }
  .hero-chips { order: 8; margin-bottom: 0; }
  .phone-stage { width: 210px; margin-inline: auto; }
  .phone { width: 176px; transform: none; }
  .phone::before, .phone::after { display: none; }
  .float-chip { display: none; }
  .nav { display: none; }
  .section { padding: 52px 0; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .compare { grid-template-columns: 1fr; }
}
