/* ==========================================================================
   全网视图下载 · 全新首页样式系统 (Crisp Utility Studio)
   支持亮/暗双主题自动适配 + 手动切换，桌面与移动端原生级精致体验
   ========================================================================== */

:root {
  color-scheme: light dark;

  /* 色彩系统 · 亮色默认 */
  --canvas: #F8FAFC;
  --surface: #FFFFFF;
  --surface-elevated: #FFFFFF;
  --surface-subtle: #EFF3F8;
  --surface-hover: #E6ECF4;
  --nav-bg: rgba(248, 250, 252, 0.86);

  --ink: #0F172A;
  --ink-secondary: #475569;
  --ink-muted: #64748B;
  --ink-faint: #94A3B8;

  --brand: #0A74FF;
  --brand-hover: #005CE6;
  --brand-soft: rgba(10, 116, 255, 0.09);
  --brand-border: rgba(10, 116, 255, 0.24);

  --live: #FF3358;
  --live-soft: rgba(255, 51, 88, 0.09);
  --emerald: #0EA765;
  --emerald-soft: rgba(14, 167, 101, 0.10);
  --amber: #D97706;
  --amber-soft: rgba(217, 119, 6, 0.10);

  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);

  /* 阴影 · 精密微距漫反射 */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 32px -6px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 56px -12px rgba(15, 23, 42, 0.14), 0 8px 20px -6px rgba(15, 23, 42, 0.06);
  --shadow-brand: 0 10px 24px -6px rgba(10, 116, 255, 0.38);

  /* 圆角与尺寸 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 9999px;

  --container: 1160px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #0A0D13;
    --surface: #121721;
    --surface-elevated: #171E2B;
    --surface-subtle: #1B2332;
    --surface-hover: #222C3E;
    --nav-bg: rgba(10, 13, 19, 0.80);

    --ink: #F1F5F9;
    --ink-secondary: #CBD5E1;
    --ink-muted: #94A3B8;
    --ink-faint: #64748B;

    --brand: #3B93FF;
    --brand-hover: #5AA5FF;
    --brand-soft: rgba(59, 147, 255, 0.14);
    --brand-border: rgba(59, 147, 255, 0.32);

    --live: #FF5573;
    --live-soft: rgba(255, 85, 115, 0.14);
    --emerald: #22C984;
    --emerald-soft: rgba(34, 201, 132, 0.14);
    --amber: #F59E0B;
    --amber-soft: rgba(245, 158, 11, 0.14);

    --line: rgba(241, 245, 249, 0.09);
    --line-strong: rgba(241, 245, 249, 0.16);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 16px 36px -6px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 28px 64px -12px rgba(0, 0, 0, 0.65);
    --shadow-brand: 0 10px 28px -6px rgba(59, 147, 255, 0.40);
  }
}

:root[data-theme="dark"] {
  --canvas: #0A0D13;
  --surface: #121721;
  --surface-elevated: #171E2B;
  --surface-subtle: #1B2332;
  --surface-hover: #222C3E;
  --nav-bg: rgba(10, 13, 19, 0.80);

  --ink: #F1F5F9;
  --ink-secondary: #CBD5E1;
  --ink-muted: #94A3B8;
  --ink-faint: #64748B;

  --brand: #3B93FF;
  --brand-hover: #5AA5FF;
  --brand-soft: rgba(59, 147, 255, 0.14);
  --brand-border: rgba(59, 147, 255, 0.32);

  --live: #FF5573;
  --live-soft: rgba(255, 85, 115, 0.14);
  --emerald: #22C984;
  --emerald-soft: rgba(34, 201, 132, 0.14);
  --amber: #F59E0B;
  --amber-soft: rgba(245, 158, 11, 0.14);

  --line: rgba(241, 245, 249, 0.09);
  --line-strong: rgba(241, 245, 249, 0.16);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 16px 36px -6px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 28px 64px -12px rgba(0, 0, 0, 0.65);
  --shadow-brand: 0 10px 28px -6px rgba(59, 147, 255, 0.40);
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--canvas);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 顶部柔和光晕氛围（从最顶贯通，无生硬断层） */
body::before {
  content: "";
  position: fixed;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1400px, 140vw);
  height: 520px;
  background:
    radial-gradient(50% 60% at 50% 18%, rgba(10, 116, 255, 0.075), transparent 72%),
    radial-gradient(36% 50% at 82% 24%, rgba(56, 189, 248, 0.055), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body::before {
    background:
      radial-gradient(48% 65% at 24% 35%, rgba(59, 147, 255, 0.16), transparent 72%),
      radial-gradient(42% 60% at 78% 28%, rgba(14, 165, 233, 0.11), transparent 70%);
  }
}

