/* =========================================================
   wider — 前台样式
   版式语言：Dribbble「Pricing page — Untitled UI」
   白纸 / 细线 / 圆角 / 一张绿黑主推卡 / 荧光绿只给主操作
   ========================================================= */

/* Inter 自托管（OFL 许可）：不再依赖 fonts.googleapis.com，
   访问者 IP/UA 不会外发给第三方，CSP 也就不需要放开外部字体域名。 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #fbfcf8;
  --surface: #ffffff;
  --soft: #f6f8f2;
  --soft-2: #edf1e9;

  --ink: #121a15;
  --ink-2: #36433b;
  --body: #4c5b52;
  --muted: #6b7a70;
  --muted-2: #8b998f;

  --line: #e6ece2;
  --line-2: #eff3ec;

  --dark: #101d16;
  --dark-2: #26382c;
  --on-dark: #d5dfd7;
  --on-dark-muted: #a3b3a7;

  --accent: #bcf24d;
  --accent-h: #ade83a;
  --accent-soft: #f2fbe1;
  --accent-tint: #f8fdee;
  --accent-line: #dcefb8;
  --accent-ink: #3c5c0d;

  --success: #12b76a;
  --success-soft: #e9fbf1;
  --danger: #d92d20;
  --danger-soft: #fef3f2;
  --warn: #b54708;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-card: 18px;
  --r-full: 999px;

  --shadow-xs: 0 1px 2px rgba(16, 29, 22, 0.06);
  --shadow-sm: 0 1px 3px rgba(16, 29, 22, 0.08), 0 1px 2px rgba(16, 29, 22, 0.04);
  --shadow-md: 0 8px 20px -8px rgba(16, 29, 22, 0.16), 0 2px 4px -2px rgba(16, 29, 22, 0.06);
  --shadow-lg: 0 20px 40px -14px rgba(16, 29, 22, 0.2), 0 6px 12px -6px rgba(16, 29, 22, 0.08);
  --shadow-xl: 0 32px 64px -16px rgba(16, 29, 22, 0.26);
  --glow-lime: 0 10px 28px -12px rgba(150, 222, 40, 0.7);

  --nav-h: 72px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
::selection { background: var(--accent); color: var(--ink); }

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

.ico {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: 1216px;
  margin-inline: auto;
  padding-inline: 32px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ============ nav ============ */

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  background: rgba(251, 252, 248, 0.82);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 100%;
  max-width: 1216px;
  margin-inline: auto;
  padding-inline: 32px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 0 0 1px rgba(16, 29, 22, 0.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--soft-2); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after {
  content: '';
  display: block;
  height: 2px;
  margin-top: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.nav-menu-cta { display: none; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 11px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-2);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease,
    box-shadow 0.16s ease, transform 0.16s ease;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), var(--shadow-xs);
}
.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), var(--glow-lime);
}
.btn-primary:active { transform: translateY(0); }

.btn-dark {
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow-xs);
}
.btn-dark:hover { background: #1b2d21; }

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover { background: var(--soft); border-color: #d3dccf; }

.btn-soft {
  background: var(--soft);
  border-color: var(--line);
  color: var(--ink-2);
}
.btn-soft:hover { background: var(--soft-2); border-color: #d3dccf; color: var(--ink); }

.btn-sm { height: 36px; padding: 0 12px; font-size: 13px; border-radius: var(--r-sm); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 15px; border-radius: 13px; }
.btn-block { width: 100%; }

.linkish {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: inherit;
  text-decoration: underline;
  text-decoration-color: #c3cfbe;
  text-underline-offset: 3px;
  cursor: pointer;
}
.linkish:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* ============ hero ============ */

.hero {
  position: relative;
  padding-block: 104px 84px;
  text-align: center;
  background: radial-gradient(42% 46% at 50% 6%, rgba(188, 242, 77, 0.2), rgba(188, 242, 77, 0) 72%);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 15px 0 12px;
  border: 1px solid var(--accent-line);
  border-radius: var(--r-full);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.hero-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-h);
  box-shadow: 0 0 0 4px rgba(188, 242, 77, 0.3);
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.022em;
}

.hero .lead {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.btn-video { gap: 10px; }
.play-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--accent);
  font-size: 10px;
}
.play-dot .ico { margin-left: 1px; }
.video-len { color: var(--muted); font-weight: 500; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.trust-row li { display: inline-flex; align-items: center; gap: 9px; }
.trust-row .ico {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--success-soft);
  color: #0a8a50;
  stroke-width: 3;
}

/* ============ section ============ */

.section { padding-block: 88px; }
.section-soft { background: var(--soft); border-block: 1px solid var(--line-2); }

.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.16; letter-spacing: -0.026em; }
.section-head p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--body); }

