/* ==========================================================================
   方向 1 · 温润极简旗舰风（Warm Alabaster Flagship）
   100% 原创视觉设计系统
   ========================================================================== */

:root {
  /* 核心暖纸感画布与表面 */
  --bg: #F6F4EF;
  --surface: #FFFFFF;
  --surface-soft: #EFECE5;
  --surface-tint: #FAF9F6;
  --surface-dark: #1C1917;

  /* 暖墨文字体系 */
  --ink: #1C1917;
  --ink-2: #57534E;
  --ink-3: #8A847D;
  --ink-on-dark: #FAFAF9;
  --ink-on-dark-2: #D6D3D1;
  --ink-on-dark-3: #A8A29E;

  /* 微距边框 */
  --border: rgba(28, 25, 23, 0.09);
  --border-strong: rgba(28, 25, 23, 0.16);
  --border-dark: rgba(255, 255, 255, 0.12);

  /* 语义强调色 */
  --emerald: #0F766E;
  --emerald-bright: #10B981;
  --emerald-soft: rgba(15, 118, 110, 0.09);
  --emerald-border: rgba(15, 118, 110, 0.24);

  --gold: #FDE68A;
  --gold-hover: #FCD34D;
  --amber: #B45309;
  --amber-soft: rgba(180, 83, 9, 0.09);
  --amber-border: rgba(180, 83, 9, 0.24);

  --alipay: #1677FF;
  --alipay-hover: #0958D9;
  --alipay-soft: rgba(22, 119, 255, 0.08);
  --alipay-border: rgba(22, 119, 255, 0.22);

  --danger: #DC2626;
  --danger-soft: rgba(220, 38, 38, 0.08);
  --danger-border: rgba(220, 38, 38, 0.22);

  /* 大圆角层级 */
  --radius-container: 26px;
  --radius-card: 22px;
  --radius-nav: 18px;
  --radius-md: 14px;
  --radius-btn: 12px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* 克制轻盈的暖调阴影 */
  --shadow-xs: 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-sm: 0 6px 20px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 14px 36px rgba(28, 25, 23, 0.06), 0 2px 6px rgba(28, 25, 23, 0.03);
  --shadow-lg: 0 24px 54px rgba(28, 25, 23, 0.12), 0 4px 12px rgba(28, 25, 23, 0.05);
  --shadow-dark: 0 20px 46px rgba(28, 25, 23, 0.22);

  /* 动效曲线与字体 */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "PingFang SC", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Hiragino Sans GB", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.drawer-open {
  overflow: hidden;
}

a {
  color: var(--emerald);
  text-decoration: none;
  transition: color 0.18s var(--ease-out);
}

a:hover {
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--surface-soft);
  padding: 2px 6px;
  border-radius: 6px;
}

.hidden {
  display: none !important;
}

.mono {
  font-family: var(--font-mono);
}

.tnum {
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   顶部演示条与推荐条
   ========================================================================== */
.demo-banner {
  background: var(--surface-dark);
  color: #E7E5E4;
  font-size: 12.5px;
  text-align: center;
  padding: 9px 18px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(253, 230, 138, 0.16);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ref-banner {
  background: var(--tint-green);
  color: var(--emerald);
  border-bottom: 1px solid var(--emerald-border);
  font-size: 13px;
  text-align: center;
  padding: 9px 18px;
  font-weight: 500;
}

.ref-banner code {
  background: rgba(var(--emerald-rgb), 0.12);
  color: var(--emerald);
}

/* ==========================================================================
   悬浮磨砂顶栏
   ========================================================================== */
.header-wrap {
  position: sticky;
  top: 0;
  z-index: 45;
  padding: 14px 0 8px;
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0.96) 55%, rgba(var(--bg-rgb), 0) 100%);
}

.site-header {
  padding-left: 24px;
  padding-right: 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(var(--surface-rgb), 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-nav);
  padding: 10px 16px 10px 20px;
  box-shadow: 0 8px 28px rgba(var(--shadow-rgb), 0.05);
  position: relative;
}

.header-brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--inverse) 0%, var(--inverse-hover) 100%);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(var(--shadow-rgb), 0.16);
}

.brand-mark-sm {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: 12px;
  box-shadow: none;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald);
  background: var(--emerald-soft);
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-bright);
  position: relative;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  animation: pulseLive 2.2s infinite;
}

@keyframes pulseLive {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.52);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a,
.site-nav .nav-btn {
  padding: 7px 13px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav .nav-btn:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.site-nav a.active {
  color: var(--ink);
  font-weight: 700;
  background: var(--surface-soft);
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding: 8px 15px;
  border-radius: 11px;
  border: none;
  background: var(--inverse);
  color: var(--on-inverse);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), background 0.18s;
  box-shadow: 0 4px 12px rgba(var(--shadow-rgb), 0.14);
}

