/* =========================================================
 * 码桥 VerifyBridge · 虚拟号码与短信验证码接收
 * 风格层级：minimal-light / clean-business
 * 设计令牌统一在 :root，全站不得出现令牌外的颜色与间距
 * =======================================================*/

/* ---------- 1. Tokens ---------- */
:root {
  /* color */
  --primary: #0E7C7B;
  --primary-hover: #0B6463;
  --primary-deep: #0A5251;
  --primary-soft: #E8F2F1;
  --primary-line: #C2DEDC;
  --amber: #B8730A;
  --success: #17A673;
  --danger: #CE4436;
  --ink: #16212E;
  --ink-soft: #556375;
  --ink-faint: #8994A3;
  --bg: #F3F6F6;
  --surface: #FFFFFF;
  --surface-alt: #F8FAFA;
  --border: #E2E7EA;
  --border-strong: #D2D9DD;
  --dark: #0C1A1D;
  --dark-2: #122528;
  --dark-line: #23383B;

  /* radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* shadow */
  --sh-sm: 0 1px 2px rgba(16, 32, 48, .06);
  --sh-md: 0 10px 28px -14px rgba(16, 32, 48, .22);
  --sh-lg: 0 30px 64px -30px rgba(12, 32, 40, .32);

  /* font */
  --font-body: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", Consolas, "Courier New", monospace;

  /* layout */
  --maxw: 1160px;
  --nav-h: 68px;
}

/* ---------- 2. Reset / Base ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img, svg { display: block; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3. Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow i { width: 22px; height: 2px; background: var(--primary); border-radius: 2px; }

.section { padding: 96px 0; }
.section--soft { background: var(--surface); }
.section--ink { background: var(--dark); color: #E9F2F1; position: relative; overflow: hidden; }
.section--ink::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(720px 340px at 82% -10%, rgba(14, 124, 123, .34), transparent 70%);
  pointer-events: none;
}
.section--ink .container { position: relative; z-index: 1; }

.section__head { max-width: 640px; margin-bottom: 44px; }
.section__head h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; margin: 14px 0 12px; }
.section__head p { color: var(--ink-soft); font-size: 16px; }
.section__head--light h2 { color: #fff; }
.section__head--light p { color: rgba(233, 242, 241, .68); }
.section__head--light .eyebrow { color: #7ED7D3; }
.section__head--light .eyebrow i { background: #7ED7D3; }

/* reveal choreography */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn--lg { padding: 14px 26px; font-size: 16px; border-radius: var(--r-md); }
.btn--sm { padding: 8px 14px; font-size: 14px; border-radius: var(--r-sm); }
.btn--full { width: 100%; }

.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 22px -12px rgba(14, 124, 123, .8); }
.btn--primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); background: var(--primary-deep); }
.btn--primary:disabled { background: var(--primary); opacity: .42; box-shadow: none; cursor: not-allowed; transform: none; }

.btn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--border-strong); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.btn--ghost:disabled { opacity: .5; cursor: not-allowed; }

