/* ==========================================================================
   飘雪充值中心 · Responsive recharge & payment UI
   ========================================================================== */

:root {
  --bg: #f4f7fb;
  --bg-deep: #eef3fa;
  --surface: #ffffff;
  --surface-soft: #f8fafd;
  --ink: #0c1b2a;
  --ink-2: #26384d;
  --muted: #63748a;
  --muted-2: #8593a6;
  --line: #dfe7f2;
  --line-strong: #cbd8e9;
  --navy: #071522;
  --navy-2: #0b2034;
  --brand: #2f6fed;
  --brand-dark: #1f57cc;
  --brand-light: #6fa4ff;
  --brand-soft: #ebf2ff;
  --cyan: #67d4f1;
  --amber: #e4a536;
  --amber-soft: #fff6e3;
  --green: #0f9f6e;
  --green-soft: #e7f8f1;
  --red: #d74949;
  --red-soft: #fff0f0;
  --shadow-sm: 0 4px 16px rgba(20, 47, 82, 0.05);
  --shadow-md: 0 14px 38px rgba(20, 47, 82, 0.08);
  --shadow-lg: 0 28px 80px rgba(8, 30, 58, 0.16);
  --r-xl: 26px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 900px 540px at 8% 0%, rgba(47, 111, 237, 0.06), transparent 65%),
    radial-gradient(ellipse 760px 500px at 100% 14%, rgba(103, 212, 241, 0.06), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(12, 27, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 27, 42, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent 0, #000 34%, #000 88%, transparent 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }

::selection { background: rgba(47, 111, 237, 0.18); }

:focus-visible {
  outline: 3px solid rgba(47, 111, 237, 0.45);
  outline-offset: 3px;
  border-radius: 6px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-xs { width: 13px; height: 13px; stroke-width: 2; }

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding: 15px 0;
  color: #f7fbff;
  background: transparent;
  transition: background 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(7, 21, 34, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07), 0 14px 32px rgba(2, 12, 22, 0.18);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.brand > img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(0, 68, 171, 0.3);
}
.brand-words {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}
.brand-words strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.brand-words span {
  margin-top: 3px;
  color: rgba(226, 241, 255, 0.56);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 9px;
  color: rgba(236, 246, 255, 0.72);
  font-size: 13px;
  transition: color 0.18s ease, background 0.18s ease;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-split {
  width: 1px;
  height: 16px;
  margin: 0 8px;
  background: rgba(255, 255, 255, 0.16);
}

.header-account {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 5px 12px 5px 5px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font: inherit;
  text-align: left;
  appearance: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.header-account:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.11);
}
.header-account:focus-visible {
  outline-color: rgba(136, 189, 255, 0.8);
}
.account-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(145deg, #7fb4ff, #2f6fed);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.account-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.account-copy strong { font-size: 12px; font-weight: 600; white-space: nowrap; }
.account-copy span { color: rgba(221, 238, 255, 0.52); font-size: 9px; letter-spacing: 0.02em; white-space: nowrap; }
.demo-dot {
  display: inline-block;
  margin-left: 3px;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(228, 165, 54, 0.18);
  color: #f5c768;
  font-size: 8px;
  font-style: normal;
  vertical-align: 1px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 136px 0 104px;
  background:
    radial-gradient(ellipse 820px 620px at 82% 24%, rgba(47, 111, 237, 0.36), transparent 62%),
    radial-gradient(ellipse 620px 460px at 6% 78%, rgba(20, 121, 149, 0.23), transparent 64%),
    linear-gradient(160deg, #071522 0%, #081a2b 52%, #071827 100%);
  color: #f7fbff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.5px),
    radial-gradient(circle at 26% 68%, rgba(255, 255, 255, 0.36) 0 1px, transparent 1.5px),
    radial-gradient(circle at 48% 12%, rgba(255, 255, 255, 0.34) 0 1px, transparent 1.5px),
    radial-gradient(circle at 63% 48%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.5px),
    radial-gradient(circle at 76% 14%, rgba(255, 255, 255, 0.4) 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 72%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1.5px),
    radial-gradient(circle at 38% 88%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.5px);
  background-size: 280px 240px, 360px 300px, 300px 260px, 400px 340px, 320px 280px, 380px 320px, 260px 220px;
  opacity: 0.65;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 210px;
  background: linear-gradient(to top, rgba(7, 21, 34, 0.9), transparent);
  pointer-events: none;
}
.hero-snow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 500px 320px at 88% 80%, rgba(104, 190, 255, 0.1), transparent 65%),
    radial-gradient(ellipse 380px 240px at 20% 20%, rgba(255, 255, 255, 0.04), transparent 60%);
  pointer-events: none;
}
.hero-flake {
  position: absolute;
  z-index: -1;
  width: 170px;
  height: 170px;
  fill: none;
  stroke: rgba(158, 211, 255, 0.12);
  stroke-width: 0.7;
  pointer-events: none;
}
.hero-flake-a { top: 132px; left: -56px; transform: rotate(18deg); }
.hero-flake-b { right: 3%; bottom: 38px; width: 118px; height: 118px; stroke: rgba(158, 211, 255, 0.1); transform: rotate(-14deg); }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 58px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(211, 235, 255, 0.62);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.19em;
}
.eyebrow-line {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, #77b5ff, transparent);
}

.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(48px, 5.2vw, 68px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.hero h1 span {
  background: linear-gradient(100deg, #f5fbff 0%, #b9d8ff 44%, #7db7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lede {
  max-width: 570px;
  color: rgba(223, 240, 255, 0.67);
  font-size: 16.5px;
  line-height: 1.82;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 28px;
  color: rgba(225, 242, 255, 0.7);
  font-size: 12.5px;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-trust .icon { width: 16px; height: 16px; color: #79b6ff; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-light {
  background: #f8fbff;
  color: #0b1c2c;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.btn-light:hover { background: #fff; box-shadow: 0 15px 34px rgba(0, 0, 0, 0.24); }
.btn-primary {
  background: linear-gradient(135deg, #4a86f7, #2765e8);
  color: #fff;
  box-shadow: 0 12px 28px rgba(47, 111, 237, 0.3);
}
.btn-primary:hover { box-shadow: 0 15px 34px rgba(47, 111, 237, 0.4); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: #e9f4ff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; transform: none; box-shadow: none; }
.text-link {
  color: rgba(223, 240, 255, 0.68);
  font-size: 13px;
  border-bottom: 1px solid rgba(223, 240, 255, 0.22);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.text-link:hover { color: #fff; border-color: #fff; }

/* ---------- Hero pass ---------- */

.pass-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  perspective: 1200px;
  animation: fadeUp 0.85s 0.18s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
.pass-glow {
  position: absolute;
  inset: 8% 4% -8%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(66, 139, 255, 0.46), transparent 66%);
  filter: blur(32px);
  pointer-events: none;
}
.pass-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  aspect-ratio: 1.56;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(167, 213, 255, 0.34);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 300px 170px at 90% 2%, rgba(82, 157, 255, 0.32), transparent 64%),
    linear-gradient(135deg, #153d5f 0%, #071b2e 52%, #0b2a43 100%);
  box-shadow:
    0 34px 66px rgba(0, 6, 18, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -40px 80px rgba(1, 12, 25, 0.24);
  transform: rotate(-3.4deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pass-card::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.13) 45%, transparent 62%);
  transform: translateX(-26%);
  pointer-events: none;
}
.pass-card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(133, 190, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(133, 190, 255, 0.04), 0 0 0 54px rgba(133, 190, 255, 0.025);
  pointer-events: none;
}
.pass-stage:hover .pass-card { transform: rotate(-1deg) translateY(-4px); }
.pass-top,
.pass-middle,
.pass-bottom { position: relative; z-index: 2; }
.pass-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pass-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 251, 255, 0.9);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.pass-brand img {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}
.pass-type {
  color: rgba(207, 234, 255, 0.62);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
}
.pass-orbit {
  position: absolute;
  top: 50%;
  right: 14%;
  width: 165px;
  height: 165px;
  transform: translateY(-52%);
  opacity: 0.78;
  pointer-events: none;
}
.orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(153, 205, 255, 0.28);
  border-radius: 50%;
}
.orbit-1 { transform: rotateX(66deg) rotateZ(18deg); }
.orbit-2 { inset: 17px; transform: rotateY(66deg) rotateZ(-20deg); border-color: rgba(153, 205, 255, 0.2); }
.orbit-3 { inset: 38px; border-color: rgba(153, 205, 255, 0.16); }
.orbit-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(232, 247, 255, 0.82);
}
.orbit-core .icon { width: 32px; height: 32px; stroke-width: 1.2; }
.pass-middle {
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 14px;
}
.pass-label {
  display: block;
  margin-bottom: 5px;
  color: rgba(203, 232, 255, 0.66);
  font-size: 9.5px;
  letter-spacing: 0.18em;
}
.pass-middle strong {
  color: #ffffff;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: 0.035em;
  text-shadow: 0 2px 18px rgba(0, 9, 20, 0.42);
}
.pass-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(185, 219, 255, 0.18);
}
.pass-bottom div { display: flex; flex-direction: column; gap: 2px; }
.pass-bottom span {
  color: rgba(203, 232, 255, 0.58);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
}
.pass-bottom strong {
  color: rgba(247, 252, 255, 0.96);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
}
.pass-star { width: 22px; height: 22px; color: rgba(166, 211, 255, 0.78); stroke-width: 1.2; }

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px 9px 9px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 13px;
  background: rgba(251, 254, 255, 0.95);
  color: #102338;
  box-shadow: 0 16px 36px rgba(0, 8, 21, 0.28);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: float 6s ease-in-out infinite;
}
.float-card-a { top: -22px; right: -8px; }
.float-card-b { bottom: -26px; left: -22px; animation-delay: -3s; }
.float-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--green-soft);
  color: var(--green);
}
.float-icon.gold { background: var(--amber-soft); color: var(--amber); }
.float-icon .icon { width: 17px; height: 17px; stroke-width: 2; }
.float-card > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.float-card small { color: var(--muted); font-size: 8.5px; letter-spacing: 0.04em; }
.float-card strong { margin-top: 2px; font-size: 11.5px; font-weight: 700; }

