/* 和 Vlog 精听主站同一套视觉：奶白紫底、紫罗兰按钮、草莓粉强调；柔和圆角卡片 + 浅边框 + 淡紫阴影 */
:root {
  --bg: #faf7fd; --surface: #fff; --surface-2: #f2ecf9; --ink: #2a2140; --muted: #645a7c; --faint: #9a90ad;
  --line: #ebe3f4; --line-strong: #d5c9e7; --brand: #6a45d8; --brand-press: #5434bd; --brand-soft: #efe8ff;
  --accent: #ff4f87; --accent-soft: #ffe5ee; --marker: #ffe07a; --ok: #19935f; --err: #e0384f;
  --shadow: 0 1px 2px rgba(42, 33, 64, .04), 0 10px 28px -14px rgba(90, 60, 170, .3);
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #120e1c; --surface: #1b1528; --surface-2: #261e38; --ink: #efe9fb; --muted: #b2a8c8; --faint: #7d7396; --line: #2d2440; --line-strong: #43385c; --brand: #b7a2ff; --brand-press: #c9b9ff; --brand-soft: #2d2350; --accent: #ff86ab; --accent-soft: #3e1d2c; --shadow: 0 10px 28px -14px rgba(0, 0, 0, .7); }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
main { max-width: 1080px; margin: 0 auto; padding: 0 20px 40px; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1.5px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.brand img { border-radius: 8px; }
.top nav { margin-left: auto; display: flex; gap: 16px; align-items: center; font-weight: 600; font-size: 14px; }
.top nav a { color: var(--muted); }
.top .to-site { color: var(--brand); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--brand); background: var(--brand); color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2); text-decoration: none !important; transition: background .15s, transform .08s; }
.btn:hover { background: var(--brand-press); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn.small { min-height: 34px; padding: 0 14px; font-size: 13px; }
.btn.big { min-height: 52px; padding: 0 28px; font-size: 16px; background: linear-gradient(120deg, #6a45d8, #ff4f87); border: 0; }
.card { background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 28px; }

/* 首页 */
.hero { text-align: center; padding: 56px 0 36px; }
.pill { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; color: var(--muted); }
.hero h1 { font-size: 44px; font-weight: 850; letter-spacing: -.02em; }
.lead { max-width: 34em; margin: 18px auto 0; color: var(--muted); font-size: 16px; }
.steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; padding: 0; margin: 28px 0 0; font-weight: 650; font-size: 14px; }
.steps li:not(.arrow) { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); box-shadow: var(--shadow); }
.steps span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 13px; }
.steps .arrow { color: var(--accent); font-weight: 800; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; align-items: stretch; margin-top: 18px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 26px 24px 24px; transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(42, 33, 64, .05), 0 22px 40px -18px rgba(90, 60, 170, .45); }
.plan.hot { border: 2px solid color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 0 0 5px var(--accent-soft), var(--shadow); }
.badge { position: absolute; top: -12px; right: 18px; padding: 3px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; transform: rotate(3deg); box-shadow: 0 6px 14px -4px rgba(255, 79, 135, .6); }
.plan-head { display: flex; align-items: center; gap: 10px; }
.emoji { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); font-size: 21px; }
.plan h2 { font-size: 20px; }
.sub { margin: 0; color: var(--muted); font-size: 14px; }
.price { margin: 8px 0 0; display: flex; align-items: baseline; gap: 4px; }
.price small { font-size: 18px; font-weight: 700; }
.price b { font-size: 42px; font-weight: 850; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price s { margin-left: 8px; color: var(--faint); font-size: 14px; }
.meta { margin: 0; color: var(--accent); font-weight: 650; font-size: 13px; }
.feat { list-style: none; padding: 0; margin: 10px 0 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; font-size: 14px; }
.feat li::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); font-size: 11px; font-weight: 800; }
.plan .btn { width: 100%; }
.empty { text-align: center; color: var(--muted); grid-column: 1 / -1; }