:root[data-theme="dark"] body::before {
  background:
    radial-gradient(48% 65% at 24% 35%, rgba(59, 147, 255, 0.16), transparent 72%),
    radial-gradient(42% 60% at 78% 28%, rgba(14, 165, 233, 0.11), transparent 70%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

/* ==========================================================================
   顶部导航栏
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-xs);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 3px;
  box-shadow: var(--shadow-xs);
  object-fit: contain;
}

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

.nav-links a {
  padding: 7px 13px;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--surface-subtle);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-findcode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  transition: background-color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.nav-findcode:hover {
  background: var(--brand-border);
}

.icon-tool-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.icon-tool-btn:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface-subtle);
}

.mobile-menu-toggle {
  display: none;
}

/* 移动端导航抽屉 */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 120;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

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

.mobile-drawer-panel {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-bottom: 1px solid var(--line-strong);
  padding: 16px 20px 24px;
  display: grid;
  gap: 6px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
  transition: transform 0.24s var(--ease);
}

.mobile-drawer.open .mobile-drawer-panel {
  transform: translateY(0);
}

.mobile-drawer-panel a {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-panel a:active {
  background: var(--surface-subtle);
}

/* ==========================================================================
   Hero 首屏 · 智能设备感知 + 交互式多端实机工作台
   ========================================================================== */
.hero {
  padding: 44px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.06fr);
  gap: 44px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 8px;
  border-radius: var(--r-pill);
  background: rgba(10, 116, 255, 0.06);
  border: 1px solid rgba(10, 116, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-soft);
  margin-left: 2px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.45vw, 3.05rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 18px;
}

.hero-title .accent-word {
  background: linear-gradient(135deg, #1E3A8A 0%, #0A66FF 62%, #0284C7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-title .accent-word {
    background: linear-gradient(135deg, #93C5FD 0%, #60A5FA 55%, #38BDF8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

:root[data-theme="dark"] .hero-title .accent-word {
  background: linear-gradient(135deg, #93C5FD 0%, #60A5FA 55%, #38BDF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 1025px) {
  .hero-title .accent-word {
    white-space: nowrap;
  }
}

.hero-lead {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 44ch;
  margin: 0 auto 16px;
}

.hero-platforms-banner {
  margin: 0 auto 24px;
  width: 100%;
  max-width: 368px;
}

.hero-platforms-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 368px;
  margin: 0 auto 16px;
}

.btn.hero-primary-cta {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  background: linear-gradient(135deg, #1B86FF 0%, #0A68FF 55%, #0054E0 100%);
  color: #FFFFFF;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    0 12px 26px -8px rgba(10, 104, 255, 0.50),
    0 3px 8px -2px rgba(10, 104, 255, 0.24);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, filter 0.2s ease;
}

.btn.hero-primary-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.24) 50%, transparent 80%);
  animation: ctaShimmer 4.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaShimmer {
  0%, 72% { left: -120%; }
  100% { left: 160%; }
}

.btn.hero-primary-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 16px 32px -8px rgba(10, 104, 255, 0.58),
    0 5px 12px -2px rgba(10, 104, 255, 0.30);
}

.btn.hero-primary-cta:active {
  transform: scale(0.985);
}

.hero-sub-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.hero-sub-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  color: var(--ink-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

:root[data-theme="dark"] .hero-sub-link {
  background: rgba(255, 255, 255, 0.05);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-sub-link {
    background: rgba(255, 255, 255, 0.05);
  }
}

.hero-sub-link i {
  font-size: 0.82rem;
  color: var(--ink-muted);
  transition: color 0.18s ease;
}

.hero-sub-link:hover {
  background: var(--surface);
  border-color: var(--brand-border);
  color: var(--brand);
}

.hero-sub-link:hover i {
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 650;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: transform 0.18s var(--ease), box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--brand);
  color: #FFFFFF;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--surface-subtle);
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 11px;
  font-size: 0.88rem;
}

.hero-os-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.hero-os-hint strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-os-hint button {
  color: var(--brand);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 右侧：交互式全端实机工作台 */
.device-stage {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.stage-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: var(--surface-subtle);
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 14px;
}

.stage-tab {
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.stage-tab[aria-selected="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.stage-tab i {
  font-size: 0.88rem;
}

.stage-viewport {
  position: relative;
  border-radius: 18px;
  background: var(--canvas);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stage-panel {
  display: none;
  padding: 16px;
  flex: 1;
  animation: stageFade 0.28s var(--ease);
}

.stage-panel.active {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

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

/* iOS 快捷指令专属展示卡（左侧快捷指令 Logo + 右侧四指令图） */
.ios-showcase-grid {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-subtle) 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.ios-showcase-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.ios-shortcuts-logo {
  width: 74px;
  height: 74px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(67, 56, 202, 0.24));
  margin-bottom: 8px;
}

.ios-shortcuts-name {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.25;
  white-space: nowrap;
}

.ios-shortcuts-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-top: 2px;
  white-space: nowrap;
}

.ios-showcase-cards {
  min-width: 0;
}

.ios-showcase-cards img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.stage-shortcuts {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}

.stage-shortcuts-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stage-shortcuts-label i {
  color: var(--brand);
}

.shortcut-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.shortcut-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 10px;
  background: var(--surface-subtle);
  border: 1px solid transparent;
  font-size: 0.83rem;
  font-weight: 650;
  color: var(--ink);
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.16s var(--ease);
  white-space: nowrap;
}

.shortcut-pill i {
  font-size: 0.86rem;
  color: var(--brand);
}

.shortcut-pill:hover {
  background: var(--brand-soft);
  border-color: var(--brand-border);
  color: var(--brand);
  transform: translateY(-1px);
}

/* 桌面端 & 安卓真机截屏展示（加大左右留白降低模块高度，且完整不裁底） */
.stage-shot-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 14px 52px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-subtle) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-shot-frame img {
  width: 100%;
  max-width: 370px;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.stage-shot-frame.is-mobile-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 48px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-subtle) 100%);
}

.stage-shot-frame.is-mobile-shot img {
  width: min(39%, 134px);
  max-width: none;
  height: auto;
  border-radius: 16px;
  border: 4px solid #111827;
  box-shadow: var(--shadow-md);
}

.stage-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stage-panel-meta {
  font-size: 0.83rem;
  color: var(--ink-secondary);
}

.stage-panel-meta strong {
  color: var(--ink);
  display: block;
  font-size: 0.9rem;
}

.stage-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 0.83rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.18s ease;
}