/* ============ plans ============ */

.hall-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.hall-head h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.16; letter-spacing: -0.026em; }
.hall-head p { margin-top: 10px; font-size: 15px; color: var(--body); }

.hall-tools { display: flex; align-items: center; gap: 14px; }
.count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.view-toggle {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.view-toggle button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.view-toggle button:hover { color: var(--ink); }
.view-toggle button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.plan:hover { box-shadow: var(--shadow-md); border-color: #dbe3d7; transform: translateY(-2px); }

.plan.popular {
  background:
    radial-gradient(125% 100% at 100% 0%, rgba(188, 242, 77, 0.16), rgba(188, 242, 77, 0) 58%),
    var(--dark);
  border-color: var(--dark);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.plan.popular:hover { border-color: var(--dark-2); }

.assurance {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-xs);
}
.assurance-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--dark);
  color: var(--accent);
  font-size: 19px;
}
.assurance h3 { margin-top: 22px; font-size: 17px; }
.assurance-sub { margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--body); }
.assurance-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: auto;
  padding-top: 22px;
  border-top: 1px solid var(--accent-line);
}
.assurance-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--body);
}
.assurance-list .ico {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-ink);
  stroke-width: 3;
}
.assurance .btn { margin-top: 26px; }

.plan-head {
  grid-area: head;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.plan-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--soft-2);
  color: var(--ink-2);
  font-size: 19px;
}
.plan[data-art='pro5'] .plan-icon { color: var(--ink); }
.plan.popular .plan-icon { background: rgba(188, 242, 77, 0.14); color: var(--accent); }