/* ==========================================================================
   Trust strip
   ========================================================================== */

.quick-trust-wrap {
  position: relative;
  z-index: 4;
  margin-top: -38px;
}
.quick-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px;
  border: 1px solid rgba(220, 231, 244, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.quick-trust > div {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 13px 17px;
  border-right: 1px solid var(--line);
}
.quick-trust > div:last-child { border-right: 0; }
.quick-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: none;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.quick-icon .icon { width: 18px; height: 18px; }
.quick-trust > div > span:last-child { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.quick-trust strong { font-size: 12.5px; font-weight: 600; }
.quick-trust small { display: block; max-width: 100%; margin-top: 2px; color: var(--muted-2); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================================
   Checkout layout / section headings
   ========================================================================== */

.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  align-items: start;
  gap: 28px;
  padding-top: 54px;
  padding-bottom: 12px;
}
.checkout-main { min-width: 0; }
.checkout-block {
  scroll-margin-top: 96px;
  margin-bottom: 44px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.section-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--brand);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.section-kicker span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 18px;
  border-radius: 5px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 8.5px;
  letter-spacing: 0;
}
.section-head h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.section-desc {
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 12.5px;
  white-space: nowrap;
}

/* ==========================================================================
   Product tabs
   ========================================================================== */

.account-block { margin-bottom: 28px; }
.account-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
  align-items: stretch;
}
.account-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 650;
}
.account-label em {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 8px;
  font-style: normal;
  font-weight: 600;
}
.account-input-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 0 13px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.account-input-wrap > .icon { width: 17px; height: 17px; flex: none; color: var(--muted-2); }
.account-input-wrap input {
  width: 100%;
  min-width: 0;
  height: 47px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
}
.account-input-wrap input::placeholder { color: #98a7b9; }
.account-input-wrap:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.1);
}
.account-input-wrap.is-error {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(215, 73, 73, 0.07);
}
.account-platform {
  flex: none;
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 9px;
  font-weight: 600;
}
.account-help { margin-top: 7px; color: var(--muted-2); font-size: 10.5px; line-height: 1.6; }
.account-error { margin-top: 6px; color: var(--red); font-size: 10.5px; font-weight: 500; }
.account-note-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 15px;
  border: 1px solid #dce8f8;
  border-radius: 13px;
  background:
    radial-gradient(ellipse 160px 90px at 100% 0%, rgba(47, 111, 237, 0.08), transparent 70%),
    linear-gradient(145deg, #f7faff, #eef5ff);
}
.account-note-label { color: #54708e; font-size: 9.5px; font-weight: 600; letter-spacing: 0.02em; }
.account-note-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 29px;
  margin-top: 6px;
}
.account-note-line code {
  flex: 1;
  min-width: 0;
  padding: 5px 8px;
  border: 1px dashed #bfd3ec;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  color: #163c62;
  font-family: var(--mono);
  font-size: 11px;
  word-break: break-all;
}
.account-note-line code.is-empty {
  color: #93a4b7;
  font-family: var(--font);
  font-size: 10.5px;
}
.account-note-line .copy-btn { flex: none; padding: 4px 7px; background: #fff; font-size: 9px; }
.account-note-tip { margin-top: 7px; color: #7b8fa5; font-size: 9.5px; line-height: 1.55; }
.manual-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  list-style: none;
}
.manual-flow li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding-right: 14px;
  color: var(--muted);
  font-size: 10px;
}
.manual-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 5px;
  height: 5px;
  border-top: 1px solid #b9c9dc;
  border-right: 1px solid #b9c9dc;
  transform: translateY(-50%) rotate(45deg);
}
.manual-flow b {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 9px;
}
.manual-flow span { line-height: 1.4; }