.stage-panel-link:hover {
  background: var(--brand-hover);
}

/* 信任指标条 */
.trust-strip {
  margin-top: 44px;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-item + .trust-item {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.trust-num {
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  line-height: 1.1;
}

.trust-label {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

/* ==========================================================================
   通用分区标题
   ========================================================================== */
.section {
  padding: 76px 0;
}

.section-header {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* ==========================================================================
   全端产品生态矩阵（6 端一屏纵览）
   ========================================================================== */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.eco-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s var(--ease), border-color 0.22s ease, box-shadow 0.22s ease;
}

.eco-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-border);
  box-shadow: var(--shadow-md);
}

.eco-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.eco-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.eco-icon.ios { background: rgba(15, 23, 42, 0.08); color: var(--ink); }
.eco-icon.mac { background: rgba(10, 116, 255, 0.12); color: var(--brand); }
.eco-icon.win { background: rgba(14, 165, 233, 0.12); color: #0284C7; }
.eco-icon.android { background: rgba(16, 185, 129, 0.12); color: #059669; }
.eco-icon.weapp { background: rgba(7, 193, 96, 0.12); color: #07C160; }
.eco-icon.ai { background: rgba(139, 92, 246, 0.12); color: #7C3AED; }

:root[data-theme="dark"] .eco-icon.ios { background: rgba(255, 255, 255, 0.10); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .eco-icon.ios { background: rgba(255, 255, 255, 0.10); }
}

.eco-tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-subtle);
  color: var(--ink-secondary);
}

.eco-tag.is-hot {
  background: var(--brand-soft);
  color: var(--brand);
}

.eco-body {
  margin-top: 16px;
}

.eco-body h3 {
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.eco-body p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.eco-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--brand);
}

.eco-link i {
  font-size: 0.78rem;
  transition: transform 0.18s ease;
}

.eco-card:hover .eco-link i {
  transform: translateX(3px);
}

/* ==========================================================================
   核心亮点 + 平台标签墙
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.feature-icon.live { background: var(--live-soft); color: var(--live); }
.feature-icon.emerald { background: var(--emerald-soft); color: var(--emerald); }
.feature-icon.amber { background: var(--amber-soft); color: var(--amber); }

.feature-card h3 {
  font-size: 1.02rem;
  font-weight: 750;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.platform-cloud {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.platform-chip {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--surface-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.platform-chip.is-more {
  background: var(--brand-soft);
  color: var(--brand);
}

/* ==========================================================================
   使用方法 · 演示与三步流程
   ========================================================================== */
.usage-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
}

.usage-demo-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  justify-content: center;
}