.plan-head h3 { font-size: 17px; line-height: 1.35; letter-spacing: -0.015em; color: inherit; }
.plan-sub { margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.plan.popular .plan-sub { color: var(--on-dark-muted); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.plan-head .chip { margin-left: auto; align-self: flex-start; }
.chip-hot { background: var(--accent); color: var(--ink); }
.chip-ok { background: var(--soft-2); color: var(--muted); }
.chip-ok::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}
.plan.popular .chip-ok { background: rgba(255, 255, 255, 0.08); color: var(--on-dark); }
.plan.popular .chip-ok::before { background: #7ee2a8; }

.plan-price-block { grid-area: price; margin-top: 24px; }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}
.plan-price .cur { font-size: 17px; font-weight: 500; color: var(--muted); }
.plan-price .num {
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: inherit;
}
.plan-price .per { margin-left: 3px; font-size: 13.5px; color: var(--muted); }
.plan.popular .plan-price .cur,
.plan.popular .plan-price .per { color: var(--on-dark-muted); }

.plan-was {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.plan-was s { color: var(--muted-2); }
.plan-was .save {
  padding: 1px 8px;
  border-radius: var(--r-full);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 12px;
}
.plan.popular .plan-was { color: var(--on-dark-muted); }
.plan.popular .plan-was s { color: #7d8f82; }
.plan.popular .plan-was .save { background: rgba(188, 242, 77, 0.16); color: var(--accent); }

.plan-feats {
  grid-area: feats;
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
}
.plan.popular .plan-feats { border-top-color: rgba(255, 255, 255, 0.1); }

.plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--body);
}
.plan-feats .ico {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  stroke-width: 3;
}
.plan.popular .plan-feats li { color: var(--on-dark); }
.plan.popular .plan-feats .ico { background: rgba(188, 242, 77, 0.18); color: var(--accent); }

.plan .plan-buy { grid-area: buy; margin-top: 26px; }
.plan-feats { margin-bottom: auto; }

.plan.popular .btn-soft {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.plan.popular .btn-soft:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
  box-shadow: var(--glow-lime);
}

.plan-skeleton {
  height: 392px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: linear-gradient(100deg, var(--soft) 30%, #fff 50%, var(--soft) 70%);
  background-size: 240% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { from { background-position: 140% 0; } to { background-position: -40% 0; } }

.plans-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  color: var(--body);
  font-size: 14px;
}

.fineprint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}
.fineprint .ico { margin-top: 2px; font-size: 15px; color: var(--muted-2); }

/* ---- list view ---- */

.plans.is-list { grid-template-columns: 1fr; gap: 10px; }

.plan-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.plan-row:hover { border-color: #dbe3d7; box-shadow: var(--shadow-sm); }
.plan-row.popular { border-color: var(--accent-line); background: var(--accent-tint); }

.plan-row .plan-icon { width: 40px; height: 40px; font-size: 18px; }

.row-main { min-width: 0; }
.row-main h3 { font-size: 15px; letter-spacing: -0.01em; }
.row-main p { margin-top: 2px; font-size: 13px; color: var(--muted); }

.row-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.row-pills span {
  padding: 1px 8px;
  border-radius: var(--r-full);
  background: var(--soft);
  font-size: 11.5px;
  color: var(--muted);
}
.row-pills .chip-hot { background: var(--accent); color: var(--ink); }
.row-pills .chip-ok { background: var(--soft-2); }

.row-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  font-variant-numeric: tabular-nums;
}
.row-price .num { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.row-price .per { font-size: 12px; color: var(--muted); }
.row-price s { font-size: 12px; color: var(--muted-2); }

/* ============ compare ============ */

.compare {
  margin-top: 64px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.compare-head { padding: 30px 30px 12px; }
.compare-head h3 { font-size: 20px; letter-spacing: -0.02em; }
.compare-head p { margin-top: 6px; font-size: 14px; color: var(--body); }

.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.compare table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.compare thead th {
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line-2);
  text-align: left;
  vertical-align: bottom;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.compare thead th:first-child { border-left: 0; }

.cmp-plan { display: flex; align-items: center; gap: 10px; }
.cmp-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 9px;
  background: var(--soft-2);
  color: var(--ink-2);
  font-size: 15px;
}
.cmp-name small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.compare thead th.hl { background: var(--accent-tint); box-shadow: inset 0 2px 0 var(--accent); }
.compare thead th.hl .cmp-ico { background: var(--accent); color: var(--ink); }

.compare tbody th {
  width: 168px;
  padding: 13px 20px;
  text-align: left;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body);
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}
.compare tbody td {
  padding: 13px 20px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
  white-space: nowrap;
}
.compare tbody td.hl { background: var(--accent-tint); }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

.compare .cell-yes { display: inline-flex; align-items: center; gap: 8px; }
.compare .cell-yes .ico {
  width: 18px; height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  stroke-width: 3;
}
.compare .cell-no { color: var(--muted-2); }

/* ============ steps ============ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.steps li {
  position: relative;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-xs);
}

.step-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-ink);
  font-size: 21px;
}

.step-no {
  position: absolute;
  top: 26px;
  right: 28px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #e3eadf;
  font-variant-numeric: tabular-nums;
}

.steps h3 { margin-top: 22px; font-size: 16px; letter-spacing: -0.015em; }
.steps p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--body); }
.steps p span { font-weight: 600; color: var(--ink-2); }

.pay-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 20px;
  padding: 22px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.pm-title { font-size: 13px; font-weight: 600; color: var(--muted); }
.pm-list { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.pm-item { display: flex; align-items: center; gap: 10px; }
.pm-logo {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
}
.pm-logo.alipay { background: #e8f1ff; color: #1677ff; }
.pm-logo.bank { background: var(--soft-2); color: var(--muted); }
.pm-item strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pm-item small { display: block; font-size: 12px; color: var(--muted); }
.pm-ok, .pm-soon {
  padding: 1px 8px;
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 600;
}
.pm-ok { background: var(--success-soft); color: #067647; }
.pm-soon { background: var(--soft-2); color: var(--muted); }

/* ============ features ============ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.feature { padding: 34px 28px 34px 0; border-bottom: 1px solid var(--line); }
.feature + .feature { padding-left: 28px; border-left: 1px solid var(--line); }

.ico-tile {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-ink);
  font-size: 19px;
}

.feature h3 { margin-top: 18px; font-size: 15.5px; letter-spacing: -0.015em; }
.feature p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--body); }

/* ============ faq ============ */

.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--ink-2); }