.btn.is-loading { pointer-events: none; }
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 5. Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--nav-h);
  background: rgba(243, 246, 246, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled { background: rgba(255, 255, 255, .9); border-bottom-color: var(--border); box-shadow: 0 6px 24px -18px rgba(16, 32, 48, .4); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--primary); color: #fff; box-shadow: 0 8px 18px -10px rgba(14, 124, 123, .9);
}
.brand__mark .icon { width: 19px; height: 19px; }
.brand__text { font-weight: 800; font-size: 17px; letter-spacing: .01em; display: flex; align-items: baseline; gap: 6px; }
.brand__text em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--ink-faint); text-transform: uppercase; }
.brand--light .brand__text { color: #fff; }
.brand--light .brand__text em { color: rgba(255, 255, 255, .5); }

.nav__links { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav__links a {
  position: relative; padding: 8px 10px; border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  transition: color .18s ease, background .18s ease;
}
.nav__links a:hover { color: var(--ink); background: rgba(14, 124, 123, .07); }
.nav__links a.is-active { color: var(--primary); font-weight: 600; }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 1px; height: 2px;
  background: var(--primary); border-radius: 2px;
}
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); place-items: center; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 78px) 0 84px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(10px); }
.hero__glow--a { top: -180px; right: -120px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(14, 124, 123, .28), transparent 66%); }
.hero__glow--b { bottom: -240px; left: -160px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(184, 115, 10, .14), transparent 68%); }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(16, 32, 48, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 32, 48, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000, transparent 74%);
  mask-image: radial-gradient(circle at 50% 22%, #000, transparent 74%);
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero__title { font-size: clamp(30px, 5.2vw, 52px); font-weight: 800; letter-spacing: -.02em; margin: 20px 0 18px; }
.hero__lead { max-width: 620px; margin: 0 auto; color: var(--ink-soft); font-size: 17px; }
.hero__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  max-width: 760px; margin: 56px auto 0;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .7); backdrop-filter: blur(6px);
  padding: 22px 8px; box-shadow: var(--sh-sm);
}
.hero__stats li { text-align: center; }
.hero__stats strong { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--primary-deep); }
.hero__stats span { font-size: 13px; color: var(--ink-faint); }

/* ---------- 7. Region switch (需求 1) ---------- */
.region__wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; }
.region {
  position: relative; display: inline-block; padding: 5px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); box-shadow: var(--sh-sm);
}
.region__btns { position: relative; display: flex; gap: 4px; }
.region__indicator {
  position: absolute; top: 0; left: 0; height: 100%; border-radius: var(--r-pill);
  background: var(--primary); box-shadow: 0 10px 20px -12px rgba(14, 124, 123, .9);
  transition: transform .34s cubic-bezier(.34, 1.4, .5, 1), width .34s cubic-bezier(.34, 1.4, .5, 1);
}
.region__btn {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 26px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  transition: color .28s ease;
}
.region__btn .region__tag {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .09em;
  padding: 2px 7px; border-radius: 6px; background: rgba(16, 32, 48, .06);
  transition: background .28s ease, color .28s ease;
}
.region__btn.is-active { color: #fff; }
.region__btn.is-active .region__tag { background: rgba(255, 255, 255, .22); color: #fff; }
.region__note { font-size: 14px; color: var(--ink-faint); }

/* ---------- 8. Category cards (需求 2) ---------- */
.cat__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; }
.cat {
  display: flex; flex-direction: column; gap: 12px; text-align: left;
  padding: 20px; border-radius: var(--r-lg);
  background: var(--surface); border: 1.5px solid var(--border);
  box-shadow: var(--sh-sm); position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.cat:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--sh-md); }
.cat.is-selected { border-color: var(--primary); background: linear-gradient(180deg, var(--primary-soft), #fff 62%); box-shadow: 0 16px 34px -20px rgba(14, 124, 123, .6); }
.cat__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cat__id { display: flex; flex-direction: column; gap: 3px; }
.cat__name { font-size: 17px; font-weight: 700; }
.cat__carrier { font-size: 12.5px; color: var(--ink-faint); letter-spacing: .01em; }
.cat__check {
  display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px;
  border-radius: 50%; background: var(--primary); color: #fff;
  opacity: 0; transform: scale(.5); transition: opacity .2s ease, transform .24s cubic-bezier(.34, 1.5, .5, 1);
}
.cat__check .icon { width: 15px; height: 15px; stroke-width: 2.6; }
.cat.is-selected .cat__check { opacity: 1; transform: none; }
.cat__desc { display: block; font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.cat__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: var(--r-pill);
  background: rgba(14, 124, 123, .09); color: var(--primary-deep);
}
.cat__meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--border-strong); }
.cat__price { font-size: 25px; font-weight: 800; color: var(--amber); letter-spacing: -.02em; line-height: 1; }
.cat__price em { font-size: 14px; font-style: normal; font-weight: 700; margin-right: 2px; }
.cat__price small { font-size: 12px; font-weight: 500; color: var(--ink-faint); margin-left: 2px; }
.cat__stats { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12px; color: var(--ink-faint); font-family: var(--font-mono); }