.site-nav .nav-cta:hover {
  background: var(--inverse-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(var(--shadow-rgb), 0.20);
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-tint);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 16px;
  height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
}

/* ==========================================================================
   主体容器与加载态
   ========================================================================== */
.app-main {
  min-height: calc(100vh - 170px);
  padding: 18px 0 72px;
}

.loading-shell {
  padding: 96px 0;
  text-align: center;
  color: var(--ink-3);
  font-size: 14px;
}

.spinner {
  width: 28px;
  height: 28px;
  border: 2.5px solid var(--surface-soft);
  border-top-color: var(--ink);
  border-radius: 50%;
  margin: 0 auto 14px;
  animation: spin 0.72s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   首页 · 编辑感左右分栏 Hero
   ========================================================================== */
.flagship-hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 44px;
}

.hero-editorial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-container);
  padding: 40px 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-md);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 20px;
}

.hero-h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.032em;
  font-weight: 800;
  color: var(--ink);
}

.hero-h1 .accent-emerald {
  color: var(--emerald);
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.75;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.trust-metric strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.trust-metric span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-container);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  min-height: 410px;
  box-shadow: var(--shadow-md);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 45%;
  display: block;
  transition: transform 0.8s var(--ease-out);
}

.hero-visual:hover img {
  transform: scale(1.025);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--ink-rgb), 0) 56%, rgba(var(--ink-rgb), 0.14) 100%);
  pointer-events: none;
}

.hero-float-card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  background: rgba(var(--surface-rgb), 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(var(--surface-rgb), 0.82);
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 14px 32px rgba(var(--shadow-rgb), 0.12);
  transition: opacity 0.25s ease;
}

.hero-float-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.check-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--emerald-bright);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.28);
}

.hero-float-t1 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-float-t2 {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-float-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald);
  background: var(--emerald-soft);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   首页 · 分段产品切换器与 3 列旗舰套餐展厅
   ========================================================================== */
.plans-section {
  scroll-margin-top: 96px;
  margin-bottom: 56px;
}

.plans-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.product-switcher {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  background: var(--surface-soft);
  padding: 5px;
  border-radius: 15px;
  border: 1px solid var(--border);
}

.product-tab {
  padding: 9px 19px;
  border-radius: 11px;
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.product-tab:hover {
  color: var(--ink);
}

.product-tab.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(var(--shadow-rgb), 0.08);
}

.fx-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
  background: rgba(var(--surface-rgb), 0.65);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}

.fx-pill strong {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.product-tagline-bar {
  margin: 0 0 22px;
  font-size: 13.5px;
  color: var(--ink-3);
}

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

.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.26s var(--ease-out), box-shadow 0.26s var(--ease-out), border-color 0.22s;
  overflow: hidden;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.plan-card.featured {
  background:
    radial-gradient(circle at 86% 12%, rgba(253, 230, 138, 0.13), transparent 52%),
    radial-gradient(circle at 12% 94%, rgba(16, 185, 129, 0.11), transparent 48%),
    var(--surface-dark);
  color: var(--ink-on-dark);
  border-color: #292524;
  box-shadow: var(--shadow-dark);
}

.plan-card.featured:hover {
  transform: translateY(-5px);
  border-color: rgba(253, 230, 138, 0.35);
  box-shadow: 0 28px 60px rgba(var(--shadow-rgb), 0.28);
}

.plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.plan-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.plan-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-shrink: 0;
}

.plan-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  color: var(--ink-2);
  white-space: nowrap;
}

.plan-pill-region {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
}

.plan-card.featured .plan-pill {
  background: rgba(253, 230, 138, 0.16);
  color: var(--gold);
}

.plan-card.featured .plan-pill-region {
  background: rgba(255, 255, 255, 0.10);
  color: var(--ink-on-dark-2);
}

.plan-sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}

.plan-card.featured .plan-sub {
  color: var(--ink-on-dark-3);
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.plan-price {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.plan-price .currency {
  font-size: 18px;
  font-weight: 700;
  margin-right: 1px;
}

.plan-price .decimal {
  font-size: 20px;
  font-weight: 700;
  opacity: 0.85;
}

.plan-orig {
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: line-through;
}

.plan-card.featured .plan-orig {
  color: var(--ink-on-dark-3);
}

.plan-meta-row {
  min-height: 26px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.save-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--emerald);
  background: var(--emerald-soft);
  padding: 3px 9px;
  border-radius: 7px;
  font-variant-numeric: tabular-nums;
}

.plan-card.featured .save-chip {
  color: #6EE7B7;
  background: rgba(16, 185, 129, 0.17);
}

.note-chip {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface-soft);
  padding: 3px 9px;
  border-radius: 7px;
}

.plan-card.featured .note-chip {
  color: var(--gold);
  background: rgba(253, 230, 138, 0.13);
}

.plan-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
}

.plan-card.featured .plan-features li {
  color: var(--ink-on-dark-2);
}