.faq-sign {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.faq-list summary:hover .faq-sign { border-color: #d3dccf; color: var(--ink-2); }
.faq-list details[open] .faq-sign {
  transform: rotate(45deg);
  background: var(--dark);
  border-color: var(--dark);
  color: var(--accent);
}

.faq-list details p {
  max-width: 700px;
  padding: 0 40px 24px 4px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--body);
}

/* ============ query ============ */

.query-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}

.q-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--dark);
  color: var(--accent);
  font-size: 20px;
}

.query-copy h2 { margin-top: 20px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.026em; }
.query-copy p { margin-top: 12px; font-size: 14.5px; line-height: 1.7; color: var(--body); }

.query-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}
.query-points li { display: inline-flex; align-items: center; gap: 7px; }
.query-points .ico { color: var(--success); font-size: 15px; }

.query-form { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.query-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.query-form label,
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

input[type='text'],
input[type='email'],
input:not([type]) {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input::placeholder { color: var(--muted-2); }
input:hover { border-color: #cfd9cb; }
input:focus {
  outline: none;
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 4px rgba(188, 242, 77, 0.24);
}
input.invalid { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-soft); }

.query-result {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 20px 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 14px;
}
.query-result.bad { background: var(--danger-soft); border-color: #fecdca; color: #912018; }

.lookup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.lookup-head strong { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }

.status-pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-full);
  background: var(--soft-2);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.status-pill.delivered { background: var(--success-soft); color: #067647; }
.status-pill.paid { background: #eff8ff; color: #175cd3; }
.status-pill.pending { background: #fffaeb; color: var(--warn); }
.status-pill.cancelled,
.status-pill.refunded { background: var(--soft-2); color: var(--muted); }
.status-pill.failed { background: var(--danger-soft); color: #b42318; }

.lookup-meta { display: grid; gap: 6px; padding: 14px 0; font-size: 13.5px; color: var(--body); }

.lookup-delivery {
  padding: 14px;
  background: var(--surface);
  border: 1px dashed var(--accent-line);
  border-radius: var(--r-sm);
}
.lookup-delivery span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.lookup-delivery pre {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--ink);
}

.lookup-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ============ footer ============ */

.footer { padding-block: 60px 44px; background: var(--surface); border-top: 1px solid var(--line); }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-2);
}
.footer-note { font-size: 14px; color: var(--body); }
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}

.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); }
.status-dot.ok { background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
.status-dot.bad { background: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--body);
}
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.copyright { margin-top: 14px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.copyright + .copyright { margin-top: 6px; }

/* ============ bottom nav ============ */

.bottom-nav { display: none; }

/* ============ modal ============ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 23, 17, 0.48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.18s ease;
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 32px;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  animation: panelIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-panel:focus { outline: none; }

@keyframes fadeIn { from { opacity: 0; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px) scale(0.985); } }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  z-index: 2;
}
.modal-close:hover { background: var(--soft-2); color: var(--ink); }

.modal-head { padding-right: 28px; }
.modal-head.center { text-align: center; padding-right: 0; }
.modal-kicker { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.modal-head h2 { margin-top: 6px; font-size: 22px; line-height: 1.28; letter-spacing: -0.025em; }
.modal-head p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--body); }
.modal-head p strong { color: var(--ink); font-variant-numeric: tabular-nums; }

.flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 20px 0 24px;
  padding: 4px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 11px;
}
.flow-steps span {
  flex: 1;
  min-width: 88px;
  padding: 6px 8px;
  border-radius: 7px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.flow-steps span.done { color: var(--accent-ink); }
.flow-steps span.on {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}

.field { margin-bottom: 16px; }

.err { display: block; margin-top: 6px; font-size: 12.5px; color: var(--danger); }
.err:empty { display: none; margin: 0; }

.selected-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 14px 16px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-md);
}
.selected-plan strong { display: block; font-size: 14.5px; font-weight: 600; }
.selected-plan small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.sp-price { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--body);
  cursor: pointer;
}
.agree input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  flex: none;
  accent-color: #4d7c0f;
  cursor: pointer;
}

.legal-links { display: flex; gap: 10px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.legal-links .linkish { color: var(--ink-2); }

#checkoutForm .btn-block { margin-top: 20px; }

.secure-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.secure-line .ico { font-size: 13px; }

/* ============ payment ============ */

.pay-panel { max-width: 440px; }
.legal-panel { max-width: 620px; }
.video-panel { max-width: 560px; }

.qr-box {
  position: relative;
  width: 216px;
  height: 216px;
  margin: 4px auto 14px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.qr { width: 100%; height: 100%; }
.qr img { border-radius: 6px; }

.qr-scan {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 10px var(--accent);
  animation: scan 2.4s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(178px); opacity: 0.5; }
}

.qr-box.is-empty {
  padding: 0;
  background: repeating-linear-gradient(135deg, var(--soft) 0 10px, #fff 10px 20px);
}
.qr-box.is-empty .qr-scan { display: none; }

.qr-mock {
  display: grid;
  place-content: center;
  gap: 8px;
  height: 100%;
  padding: 16px;
  text-align: center;
  background: rgba(251, 252, 248, 0.92);
}
.qr-mock b {
  justify-self: center;
  padding: 2px 10px;
  border-radius: var(--r-full);
  background: var(--dark);
  color: var(--accent);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
.qr-mock strong { font-size: 16px; line-height: 1.4; }
.qr-mock span { font-size: 12px; color: var(--muted); }

.demo-note { text-align: center; font-size: 13px; color: var(--muted); }

.pay-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--soft);
  border-radius: var(--r-md);
}
.pay-meta div { min-width: 0; }
.pay-meta span { display: block; font-size: 12px; color: var(--muted); }
.pay-meta strong {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 600;
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}
.pay-meta strong.amount { font-size: 18px; letter-spacing: -0.02em; }
.pay-meta strong.urgent { color: var(--danger); }

.pay-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--body);
  text-align: center;
}
.pulse {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-h);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(188, 242, 77, 0.65); }
  50% { box-shadow: 0 0 0 6px rgba(188, 242, 77, 0); }
}