.cat--skeleton { gap: 14px; pointer-events: none; }
.sk { display: block; border-radius: 6px; background: linear-gradient(90deg, #EEF1F2 25%, #F6F8F8 37%, #EEF1F2 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; }
.sk--line { height: 14px; width: 70%; }
.sk--line.sk--short { width: 42%; }
.sk--block { height: 44px; }
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* ---------- 9. Acquire panel ---------- */
.acquire {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px;
  margin-top: 22px; padding: 20px 22px;
  border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--sh-sm);
}
.acquire__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.acquire__row { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 4px; flex-wrap: wrap; }
.acquire__row strong { font-size: 19px; font-weight: 700; }
.acquire__price { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--amber); }
.acquire__desc { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 10. Number ticket + SMS ---------- */
.numbox {
  margin-top: 18px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1.5px solid var(--primary-line);
  box-shadow: var(--sh-md);
}
.numbox__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; background: var(--primary-soft); }
.numbox__label { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-deep); }
.numbox__timer { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--primary-deep); }
.numbox__timer.is-over { color: var(--danger); }
.numbox__value { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border-bottom: 1px dashed var(--border-strong); }
.numbox__value > span { font-family: var(--font-mono); font-size: clamp(20px, 3.4vw, 28px); font-weight: 700; letter-spacing: .04em; }
.sms { padding: 18px 22px; min-height: 92px; }
.sms__wait { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-faint); }
.sms__dots { display: inline-flex; gap: 4px; }
.sms__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: dot 1.1s ease infinite; }
.sms__dots i:nth-child(2) { animation-delay: .16s; }
.sms__dots i:nth-child(3) { animation-delay: .32s; }
@keyframes dot { 0%, 60%, 100% { opacity: .28; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.sms__msg { animation: pop .34s cubic-bezier(.22,.61,.36,1); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sms__from { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--primary); margin-bottom: 6px; }
.sms__text { font-size: 15px; color: var(--ink); background: var(--surface-alt); border-left: 3px solid var(--primary); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 10px 14px; }
.sms__code { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--ink-faint); }
.sms__code strong { font-family: var(--font-mono); font-size: 20px; letter-spacing: .18em; color: var(--amber); }
.numbox__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 22px; background: var(--surface-alt); border-top: 1px solid var(--border); }
.numbox__hint { font-size: 12.5px; color: var(--ink-faint); }