.plan-features li::before {
  content: "✓";
  color: var(--emerald-bright);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.5px;
}

.plan-cta-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.18s var(--ease-out), transform 0.18s var(--ease-out), border-color 0.18s;
}

.plan-card:hover .plan-cta-btn {
  background: var(--inverse);
  color: var(--on-inverse);
  border-color: var(--inverse);
}

.plan-card.featured .plan-cta-btn {
  background: var(--gold);
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(253, 230, 138, 0.22);
}

.plan-card.featured:hover .plan-cta-btn {
  background: var(--gold-hover);
  color: var(--ink);
  border-color: transparent;
}

/* 展开更多档位区 */
.more-plans-bar {
  margin-top: 22px;
  text-align: center;
}

.more-plans-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s var(--ease-out);
}

.more-plans-toggle:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.more-plans-toggle .chevron {
  display: inline-block;
  transition: transform 0.25s var(--ease-out);
}

.more-plans-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.more-plans-wrap {
  margin-top: 22px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-strong);
}

.more-plans-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.more-plans-heading h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-2);
}

.more-plans-heading span {
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ==========================================================================
   首页 · 下方 3 段高信任转化区块
   ========================================================================== */
.home-section {
  margin-bottom: 52px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.section-desc {
  margin: 0 0 24px;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* 4 步极简流程图解条 */
.flow-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-container);
  padding: 28px 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  right: -12px;
  width: 1px;
  bottom: 8px;
  background: var(--border);
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--amber);
  font-size: 12.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

.flow-step h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

.flow-step p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* 安全与隐私承诺 3 联卡 */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.promise-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}

.promise-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.promise-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.promise-icon-emerald {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.promise-icon-amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.promise-icon-dark {
  background: var(--surface-soft);
  color: var(--ink);
}

.promise-card h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.promise-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.68;
}

/* 手风琴高频 FAQ */
.faq-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-container);
  padding: 8px 28px;
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.faq-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out), background 0.2s, color 0.2s;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
  background: var(--inverse);
  color: var(--on-inverse);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease-out);
}

.faq-item.open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
}

/* ==========================================================================
   沉浸式右侧滑出下单抽屉（移动端底部 Sheet）
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(var(--scrim-rgb), 0.36);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-out);
  display: flex;
  justify-content: flex-end;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  width: 472px;
  max-width: 94vw;
  height: 100dvh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-radius: 26px 0 0 26px;
  box-shadow: -20px 0 60px rgba(var(--shadow-rgb), 0.16);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.34s var(--ease-out);
  overflow: hidden;
}

.drawer-backdrop.open .drawer-panel {
  transform: translateX(0);
}

.drawer-sheet-handle {
  display: none;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(var(--scrim-rgb), 0.18);
  margin: 10px auto 2px;
  flex-shrink: 0;
}

.drawer-head {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  background: var(--surface);
}

.drawer-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.drawer-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.drawer-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.drawer-price-tag {
  font-size: 18px;
  font-weight: 800;
  color: var(--emerald);
  font-variant-numeric: tabular-nums;
}

.drawer-sub {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-tint);
  color: var(--ink-2);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: background 0.15s, color 0.15s;
}

.drawer-close:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.drawer-body {
  padding: 20px 24px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-footer {
  padding: 16px 24px 22px;
  border-top: 1px solid var(--border);
  background: var(--surface-tint);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 抽屉内折叠小组件（图解 / 优惠码） */
.inline-collapse {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-tint);
  overflow: hidden;
}

