/* BuyBuy代充 公开站点样式 */

:root {
  --bg: #f6f5fb;
  --surface: #ffffff;
  --ink: #15122b;
  --ink-2: #48445f;
  --ink-3: #77738c;
  --line: #e7e4f1;
  --line-2: #d8d3ea;
  --accent: #5b45fa;
  --accent-2: #7c5cff;
  --accent-ink: #4330e0;
  --accent-soft: #efebff;
  --accent-softer: #f7f5ff;
  --ok: #0b8a5f;
  --ok-soft: #e2f5ec;
  --warn: #a55305;
  --warn-soft: #fff5e6;
  --warn-line: #f5dcb2;
  --no: #c2410c;
  --no-soft: #fdeee7;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(21, 18, 43, 0.06), 0 1px 1px rgba(21, 18, 43, 0.03);
  --shadow: 0 14px 34px -16px rgba(52, 36, 170, 0.28), 0 2px 6px rgba(21, 18, 43, 0.05);
  --shadow-lg: 0 34px 70px -28px rgba(52, 36, 170, 0.45);
  --font: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  --header-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

:focus-visible { outline: 3px solid rgba(91, 69, 250, 0.45); outline-offset: 2px; border-radius: 8px; }

.icon { flex: none; vertical-align: -0.15em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

/* ---------- 页眉 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(231, 228, 241, 0.9);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { flex: none; filter: drop-shadow(0 6px 12px rgba(91, 69, 250, 0.35)); }
.brand-accent { color: var(--accent); margin-left: 1px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-size: 15px; font-weight: 600;
}
.nav-link:hover { background: var(--accent-softer); color: var(--accent-ink); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--accent-ink); background: var(--accent-soft); }
.nav-link--cta { background: var(--ink); color: #fff; margin-left: 4px; }
.nav-link--cta:hover { background: #2a2552; color: #fff; }
@media (max-width: 520px) {
  .brand-name { font-size: 17px; }
  .nav-link { padding: 7px 9px; font-size: 14px; }
  .nav-link--products { display: none; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 60%, #4430e8 100%);
  box-shadow: 0 10px 22px -10px rgba(91, 69, 250, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 14px 28px -10px rgba(91, 69, 250, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn-soft { background: var(--accent-soft); color: var(--accent-ink); }
.btn-soft:hover { background: #e4ddff; color: var(--accent-ink); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

/* ---------- 通用块 ---------- */
.kicker {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.12em;
  color: var(--accent-ink); text-transform: uppercase; margin-bottom: 8px;
}
.section-head { margin-bottom: 26px; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; }
.section-sub { color: var(--ink-3); margin-top: 8px; font-size: 15px; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.lead { font-size: clamp(16px, 1.7vw, 18px); color: var(--ink-2); max-width: 36em; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; font-weight: 700; line-height: 1; padding: 6px 9px; border-radius: 999px;
  background: var(--accent-softer); color: var(--accent-ink); border: 1px solid var(--accent-soft);
}
.chip--ok { background: var(--ok-soft); color: var(--ok); border-color: #c9ecdb; }

.callout {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--radius-sm); font-size: 15px; margin-top: 18px;
}
.callout .icon { margin-top: 3px; }
.callout--info { background: var(--accent-softer); color: var(--ink-2); border: 1px solid var(--accent-soft); }
.callout--info .icon { color: var(--accent); }
.callout--warn { background: var(--warn-soft); color: #5c3b12; border: 1px solid var(--warn-line); }
.callout--warn .icon { color: var(--warn); }

.email-hint { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--warn); }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 380px at 82% 18%, rgba(124, 92, 255, 0.22), transparent 70%),
    radial-gradient(520px 320px at 8% 0%, rgba(255, 170, 120, 0.18), transparent 70%),
    linear-gradient(180deg, #fbfaff 0%, var(--bg) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(91, 69, 250, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 69, 250, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 84px 0 64px; }
  .hero-inner { grid-template-columns: 1.08fr 0.92fr; gap: 56px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(255, 255, 255, 0.85); color: var(--accent-ink);
  border: 1px solid var(--accent-soft); box-shadow: var(--shadow-sm);
}
.hero h1 { margin: 18px 0 16px; font-size: clamp(34px, 4.8vw, 58px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.14; text-wrap: balance; }
.grad-text {
  background: linear-gradient(92deg, #5b45fa 0%, #8b5cf6 45%, #db4fa0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; color: var(--ink-2); font-size: 14.5px; font-weight: 600; }
.trust-list li { display: inline-flex; align-items: center; gap: 6px; }
.trust-list .icon { color: var(--accent); }

/* 紧凑首屏：让套餐更早出现 */
.hero--compact { padding: 36px 0 20px; }
@media (min-width: 960px) {
  .hero--compact { padding: 48px 0 24px; }
  .hero--compact .hero-inner { gap: 40px; }
  .hero--compact .hero-visual { height: 330px; }
  .hero--compact .hv-ticket { top: 10%; }
}
.hero--compact h1 { font-size: clamp(32px, 4.2vw, 50px); margin: 14px 0 12px; }
.hero--compact .hero-actions { margin-top: 20px; }
.hero-email { display: flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--warn); }
@media (max-width: 639px) { .hero--compact .hero-visual { display: none; } }

/* 首屏插画：订单票据 */
.hero-visual { position: relative; height: 340px; max-width: 480px; width: 100%; margin: 0 auto; }
@media (min-width: 960px) { .hero-visual { height: 420px; } }
.hv-blob { position: absolute; border-radius: 50%; filter: blur(30px); opacity: 0.7; }
.hv-blob--a { width: 220px; height: 220px; right: 4%; top: 6%; background: #a996ff; }
.hv-blob--b { width: 180px; height: 180px; left: 6%; bottom: 4%; background: #ffc19e; }
.hv-card--back {
  position: absolute; right: 2%; top: 8%; width: 66%; height: 58%;
  border-radius: 24px; transform: rotate(8deg);
  background: linear-gradient(140deg, #ffb547 0%, #f0773e 60%, #d4522a 100%);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: flex-start; justify-content: flex-end; padding: 16px 22px;
  color: rgba(255, 255, 255, 0.92); font-weight: 900; font-size: 22px; letter-spacing: -0.02em;
}
.hv-ticket {
  position: absolute; left: 4%; top: 16%; width: 78%;
  background: rgba(255, 255, 255, 0.96); border: 1px solid #fff;
  border-radius: 24px; padding: 20px 22px 18px; box-shadow: var(--shadow-lg);
  transform: rotate(-4deg); animation: float 7s ease-in-out infinite;
}
.hv-ticket-head { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--ink); }
.hv-status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 800; color: var(--ok); background: var(--ok-soft); padding: 5px 9px; border-radius: 999px;
}
.hv-ticket-title { margin: 18px 0 14px; font-size: 30px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink-2); }
.hv-ticket-title strong { font-weight: 900; color: var(--ink); }
.hv-code {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: 14px; background: var(--accent-softer); border: 1px dashed #cfc5ff;
}
.hv-code span { font-size: 12px; font-weight: 800; color: var(--accent-ink); }
.hv-code code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 15px; color: var(--ink-2); letter-spacing: 0.06em; }
.hv-ticket-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.hv-ticket-foot span { display: inline-flex; align-items: center; gap: 5px; }
.hv-perf {
  position: absolute; left: 18px; right: 18px; top: 58px; height: 0;
  border-top: 2px dashed var(--line);
}
.hv-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow);
  font-size: 13.5px; font-weight: 800; color: var(--ink);
}
.hv-chip .icon { color: var(--accent); }
.hv-chip--one { right: 0; bottom: 18%; animation: float 6s ease-in-out -2s infinite; }
.hv-chip--two { left: 0; bottom: 2%; animation: float 8s ease-in-out -4s infinite; }
@media (max-width: 639px) {
  .hero-visual { height: 300px; }
  .hv-card--back span { display: none; }
}
@media (max-width: 420px) {
  .hv-ticket { width: 88%; left: 2%; padding: 16px 16px 14px; }
  .hv-ticket-title { font-size: 25px; }
  .hv-chip--one { right: 2%; }
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

/* ---------- 邮箱提醒 ---------- */
.email-banner {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 56px; padding-top: 18px; padding-bottom: 18px;
  background: linear-gradient(90deg, #fff6e6 0%, #fffcf6 100%);
  border: 1px solid var(--warn-line); border-radius: var(--radius);
  max-width: calc(1180px - 48px);
}
@media (max-width: 639px) { .email-banner { margin-left: 16px; margin-right: 16px; width: auto; } }
@media (min-width: 640px) { .email-banner { padding-left: 22px; padding-right: 22px; } }
.email-banner-icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: #ffe7c2; color: var(--warn);
}
.email-banner strong { display: block; font-size: 16px; color: #4a2f0b; }
.email-banner p { font-size: 14px; color: #7a5420; margin-top: 2px; }

/* ---------- 三步流程 ---------- */
.steps { padding-top: 72px; }
.step-list { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .step-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step {
  position: relative; overflow: hidden; padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step-no {
  position: absolute; right: 16px; top: 6px; font-size: 56px; font-weight: 900;
  color: var(--accent-soft); letter-spacing: -0.04em; line-height: 1;
}
.step-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-soft), #fff); color: var(--accent); border: 1px solid var(--accent-soft);
}
.step h3 { margin: 16px 0 6px; font-size: 18px; font-weight: 800; }
.step p { color: var(--ink-3); font-size: 15px; }

/* ---------- 商品列表 ---------- */
.products { padding-top: 28px; }
.service-group + .service-group { margin-top: 36px; }
.service-group[hidden] { display: none; }
.group-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.group-head h3 { font-size: 22px; font-weight: 900; letter-spacing: -0.01em; }
.group-count { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.toolbar[hidden] { display: none; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink-2); font-weight: 700; font-size: 14px; cursor: pointer;
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent-ink); }
.filter-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.search {
  display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 240px;
  padding: 0 14px; height: 42px; border-radius: 12px; background: var(--surface);
  border: 1px solid var(--line-2); color: var(--ink-3);
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91, 69, 250, 0.12); }
.search input { border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); width: 100%; min-width: 0; }
.result-count { min-height: 1.5em; margin: -8px 0 12px; font-size: 14px; color: var(--ink-3); }

.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); }
.product-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6cffb; }
.product-card[hidden] { display: none; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.product-title { margin-top: 12px; font-size: 18px; font-weight: 800; }
.product-title a { color: var(--ink); }
.product-title a:hover { color: var(--accent-ink); text-decoration: none; }
.product-summary { margin-top: 6px; color: var(--ink-3); font-size: 14.5px; flex: 1; }
.product-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; margin-top: 16px; }