/* ---------- 11. Blacklist (需求 3) ---------- */
.bl { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 22px; align-items: start; }
.bl__form, .bl__list {
  border-radius: var(--r-lg); padding: 24px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--dark-line);
  backdrop-filter: blur(4px);
}
.bl__formtitle { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: rgba(233, 242, 241, .72); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border-radius: var(--r-md);
  font-family: var(--font-mono); font-size: 15px; color: #fff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--dark-line);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field input::placeholder { color: rgba(233, 242, 241, .34); font-family: var(--font-body); letter-spacing: 0; }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--primary);
  background: rgba(14, 124, 123, .14);
  box-shadow: 0 0 0 3px rgba(14, 124, 123, .22);
}
.selectwrap { position: relative; }
.selectwrap select { appearance: none; -webkit-appearance: none; font-family: var(--font-body); padding-right: 40px; cursor: pointer; }
.selectwrap select option { color: var(--ink); }
.selectwrap .icon { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: rgba(233, 242, 241, .6); pointer-events: none; }
.field__hint { font-size: 12.5px; color: rgba(233, 242, 241, .52); line-height: 1.55; margin: 2px 0 16px; transition: color .18s ease; }
.field__hint.is-error { color: #F1A99F; }
.field__hint.is-success { color: #78DFC0; }
.bl__quick { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--dark-line); }
.bl__quick > span { font-size: 12.5px; color: rgba(233, 242, 241, .5); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-family: var(--font-mono); font-size: 12px; padding: 5px 10px; border-radius: var(--r-pill);
  color: rgba(233, 242, 241, .82); background: rgba(255, 255, 255, .07); border: 1px solid var(--dark-line);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.chip:hover { background: rgba(14, 124, 123, .3); border-color: var(--primary); color: #fff; }

.bl__listhead { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.bl__listhead h3 { font-size: 18px; font-weight: 700; color: #fff; }
.bl__count { font-family: var(--font-mono); font-size: 13px; color: #7ED7D3; }
.bl__items { display: flex; flex-direction: column; gap: 8px; }
.bl__item {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px;
  border-radius: var(--r-md); background: rgba(255, 255, 255, .05); border: 1px solid var(--dark-line);
  transition: background .18s ease, border-color .18s ease;
}
.bl__item:hover { background: rgba(255, 255, 255, .08); border-color: var(--primary); }
.bl__ico { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: rgba(206, 68, 54, .16); color: #F08C80; }
.bl__ico .icon { width: 17px; height: 17px; }
.bl__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.bl__phone { font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: #fff; letter-spacing: .02em; }
.bl__sub { font-size: 12.5px; color: rgba(233, 242, 241, .5); }
.bl__remove {
  display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 10px; color: rgba(233, 242, 241, .55);
  transition: background .18s ease, color .18s ease;
}
.bl__remove .icon { width: 17px; height: 17px; }
.bl__remove:hover { background: rgba(206, 68, 54, .22); color: #F08C80; }
.bl__empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 40px 0; text-align: center; color: rgba(233, 242, 241, .5); }
.bl__empty .icon { width: 30px; height: 30px; color: rgba(126, 215, 211, .6); }
.bl__empty p { font-size: 15px; font-weight: 600; color: rgba(233, 242, 241, .8); }
.bl__empty span { font-size: 13px; }

/* ---------- 12. Features ---------- */
.feat__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.feat {
  padding: 24px; border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--primary-line); }
.feat__ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  background: var(--primary-soft); color: var(--primary-deep); margin-bottom: 16px;
}
.feat__ico .icon { width: 22px; height: 22px; }
.feat h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feat p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

/* 联系方式卡片：4 项一行，窄屏仍按 .feat__grid 自动降列 */
.feat__grid--contact { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* ---------- 13. FAQ ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 22px 4px; text-align: left; font-size: 16.5px; font-weight: 600; color: var(--ink);
  transition: color .18s ease;
}
.faq__q:hover { color: var(--primary); }
.faq__q .icon { width: 20px; height: 20px; flex: 0 0 20px; color: var(--ink-faint); transition: transform .3s ease, color .18s ease; }
.faq__item.is-open .faq__q { color: var(--primary); }
.faq__item.is-open .faq__q .icon { transform: rotate(180deg); color: var(--primary); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .34s cubic-bezier(.22,.61,.36,1); }
.faq__item.is-open .faq__a { max-height: 260px; }
.faq__a p { padding: 0 4px 22px; color: var(--ink-soft); font-size: 14.5px; max-width: 74ch; }

/* ---------- 14. Compliance ---------- */
.compliance { padding: 0 0 8px; }
.compliance__inner {
  display: flex; gap: 18px; padding: 26px 28px;
  border-radius: var(--r-lg); background: var(--primary-soft);
  border: 1px solid var(--primary-line);
}
.compliance__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; background: var(--primary); color: #fff; }
.compliance__icon .icon { width: 23px; height: 23px; }
.compliance h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.compliance p { font-size: 14px; color: var(--ink-soft); line-height: 1.72; max-width: 92ch; }

/* ---------- 15. Footer ---------- */
.footer { margin-top: 84px; padding: 56px 0 28px; background: var(--dark); color: rgba(233, 242, 241, .66); }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr); gap: 40px; }
.footer__brand p { margin-top: 14px; font-size: 13.5px; max-width: 40ch; line-height: 1.7; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 12px; }
.footer__cols a { display: block; font-size: 14px; padding: 5px 0; transition: color .18s ease; }
.footer__cols a:hover { color: #7ED7D3; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--dark-line);
  font-size: 12.5px; color: rgba(233, 242, 241, .42);
}

/* ---------- 16. Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--r-pill);
  background: rgba(12, 26, 29, .95); color: #fff;
  font-size: 14px; font-weight: 500; box-shadow: var(--sh-lg);
  opacity: 0; transform: translate(-50%, 20px); pointer-events: none;
  transition: opacity .28s ease, transform .28s cubic-bezier(.22,.61,.36,1);
  max-width: min(90vw, 460px);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast__icon { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; }
.toast__icon .icon { width: 18px; height: 18px; }
.toast--success .toast__icon { color: #5FE0B4; }
.toast--error .toast__icon { color: #F09A8E; }
.toast--info .toast__icon { color: #7ED7D3; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 980px) {
  .bl { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
}
/* 导航折叠：8 个导航项在 1160px 容器内约需 1070px，
   故当视口不足以容纳整个容器（≤1160px）时收起为下拉，避免导航挤压/溢出 */
@media (max-width: 1160px) {
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 20px 18px; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px -24px rgba(16, 32, 48, .5);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  body.nav-open .nav__links { opacity: 1; transform: none; visibility: visible; }
  .nav__links a { padding: 12px; font-size: 15.5px; }
  .nav__links a.is-active::after { display: none; }
  .nav__toggle { display: grid; }
}
@media (max-width: 820px) {
  :root { --nav-h: 62px; }
  .section { padding: 68px 0; }
  #docBtn { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 52px); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; padding: 20px; }
  .region__wrap { align-items: flex-start; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .brand__text em { display: none; }
  .cat__grid, .feat__grid { grid-template-columns: 1fr; }
  .region { width: 100%; }
  .region__btns { width: 100%; }
  .region__btn { flex: 1; justify-content: center; padding: 11px 14px; }
  .acquire { flex-direction: column; align-items: stretch; }
  .acquire .btn { width: 100%; }
  .numbox__value { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; }
}

/* =========================================================
 * 18. 号码记录页（orders.html）—— 复用同一套令牌与组件
 * =======================================================*/
.cat__segment { display: block; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); letter-spacing: .01em; }

/* 页头 */
.page-head { padding: calc(var(--nav-h) + 46px) 0 30px; }
.crumb { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; color: var(--ink-faint); }
.crumb a:hover { color: var(--primary); }
.crumb i { font-style: normal; opacity: .55; }
.page-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.page-head p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); max-width: 62ch; }

/* 统计 */
.ord { padding-bottom: 8px; }
.ord__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.ord__stat { padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-sm); }
.ord__stat strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.ord__stat span { font-size: 13px; color: var(--ink-faint); }
.ord__stat--received strong { color: var(--success); }
.ord__stat--waiting strong { color: var(--amber); }
.ord__stat--expired strong { color: var(--ink-faint); }

/* 工具栏 */
.ord__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; }
.region--sm .region__btn { padding: 9px 16px; font-size: 14px; }
.region--sm .region__tag { font-size: 10px; padding: 2px 6px; }
.picker { position: relative; }
.picker select, .picker input {
  height: 44px; padding: 0 14px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border-strong);
  font-size: 14.5px; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.picker select { appearance: none; -webkit-appearance: none; font-family: var(--font-body); padding-right: 38px; cursor: pointer; }