.usage-demo-box img {
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.steps-list {
  display: grid;
  gap: 14px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}

.step-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-card h3 {
  font-size: 1.02rem;
  font-weight: 750;
  margin-bottom: 4px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   获取授权码 · 紧凑上下+左右排列列表（手机大半屏一览全部）
   ========================================================================== */
.pricing-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.pricing-header {
  margin-bottom: 20px;
}

.findcode-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  transition: background-color 0.18s ease, transform 0.18s var(--ease);
}

.findcode-pill:hover {
  background: var(--brand-soft);
  transform: translateY(-1px);
}

.pricing-banner-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 8px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-xs);
}

.pricing-banner-card img {
  width: 100%;
  border-radius: 10px;
}

.pricing-list {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.pricing-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 28px;
  transition: background-color 0.16s ease;
}

.pricing-row + .pricing-row {
  border-top: 1px solid var(--line);
}

.pricing-row:hover {
  background: var(--canvas);
}

.pricing-row.is-featured {
  background: rgba(10, 116, 255, 0.045);
}

.pricing-row-price {
  width: 96px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.56rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
  line-height: 1.1;
}

.pricing-row-price .currency {
  font-size: 1.04rem;
  font-weight: 700;
  margin-right: 1px;
}

.pricing-row-price.is-free {
  font-size: 1.32rem;
}

.pricing-row-price .unit {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-left: 2px;
}

.pricing-row-info {
  flex: 1;
  min-width: 0;
}

.pricing-row-title {
  font-size: 1.02rem;
  font-weight: 750;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}

.pricing-row-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  color: var(--brand);
  line-height: 1.25;
}

.pricing-row-desc {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.4;
  margin-top: 3px;
}

.pricing-row-btn {
  flex-shrink: 0;
  min-width: 104px;
  min-height: 38px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 650;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.14s ease, box-shadow 0.16s ease;
}

.pricing-row-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

.pricing-row-btn.is-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
  box-shadow: 0 6px 14px -6px rgba(10, 116, 255, 0.48);
}

.pricing-row-btn.is-primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -6px rgba(10, 116, 255, 0.56);
}

.pricing-row-btn:active {
  transform: scale(0.97);
}

.pricing-tip {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--emerald-soft);
  border: 1px solid rgba(14, 167, 101, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink);
}

.pricing-tip i {
  color: var(--emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   App 会员 vs 授权码 双轨对比（整合安装依赖）
   ========================================================================== */
.compare-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 28px;
  align-items: stretch;
}

.compare-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.compare-visual img {
  width: 100%;
  border-radius: 14px;
}

.compare-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.track-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.track-card.is-live {
  border-left: 4px solid var(--live);
}

.track-card.is-static {
  border-left: 4px solid var(--brand);
}

.track-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.track-app-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.track-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.track-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--live);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.track-card.is-static .track-label {
  color: var(--brand);
}

.track-card h3 {
  font-size: 1.12rem;
  font-weight: 750;
}

.track-card p {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.track-quota {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quota-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-subtle);
  color: var(--ink-secondary);
}

.track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   更多快捷指令与工具合集
   ========================================================================== */