.product-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.product-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 15px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.product-tab:hover {
  border-color: #bacedf;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.product-tab[aria-selected="true"] {
  border-color: #1c4c78;
  background:
    radial-gradient(ellipse 220px 140px at 100% 0%, rgba(72, 139, 255, 0.38), transparent 70%),
    linear-gradient(140deg, #0d2a47, #071b2e);
  color: #f5fbff;
  box-shadow: 0 16px 34px rgba(9, 38, 69, 0.22);
}
.tab-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.tab-icon .icon { width: 22px; height: 22px; }
.product-tab[data-accent="amber"] .tab-icon { background: var(--amber-soft); color: #bf841b; }
.product-tab[data-accent="cyan"] .tab-icon { background: #e7f9fe; color: #0c8dab; }
.product-tab[aria-selected="true"] .tab-icon { background: rgba(255, 255, 255, 0.11); color: #9dc7ff; }
.product-tab[aria-selected="true"][data-accent="amber"] .tab-icon { color: #ffd071; }
.product-tab[aria-selected="true"][data-accent="cyan"] .tab-icon { color: #8ce7fb; }
.tab-copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.tab-copy strong { font-size: 13.5px; font-weight: 650; white-space: nowrap; }
.tab-copy small { margin-top: 3px; color: var(--muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-tab[aria-selected="true"] .tab-copy small { color: rgba(212, 235, 255, 0.55); }

/* ==========================================================================
   Product panel & plans
   ========================================================================== */

.panel-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 19px;
}
.panel-head p {
  max-width: 560px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.instant-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  margin-top: 1px;
  padding: 5px 9px;
  border: 1px solid #cdeee0;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.instant-pill .icon { width: 12px; height: 12px; stroke-width: 2.4; }

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 11px;
}
.plans--single { grid-template-columns: minmax(0, 1fr); }
.plans--single .plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "top price" "meta price";
  align-items: center;
  gap: 3px 18px;
  padding: 16px 19px;
}
.plans--single .plan-top { grid-area: top; }
.plans--single .plan-price { grid-area: price; margin-top: 0; }
.plans--single .plan-meta { grid-area: meta; margin-top: 0; }
.plans--single .plan-check { display: none; }

.tier-select-block {
  margin-bottom: 16px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafd;
}
.tier-select-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.tier-select-head > span {
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 650;
}
.tier-select-head small { color: var(--muted-2); font-size: 9px; }
.tier-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.tier-card:hover {
  border-color: #b7cbe3;
  transform: translateY(-1px);
}
.tier-card.is-selected {
  border-color: var(--brand);
  background: linear-gradient(145deg, #f0f6ff, #fff);
  box-shadow: 0 7px 18px rgba(47, 111, 237, 0.1);
}
.tier-card-top {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding-right: 18px;
}
.tier-card-top strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.tier-badge {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.3;
}
.tier-card small {
  max-width: 100%;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tier-check {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1.5px solid #c6d4e5;
  border-radius: 50%;
  background: #fff;
  color: transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.tier-check .icon { width: 9px; height: 9px; stroke-width: 3; }
.tier-card.is-selected .tier-check {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 15px 14px;
  cursor: pointer;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-soft);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.plan:hover {
  border-color: #b7cbe3;
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(20, 47, 82, 0.06);
}
.plan input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.plan:has(input:focus-visible) {
  outline: 3px solid rgba(47, 111, 237, 0.4);
  outline-offset: 3px;
}
.plan.is-selected {
  border-color: var(--brand);
  background:
    radial-gradient(ellipse 140px 100px at 100% 0%, rgba(47, 111, 237, 0.1), transparent 70%),
    linear-gradient(145deg, #f4f8ff, #fff);
  box-shadow: 0 9px 24px rgba(47, 111, 237, 0.12);
}
.plan-top {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 20px;
  padding-right: 22px;
}
.plan-name {
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.plan-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 5px;
  background: #e8effa;
  color: #53677f;
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.plan.is-selected .plan-badge { background: var(--brand); color: #fff; }
.plan-check {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1.5px solid #c6d4e5;
  border-radius: 50%;
  color: transparent;
  background: #fff;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.plan-check .icon { width: 10px; height: 10px; stroke-width: 3; }
.plan.is-selected .plan-check {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 12px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.plan-price small { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.plan-price del {
  margin-left: auto;
  color: #9aa8b9;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}
.plan-meta {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.45;
}
.plan-meta strong { color: var(--brand); font-weight: 600; }
.plan-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.6;
}
.plan-note .icon { width: 13px; height: 13px; margin-top: 2px; color: var(--brand); }

.perks {
  display: grid;
  grid-template-columns: repeat(var(--perk-columns, 4), 1fr);
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.perk {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  padding: 2px 4px;
}
.perk-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  border-radius: 8px;
  background: #f1f6fd;
  color: #4e7099;
}
.perk-icon .icon { width: 15px; height: 15px; }
.perk-copy { display: flex; flex-direction: column; min-width: 0; }
.perk-copy strong { font-size: 11px; font-weight: 600; line-height: 1.4; }
.perk-copy small { margin-top: 2px; color: var(--muted-2); font-size: 9.5px; line-height: 1.45; }

/* ==========================================================================
   Payment methods
   ========================================================================== */

.payment-block { margin-top: 0; }
.pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
}
.pay-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 13px 12px;
  text-align: left;
  border: 1.5px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.pay-card:hover { border-color: #b7cbe3; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.pay-card.is-selected {
  border-color: var(--brand);
  background: linear-gradient(145deg, #f3f7ff, #fff);
  box-shadow: 0 9px 24px rgba(47, 111, 237, 0.11);
}
.pay-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  font-weight: 800;
  line-height: 1;
}
.mark-wechat { background: #e5f8ed; color: #06ad56; }
.mark-wechat svg { width: 23px; height: 23px; fill: currentColor; }
.mark-alipay { background: #e8f2ff; color: #1677ff; }
.mark-alipay .mark-letter {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 6px;
  background: #1677ff;
  color: #fff;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 700;
}
.mark-paypal { background: #eef3ff; color: #123b8f; }
.mark-paypal .pp {
  position: relative;
  width: 26px;
  height: 25px;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -5px;
}
.mark-paypal .pp span:last-child { position: absolute; left: 6px; top: 1px; color: #2d8cff; }
.mark-fps { background: #fff0f0; color: #c51f2e; }
.mark-fps .fps {
  padding: 3px 4px;
  border: 1.5px solid currentColor;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pay-copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.pay-copy strong { font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.pay-copy small { margin-top: 3px; color: var(--muted-2); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pay-tick {
  position: absolute;
  top: 8px;
  right: 8px;
  display: none;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.pay-tick .icon { width: 9px; height: 9px; stroke-width: 3; }
.pay-card.is-selected .pay-tick { display: grid; }

.pay-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px solid #dce8f8;
  border-radius: 11px;
  background: #f4f8ff;
  color: #4e6683;
  font-size: 11px;
  line-height: 1.6;
}
.pay-hint .icon { width: 14px; height: 14px; margin-top: 2px; flex: none; color: var(--brand); }
.security-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.5;
}
.security-line .icon { width: 13px; height: 13px; flex: none; }

/* ==========================================================================
   Summary
   ========================================================================== */

.summary {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 23px;
  overflow: hidden;
  border: 1px solid rgba(166, 203, 240, 0.16);
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 300px 220px at 100% 0%, rgba(47, 111, 237, 0.25), transparent 68%),
    radial-gradient(ellipse 220px 180px at 0% 100%, rgba(25, 121, 148, 0.15), transparent 70%),
    linear-gradient(155deg, #0b2034, #071522 70%);
  color: #f4f9ff;
  box-shadow: 0 26px 56px rgba(4, 18, 34, 0.25);
}
.summary::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(133, 190, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(133, 190, 255, 0.03), 0 0 0 56px rgba(133, 190, 255, 0.02);
  pointer-events: none;
}
.summary-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
}
.summary-head h2 { font-size: 16px; font-weight: 650; letter-spacing: 0.01em; }
.secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid rgba(151, 205, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(202, 230, 255, 0.62);
  font-size: 9px;
  white-space: nowrap;
}
.secure-pill .icon { width: 11px; height: 11px; }

.summary-account {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  margin-bottom: 15px;
  border: 1px solid rgba(152, 199, 243, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}
.summary-account.is-empty {
  border-color: rgba(245, 197, 104, 0.24);
  background: rgba(245, 197, 104, 0.05);
}
.summary-account.is-empty .summary-avatar {
  background: rgba(245, 197, 104, 0.14);
  color: #f3c56e;
  box-shadow: none;
}
.summary-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(145deg, #5f9bff, #2f6fed);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.summary-account-copy { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.summary-account-copy span { color: rgba(210, 234, 255, 0.56); font-size: 8.5px; letter-spacing: 0.04em; }
.summary-account-copy strong { margin-top: 2px; font-size: 10.5px; font-weight: 500; color: rgba(240, 249, 255, 0.84); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summary-edit {
  flex: none;
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid rgba(154, 201, 249, 0.18);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: #a9ccf5;
  font-size: 8px;
  line-height: 1.3;
  transition: background 0.18s ease, color 0.18s ease;
}
.summary-edit:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.summary-product {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 3px 1px 16px;
}
.summary-product-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(84, 148, 255, 0.24), rgba(47, 111, 237, 0.1));
  color: #91bfff;
  border: 1px solid rgba(123, 178, 255, 0.17);
}
.summary-product-icon .icon { width: 21px; height: 21px; }
.summary-product-copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.summary-product-copy strong { font-size: 13.5px; font-weight: 600; }
.summary-product-copy span { margin-top: 3px; color: rgba(202, 228, 255, 0.54); font-size: 10px; }
.summary-product-price { margin-left: auto; text-align: right; font-size: 13px; font-weight: 600; white-space: nowrap; }
.summary-product-price small { display: block; margin-top: 2px; color: rgba(202, 228, 255, 0.38); font-size: 8px; font-weight: 400; }

.summary-lines {
  padding: 13px 0;
  border-top: 1px solid rgba(164, 204, 245, 0.11);
  border-bottom: 1px solid rgba(164, 204, 245, 0.11);
}
.summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 1px;
  color: rgba(210, 233, 255, 0.6);
  font-size: 10.5px;
}
.summary-line span:last-child { color: rgba(240, 249, 255, 0.86); font-weight: 500; white-space: nowrap; }
.summary-line .discount { color: #7de2b8; }
.summary-line .method-name { display: inline-flex; align-items: center; gap: 5px; }
.summary-line .note-value {
  display: inline-block;
  max-width: 190px;
  overflow: hidden;
  color: #b9d9ff !important;
  font-family: var(--mono);
  font-size: 9px !important;
  text-overflow: ellipsis;
  vertical-align: bottom;
}
.summary-line .note-pending { color: #f3c56e !important; }
.summary-line .gift-value {
  max-width: 220px;
  color: #f3c56e !important;
  font-size: 9.5px !important;
  line-height: 1.5;
  text-align: right;
  white-space: normal !important;
}
.method-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.summary-total {
  padding: 15px 0 4px;
}
.summary-total-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: rgba(209, 233, 255, 0.54);
  font-size: 10px;
}
.summary-total-label span:last-child { color: rgba(206, 231, 255, 0.44); font-size: 8px; }
.summary-total-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 4px;
  color: #fff;
  font-size: 35px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.summary-total-price small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: rgba(225, 243, 255, 0.82); }
.summary-fx {
  min-height: 17px;
  margin-top: 3px;
  color: rgba(186, 216, 246, 0.58);
  font-size: 9px;
  line-height: 1.5;
}
.summary .btn-pay {
  width: 100%;
  min-height: 49px;
  margin-top: 13px;
  border-radius: 12px;
  font-size: 14px;
}
.summary .btn-pay .icon { transition: transform 0.18s ease; }
.summary .btn-pay:hover .icon { transform: translateX(3px); }
.summary-terms {
  margin-top: 10px;
  color: rgba(203, 227, 250, 0.58);
  font-size: 8.5px;
  line-height: 1.6;
  text-align: center;
}
.summary-terms button {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(235, 247, 255, 0.88);
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.summary-terms button:hover { color: #fff; }
.summary-perks {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(164, 204, 245, 0.1);
}
.summary-perks span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(202, 229, 255, 0.5);
  font-size: 9px;
}
.summary-perks .icon { width: 12px; height: 12px; color: #7de2b8; stroke-width: 2.4; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 68px;
  padding-top: 58px;
  padding-bottom: 78px;
  scroll-margin-top: 92px;
}
.faq-intro {
  position: sticky;
  top: 105px;
  align-self: start;
}
.faq-intro h2 {
  margin: 7px 0 14px;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.04em;
}
.faq-intro > p:not(.section-kicker) {
  max-width: 310px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.inline-mail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 550;
}
.inline-mail .icon { width: 15px; height: 15px; }
.inline-mail:hover { text-decoration: underline; text-underline-offset: 3px; }
.faq-intro > p.support-hours {
  max-width: none;
  margin-top: 7px;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.6;
}

.faq-list { display: grid; gap: 9px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] {
  border-color: #c9dbf3;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 47, 82, 0.06);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--muted-2);
  transition: transform 0.2s ease, color 0.2s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--brand); }
.faq-answer {
  padding: 0 18px 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}
.faq-answer p { max-width: 95%; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 52px 0 22px;
  background:
    radial-gradient(ellipse 600px 360px at 100% 0%, rgba(47, 111, 237, 0.17), transparent 68%),
    #071522;
  color: rgba(223, 239, 255, 0.62);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 183, 255, 0.32), transparent);
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 37px;
}
.footer-brand .brand { color: #f5fbff; }
.footer-brand .brand > img { width: 38px; height: 38px; }
.footer-brand .brand-words strong { font-size: 15px; letter-spacing: 0.04em; }
.footer-brand p {
  max-width: 330px;
  margin-top: 16px;
  color: rgba(202, 226, 250, 0.43);
  font-size: 11.5px;
  line-height: 1.8;
}
.footer-links { display: flex; gap: 70px; }
.footer-links > div { display: flex; flex-direction: column; gap: 7px; }
.footer-links span {
  margin-bottom: 4px;
  color: rgba(194, 222, 251, 0.32);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.footer-links a {
  color: rgba(222, 239, 255, 0.62);
  font-size: 11.5px;
  transition: color 0.18s ease;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(166, 207, 247, 0.1);
  color: rgba(185, 214, 243, 0.33);
  font-size: 9.5px;
}
.footer-bottom > div { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.footer-link {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(222, 239, 255, 0.55);
  font-size: inherit;
}
.footer-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Mobile buy bar
   ========================================================================== */

.mobile-buybar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  align-items: center;
  gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(206, 220, 237, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -10px 32px rgba(19, 44, 77, 0.09);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}
.mobile-buybar.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-buybar-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mobile-buybar-info span {
  max-width: 210px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobile-buybar-info strong { margin-top: 3px; color: var(--ink); font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.mobile-buybar .btn {
  min-height: 43px;
  min-width: 126px;
  margin-left: auto;
  padding: 10px 18px;
  border-radius: 11px;
  font-size: 13px;
}

/* ==========================================================================
   Modals
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 14, 26, 0.68);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  animation: fadeIn 0.2s ease both;
}
.modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(480px, 100%);
  max-height: min(92dvh, 860px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.32);
  animation: modalIn 0.26s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}
.modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: none;
  padding: 13px 16px 13px 18px;
  border-bottom: 1px solid var(--line);
}
.modal-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #52657b;
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.02em;
}
.modal-brand img { width: 24px; height: 24px; border-radius: 7px; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #f4f7fb;
  color: #6d7d91;
  transition: background 0.18s ease, color 0.18s ease;
}
.icon-btn:hover { background: #eaf0f8; color: var(--ink); }
.icon-btn .icon { width: 17px; height: 17px; }
.modal-body { overflow-y: auto; overscroll-behavior: contain; padding: 22px 24px 24px; }

.checkout-head { text-align: center; }
.checkout-head h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.025em; }
.checkout-head p { margin-top: 4px; color: var(--muted); font-size: 11px; }
.checkout-head .checkout-account {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  margin-top: 7px;
  padding: 3px 8px;
  border-radius: 5px;
  background: #f3f7fc;
  color: #697b90;
  font-size: 9.5px;
}
.checkout-account .icon { width: 12px; height: 12px; flex: none; }
.checkout-account strong {
  max-width: 210px;
  overflow: hidden;
  color: var(--ink);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.checkout-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 10px;
}
.checkout-amount { color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.checkout-meta-sep { width: 1px; height: 11px; background: var(--line-strong); }
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 58px;
  justify-content: center;
  padding: 3px 7px;
  border-radius: 5px;
  background: #f4f7fb;
  color: #5b6d82;
  font-family: var(--mono);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.countdown .icon { width: 11px; height: 11px; }
.countdown.is-low { background: var(--red-soft); color: var(--red); }

.qr-area { display: flex; flex-direction: column; align-items: center; margin-top: 15px; }
.qr-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  max-width: 100%;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 42, 76, 0.1);
}
.qr-code {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}
.qr-code canvas,
.qr-code img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  image-rendering: pixelated;
}
.qr-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 4px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 10px rgba(15, 42, 76, 0.18);
}
.qr-badge.mark-wechat { background: #06ad56; color: #fff; }
.qr-badge.mark-wechat svg { width: 25px; height: 25px; fill: currentColor; }
.qr-badge.mark-alipay { background: #1677ff; color: #fff; }
.qr-badge.mark-alipay .mark-letter { width: auto; height: auto; background: none; font-size: 23px; }
.qr-expired {
  position: absolute;
  inset: 9px;
  z-index: 2;
  display: none;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  text-align: center;
}
.qr-expired.is-visible { display: grid; }
.qr-expired strong { display: block; color: var(--ink); font-size: 13px; }
.qr-expired button {
  margin-top: 9px;
  padding: 7px 13px;
  border: 0;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
}
.qr-title { margin-top: 12px; font-size: 13.5px; font-weight: 600; }
.qr-sub { margin-top: 3px; color: var(--muted); font-size: 10.5px; }
.qr-sub strong { color: var(--brand); font-weight: 600; }

.pay-manual {
  width: 100%;
  margin-top: 14px;
  padding: 12px 13px;
  border: 1px solid #dce8f8;
  border-radius: 12px;
  background:
    radial-gradient(ellipse 180px 100px at 100% 0%, rgba(47, 111, 237, 0.07), transparent 70%),
    #f5f9ff;
  text-align: left;
}
.pay-manual-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
  padding: 2px 0;
  color: #5a7089;
  font-size: 10px;
}
.pay-manual-row > strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pay-manual-row code {
  flex: 1;
  min-width: 0;
  padding: 5px 7px;
  border: 1px dashed #b9d0eb;
  border-radius: 5px;
  background: #fff;
  color: #164a7a;
  font-family: var(--mono);
  font-size: 10.5px;
  word-break: break-all;
}
.pay-manual-row .copy-btn { flex: none; background: #fff; }
.pay-manual-tip {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 7px;
  color: #7d8fa5;
  font-size: 9px;
  line-height: 1.55;
}
.pay-manual-tip .icon { width: 11px; height: 11px; margin-top: 1px; flex: none; color: var(--brand); }

.contact-required {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
  margin-top: 14px;
  padding: 12px 13px;
  border: 1px solid #efd9a7;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff9ec, #fffdf7);
  color: #74551a;
  text-align: left;
}
.contact-required > .icon { width: 17px; height: 17px; margin-top: 1px; flex: none; color: #b7791f; }
.contact-required strong { display: block; margin-bottom: 2px; color: #5e4513; font-size: 11.5px; }
.contact-required p { color: #80662f; font-size: 9.5px; line-height: 1.65; }
.contact-required a { color: #8a5a00; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }

.demo-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
  margin-top: 15px;
  padding: 9px 11px;
  border: 1px solid #f2e2bf;
  border-radius: 9px;
  background: #fffbef;
  color: #8a6a25;
  font-size: 9.5px;
  line-height: 1.55;
}
.demo-note .icon { width: 13px; height: 13px; margin-top: 1px; flex: none; }
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 9.5px;
}
.order-no {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4f6278;
  font-family: var(--mono);
  font-size: 10px;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f8fafd;
  color: #6b7d91;
  font-size: 9px;
  transition: background 0.18s ease, color 0.18s ease;
}
.copy-btn:hover { background: #eef4fc; color: var(--brand); }
.copy-btn .icon { width: 10px; height: 10px; }

.pay-actions {
  display: grid;
  gap: 7px;
  margin-top: 15px;
}
.pay-actions .btn { width: 100%; min-height: 44px; font-size: 13px; }
.pay-support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 3px 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  transition: color 0.18s ease;
}
.pay-support-link:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.expired-note {
  padding: 9px 11px;
  border: 1px solid #f0dada;
  border-radius: 8px;
  background: #fff7f7;
  color: #a13d3d;
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}
.btn-secondary {
  background: #fff;
  border-color: var(--line-strong);
  color: #3e536a;
}
.btn-secondary:hover { background: #f8fafd; border-color: #b7c9df; }
.btn-quiet {
  min-height: 38px !important;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  font-size: 11px !important;
  font-weight: 500;
}
.btn-quiet:hover { background: #f4f7fb; color: var(--ink); }
.spinner {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* PayPal */
.gateway-box {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #dce6f4;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 240px 140px at 100% 0%, rgba(47, 111, 237, 0.1), transparent 70%),
    #f8faff;
}
.gateway-top { display: flex; align-items: center; gap: 11px; }
.gateway-logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  background: #eef3ff;
}
.gateway-logo.mark-paypal .pp { width: 30px; height: 30px; font-size: 25px; }
.gateway-top strong { display: block; font-size: 15px; font-weight: 700; }
.gateway-top span { display: block; margin-top: 2px; color: var(--muted); font-size: 9.5px; }
.gateway-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 6px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.gateway-amount small { color: var(--muted); font-size: 10px; font-weight: 400; letter-spacing: 0; }
.gateway-desc { color: var(--muted); font-size: 10.5px; line-height: 1.7; }
.gateway-box .btn { width: 100%; margin-top: 14px; }
.gateway-fineprint {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.6;
}
.gateway-fineprint .icon { width: 12px; height: 12px; margin-top: 1px; flex: none; }

/* FPS */
.fps-box {
  margin-top: 19px;
  overflow: hidden;
  border: 1px solid #f0dada;
  border-radius: 16px;
  background: #fffafa;
}
.fps-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-bottom: 1px solid #f4e3e3;
  background: #fff5f5;
}
.fps-head .gateway-logo { width: 34px; height: 34px; background: #fff; border: 1px solid #f0dada; }
.fps-head strong { font-size: 12.5px; }
.fps-head span { display: block; margin-top: 1px; color: #9a7777; font-size: 9px; }
.fps-rows { padding: 3px 15px; }
.fps-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed #f1e4e4;
}
.fps-row:last-child { border-bottom: 0; }
.fps-row dt { flex: none; color: #8e7a7a; font-size: 9.5px; }
.fps-row dd { min-width: 0; text-align: right; color: #31262a; font-size: 10.5px; font-weight: 600; line-height: 1.5; word-break: break-word; }
.fps-row dd.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.01em; }
.fps-row dd.amount { color: #b21f2d; font-size: 14px; font-weight: 700; }
.fps-row .copy-btn { margin-left: 5px; vertical-align: 1px; }
.fps-help {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 11px 15px;
  border-top: 1px solid #f4e3e3;
  background: #fff8f8;
  color: #8a6b6b;
  font-size: 9px;
  line-height: 1.65;
}
.fps-help .icon { width: 12px; height: 12px; margin-top: 1px; flex: none; }
.copy-all { width: 100%; margin-top: 12px; }

/* Success */
.success-view { padding: 8px 0 2px; text-align: center; }
.success-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 4px auto 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  box-shadow: 0 0 0 9px rgba(15, 159, 110, 0.07), 0 14px 32px rgba(15, 159, 110, 0.13);
  animation: pop 0.45s cubic-bezier(0.2, 1.4, 0.5, 1) both;
}
.success-mark .icon { width: 34px; height: 34px; stroke-width: 1.8; }
.success-mark.pending-mark {
  background: var(--brand-soft);
  color: var(--brand);
  box-shadow: 0 0 0 9px rgba(47, 111, 237, 0.06), 0 14px 32px rgba(47, 111, 237, 0.13);
}
.success-view h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; }
.success-view > p { max-width: 310px; margin: 7px auto 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.success-view > p strong { color: var(--ink); font-weight: 650; }
.receipt {
  margin: 20px 0 4px;
  padding: 4px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8fafd;
  text-align: left;
}
.receipt-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 10px;
}
.receipt-row:last-child { border-bottom: 0; }
.receipt-row span:last-child { color: var(--ink); font-weight: 550; text-align: right; }
.receipt-row .mono { font-family: var(--mono); font-size: 9.5px; font-weight: 400; }
.success-note {
  margin: 13px 0 16px;
  padding: 9px 11px;
  border-radius: 8px;
  background: var(--amber-soft);
  color: #806222;
  font-size: 9px;
  line-height: 1.65;
  text-align: left;
}
.success-note.is-ok { background: var(--green-soft); color: #0c7654; }
.success-actions { display: grid; gap: 7px; }

/* Terms modal */
.terms-modal { width: min(620px, 100%); }
.checkout-modal { width: min(500px, 100%); }
.checkout-modal .modal-topbar { padding-top: 11px; padding-bottom: 11px; }
.terms-body h2 { font-size: 22px; letter-spacing: -0.025em; }
.terms-updated { margin-top: 4px; color: var(--muted-2); font-size: 9.5px; }
.terms-body ol { display: grid; gap: 11px; margin: 20px 0; padding-left: 18px; }
.terms-body li { padding-left: 3px; color: var(--muted); font-size: 11.5px; line-height: 1.85; }
.terms-body li strong { color: var(--ink); font-weight: 650; }
.terms-body li a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.terms-note {
  padding: 10px 12px;
  border: 1px solid #f2e2bf;
  border-radius: 9px;
  background: var(--amber-soft);
  color: #806222;
  font-size: 9.5px;
  line-height: 1.6;
}

/* ==========================================================================
   Toast / misc
   ========================================================================== */

.toast-region {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: max-content;
  max-width: calc(100% - 32px);
  pointer-events: none;
  transform: translateX(-50%);
}
.toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: rgba(7, 21, 34, 0.94);
  color: #eef8ff;
  font-size: 11px;
  line-height: 1.45;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: toastIn 0.22s ease both;
}
.toast .icon { width: 14px; height: 14px; color: #7de2b8; }
.toast.is-error { border-color: rgba(255, 143, 143, 0.24); }
.toast.is-error .icon { color: #ffb4b4; }
.toast.is-out { animation: toastOut 0.2s ease both; }

.noscript {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

/* ==========================================================================
   Motion
   ========================================================================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop {
  0% { opacity: 0; transform: scale(0.65); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(8px); }
}

.hero-copy > * { animation: fadeUp 0.8s cubic-bezier(0.2, 0.75, 0.25, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.1s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.2s; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .hero-inner { gap: 38px; }
  .checkout-shell { grid-template-columns: minmax(0, 1fr) 348px; gap: 22px; }
  .pass-stage { max-width: 400px; }
  .float-card-a { right: -4px; }
  .float-card-b { left: -12px; }
}

@media (max-width: 1020px) {
  .hero { padding-top: 132px; }
  .hero h1 { font-size: 50px; }
  .hero-lede { font-size: 15px; }
  .product-tab { padding: 12px; }
  .tab-copy strong { font-size: 12.5px; }
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 980px) {
  .site-nav { display: none; }
  .header-account { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 650px; }
  .pass-stage { margin: 0 auto; max-width: 470px; }
  .float-card-a { top: -26px; right: 0; }
  .float-card-b { bottom: -28px; left: 0; }
  .checkout-shell { grid-template-columns: 1fr; padding-top: 44px; }
  .summary { position: static; max-width: 620px; margin-inline: auto; }
  .mobile-buybar { display: flex; }
  body { padding-bottom: 86px; }
  .faq-section { grid-template-columns: 1fr; gap: 34px; }
  .faq-intro { position: static; }
  .faq-intro > p:not(.section-kicker) { max-width: 480px; }
  .toast-region { bottom: 94px; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .site-header { padding: 12px 0; }
  .brand > img { width: 33px; height: 33px; }
  .brand-words strong { font-size: 15.5px; }
  .brand-words span { font-size: 7.5px; }
  .account-copy { display: none; }
  .header-account { padding: 3px; border-radius: 50%; }
  .account-avatar { width: 31px; height: 31px; }
  .hero { padding: 118px 0 88px; }
  .hero h1 { font-size: 44px; }
  .hero-lede { font-size: 14.5px; }
  .hero-flake-a { top: 100px; left: -80px; }
  .hero-flake-b { display: none; }
  .pass-stage { max-width: 410px; }
  .pass-card { padding: 21px; border-radius: 21px; }
  .pass-middle strong { font-size: 18px; }
  .pass-orbit { width: 140px; height: 140px; right: 10%; }
  .quick-trust { grid-template-columns: repeat(2, 1fr); padding: 6px; }
  .quick-trust > div { border-right: 0; padding: 11px 13px; }
  .quick-trust > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .quick-trust > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .quick-trust small { font-size: 9.5px; }
  .account-block { margin-bottom: 24px; }
  .account-card { padding: 17px; border-radius: 20px; }
  .account-grid { grid-template-columns: 1fr; gap: 12px; }
  .account-label { font-size: 11.5px; }
  .account-input-wrap input { height: 46px; font-size: 16px; }
  .account-input-wrap input::placeholder { font-size: 13px; }
  .manual-flow { grid-template-columns: repeat(2, 1fr); gap: 8px 0; }
  .manual-flow li:nth-child(2)::after { display: none; }
  .manual-flow li { padding-right: 10px; font-size: 9.5px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .section-head h2 { font-size: 26px; }
  .section-desc { padding-bottom: 0; white-space: normal; font-size: 11.5px; }
  .product-tabs { gap: 8px; }
  .product-tab { flex-direction: column; align-items: flex-start; gap: 8px; padding: 11px 10px; border-radius: 13px; }
  .tab-icon { width: 33px; height: 33px; border-radius: 9px; }
  .tab-icon .icon { width: 18px; height: 18px; }
  .tab-copy strong { font-size: 11.5px; white-space: normal; line-height: 1.3; }
  .tab-copy small { display: none; }
  .panel-card { padding: 18px; border-radius: 20px; }
  .tier-select-block { padding: 10px; margin-bottom: 12px; }
  .tier-select-head small { display: none; }
  .tier-options { gap: 6px; }
  .tier-card { padding: 9px 8px; border-radius: 9px; }
  .tier-card-top { padding-right: 15px; }
  .tier-card-top strong { font-size: 11.5px; }
  .tier-card small { font-size: 8.5px; }
  .tier-check { top: 7px; right: 7px; width: 13px; height: 13px; }
  .tier-check .icon { width: 8px; height: 8px; }
  .panel-head { flex-direction: column; gap: 7px; margin-bottom: 14px; }
  .panel-head p { font-size: 11.5px; }
  .instant-pill { align-self: flex-start; }
  .plans { grid-template-columns: 1fr; gap: 8px; }
  .plan {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "top price" "meta price";
    align-items: center;
    gap: 2px 12px;
    padding: 13px 14px;
  }
  .plans--single .plan { gap: 2px 12px; padding: 13px 14px; }
  .plan-top { grid-area: top; padding-right: 0; }
  .plan-price { grid-area: price; margin: 0; font-size: 25px; }
  .plan-price del { display: inline; margin-left: 4px; font-size: 9px; }
  .plan-meta { grid-area: meta; margin-top: 0; }
  .plan-check { display: none; }
  .plan-note { margin-top: 12px; padding-top: 11px; }
  .perks { gap: 10px; margin-top: 14px; padding-top: 14px; }
  .perk-copy small { font-size: 9px; }
  .pay-card { padding: 11px 10px; }
  .pay-mark { width: 35px; height: 35px; }
  .pay-copy strong { font-size: 11.5px; }
  .pay-copy small { font-size: 8.5px; }
  .summary { padding: 20px; border-radius: 22px; max-width: none; margin-inline: 0; }
  .summary-total-price { font-size: 32px; }
  .faq-section { padding-top: 46px; padding-bottom: 60px; }
  .faq-intro h2 { font-size: 30px; }
  .faq-item summary { padding: 14px 15px; font-size: 12px; }
  .faq-answer { padding: 0 15px 14px; font-size: 11px; }
  .footer-top { flex-direction: column; gap: 30px; }
  .footer-links { gap: 54px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .modal { padding: 0; align-items: end; }
  .modal-panel {
    width: 100%;
    max-height: 94dvh;
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
    animation: sheetIn 0.28s cubic-bezier(0.2, 0.8, 0.25, 1) both;
  }
  .modal-body { padding: 20px 18px calc(22px + env(safe-area-inset-bottom)); }
  .qr-frame { width: 218px; height: 218px; }
  .terms-modal { max-height: 92dvh; }
}

@media (max-width: 520px) {
  .shell { width: calc(100% - 32px); }
  .brand-words span { display: none; }
  .brand-words strong { font-size: 16px; }
  .hero { padding-top: 106px; padding-bottom: 78px; }
  .eyebrow { font-size: 9px; letter-spacing: 0.14em; }
  .hero h1 { margin: 17px 0 16px; font-size: 37px; letter-spacing: -0.04em; }
  .hero-lede { font-size: 13.5px; line-height: 1.75; }
  .hero-trust { gap: 9px 15px; margin-top: 22px; font-size: 11px; }
  .hero-actions { margin-top: 27px; gap: 16px; }
  .hero-actions .btn { flex: 0 1 auto; }
  .hero-actions .text-link { flex: none; font-size: 12px; }
  .pass-stage { max-width: 100%; }
  .pass-card { aspect-ratio: 1.55; padding: 17px; border-radius: 19px; transform: rotate(-2.2deg); }
  .pass-stage:hover .pass-card { transform: rotate(-2.2deg); }
  .pass-brand { font-size: 9px; gap: 6px; }
  .pass-brand img { width: 23px; height: 23px; border-radius: 6px; }
  .pass-type { font-size: 7px; letter-spacing: 0.1em; }
  .pass-orbit { width: 112px; height: 112px; right: 8%; }
  .orbit-core .icon { width: 25px; height: 25px; }
  .pass-middle { padding-top: 26px; }
  .pass-middle strong { font-size: 16.5px; }
  .pass-label { font-size: 8px; }
  .pass-bottom span { font-size: 6.5px; }
  .pass-bottom strong { font-size: 9.5px; }
  .pass-star { width: 17px; height: 17px; }
  .float-card { display: none; }
  .quick-trust-wrap { margin-top: -26px; }
  .quick-trust > div { gap: 8px; padding: 10px 9px; }
  .quick-icon { width: 30px; height: 30px; border-radius: 8px; }
  .quick-icon .icon { width: 15px; height: 15px; }
  .quick-trust strong { font-size: 11px; }
  .quick-trust small { font-size: 8.5px; }
  .checkout-shell { padding-top: 36px; }
  .checkout-block { margin-bottom: 36px; }
  .account-card { padding: 14px; border-radius: 18px; }
  .account-note-box { padding: 12px; }
  .account-note-line { gap: 6px; }
  .account-note-line code { font-size: 10px; }
  .account-note-line .copy-btn { padding: 4px 6px; }
  .manual-flow { gap: 7px 0; }
  .manual-flow b { width: 17px; height: 17px; font-size: 8px; }
  .manual-flow li { gap: 5px; font-size: 9px; }
  .section-head h2 { font-size: 24px; }
  .product-tabs { gap: 6px; }
  .product-tab { padding: 9px 8px; gap: 6px; }
  .tab-icon { width: 29px; height: 29px; }
  .tab-icon .icon { width: 16px; height: 16px; }
  .tab-copy strong { font-size: 10.5px; }
  .panel-card { padding: 14px; border-radius: 18px; }
  .tier-select-block { padding: 9px; margin-bottom: 11px; }
  .tier-options { gap: 5px; }
  .tier-card { padding: 8px 7px; }
  .tier-card-top strong { font-size: 11px; }
  .tier-card small { font-size: 8px; }
  .tier-check { top: 6px; right: 6px; }
  .panel-head p { font-size: 11px; }
  .plan { padding: 12px 13px; }
  .plan-price { font-size: 23px; }
  .plan-name { font-size: 12.5px; }
  .plan-meta { font-size: 9.8px; }
  .perks { grid-template-columns: 1fr 1fr; gap: 9px; }
  .perk { gap: 7px; padding: 0; }
  .perk-icon { width: 26px; height: 26px; }
  .perk-copy strong { font-size: 10px; }
  .perk-copy small { font-size: 8.5px; }
  .pay-grid { gap: 7px; }
  .pay-card { gap: 7px; padding: 10px 8px; border-radius: 12px; }
  .pay-mark { width: 31px; height: 31px; border-radius: 9px; }
  .mark-wechat svg { width: 20px; height: 20px; }
  .mark-alipay .mark-letter { width: 21px; height: 21px; font-size: 14px; }
  .mark-paypal .pp { font-size: 19px; width: 22px; }
  .mark-fps .fps { font-size: 7.5px; padding: 2px 3px; }
  .pay-copy strong { font-size: 10.5px; }
  .pay-copy small { display: none; }
  .pay-hint { padding: 9px 10px; font-size: 10px; }
  .security-line { font-size: 9.5px; }
  .summary { padding: 18px; border-radius: 20px; }
  .summary-head h2 { font-size: 15px; }
  .summary-product-icon { width: 38px; height: 38px; }
  .summary-product-copy strong { font-size: 12.5px; }
  .summary-total-price { font-size: 30px; }
  .summary .btn-pay { min-height: 46px; }
  .faq-intro h2 { font-size: 27px; }
  .footer-links { gap: 38px; }
  .footer-bottom { font-size: 8.5px; }
  .mobile-buybar { padding-left: 12px; padding-right: 12px; gap: 9px; }
  .mobile-buybar-info span { max-width: 156px; }
  .mobile-buybar .btn { min-width: 112px; padding: 9px 14px; }
  .checkout-head h2 { font-size: 19px; }
  .checkout-head .checkout-account { max-width: 100%; font-size: 9px; }
  .qr-frame { width: 202px; height: 202px; }
  .pay-manual { padding: 10px; }
  .pay-manual-row { gap: 7px; font-size: 9.5px; }
  .pay-manual-row > strong { font-size: 13px; }
  .pay-manual-row code { padding: 4px 6px; font-size: 9.5px; }
  .pay-manual-row .copy-btn { padding: 3px 5px; font-size: 8.5px; }
  .pay-manual-tip { font-size: 8.5px; }
  .modal-body { padding-left: 16px; padding-right: 16px; }
  .gateway-amount { font-size: 27px; }
  .fps-head { padding: 11px 12px; }
  .fps-rows { padding: 2px 12px; }
  .fps-row { gap: 10px; }
  .fps-row dd { font-size: 10px; }
  .terms-body h2 { font-size: 19px; }
  .terms-body li { font-size: 10.5px; }
}

@keyframes sheetIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-height: 640px) and (min-width: 761px) {
  .modal { align-items: start; overflow-y: auto; padding: 12px; }
  .modal-panel { max-height: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