.picker .icon { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-faint); pointer-events: none; }
.picker input:focus, .picker select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14, 124, 123, .16); }
.picker--search input { padding-left: 40px; min-width: 236px; font-family: var(--font-mono); }
.picker--search input::placeholder { font-family: var(--font-body); color: var(--ink-faint); }
.picker--search .icon { left: 13px; right: auto; }

/* 记录列表 */
.ord__list { display: flex; flex-direction: column; gap: 12px; }
.ord__item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 20px 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-sm);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ord__item:hover { border-color: var(--primary-line); box-shadow: var(--sh-md); }
.ord__main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ord__lead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ord__region {
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; padding: 3px 9px;
  border-radius: var(--r-pill); background: var(--primary-soft); color: var(--primary-deep);
}
.badge { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 3px 9px; border-radius: var(--r-pill); }
.badge--received { background: rgba(23, 166, 115, .12); color: var(--success); }
.badge--waiting { background: rgba(184, 115, 10, .12); color: var(--amber); }
.badge--expired { background: var(--surface-alt); color: var(--ink-faint); }
.ord__num { font-family: var(--font-mono); font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.ord__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: var(--ink-soft); }
.ord__meta em { font-style: normal; margin-right: 6px; color: var(--ink-faint); }
.ord__meta b { font-weight: 600; color: var(--ink); }
.ord__code { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-faint); }
.ord__code strong { font-family: var(--font-mono); font-size: 17px; letter-spacing: .14em; color: var(--amber); }
.ord__actions { display: flex; flex-direction: column; gap: 8px; min-width: 152px; }
.ord__actions .btn { width: 100%; }
.btn--danger-ghost:hover { border-color: var(--danger); color: var(--danger); background: rgba(206, 68, 54, .08); }
.btn--danger-ghost:disabled { color: var(--ink-faint); border-color: var(--border); background: var(--surface-alt); cursor: not-allowed; }
.ord__item--skeleton { pointer-events: none; }
.ord__item--skeleton .sk--block { height: 34px; }
.sk--rail { width: 152px; height: 78px; }