.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.shortcut-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease), border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.shortcut-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.shortcut-card-icon.xhs { background: rgba(255, 36, 66, 0.11); color: #FF2442; }
.shortcut-card-icon.dy { background: rgba(15, 23, 42, 0.08); color: var(--ink); }
.shortcut-card-icon.bili { background: rgba(251, 114, 153, 0.14); color: #FB7299; }
.shortcut-card-icon.live { background: rgba(245, 158, 11, 0.13); color: #D97706; }

:root[data-theme="dark"] .shortcut-card-icon.dy { background: rgba(255, 255, 255, 0.10); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shortcut-card-icon.dy { background: rgba(255, 255, 255, 0.10); }
}

.shortcut-card h3 {
  font-size: 1.02rem;
  font-weight: 750;
  margin-bottom: 6px;
}

.shortcut-card p {
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.58;
}

.shortcut-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  border-radius: 10px;
  background: var(--surface-subtle);
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--ink);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.shortcut-card:hover .shortcut-card-btn {
  background: var(--brand);
  color: #fff;
}

/* ==========================================================================
   FAQ 手风琴
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.active {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  min-height: 58px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-weight: 650;
  font-size: 0.98rem;
  color: var(--ink);
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface-subtle);
  color: var(--ink-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 0.22s var(--ease), background-color 0.2s ease, color 0.2s ease;
}

.faq-item.active .faq-toggle-icon {
  background: var(--brand-soft);
  color: var(--brand);
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.26s var(--ease);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

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

.faq-answer-content {
  padding: 0 20px 20px;
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.75;
}

.faq-answer-content p + p {
  margin-top: 10px;
}

.faq-answer-content img {
  margin: 12px 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  max-width: 100%;
}

.faq-answer-content a {
  color: var(--brand);
  font-weight: 600;
}

.faq-callout {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface-subtle);
  border-left: 3px solid var(--brand);
}

.faq-more-links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.faq-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.faq-more-link:hover {
  border-color: var(--brand-border);
  color: var(--brand);
}

/* ==========================================================================
   联系作者 & 页脚
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease), border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-icon.wx { background: rgba(7, 193, 96, 0.12); color: #07C160; }
.contact-icon.xhs { background: rgba(255, 36, 66, 0.11); color: #FF2442; }
.contact-icon.wb { background: rgba(230, 22, 45, 0.10); color: #E6162D; }
.contact-icon.mail { background: var(--brand-soft); color: var(--brand); }

.contact-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
}

.contact-card p {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.site-footer {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding: 32px 0 calc(36px + env(safe-area-inset-bottom));
}

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

.footer-copy {
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--brand);
}

/* ==========================================================================
   统一弹层系统（多端下载 / 微信&淘宝购买 / 无限套餐 / 须知 / 免费码 / 法律条款）
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.modal-backdrop.show {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  width: 100%;
  max-width: 460px;
  max-height: min(88vh, 720px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.24s var(--ease);
}

.modal-backdrop.show .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-dialog.is-wide {
  max-width: 540px;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface-subtle);
  color: var(--ink-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: background-color 0.18s ease, color 0.18s ease;
}

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

.modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding-right: 36px;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

/* 多端下载弹窗内部 */
.dl-primary-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  margin-bottom: 12px;
}

.dl-primary-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--brand);
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.dl-primary-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.dl-primary-info {
  flex: 1;
  min-width: 0;
}

.dl-primary-info h4 {
  font-size: 0.98rem;
  font-weight: 750;
}

.dl-primary-info p {
  font-size: 0.8rem;
  color: var(--ink-secondary);
  line-height: 1.45;
  margin-top: 2px;
}

.dl-primary-btn {
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dl-primary-btn:hover {
  background: var(--brand-hover);
}

.dl-ios-legacy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface-subtle);
  font-size: 0.82rem;
  color: var(--ink-secondary);
  margin-bottom: 12px;
}

.dl-ios-legacy a {
  color: var(--brand);
  font-weight: 650;
  white-space: nowrap;
}

.dl-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin: 14px 0 10px;
}

.dl-other-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.dl-other-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 13px;
  background: var(--surface-subtle);
  border: 1px solid transparent;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.dl-other-card:hover {
  border-color: var(--brand-border);
  background: var(--surface-hover);
}

.dl-other-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--ink);
  flex-shrink: 0;
}