.faq { max-width: 720px; margin: 56px auto 0; }
.faq h2 { font-size: 22px; margin-bottom: 14px; }
details { background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 650; }
details p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

/* 下单弹窗 */
.sheet { border: 0; padding: 0; border-radius: 24px; width: min(420px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(42, 33, 64, .5); }
.sheet::backdrop { background: rgba(30, 20, 50, .45); backdrop-filter: blur(3px); }
.sheet form { padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.sheet h3 { font-size: 18px; }
.ck-price { margin: 0 0 8px; font-size: 16px; color: var(--accent); font-weight: 700; }
.ck-price b { font-size: 32px; }
label { font-weight: 650; font-size: 14px; }
label small { color: var(--faint); font-weight: 500; }
input { width: 100%; min-height: 44px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; outline: none; }
input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.hint { margin: 0; font-size: 12px; color: var(--faint); }
.err { margin: 0; color: var(--err); font-size: 14px; min-height: 1em; }
.row { display: flex; gap: 10px; margin-top: 8px; }
.row .btn { flex: 1; }

/* 订单页 */
.order { max-width: 560px; margin: 28px auto 0; }
.crumb { color: var(--faint); font-size: 13px; text-align: center; margin: 0 0 12px; }
.crumb code { font-size: 12px; }
.order .card { text-align: center; }
.order h1 { font-size: 24px; }
.amount { color: var(--muted); margin: 6px 0 18px; }
.amount b { color: var(--accent); font-size: 20px; }
.qr { position: relative; display: inline-block; padding: 14px; border-radius: 20px; border: 1.5px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.qr img { display: block; width: 232px; height: 232px; image-rendering: pixelated; }
.qr-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 3px 8px; border-radius: 8px; background: #1677ff; color: #fff; font-size: 12px; font-weight: 800; }
.open-alipay { display: none; margin-top: 16px; background: #1677ff; border-color: #1677ff; }
.wait { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.demo { padding: 16px; border-radius: 14px; background: var(--surface-2); color: var(--muted); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.confetti { font-size: 46px; animation: pop .6s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes pop { from { transform: scale(.3) rotate(-20deg); opacity: 0; } }
.code-box { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 18px 0 6px; padding: 16px; border-radius: 16px; background: var(--accent-soft); border: 2px dashed color-mix(in srgb, var(--accent) 50%, transparent); }
.code-box code { font: 700 20px/1.3 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em; color: var(--ink); word-break: break-all; }
.issuing { color: var(--muted); font-size: 14px; }
.next { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.tips { text-align: left; margin: 18px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.closed p { color: var(--muted); }

/* 找回 */
.narrow { max-width: 560px; margin: 36px auto 0; }
.narrow h1 { font-size: 28px; }
.narrow .lead { margin: 10px 0 18px; text-align: left; }
.form { display: flex; flex-direction: column; gap: 8px; }
.or { text-align: center; color: var(--faint); font-size: 13px; margin: 6px 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two div { display: flex; flex-direction: column; gap: 6px; }
.form .btn { margin-top: 10px; }
.results { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.result { text-align: center; }
.muted { color: var(--muted); }

.foot { text-align: center; color: var(--faint); font-size: 13px; padding: 30px 20px 40px; }
.foot p { margin: 4px 0; }

@media (max-width: 640px) {
  main { padding: 0 16px 32px; }
  .top { padding: 10px 16px; }
  .brand { font-size: 14px; }
  .top nav a:first-child { display: none; }
  .hero { padding: 34px 0 24px; }
  .hero h1 { font-size: 30px; }
  .lead { font-size: 15px; }
  .steps .arrow { display: none; }
  .card { padding: 22px 18px; }
  .open-alipay { display: inline-flex; width: 100%; }
  .qr img { width: 200px; height: 200px; }
  .two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .dot, .confetti { animation: none; } }