/* 空状态（号码记录页与帮助中心共用） */
.ord__empty, .help__empty {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 70px 20px; text-align: center; color: var(--ink-faint);
  background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--r-lg);
}
.ord__empty .icon, .help__empty .icon { width: 32px; height: 32px; color: var(--primary); }
.ord__empty p, .help__empty p { font-size: 16px; font-weight: 600; color: var(--ink); }
.ord__empty span, .help__empty span { font-size: 13px; }

/* 记录页响应式 */
@media (max-width: 900px) {
  .ord__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .ord__item { grid-template-columns: 1fr; align-items: stretch; }
  .ord__actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .ord__actions .btn { width: auto; }
  .sk--rail { display: none; }
}
@media (max-width: 620px) {
  .picker--search { width: 100%; }
  .picker--search input { width: 100%; min-width: 0; }
  .ord__toolbar .region--sm { width: 100%; }
}

/* =========================================================
 * 19. 价格资费页（pricing.html）—— 复用同一套令牌与组件
 * =======================================================*/
.section--tight { padding: 72px 0; }

/* 套餐卡片 */
.plan__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 28px 26px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--primary-line); }
.plan--featured { border-color: var(--primary); box-shadow: 0 22px 44px -26px rgba(14, 124, 123, .7); }
.plan__badge {
  position: absolute; top: 16px; right: 16px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px;
  border-radius: var(--r-pill); background: var(--primary); color: #fff;
}
.plan__name { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.plan__tag { font-size: 13.5px; color: var(--ink-soft); margin-top: -8px; }
.plan__price { display: flex; align-items: baseline; gap: 3px; font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.plan__price em { font-style: normal; font-size: 17px; font-weight: 700; color: var(--ink-soft); }
.plan__price small { font-size: 14px; font-weight: 600; color: var(--ink-faint); }
.plan__price--free { color: var(--primary); font-size: 30px; }
.plan__perks { display: flex; flex-direction: column; gap: 11px; margin: 4px 0; }
.plan__perk { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.plan__perk .icon { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 2px; color: var(--success); stroke-width: 2.4; }
.plan__cta { margin-top: auto; }

/* 资费明细表 */
.tariff { display: flex; flex-direction: column; gap: 26px; }
.tariff__group { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-sm); overflow: hidden; }
.tariff__bar { display: flex; align-items: center; gap: 12px; padding: 16px 22px; background: var(--primary-soft); }
.tariff__flag { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 4px 10px; border-radius: var(--r-pill); background: var(--primary); color: #fff; }
.tariff__bar h3 { font-size: 16px; font-weight: 700; color: var(--primary-deep); }
.tariff__count { margin-left: auto; font-size: 13px; color: var(--ink-faint); }
.tariff__scroll { overflow-x: auto; }
.tariff__table { width: 100%; min-width: 660px; border-collapse: collapse; }
.tariff__table th, .tariff__table td { padding: 13px 20px; text-align: left; font-size: 14px; white-space: nowrap; border-bottom: 1px solid var(--border); }
.tariff__table th { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); background: var(--surface-alt); }
.tariff__table tbody tr:last-child td { border-bottom: 0; }
.tariff__table tbody tr:hover { background: var(--primary-soft); }
.tariff__name { font-weight: 600; color: var(--ink); }
.tariff__seg { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); }
.tariff__price { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--amber); }
.tariff__price small { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--ink-faint); }
.tariff__num { font-family: var(--font-mono); font-size: 13.5px; color: var(--ink-soft); }