.inline-collapse-head {
  width: 100%;
  background: none;
  border: none;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.inline-collapse-head span:last-child {
  font-size: 12px;
  color: var(--emerald);
  font-weight: 600;
}

.inline-collapse-body {
  padding: 0 14px 14px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.6;
  border-top: 1px solid var(--border);
}

.inline-collapse-body .mini-guide-list {
  margin: 10px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==========================================================================
   通用卡片、表单、按钮与徽章
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

.card-pad {
  padding: 26px 28px;
}

.card-elevated {
  box-shadow: var(--shadow-md);
}

.page-header {
  margin-bottom: 24px;
}

.section-heading {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.section-sub {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

/* 分段开关 */
.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--surface-soft);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.segmented button {
  border: none;
  background: transparent;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.18s var(--ease-out);
}

.segmented button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(var(--shadow-rgb), 0.08);
}

/* 表单元素 */
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.field-hint {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}

.input,
.textarea,
.select {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-btn);
  background: var(--surface-tint);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.textarea {
  min-height: 98px;
  resize: vertical;
  line-height: 1.5;
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--emerald);
  box-shadow: 0 0 0 3.5px rgba(var(--emerald-rgb), 0.12);
}

.inline-group {
  display: flex;
  gap: 8px;
}

.inline-group .input,
.inline-group .select {
  flex: 1;
}

/* 按钮体系 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--inverse);
  color: var(--on-inverse);
  box-shadow: 0 8px 20px rgba(var(--shadow-rgb), 0.14);
}

.btn-primary:hover:not(:disabled) {
  background: var(--inverse-hover);
  color: var(--on-inverse);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(var(--shadow-rgb), 0.20);
}

.btn-soft {
  background: var(--surface-soft);
  color: var(--ink);
}

.btn-soft:hover:not(:disabled) {
  background: var(--surface-hover);
  color: var(--ink);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--surface-soft);
  color: var(--ink);
}

.btn-alipay {
  background: var(--alipay);
  color: #FFFFFF;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(22, 119, 255, 0.26);
}

.btn-alipay:hover:not(:disabled) {
  background: var(--alipay-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(22, 119, 255, 0.32);
}

.btn-success {
  background: var(--emerald);
  color: var(--on-accent);
}

.btn-success:hover:not(:disabled) {
  background: #0D615B;
  color: var(--on-accent);
}

.btn-amber {
  background: var(--tint-amber);
  color: var(--amber);
  border: 1.5px solid #F59E0B;
}

.btn-amber:hover:not(:disabled) {
  background: var(--tint-amber-2);
}

.btn-danger {
  background: var(--danger);
  color: #FFFFFF;
}

.btn-danger:hover:not(:disabled) {
  background: #B91C1C;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 14.5px;
  border-radius: 13px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
  border-radius: 9px;
}

.btn-block {
  width: 100%;
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--emerald);
  cursor: pointer;
}

.link-btn:hover {
  text-decoration: underline;
}

/* 徽章体系 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-emerald,
.badge-green {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.badge-info,
.badge-blue {
  background: var(--alipay-soft);
  color: var(--alipay);
}

.badge-amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.badge-neutral,
.badge-gray {
  background: var(--surface-soft);
  color: var(--ink-2);
}

.badge-danger,
.badge-red {
  background: var(--danger-soft);
  color: var(--danger);
}

/* 提示框 */
.alert {
  padding: 12px 15px;
  border-radius: var(--radius-btn);
  font-size: 13px;
  line-height: 1.6;
  border: 1px solid transparent;
}

.alert-info {
  background: var(--surface-soft);
  border-color: var(--border);
  color: var(--ink-2);
}

.alert-success {
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
  color: var(--success-ink);
}

.alert-warning {
  background: var(--amber-soft);
  border-color: var(--amber-border);
  color: var(--warn-ink);
}

.alert-danger {
  background: var(--danger-soft);
  border-color: var(--danger-border);
  color: var(--danger-ink);
}

/* 价格明细盒 */
.price-breakdown {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-2);
}

.price-row.total {
  padding-top: 9px;
  margin-top: 3px;
  border-top: 1px dashed var(--border-strong);
  color: var(--ink);
  font-weight: 800;
  font-size: 16px;
}

.trust-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 11.5px;
  color: var(--ink-3);
}

/* ==========================================================================
   订单页 (/order/:id)
   ========================================================================== */
.order-shell {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.step-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  left: calc(50% + 20px);
  right: calc(-50% + 20px);
  height: 2px;
  background: var(--surface-soft);
}

.step-item.done:not(:last-child)::after {
  background: var(--emerald-bright);
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 700;
  border: 2px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-3);
  position: relative;
  z-index: 1;
}

.step-item.done .step-dot {
  background: var(--emerald-bright);
  border-color: var(--emerald-bright);
  color: var(--on-accent);
}

.step-item.active .step-dot {
  background: var(--inverse);
  border-color: var(--inverse);
  color: var(--gold);
  box-shadow: 0 0 0 5px rgba(var(--shadow-rgb), 0.10);
}

.step-item.warn .step-dot {
  background: #F59E0B;
  border-color: #F59E0B;
  color: #FFFFFF;
}

.step-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
}

.step-item.done .step-label,
.step-item.active .step-label {
  color: var(--ink);
}

.pay-grid {
  display: grid;
  grid-template-columns: 276px 1fr;
  gap: 32px;
  align-items: center;
}

.qr-frame {
  border: 1.5px solid var(--alipay-border);
  background: linear-gradient(180deg, var(--tint-blue) 0%, var(--surface) 100%);
  border-radius: 20px;
  padding: 16px;
  text-align: center;
}

.qr-box {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.qr-box svg {
  width: 100%;
  height: auto;
  display: block;
}

.qr-caption {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--alipay);
}

.order-amount-display {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1.1;
  margin-top: 4px;
}

.kv-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.kv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.kv-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.kv-row span:first-child {
  color: var(--ink-3);
}

.card-completed {
  border-color: var(--emerald-border);
  background: linear-gradient(135deg, var(--tint-green) 0%, var(--surface) 65%);
}

.card-fallback {
  border-color: var(--amber-border);
  background: linear-gradient(135deg, var(--tint-amber) 0%, var(--surface) 65%);
}