/* 价格 */
.price { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; }
.price-value { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.15; }
.price-currency { font-size: 0.6em; margin-right: 2px; font-weight: 800; color: var(--accent-ink); }
.price-fen { font-size: 0.6em; font-weight: 800; }
.price-meta { font-size: 12.5px; color: var(--ink-3); }
.price-fee { font-size: 12.5px; color: var(--accent-ink); font-weight: 700; }
.price-ask { font-size: 20px; font-weight: 800; color: var(--ink); }
.price--lg .price-value { font-size: 40px; }

/* 商品图形 */
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; isolation: isolate; color: #fff; aspect-ratio: 16 / 7.4; padding: 16px 20px;
}
.tile:hover { text-decoration: none; }
.tile--violet { background: linear-gradient(135deg, #8a72ff 0%, #5b45fa 52%, #3423c4 100%); }
.tile--amber { background: linear-gradient(135deg, #ffbf5e 0%, #f2803e 52%, #c94a1e 100%); }
.tile--teal { background: linear-gradient(135deg, #45dbc5 0%, #11a59e 52%, #0d6e68 100%); }
.tile--rose { background: linear-gradient(135deg, #ff8aa0 0%, #e8395f 52%, #a3133c 100%); }
.tile--sky { background: linear-gradient(135deg, #7fc4ff 0%, #3b7cf2 52%, #2443b0 100%); }
.tile--indigo { background: linear-gradient(135deg, #4f7cff 0%, #3a3fd0 50%, #23206f 100%); }
.tile--midnight { background: linear-gradient(135deg, #5a4bd6 0%, #2b2170 48%, #120e33 100%); }
.tile--onyx { background: linear-gradient(135deg, #4a3a1c 0%, #221c2e 50%, #0b0912 100%); }
.tile--onyx .tile-service { color: #f3d58a; }
.tile--onyx .tile-tier { background: linear-gradient(92deg, #fff4d6 0%, #f3d58a 55%, #c99a3b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile--onyx .tile-rings { filter: sepia(1) saturate(2.2) hue-rotate(-10deg); opacity: 0.8; }
.tile--midnight .tile-tier { background: linear-gradient(92deg, #fff 0%, #d9ccff 60%, #ffd66b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile-glow {
  position: absolute; inset: auto -20% -60% auto; width: 80%; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.35), transparent);
}
.tile-rings {
  position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; z-index: -1; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 38%, rgba(255, 255, 255, 0.16) 39%, rgba(255, 255, 255, 0.16) 41%, transparent 42%),
    radial-gradient(circle, transparent 58%, rgba(255, 255, 255, 0.12) 59%, rgba(255, 255, 255, 0.12) 61%, transparent 62%),
    radial-gradient(circle, rgba(255, 255, 255, 0.10) 0 22%, transparent 23%);
}
.tile-service { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9; }
.tile-tier { font-size: clamp(34px, 4vw, 44px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; text-shadow: 0 6px 24px rgba(0, 0, 0, 0.18); }
.tile-channel {
  align-self: flex-start; margin-top: 12px; padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(4px);
}
.tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.tile--lg { aspect-ratio: auto; min-height: 168px; border-radius: 20px; }
.tile--lg .tile-tier { font-size: 48px; }

.empty-state { text-align: center; padding: 48px 16px; color: var(--ink-3); display: grid; gap: 14px; justify-items: center; }
.empty-state[hidden] { display: none; }

/* ---------- 常见问题 ---------- */
.home-faq { padding-top: 88px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-sm); transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: #d6cffb; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 700; font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-softer); }
.faq-toggle::before, .faq-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: translate(-50%, -50%); transition: transform 0.2s ease;
}
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 20px 18px; color: var(--ink-2); font-size: 15px; }
.more-link { margin-top: 18px; }
.more-link a, .more-link-inline { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* ---------- 商品详情 ---------- */
.breadcrumb-wrap { padding-top: 22px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb [aria-current] { color: var(--ink-2); font-weight: 600; }
.detail { display: grid; gap: 24px; padding-top: 18px; padding-bottom: 24px; }
@media (min-width: 960px) {
  .detail { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
  .detail-aside { position: sticky; top: calc(var(--header-h) + 20px); }
}
.detail-head {
  display: grid; gap: 20px; padding: 20px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .detail-head { grid-template-columns: 240px 1fr; align-items: center; padding: 22px; } }
.detail-head h1 { margin-top: 12px; font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; }
.detail-summary { margin-top: 8px; color: var(--ink-2); }
.delivery-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--ok); }
.detail-section {
  margin-top: 18px; padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .detail-section { padding: 26px 28px; } }
.detail-section h2 { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.detail-section h2 .icon { color: var(--accent); }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon {
  margin-top: 3px; padding: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ok-soft); color: var(--ok);
}
.num-steps { display: grid; gap: 12px; counter-reset: n; }
.num-steps li { position: relative; padding-left: 42px; counter-increment: n; min-height: 30px; }
.num-steps li::before {
  content: counter(n); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 14px;
}
.after-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .after-grid { grid-template-columns: 1fr 1fr; } }
.after-box { padding: 18px; border-radius: 14px; }
.after-box h3 { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.after-box ul { display: grid; gap: 10px; font-size: 14.5px; }
.after-box li { display: flex; gap: 8px; align-items: flex-start; }
.after-box .icon { margin-top: 4px; }
.after-box--ok { background: var(--ok-soft); color: #164e3a; }
.after-box--ok .icon { color: var(--ok); }
.after-box--no { background: var(--no-soft); color: #6b2a10; }
.after-box--no .icon { color: var(--no); }
.plain-list { display: grid; gap: 8px; color: var(--ink-2); }
.plain-list li { position: relative; padding-left: 18px; }
.plain-list li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }

.buy-card {
  position: relative; overflow: hidden; padding: 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid #ddd6fe; box-shadow: var(--shadow);
}
.buy-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), #db4fa0);
}
.buy-card-label { font-size: 13px; font-weight: 800; color: var(--ink-3); letter-spacing: 0.08em; }
.buy-card .price { margin: 4px 0 18px; }
.buy-card .btn { min-height: 52px; font-size: 16px; }
.buy-card-points { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--ink-2); }
.buy-card-points li { display: flex; gap: 8px; align-items: center; }
.buy-card-points .icon { color: var(--accent); }

.more-products { padding-top: 48px; }
.more-products .section-head h2 { font-size: 22px; }

.mobile-buy-bar { display: none; }
@media (max-width: 959px) {
  .page-product { padding-bottom: 84px; }
  .mobile-buy-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(21, 18, 43, 0.35);
  }
  .mobile-buy-price { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; line-height: 1.15; }
  .mobile-buy-price small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
  .mobile-buy-bar .btn { min-height: 46px; padding: 0 22px; }
}

/* ---------- 帮助中心 ---------- */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 36px; }
.hero-bg--soft {
  background:
    radial-gradient(620px 300px at 90% 0%, rgba(124, 92, 255, 0.18), transparent 70%),
    linear-gradient(180deg, #fbfaff 0%, var(--bg) 100%);
}
.page-hero h1 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 900; margin: 4px 0 12px; letter-spacing: -0.02em; }
.help { display: grid; gap: 24px; padding-bottom: 24px; }
@media (min-width: 960px) {
  .help { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
  .help-nav { position: sticky; top: calc(var(--header-h) + 20px); flex-direction: column; }
}
.help-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.help-nav::-webkit-scrollbar { display: none; }
.help-nav a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 14px; border-radius: 12px; color: var(--ink-2); font-weight: 700; font-size: 15px;
  background: var(--surface); border: 1px solid var(--line);
}
.help-nav a:hover { color: var(--accent-ink); border-color: #d6cffb; text-decoration: none; }
.help-nav .icon { color: var(--accent); }
@media (min-width: 960px) { .help-nav a { background: transparent; border-color: transparent; } .help-nav a:hover { background: var(--surface); } }
.help-section + .help-section { margin-top: 44px; }
.help-section h2 { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.guide-steps { display: grid; gap: 12px; }
@media (min-width: 640px) { .guide-steps { grid-template-columns: 1fr 1fr; } }
.guide-steps li {
  display: flex; gap: 14px; padding: 18px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.guide-no {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; font-weight: 900;
}
.guide-steps h3 { font-size: 16px; font-weight: 800; }
.guide-steps p { font-size: 14.5px; color: var(--ink-3); margin-top: 2px; }

.not-found { padding: 96px 16px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.not-found h1 { font-size: 40px; font-weight: 900; }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 96px; background: #14112a; color: #c9c5dc; padding-top: 56px; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand p { margin-top: 14px; font-size: 14.5px; max-width: 30em; color: #a9a4c2; }
.brand--footer { color: #fff; }
.brand--footer .brand-accent { color: #b3a4ff; }
.footer-col h2 { font-size: 14px; font-weight: 800; color: #fff; letter-spacing: 0.06em; margin-bottom: 12px; }
.footer-col ul { display: grid; gap: 8px; font-size: 14.5px; }
.footer-col a { color: #c9c5dc; }
.footer-col a:hover { color: #fff; }
.footer-note {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px; color: #8f8aa9;
}

/* ---------- 下单窗口 ---------- */
.modal-open, .modal-open body { overflow: hidden; }
.bb-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.bb-modal[hidden] { display: none; }
.bb-modal-backdrop { position: absolute; inset: 0; background: rgba(21, 18, 43, 0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.bb-modal-panel {
  position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--surface); border-radius: 24px; box-shadow: 0 40px 90px -30px rgba(21, 18, 43, 0.6);
  padding: 26px 24px 22px; animation: pop 0.22s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.bb-modal-panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), #db4fa0);
}
.bb-modal-close {
  position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: var(--accent-softer); color: var(--ink-2); font-size: 22px; line-height: 1; cursor: pointer;
}
.bb-modal-close:hover { background: var(--accent-soft); color: var(--accent-ink); }
@media (max-width: 520px) {
  .bb-modal { place-items: end center; padding: 0; }
  .bb-modal-panel { width: 100%; border-radius: 22px 22px 0 0; max-height: 92vh; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}
.buy-title { font-size: 20px; font-weight: 900; padding-right: 36px; }
.buy-price { font-size: 30px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
/* 实付金额 */
.amount-box { margin: 12px 0 4px; padding: 12px 14px; border-radius: 14px; background: var(--accent-softer); border: 1px solid var(--accent-soft); }
.amount-box--fee { background: #fffaf0; border-color: #f3dcb5; }
.amount-main { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.amount-label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.amount-break { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.amount-box--fee .amount-break strong { color: var(--warn); }
.amount-note { margin-top: 4px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.buy-form .field, .lookup-form .field { display: grid; gap: 6px; margin-top: 14px; border: 0; padding: 0; min-width: 0; }
.buy-form .field > label:not(.pre-check), .buy-form legend, .lookup-form label { font-size: 14px; font-weight: 700; color: var(--ink-2); padding: 0; }
.buy-form input[type="email"], .lookup-form input {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line-2);
  border-radius: 12px; padding: 11px 14px; outline: none;
}
.buy-form input[type="email"]:focus, .lookup-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91, 69, 250, 0.12); }
.buy-hint { margin-top: 6px; font-size: 12.5px; color: var(--warn); }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-method {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 14px; border-radius: 14px; cursor: pointer;
  border: 1.5px solid var(--line-2); background: #fff; font-size: 15px; font-weight: 800; color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pay-method:hover { border-color: #c9bdff; }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method:has(input:checked) { border-color: var(--accent); background: var(--accent-softer); box-shadow: 0 0 0 3px rgba(91, 69, 250, 0.12); }
.pay-method:has(input:focus-visible) { outline: 3px solid rgba(91, 69, 250, 0.45); outline-offset: 2px; }
.pay-dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; flex: none; color: #fff; font-size: 14px; font-weight: 900; line-height: 1; }
.pay-method--alipay .pay-dot::before { content: "支"; }
.pay-method--wechat .pay-dot::before { content: "微"; }
.pay-method--alipay .pay-dot { background: linear-gradient(135deg, #3c9cff, #1677ff); }
.pay-method--wechat .pay-dot { background: linear-gradient(135deg, #2fd16b, #07c160); }
.pay-note, .pay-warn { font-size: 12.5px; color: var(--warn); }
.pay-note:empty { display: none; }
.buy-form .pre-checks { gap: 8px; }
.pre-check {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; line-height: 1.55;
  background: var(--accent-softer); border: 1px solid var(--accent-soft); font-weight: 500; font-size: 14px; color: var(--ink-2); cursor: pointer;
}
.pre-check:has(input:checked) { background: var(--ok-soft); border-color: #bfe6d3; color: var(--ink); }
.pre-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.buy-form .form-error, .lookup-form .form-error { min-height: 1.4em; margin: 12px 0 6px; color: #c0352b; font-weight: 700; font-size: 14px; }
.buy-foot, .pay-foot { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); text-align: center; }

/* 付款 */
/* 订单号提示 */
.order-no-box { margin: 14px 0 4px; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--accent); background: linear-gradient(135deg, #f6f3ff, #fff); }
.order-no-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.order-no-id { display: grid; gap: 2px; min-width: 0; }
.order-no-label { font-size: 12px; font-weight: 800; color: var(--accent-ink); letter-spacing: 0.04em; }
.order-no-value { font-family: ui-monospace, Consolas, monospace; font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: 0.02em; word-break: break-all; }
.order-no-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.order-no-actions .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
.order-no-tip { margin-top: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.order-no-tip strong { color: var(--accent-ink); }
.pay-sandbox { width: 100%; padding: 8px 12px; border-radius: 10px; background: #fff4d6; color: #7a4b00; font-size: 13px; font-weight: 700; text-align: center; }
.order-meta code { font-family: ui-monospace, Consolas, monospace; color: var(--ink-2); }
.pay-block { display: grid; justify-items: center; gap: 8px; margin: 16px 0 6px; }
.pay-qr {
  width: 220px; max-width: 70vw; aspect-ratio: 1; padding: 10px; border-radius: 16px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.pay-qr svg { width: 100%; height: 100%; display: block; }
.pay-tip { font-size: 14px; color: var(--ink-3); text-align: center; }
.pay-tip--strong { font-size: 15px; font-weight: 800; color: var(--ink); }
.pay-more { width: 100%; text-align: center; font-size: 14px; color: var(--accent-ink); }
.pay-more summary { cursor: pointer; padding: 6px; }
.pay-more .pay-qr { margin: 8px auto 0; }
.pay-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0; font-weight: 700; color: var(--ink-2); }
.spinner {
  width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--accent-soft); border-top-color: var(--accent);
  animation: spin 0.8s linear infinite; flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pay-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pay-actions .btn:first-child { grid-column: 1 / -1; }
.pay-actions .btn { min-height: 40px; font-size: 14px; }

/* ---------- 订单页 ---------- */
.order-page { padding-top: 32px; padding-bottom: 16px; }
.order-shell { max-width: 680px; margin: 0 auto; }
.order-loading { display: flex; align-items: center; gap: 8px; justify-content: center; padding: 60px 0; color: var(--ink-3); }
.order-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px; }
@media (max-width: 520px) { .order-card { padding: 20px 16px; } }
.order-card > p:first-child { margin-bottom: 14px; }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.order-head h1 { font-size: clamp(22px, 4vw, 28px); font-weight: 900; }
.order-badge { flex: none; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; background: var(--accent-soft); color: var(--accent-ink); }
.order-badge--delivered { background: var(--ok-soft); color: var(--ok); }
.order-badge--closed, .order-badge--failed { background: #f0eef6; color: var(--ink-3); }
.order-badge--pending { background: var(--warn-soft); color: var(--warn); }
.order-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0 4px; padding: 14px 16px; border-radius: 14px; background: var(--accent-softer); font-size: 14px; }
.order-meta dt { color: var(--ink-3); }
.order-meta dd { margin: 0; font-weight: 700; }
.order-sub { font-size: 17px; font-weight: 800; margin: 22px 0 10px; }
.code-list { display: grid; gap: 10px; }
.code-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 14px; border: 1.5px dashed #c9bdff; background: linear-gradient(135deg, #faf8ff, #fff);
}
.code-label { font-size: 12px; font-weight: 800; color: var(--accent-ink); }
.code-value { font-family: ui-monospace, Consolas, monospace; font-size: 17px; font-weight: 700; word-break: break-all; color: var(--ink); }
.btn-copy { min-height: 36px; padding: 0 14px; font-size: 14px; }
@media (max-width: 520px) { .code-item { grid-template-columns: 1fr auto; } .code-label { grid-column: 1 / -1; } }
.order-foot { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line-2); display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); }
.order-card .num-steps a { word-break: break-all; }

/* ---------- 查单页 ---------- */
.lookup { padding-bottom: 16px; }
.lookup > * { max-width: 560px; }
.lookup-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; }
.lookup-form .field:first-child { margin-top: 0; }
.lookup-form .field-hint { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.device-orders { margin-top: 28px; }
.device-orders h2 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.device-orders ul { display: grid; gap: 10px; }
.device-orders a {
  display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
}
.device-orders a:hover { border-color: #d6cffb; text-decoration: none; }
.device-orders a span { color: var(--ink-3); font-size: 13px; font-family: ui-monospace, Consolas, monospace; }
.lookup-legacy { margin-top: 24px; font-size: 13.5px; color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