.dl-primary-icon.tone-ios,
.dl-other-icon.tone-ios { background: rgba(15, 23, 42, 0.09); color: var(--ink); }
.dl-primary-icon.tone-mac,
.dl-other-icon.tone-mac { background: rgba(10, 116, 255, 0.13); color: var(--brand); }
.dl-primary-icon.tone-win,
.dl-other-icon.tone-win { background: rgba(14, 165, 233, 0.13); color: #0284C7; }
.dl-primary-icon.tone-android,
.dl-other-icon.tone-android { background: rgba(16, 185, 129, 0.13); color: #059669; }
.dl-primary-icon.tone-weapp,
.dl-other-icon.tone-weapp { background: rgba(7, 193, 96, 0.13); color: #07C160; }
.dl-primary-icon.tone-ai,
.dl-other-icon.tone-ai { background: rgba(139, 92, 246, 0.13); color: #7C3AED; }

:root[data-theme="dark"] .dl-primary-icon.tone-ios,
:root[data-theme="dark"] .dl-other-icon.tone-ios { background: rgba(255, 255, 255, 0.12); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .dl-primary-icon.tone-ios,
  :root:not([data-theme="light"]) .dl-other-icon.tone-ios { background: rgba(255, 255, 255, 0.12); }
}

.dl-primary-icon.has-img,
.dl-other-icon.has-img {
  background: transparent !important;
  box-shadow: none;
  padding: 0;
}

.dl-primary-icon.has-img img,
.dl-other-icon.has-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.dl-other-name {
  flex: 1;
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dl-other-arrow {
  font-size: 0.72rem;
  color: var(--ink-faint);
  flex-shrink: 0;
  transition: transform 0.16s ease, color 0.16s ease;
}

.dl-other-card:hover .dl-other-arrow {
  color: var(--brand);
  transform: translateX(2px);
}

/* 购买平台 & 无限套餐选项列表 */
.option-list {
  display: grid;
  gap: 10px;
}

.option-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface-subtle);
  border: 1px solid transparent;
  text-align: left;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.15s ease;
}

.option-row:hover {
  border-color: var(--brand-border);
  background: var(--surface-hover);
}

.option-row.is-recommended {
  background: rgba(7, 193, 96, 0.08);
  border-color: rgba(7, 193, 96, 0.32);
}

.option-row.is-recommended:hover {
  background: rgba(7, 193, 96, 0.13);
  border-color: rgba(7, 193, 96, 0.5);
}

.option-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.option-rec-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: #07C160;
  color: #FFFFFF;
  line-height: 1.25;
}

.option-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.option-brand-icon.wechat {
  background: #07C160;
}

.option-brand-icon.taobao {
  background: #FF5000;
}

.option-brand-icon svg {
  width: 24px;
  height: 24px;
}

.option-brand-icon.tier {
  background: var(--surface);
  border: 1px solid var(--line);
}

.option-info {
  flex: 1;
  min-width: 0;
}

.option-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink);
}

.option-desc {
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.45;
  margin-top: 2px;
}

.option-price {
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
  white-space: nowrap;
}

.option-arrow {
  font-size: 1.2rem;
  color: var(--ink-faint);
}

.modal-notice-box {
  background: var(--surface-subtle);
  border-radius: 14px;
  padding: 14px 16px;
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.modal-wechat-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--emerald-soft);
  font-size: 0.84rem;
  color: var(--ink);
  margin-bottom: 18px;
}

.modal-wechat-hint i {
  color: #07C160;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.modal-footnote {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.81rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.legal-body {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.75;
  display: grid;
  gap: 12px;
}