/* CDK 展示盒 */
.cdk-box {
  background: var(--surface-tint);
  border: 1.5px dashed var(--emerald);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cdk-code {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  word-break: break-all;
  margin-top: 4px;
}

/* 履约时间线 */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 6px;
}

.tl-item {
  position: relative;
  padding-left: 26px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-soft);
}

.tl-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 20px;
  bottom: -16px;
  width: 1.5px;
  background: var(--border);
}

.tl-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.tl-detail {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 3px;
}

.tl-time {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 3px;
}

/* ==========================================================================
   居中窄栏页 (/check, /redeem, /guide)
   ========================================================================== */
.narrow-shell {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

.guide-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.guide-step:last-of-type {
  margin-bottom: 12px;
}

.guide-num {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--amber);
  font-weight: 800;
  font-size: 12.5px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.code-block {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  overflow-x: auto;
  margin: 8px 0;
  color: var(--ink);
}

.check-product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.check-pill {
  padding: 9px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface-tint);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s var(--ease-out);
}

.check-pill.active {
  background: var(--inverse);
  color: var(--on-inverse);
  border-color: var(--inverse);
}

/* ==========================================================================
   管理后台 (/admin) — 温润极简浅白工作台
   ========================================================================== */
.admin-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.admin-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  background: var(--surface-soft);
  padding: 5px;
  border-radius: 15px;
  border: 1px solid var(--border);
  margin-bottom: 22px;
}

.admin-tab {
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.18s var(--ease-out);
}

.admin-tab:hover {
  color: var(--ink);
}

.admin-tab.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(var(--shadow-rgb), 0.08);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.kpi-label {
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 600;
}

.kpi-val {
  font-size: 26px;
  font-weight: 800;
  margin: 8px 0 5px;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.kpi-sub {
  font-size: 12px;
  color: var(--ink-2);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 12px 13px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table th {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--surface-tint);
  white-space: nowrap;
}

.data-table tbody tr:hover {
  background: rgba(var(--ink-rgb), 0.03);
}

.table-input {
  width: 82px;
  padding: 6px 9px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface-tint);
  font-size: 13px;
}

.table-input:focus {
  outline: none;
  border-color: var(--emerald);
  background: var(--surface);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* ==========================================================================
   弹窗、查订单项、推广合作弹窗 & Toast
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(var(--scrim-rgb), 0.42);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-card {
  width: 100%;
  max-width: 580px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 26px 28px;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.modal-head h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}

.modal-close {
  border: 1px solid var(--border);
  background: var(--surface-tint);
  color: var(--ink-2);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.lookup-item {
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-tint);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.lookup-item-title {
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ref-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.ref-perk-card {
  background: var(--surface-tint);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 15px 14px;
}

.ref-perk-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--emerald);
  font-variant-numeric: tabular-nums;
}

.ref-perk-label {
  font-size: 13px;
  font-weight: 700;
  margin-top: 3px;
}

.ref-perk-desc {
  margin: 5px 0 0;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}

.ref-link-demo {
  margin-bottom: 16px;
}

.ref-contact-bar {
  background: var(--surface-soft);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.toast-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
}

.toast {
  background: var(--inverse);
  color: var(--on-inverse);
  padding: 12px 17px;
  border-radius: 13px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transition: opacity 0.2s, transform 0.2s;
}

.toast-leaving {
  opacity: 0;
  transform: translateY(6px);
}

.toast-error {
  background: var(--danger);
}

.toast-success {
  background: var(--emerald);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(var(--surface-rgb), 0.72);
  padding: 26px 0;
  font-size: 13px;
  color: var(--ink-3);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.footer-brand-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink);
}

.footer-privacy-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}

.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-meta strong {
  color: var(--ink-2);
}

.footer-sep {
  margin: 0 4px;
  color: var(--border-strong);
}

.footer-admin-link {
  color: var(--ink-3);
  font-weight: 500;
}

.footer-admin-link:hover {
  color: var(--ink);
}

/* ==========================================================================
   响应式适配
   ========================================================================== */