.pay-panel .btn-block { margin-top: 10px; }

.success-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 4px auto 16px;
  border-radius: 50%;
  background: var(--success-soft);
  color: #0a8a50;
  font-size: 26px;
  box-shadow: 0 0 0 8px rgba(18, 183, 106, 0.07);
  animation: markIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.success-mark .ico { stroke-width: 2.6; }
@keyframes markIn { from { transform: scale(0.6); opacity: 0; } }

.delivery {
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--soft);
  border: 1px dashed var(--accent-line);
  border-radius: var(--r-md);
}
.delivery > span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.delivery pre {
  margin: 8px 0 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--ink);
}

.success-actions { display: grid; gap: 10px; margin-top: 18px; }
.success-actions .btn { margin: 0; }

/* ============ video ============ */

.video-stage {
  position: relative;
  margin-top: 22px;
  padding: 28px 24px 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}

.scene { display: none; }
.scene.active { display: grid; justify-items: center; gap: 18px; animation: sceneIn 0.35s ease; }
@keyframes sceneIn { from { opacity: 0; transform: translateY(6px); } }

.scene-phone {
  width: 100%;
  max-width: 280px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.mini-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.mini-head.ok { color: #067647; }
.mini-head.ok .ico { font-size: 14px; }

.mini-cards { display: grid; gap: 7px; }
.mini-cards span {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: var(--body);
  font-variant-numeric: tabular-nums;
}
.mini-cards span.on {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 600;
}

.mini-field {
  margin-bottom: 7px;
  padding: 9px 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
}
.mini-btn {
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
}
.mini-btn.ghost { background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); }

.mini-qr {
  position: relative;
  width: 122px;
  height: 122px;
  margin: 4px auto 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 5px, #fff 5px 10px),
    repeating-linear-gradient(0deg, var(--ink) 0 5px, #fff 5px 10px);
  background-blend-mode: multiply;
  overflow: hidden;
}
.mini-qr i {
  position: absolute;
  inset: 24%;
  background: var(--surface);
  border-radius: 6px;
}

.mini-status { text-align: center; font-size: 12px; color: var(--muted); }
.mini-deliver { font-size: 12.5px; line-height: 1.7; color: var(--body); }

.scene-cap { font-size: 13px; font-weight: 500; color: var(--body); text-align: center; }

.video-bar {
  height: 4px;
  margin-top: 20px;
  background: var(--line);
  border-radius: var(--r-full);
  overflow: hidden;
}
#videoProgress {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent-h);
  border-radius: inherit;
  transition: width 0.1s linear;
}

.video-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }

/* ============ legal ============ */

.legal-body { margin-top: 8px; }
.legal-body h3 { margin-top: 22px; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.legal-body p { margin-top: 8px; font-size: 13.5px; line-height: 1.75; color: var(--body); }

/* ============ toast ============ */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  max-width: calc(100vw - 40px);
  padding: 11px 18px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ responsive ============ */

@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:nth-child(3) { padding-left: 0; border-left: 0; }
  .feature:nth-child(3), .feature:nth-child(4) { border-bottom: 0; }
  .feature:nth-child(4) { border-left: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .query-card { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .query-result { grid-column: 1; }
  .section { padding-block: 68px; }
  .hero { padding-block: 72px 60px; }
  .hall-head { align-items: flex-start; }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }

  .container, .nav { padding-inline: 20px; }

  .nav { gap: 12px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 55;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px 20px 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; font-size: 15px; }
  .nav-links a.is-active::after { display: none; }
  .nav-links a.nav-menu-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 8px;
    background: var(--accent);
    border-radius: var(--r-sm);
    color: var(--ink);
    font-weight: 600;
  }
  .nav-links a.nav-menu-cta:hover { background: var(--accent-h); color: var(--ink); }

  .hero { padding-block: 50px 46px; }
  .hero h1 { margin-top: 20px; font-size: clamp(31px, 9.2vw, 42px); letter-spacing: -0.02em; }
  .hero .lead { font-size: 15.5px; line-height: 1.65; }
  .hero-cta { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .hero-cta .btn { width: 100%; }
  .trust-row { gap: 10px 20px; margin-top: 32px; padding-top: 22px; font-size: 12.5px; }

  .section { padding-block: 54px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 26px; }

  .hall-head { flex-direction: column; gap: 16px; margin-bottom: 24px; }
  .hall-tools { width: 100%; justify-content: space-between; }

  .plans { grid-template-columns: 1fr; gap: 12px; }
  .plan, .assurance { padding: 23px; }
  .plan-price .num { font-size: 38px; }

  .plans.is-list { gap: 10px; }
  .plan-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px; }
  .plan-row .btn { grid-column: 1 / -1; width: 100%; }

  .compare { margin-top: 42px; }
  .compare-head { padding: 22px 20px 6px; }
  .compare table { min-width: 660px; font-size: 13px; }
  .compare thead th, .compare tbody th, .compare tbody td { padding: 12px 14px; }
  .compare tbody th { width: 128px; }

  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps li { padding: 23px; }
  .step-no { top: 22px; right: 22px; font-size: 32px; }
  .pay-methods { padding: 18px 20px; gap: 14px 20px; }
  .pm-list { width: 100%; gap: 12px 20px; }

  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature + .feature {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .feature:last-child { border-bottom: 0; }

  .faq-list summary { padding: 18px 0; font-size: 15px; }
  .faq-list details p { padding: 0 30px 20px 0; }

  .query-card { padding: 24px 20px; border-radius: var(--r-lg); }
  .query-form .row { grid-template-columns: 1fr; }
  .lookup-head { flex-wrap: wrap; }

  .footer { padding-block: 42px 92px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-status { margin-left: 0; }

  .bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 0;
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
  }
  .bottom-nav a:active { color: var(--ink); }
  .bottom-nav .ico { font-size: 19px; }

  .modal { padding: 0; align-items: end; }
  .modal-panel {
    max-width: none;
    max-height: 92vh;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
    animation: sheetIn 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes sheetIn { from { transform: translateY(24px); opacity: 0.6; } }

  .modal-head h2 { font-size: 20px; }
  .modal-close { top: 12px; right: 12px; }

  .qr-box { width: 184px; height: 184px; }
  @keyframes scan {
    0%, 100% { transform: translateY(0); opacity: 0.9; }
    50% { transform: translateY(146px); opacity: 0.5; }
  }

  .flow-steps span { min-width: 0; font-size: 11.5px; padding: 6px 4px; }
  .video-stage { padding: 20px 14px 16px; }
  .scene-phone { max-width: 232px; }
  .toast { bottom: 84px; }
}

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