/* Toast 提示 */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom));
  transform: translate(-50%, 16px);
  z-index: 1200;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  background: #0F172A;
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.24s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.success i { color: #34D399; }
.toast.error i { color: #FB7185; }

/* ==========================================================================
   响应式适配（平板 & 手机优先细节）
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .usage-layout,
  .compare-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 60px;
  }

  .nav-links,
  .nav-findcode {
    display: none;
  }

  .nav-tools {
    gap: 2px;
  }

  .icon-tool-btn {
    width: 36px;
    height: 36px;
    border-color: transparent;
    background: transparent;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .mobile-drawer {
    display: block;
  }

  .hero {
    padding: 14px 0 28px;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero-eyebrow {
    font-size: 0.74rem;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 8.2vw, 2.3rem);
    margin-bottom: 10px;
  }

  .hero-lead {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .hero-platforms-banner {
    max-width: 326px;
    margin-bottom: 20px;
  }

  .hero-actions {
    max-width: 326px;
    gap: 10px;
    margin-bottom: 14px;
  }

  .btn.hero-primary-cta {
    min-height: 52px;
    font-size: 1rem;
  }

  .hero-sub-actions {
    width: 100%;
    gap: 10px;
  }

  .hero-sub-link {
    min-height: 38px;
    font-size: 0.84rem;
  }

  .hero-os-hint {
    font-size: 0.78rem;
  }

  .device-stage {
    padding: 10px;
    border-radius: 20px;
  }

  .stage-tabs {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 10px;
  }

  .stage-tab span {
    display: none;
  }

  .stage-tab {
    font-size: 0.95rem;
  }

  .stage-panel {
    padding: 10px;
  }

  .stage-panel.active {
    gap: 10px;
  }

  .ios-showcase-grid {
    padding: 12px;
    gap: 12px;
  }

  .ios-showcase-brand {
    padding-right: 12px;
  }

  .ios-shortcuts-logo {
    width: 52px;
    height: 52px;
    margin-bottom: 5px;
  }

  .ios-shortcuts-name {
    font-size: 0.74rem;
  }

  .ios-shortcuts-sub {
    font-size: 0.64rem;
  }

  .stage-shot-frame {
    padding: 10px 28px;
  }

  .stage-shot-frame.is-mobile-shot {
    padding: 10px 26px;
    gap: 10px;
  }

  .stage-shot-frame.is-mobile-shot img {
    width: min(42%, 118px);
  }

  .shortcut-pill-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .shortcut-pill {
    font-size: 0.78rem;
    padding: 6px 4px;
    gap: 4px;
  }

  .stage-panel-foot {
    gap: 8px;
  }

  .stage-panel-meta {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .stage-panel-meta strong {
    font-size: 0.84rem;
  }

  .stage-panel-link {
    padding: 7px 11px;
    font-size: 0.78rem;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 12px 14px;
    margin-top: 18px;
    gap: 10px 14px;
    border-radius: 16px;
  }

  .trust-item + .trust-item {
    padding-left: 0;
    border-left: none;
  }

  .trust-num {
    font-size: 1.15rem;
  }

  .trust-label {
    font-size: 0.74rem;
  }

  /* 全局移动端分区节奏 */
  .section {
    padding: 32px 0;
  }

  .section-header {
    margin-bottom: 18px;
  }

  .section-kicker {
    font-size: 0.72rem;
    margin-bottom: 6px;
  }

  .section-title {
    font-size: 1.42rem;
    margin-bottom: 6px;
  }

  .section-desc {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  /* 全端产品生态：iPhone 2×3 紧凑网格，屏效提升 65% */
  .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .eco-card {
    padding: 14px 12px;
    border-radius: 16px;
    gap: 10px;
  }

  .eco-card:hover {
    transform: none;
  }

  .eco-card-top {
    align-items: center;
    gap: 6px;
  }

  .eco-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .eco-tag {
    font-size: 0.66rem;
    padding: 2px 7px;
    white-space: nowrap;
  }

  .eco-body {
    margin-top: 10px;
  }

  .eco-body h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    line-height: 1.3;
  }

  .eco-body p {
    font-size: 0.74rem;
    line-height: 1.48;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .eco-link {
    font-size: 0.76rem;
    gap: 4px;
  }

  /* 核心亮点：iPhone 2×2 紧凑网格 + 精炼平台胶囊墙 */
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .feature-card {
    padding: 14px 12px;
    border-radius: 16px;
  }

  .feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.94rem;
    margin-bottom: 8px;
  }

  .feature-card h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .feature-card p {
    font-size: 0.74rem;
    line-height: 1.48;
  }

  .platform-cloud {
    margin-top: 14px;
    padding: 12px;
    gap: 6px;
    border-radius: 14px;
  }

  .platform-chip {
    padding: 4px 9px;
    font-size: 0.74rem;
  }

  /* 使用方法：控高 GIF 演示 + 紧凑三步卡片 */
  .usage-layout {
    gap: 14px;
  }

  .usage-demo-box {
    padding: 12px;
    border-radius: 18px;
  }

  .usage-demo-box img {
    width: 100%;
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: 12px;
  }

  .steps-list {
    gap: 8px;
  }

  .step-card {
    padding: 13px 14px;
    gap: 12px;
    border-radius: 14px;
  }

  .step-badge {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 0.84rem;
  }

  .step-card h3 {
    font-size: 0.92rem;
    margin-bottom: 2px;
  }

  .step-card p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  /* 移动端授权码单框列表：舒展有序，单屏轻松浏览 */
  .pricing-header {
    margin-bottom: 14px;
  }

  .pricing-banner-card {
    padding: 6px;
    margin-bottom: 12px;
  }

  .pricing-list {
    border-radius: 20px;
  }

  .pricing-row {
    gap: 12px;
    padding: 13px 16px;
  }

  .pricing-row-price {
    width: 72px;
    font-size: 1.34rem;
  }

  .pricing-row-price.is-free {
    font-size: 1.14rem;
  }

  .pricing-row-title {
    font-size: 0.94rem;
    gap: 6px;
  }

  .pricing-row-desc {
    font-size: 0.78rem;
    margin-top: 2px;
  }

  .pricing-row-btn {
    min-width: 86px;
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .pricing-tip {
    font-size: 0.8rem;
    padding: 10px 12px;
  }

  /* 实况捷径双轨说明：紧凑卡片 + 等宽双按钮 */
  .compare-layout {
    gap: 12px;
  }

  .compare-visual {
    padding: 10px;
    border-radius: 18px;
  }

  .compare-cards {
    gap: 10px;
  }

  .track-card {
    padding: 15px 14px;
    border-radius: 16px;
    gap: 12px;
  }

  .track-head {
    gap: 10px;
    margin-bottom: 6px;
  }

  .track-app-icon,
  .track-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .track-label {
    font-size: 0.7rem;
  }

  .track-card h3 {
    font-size: 0.96rem;
    line-height: 1.3;
  }

  .track-card p {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .track-quota {
    margin-top: 8px;
    gap: 6px;
  }

  .quota-pill {
    font-size: 0.72rem;
    padding: 3px 8px;
  }

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

  .track-actions .btn-sm {
    width: 100%;
    min-height: 38px;
    padding: 0 8px;
    font-size: 0.76rem;
    gap: 5px;
  }

  /* 更多垂类快捷指令：iPhone 2×2 紧凑网格 */
  .shortcuts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .shortcut-card {
    padding: 14px 12px;
    border-radius: 16px;
    gap: 10px;
  }

  .shortcut-card:hover {
    transform: none;
  }

  .shortcut-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.96rem;
    margin-bottom: 8px;
  }

  .shortcut-card h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .shortcut-card p {
    font-size: 0.74rem;
    line-height: 1.48;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .shortcut-card-btn {
    padding: 7px 10px;
    font-size: 0.76rem;
    border-radius: 9px;
  }

  /* FAQ 紧凑适配 */
  .faq-list {
    gap: 8px;
  }

  .faq-question {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 0.9rem;
    gap: 10px;
  }

  .faq-toggle-icon {
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
  }

  .faq-answer-content {
    padding: 0 14px 14px;
    font-size: 0.84rem;
    line-height: 1.65;
  }

  .faq-more-links {
    margin-top: 14px;
    gap: 7px;
  }

  .faq-more-link {
    padding: 6px 11px;
    font-size: 0.78rem;
  }

  /* 联系作者：iPhone 2×2 紧凑网格，消除右侧大留白 */
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .contact-card {
    padding: 13px 12px;
    border-radius: 16px;
    gap: 10px;
  }

  .contact-card:hover {
    transform: none;
  }

  .contact-card > div:not(.contact-icon) {
    min-width: 0;
    flex: 1;
  }

  .contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1rem;
    flex: 0 0 36px;
  }

  .contact-card h3 {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .contact-card p {
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 多端下载弹窗：保持 2 列紧凑，iPhone 无需大滚 */
  .dl-primary-card {
    padding: 12px;
    gap: 10px;
  }

  .dl-other-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .dl-other-card {
    padding: 10px;
    gap: 8px;
  }

  .dl-other-icon {
    width: 32px;
    height: 32px;
    font-size: 0.94rem;
  }

  .dl-other-name {
    font-size: 0.84rem;
  }

  .modal-backdrop {
    align-items: center;
    justify-content: center;
    padding: 16px;
  }

  .modal-dialog {
    max-width: 420px;
    border-radius: 22px;
    padding: 20px 18px;
  }

  .site-footer {
    margin-top: 16px;
    padding: 24px 0 calc(28px + env(safe-area-inset-bottom));
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-links {
    gap: 10px 14px;
    font-size: 0.8rem;
    justify-content: center;
  }
}

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