@media (max-width: 1040px) {
  .flagship-hero {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 320px;
  }
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-step:nth-child(2)::after {
    display: none;
  }
  .promise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .live-pill {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(var(--surface-rgb), 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    z-index: 60;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a,
  .site-nav .nav-btn {
    text-align: left;
    padding: 11px 14px;
  }
  .site-nav .nav-cta {
    margin-left: 0;
    margin-top: 6px;
    padding: 11px 14px;
    text-align: center;
  }
  .hero-editorial {
    padding: 28px 22px 24px;
  }
  .trust-metrics {
    gap: 10px;
  }
  .trust-metric strong {
    font-size: 17px;
  }
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .flow-strip {
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }
  .flow-step::after {
    display: none !important;
  }
  .promise-grid {
    grid-template-columns: 1fr;
  }
  .pay-grid {
    grid-template-columns: 1fr;
  }
  .qr-frame {
    max-width: 268px;
    margin: 0 auto;
  }
  .step-rail {
    padding: 16px 10px;
  }
  .step-label {
    font-size: 11px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .ref-modal-grid {
    grid-template-columns: 1fr;
  }
  .card-pad {
    padding: 20px 18px;
  }
  .faq-card {
    padding: 4px 18px;
  }

  /* 移动端抽屉切换为底部滑出 Sheet */
  .drawer-backdrop {
    align-items: flex-end;
    justify-content: center;
  }
  .drawer-panel {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 92dvh;
    border-left: none;
    border-top: 1px solid var(--border);
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
  }
  .drawer-backdrop.open .drawer-panel {
    transform: translateY(0);
  }
  .drawer-sheet-handle {
    display: block;
  }
  .drawer-head {
    padding: 12px 18px 14px;
  }
  .drawer-body {
    padding: 16px 18px 20px;
  }
  .drawer-footer {
    padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
  }
}

/* ==========================================================================
   v3 新增组件：官方状态条、短域名胶囊、销量徽标、双模抽屉、悬浮客服与质保、
   书签小工具、2FA 验证码工具、二维码上传与联动推荐卡
   ========================================================================== */

/* 官方状态实时监控条 */
.status-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 10px 16px;
  margin-bottom: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-xs);
  font-size: 12.5px;
}

.status-strip-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.status-strip-title {
  font-weight: 700;
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.status-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.status-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
}

.status-item strong {
  color: var(--ink);
  font-weight: 700;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot-ok {
  background: var(--emerald-bright);
  box-shadow: 0 0 0 3px var(--emerald-soft);
}

.status-dot-amber {
  background: #F59E0B;
  box-shadow: 0 0 0 3px var(--amber-soft);
}

.status-dot-danger {
  background: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-soft);
}

.url-copy-pill,
.footer-url-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface-tint);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s var(--ease-out);
}

.url-copy-pill:hover,
.footer-url-pill:hover {
  background: var(--inverse);
  color: var(--on-inverse);
  border-color: var(--inverse);
}

/* 套餐卡销量展示小徽标 */
.sales-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  background: var(--surface-soft);
  color: var(--ink-3);
}

.plan-card.featured .sales-chip {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

/* 电脑/手机双模式切换按钮 */
.segmented-dual button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 2px;
  padding: 10px 12px;
}

.segmented-dual button strong {
  font-size: 12.5px;
  font-weight: 700;
  color: inherit;
}

.segmented-dual button span {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
}

.segmented-dual button.active span {
  color: var(--emerald);
}

.drawer-warranty-note {
  padding: 10px 13px;
  border-radius: 12px;
  background: var(--surface-tint);
  border: 1px solid var(--border);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-3);
}

.drawer-warranty-note strong {
  color: var(--ink-2);
}

/* 右下角悬浮人工客服胶囊 */
.floating-support-btn {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--inverse);
  color: var(--on-inverse);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(var(--shadow-rgb), 0.24);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.floating-support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(var(--shadow-rgb), 0.30);
}

.floating-support-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.28);
}

.toast-stack {
  bottom: 78px;
}

/* 宽弹窗与人工客服二维码质保弹窗 */
.modal-card-wide {
  max-width: 760px;
}

.support-modal-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.support-qr-wrap {
  width: 176px;
  flex-shrink: 0;
  text-align: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-tint);
}

.support-qr-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 10px;
  background: #FFFFFF;
  display: block;
}

.support-info-col {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support-wechat-card {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-tint);
}

.support-wechat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.support-wechat-id {
  font-size: 16px;
  color: var(--ink);
  word-break: break-all;
}

.warranty-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
}

.warranty-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--success-ink);
  margin-bottom: 8px;
}

.warranty-list {
  margin: 0;
  padding-left: 17px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--success-ink);
}

/* 拖拽书签小工具 */
.bookmarklet-box {
  padding: 12px 14px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--tint-green) 0%, var(--surface-tint) 100%);
  border: 1px dashed var(--emerald-border);
}

.bookmarklet-hero-card {
  background: linear-gradient(135deg, var(--tint-green) 0%, var(--surface) 70%);
  border-color: var(--emerald-border);
}

.bookmarklet-drag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--inverse);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: grab;
  box-shadow: 0 6px 14px rgba(var(--shadow-rgb), 0.16);
}

.bookmarklet-drag:hover {
  color: var(--gold);
  background: var(--inverse-hover);
}

.bookmarklet-drag-lg {
  padding: 11px 18px;
  font-size: 13.5px;
}

/* 一对一远程服务卡片 & 联动推荐卡 */
.card-manual {
  border-color: var(--alipay-border);
  background: linear-gradient(135deg, var(--tint-blue) 0%, var(--surface) 65%);
}