/* 计费规则 */
.notes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.note { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-sm); }
.note__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-deep); }
.note__ico .icon { width: 20px; height: 20px; }
.note h3 { font-size: 15.5px; font-weight: 700; }
.note p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.62; }

/* 价格页响应式 */
@media (max-width: 980px) {
  .plan__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .notes__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .notes__grid { grid-template-columns: 1fr; }
  .plan { padding: 24px 20px; }
  .section--tight { padding: 56px 0; }
}

/* =========================================================
 * 20. 帮助中心页（help.html）—— 复用同一套令牌与组件
 * =======================================================*/
.help__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.help__bar .picker--search { flex: 1; min-width: 240px; max-width: 440px; }
.help__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.help__cat {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  background: var(--surface); border: 1px solid var(--border-strong);
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.help__cat:hover { color: var(--primary); border-color: var(--primary); }
.help__cat.is-active { color: #fff; background: var(--primary); border-color: var(--primary); }
.help__cat .icon { width: 16px; height: 16px; }
.help__group { margin-bottom: 30px; }
.help__ghead { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.help__ghead .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-deep); }
.help__ghead .ico .icon { width: 18px; height: 18px; }
.help__ghead h2 { font-size: 19px; font-weight: 700; }
.help__ghead .cnt { margin-left: auto; font-size: 13px; color: var(--ink-faint); }

@media (max-width: 620px) {
  .help__ghead h2 { font-size: 17px; }
}

/* =========================================================
 * 21. 模态框（套餐开通确认等）
 * =======================================================*/
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.modal__overlay { position: absolute; inset: 0; background: rgba(16, 32, 48, .48); }
.modal__panel {
  position: relative; width: 100%; max-width: 420px;
  padding: 26px 26px 22px; border-radius: var(--r-lg); background: var(--surface);
  box-shadow: 0 30px 60px -24px rgba(16, 32, 48, .5);
  animation: modalIn .22s cubic-bezier(.22, .61, .36, 1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--ink-faint); }
.modal__close:hover { background: var(--surface-alt); color: var(--ink); }
.modal__close .icon { width: 18px; height: 18px; }
.modal__title { margin-bottom: 14px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.modal__body { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.modal__lead { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; font-size: 15px; color: var(--ink); }
.modal__lead strong { font-family: var(--font-mono); font-size: 20px; font-weight: 800; color: var(--amber); }
.modal__note { font-size: 13px; color: var(--ink-faint); }
.modal__foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

@media (max-width: 520px) {
  .modal__foot { flex-direction: column-reverse; }
  .modal__foot .btn { width: 100%; }
}