.cross-sell-card {
  border-color: var(--emerald-border);
  background: linear-gradient(135deg, var(--tint-green) 0%, var(--tint-amber) 100%);
}

.cross-sell-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

/* 免费 2FA TOTP 工具 (/2fa) */
.totp-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.totp-result-box {
  padding: 20px 22px;
  border-radius: 18px;
  border: 1.5px solid var(--emerald-border);
  background: linear-gradient(180deg, var(--tint-green) 0%, var(--surface) 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.totp-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.totp-countdown-pill {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 12px;
  font-weight: 700;
}

.totp-digits {
  border: none;
  background: transparent;
  padding: 6px 0;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.1;
}

.totp-digits:hover {
  color: var(--emerald);
}

.totp-bar-track {
  height: 6px;
  border-radius: 999px;
  background: var(--surface-soft);
  overflow: hidden;
}

.totp-bar-fill {
  height: 100%;
  width: 100%;
  background: var(--emerald-bright);
  transition: width 0.35s linear, background 0.2s;
}

.totp-bar-fill.danger {
  background: var(--danger);
}

.totp-save-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.totp-save-row .input {
  flex: 1;
  min-width: 200px;
}

.totp-vault-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.totp-vault-card {
  padding: 15px 16px;
  border-radius: 15px;
  border: 1px solid var(--border);
  background: var(--surface-tint);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.totp-vault-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.totp-vault-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.totp-vault-digits {
  border: none;
  background: transparent;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink);
  cursor: pointer;
}

.totp-vault-digits:hover {
  color: var(--emerald);
}

/* 后台二维码上传与分割线 */
.qr-upload-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.qr-thumb {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  padding: 4px;
}

.qr-thumb-empty {
  width: 82px;
  height: 82px;
  border-radius: 12px;
  border: 1px dashed var(--border-strong);
  background: var(--surface-tint);
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--ink-3);
}

.settings-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

@media (max-width: 720px) {
  .totp-vault-grid {
    grid-template-columns: 1fr;
  }
  .totp-digits {
    font-size: 36px;
  }
  .support-qr-wrap {
    width: 100%;
    max-width: 210px;
    margin: 0 auto;
  }
  .floating-support-btn {
    right: 14px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    padding: 10px 15px;
    font-size: 13px;
  }
}

/* ==========================================================================
   单屏零下拉旗舰结构（一屏直出：紧凑横幅 + 4列核心优势卡 + 底部快捷服务与3步条）
   ========================================================================== */
body.home-compact-view .header-wrap {
  padding: 10px 0 6px;
}

body.home-compact-view .header-inner {
  padding: 8px 14px 8px 18px;
}

body.home-compact-view .app-main {
  min-height: calc(100vh - 122px);
  padding: 8px 0 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.home-compact-view .site-footer {
  padding: 14px 0;
}

.single-screen-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 紧凑宽幅编辑感 Hero 横幅（约 196px 高，零冗余留白） */
.compact-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.compact-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.compact-hero-bg img {
  position: absolute;
  top: 0;
  right: 0;
  width: 56%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
}

.compact-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    96deg,
    var(--surface) 0%,
    var(--surface) 44%,
    rgba(var(--surface-rgb), 0.86) 58%,
    rgba(var(--surface-rgb), 0.16) 100%
  );
}

.compact-hero-inner {
  position: relative;
  z-index: 1;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 1.32fr 0.68fr;
  gap: 24px;
  align-items: center;
}

.compact-hero-h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.6vw, 33px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.compact-hero-sub {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

.compact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compact-action-btn {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
}

.compact-hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.compact-brand-badge {
  text-align: right;
  padding: 10px 15px;
  border-radius: 14px;
  background: rgba(var(--surface-rgb), 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--surface-rgb), 0.72);
  box-shadow: 0 8px 20px rgba(var(--shadow-rgb), 0.08);
}

.compact-brand-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.compact-brand-motto {
  font-size: 11.5px;
  color: var(--ink-2);
  margin-top: 2px;
}

.compact-live-pill {
  width: 100%;
  max-width: 300px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 13px;
  background: rgba(28, 25, 23, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(var(--shadow-rgb), 0.18);
  transition: opacity 0.2s ease;
}

.check-circle-sm {
  width: 22px;
  height: 22px;
  font-size: 11px;
  flex-shrink: 0;
}

.compact-live-t1 {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-live-t2 {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-live-tag {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(253, 230, 138, 0.2);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* 优势直充大厅标题条与 Tab */
.showcase-section {
  display: flex;
  flex-direction: column;
}

.showcase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 12px;
}

.showcase-bar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.showcase-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.compact-switcher {
  padding: 3px;
  border-radius: 12px;
}

.compact-switcher .product-tab {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 9px;
}

.showcase-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fx-micro {
  font-size: 12px;
  color: var(--ink-3);
}

.fx-micro strong {
  color: var(--ink-2);
}

.toggle-extra-btn {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s var(--ease-out);
}

.toggle-extra-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* 4 列紧凑高密度优势商品卡 */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.adv-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.adv-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.adv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px 14px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s;
}

.adv-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.adv-card.featured {
  background: var(--surface-dark);
  border-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  box-shadow: var(--shadow-dark);
}

.adv-card.featured:hover {
  border-color: rgba(253, 230, 138, 0.45);
}

.adv-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.adv-card-title-group {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.adv-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.adv-card.featured .adv-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
}

.adv-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adv-badge {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--surface-soft);
  color: var(--ink-2);
  white-space: nowrap;
  flex-shrink: 0;
}

.adv-badge-accent {
  background: var(--emerald-soft);
  color: var(--emerald);
}

.adv-card.featured .adv-badge {
  background: rgba(253, 230, 138, 0.18);
  color: var(--gold);
}

.adv-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11.5px;
}

.adv-official-pill {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--surface-tint);
  border: 1px solid var(--border);
  color: var(--ink-2);
  font-weight: 600;
}

.adv-card.featured .adv-official-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

.adv-sales {
  color: var(--ink-3);
  font-size: 11px;
  white-space: nowrap;
}

.adv-card.featured .adv-sales {
  color: rgba(255, 255, 255, 0.56);
}

.adv-price-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.adv-price {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}

.adv-card.featured .adv-price {
  color: #FFFFFF;
}

.adv-yen {
  font-size: 16px;
  font-weight: 700;
  margin-right: 1px;
}

.adv-dec {
  font-size: 16px;
  font-weight: 700;
  opacity: 0.72;
}

.adv-unit {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
}

.adv-card.featured .adv-unit {
  color: rgba(255, 255, 255, 0.65);
}

.adv-strike {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--ink-3);
  text-decoration: line-through;
}

.adv-card.featured .adv-strike {
  color: rgba(255, 255, 255, 0.45);
}

.adv-foot {
  padding-top: 9px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.adv-card.featured .adv-foot {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.adv-desc {
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adv-card.featured .adv-desc {
  color: rgba(255, 255, 255, 0.76);
}

.adv-go {
  font-weight: 700;
  color: var(--emerald);
  white-space: nowrap;
  flex-shrink: 0;
}

.adv-card.featured .adv-go {
  color: var(--gold);
}

/* 底部双栏条（左：远程技术服务/快捷主力卡 | 右：3步极简购买流） */
.bottom-strip {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quick-service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.18s var(--ease-out), border-color 0.18s, box-shadow 0.18s;
}

.quick-service-card:hover {
  transform: translateY(-1px);
  border-color: var(--emerald-border);
  box-shadow: var(--shadow-sm);
}

.quick-service-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.quick-service-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--surface-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.quick-service-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  flex-wrap: wrap;
}

.quick-service-sub {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-service-price {
  text-align: right;
  flex-shrink: 0;
}

.quick-service-price strong {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}

.quick-service-price span {
  font-size: 11.5px;
  color: var(--ink-3);
  margin-left: 2px;
}

.how-strip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 18px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.how-strip-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
}

.how-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.how-step {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.how-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--emerald-border);
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 11.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.how-step strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.how-step span {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.3;
  white-space: nowrap;
}

.how-line {
  flex: 1;
  height: 1px;
  background: var(--border-strong);
  min-width: 10px;
}

/* 首页底部支付与官方实时状态微条 */
.home-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 8px 2px 0;
  font-size: 12px;
  color: var(--ink-3);
}

.home-meta-left,
.home-meta-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.meta-label {
  font-weight: 600;
  color: var(--ink-3);
}

.meta-alipay-chip {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--alipay-soft);
  color: var(--alipay);
  font-weight: 700;
}

.meta-trust-txt {
  color: var(--ink-2);
  font-weight: 500;
}

.meta-sep {
  color: var(--border-strong);
}

@media (max-width: 1080px) {
  .adv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bottom-strip {
    grid-template-columns: 1fr;
  }
  .compact-hero-inner {
    grid-template-columns: 1fr;
  }
  .compact-hero-right {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .compact-brand-badge {
    text-align: left;
  }
}

@media (max-width: 720px) {
  body.home-compact-view .app-main {
    justify-content: flex-start;
  }
  .adv-grid,
  .adv-grid-3,
  .adv-grid-2 {
    grid-template-columns: 1fr;
  }
  .compact-hero-inner {
    padding: 20px 18px;
  }
  .compact-hero-bg img {
    width: 100%;
    opacity: 0.25;
  }
  .compact-hero-bg::after {
    background: linear-gradient(180deg, rgba(var(--surface-rgb), 0.78) 0%, rgba(var(--surface-rgb), 0.94) 100%);
  }
  .how-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .how-line {
    display: none;
  }
  .quick-service-sub {
    white-space: normal;
  }
}
