/* ============================================================
   智能扫描仪官网 — 设计系统
   品牌色对齐 App：OnboardingTheme / HomeView / MembershipTheme
   ============================================================ */

:root {
  /* 品牌主色 */
  --primary-start: #4A90FF;
  --primary-end: #2E6EFF;
  --primary: #2E6EFF;
  --primary-hover: #1E5AE8;

  /* 背景与文字 */
  --bg-page: #F3F4F7;
  --bg-alt: #FFFFFF;
  --bg-content: #F7F7F7;
  --text-title: #1F2329;
  --text-body: #6B7280;
  --text-muted: #9CA3AF;
  --border: rgba(0, 0, 0, 0.06);

  /* 会员深色区 */
  --vip-bg-start: #1E2433;
  --vip-bg-end: #0B0D12;
  --vip-gold: #D4B06A;
  --vip-cta-start: #FF9A4A;
  --vip-cta-end: #FF6B1A;

  /* 布局 */
  --container: 1120px;
  --container-narrow: 720px;
  --header-h: 72px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 32px rgba(46, 110, 255, 0.10);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.12);

  /* 动效 */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.35s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-page);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; transition: color var(--duration); }
a:hover { color: var(--primary-hover); }

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

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

/* ---- 按钮 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
  color: #fff;
  box-shadow: 0 6px 20px rgba(46, 110, 255, 0.32);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 8px 28px rgba(46, 110, 255, 0.42);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-title);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover { background: #fff; color: var(--text-title); }

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- 导航 ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-title);
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}

.brand:hover { color: var(--text-title); }

.brand-icon {
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}

.nav-desktop {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-desktop a {
  color: var(--text-body);
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width 0.25s var(--ease-out);
}

.nav-desktop a:hover { color: var(--text-title); }
.nav-desktop a:hover::after { width: 100%; }

.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-title);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile a {
  padding: 14px 16px;
  color: var(--text-title);
  font-weight: 500;
  font-size: 16px;
  border-radius: var(--radius-sm);
}

.nav-mobile a:hover { background: var(--bg-content); }

.nav-mobile .btn { margin-top: 12px; width: 100%; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #EEF2FF 0%, var(--bg-page) 55%, var(--bg-page) 100%);
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orb-float 12s ease-in-out infinite;
}

.hero-orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(74, 144, 255, 0.35), transparent 70%);
  top: -120px; right: -80px;
}

.hero-orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(46, 110, 255, 0.25), transparent 70%);
  bottom: 10%; left: -100px;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(47, 195, 211, 0.2), transparent 70%);
  top: 40%; left: 30%;
  animation-delay: -8s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 110, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 110, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.95); }
}

.hero-grid-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-block: 80px 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(46, 110, 255, 0.15);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-title);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-promo {
  margin-bottom: 28px;
}

.hero-promo-inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #FFF5EB 0%, #FFE8E0 100%);
  border: 1px solid rgba(255, 107, 26, 0.15);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(255, 107, 26, 0.08);
}

.hero-promo-tag {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #FF9A4A, #FF6B1A);
  padding: 4px 10px;
  border-radius: 999px;
}

.hero-promo-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-title);
}

.hero-promo-text strong {
  color: #E85D75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.2;
}

.stat span {
  font-size: 13px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ---- 手机展示（真实截图） ---- */
.hero-device {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.phone-glow {
  position: absolute;
  width: 320px;
  height: 560px;
  background: radial-gradient(ellipse at center, rgba(46, 110, 255, 0.28) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: glow-pulse 6s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

.phone-frame {
  width: 280px;
  background: linear-gradient(145deg, #2a2a2a 0%, #111 100%);
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 40px 80px rgba(46, 110, 255, 0.18);
  position: relative;
  z-index: 2;
}

.phone-notch {
  width: 96px;
  height: 26px;
  background: #111;
  border-radius: 0 0 16px 16px;
  margin: 0 auto -13px;
  position: relative;
  z-index: 4;
}

.phone-screen {
  background: #000;
  border-radius: 36px;
  overflow: hidden;
  aspect-ratio: 470 / 1024;
  position: relative;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.phone-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-title);
  box-shadow: var(--shadow-md);
  z-index: 3;
  animation: float-badge 4s ease-in-out infinite;
}

.phone-float-1 { top: 12%; left: -12%; animation-delay: 0s; }
.phone-float-2 { bottom: 28%; right: -14%; animation-delay: -2s; }
.phone-float-3 { bottom: 8%; left: -8%; animation-delay: -4s; }

.float-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---- 信任条 ---- */
.trust-bar {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
  padding: 28px 0;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-title);
}

/* ---- 通用区块 ---- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-alt);
}

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

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-label-light { color: var(--vip-gold); }

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-head p {
  font-size: 17px;
  line-height: 1.65;
}

/* ---- Bento 功能卡片 ---- */
.feature-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent, var(--primary));
  opacity: 0;
  transition: opacity 0.3s;
}

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

.bento-card:hover::before { opacity: 1; }

.bento-large { grid-row: span 2; }
.bento-wide { grid-column: span 2; }

.bento-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent, var(--primary)) 12%, transparent);
  color: var(--accent, var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 10px;
}

.bento-card p {
  font-size: 15px;
  line-height: 1.65;
}

.bento-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.bento-tags li {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  background: var(--bg-content);
  border-radius: 999px;
  color: var(--text-body);
}

/* ---- 扫描入口（对齐 App 首页） ---- */
.scan-entries {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.scan-entry {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  background: var(--entry-bg, linear-gradient(135deg, #1E66FF, #224CD7));
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease-out);
}

.scan-entry:hover { transform: translateY(-3px); }

.scan-entry-primary { min-height: 120px; }

.scan-entry-icon {
  font-size: 28px;
  line-height: 1;
  opacity: 0.95;
}

.scan-entry h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
}

.scan-entry p {
  font-size: 13px;
  opacity: 0.88;
  color: rgba(255, 255, 255, 0.9);
}

/* ---- 工具矩阵 ---- */
.tools-matrix {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tool-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.tool-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  color: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}

.tool-card strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 4px;
}

.tool-card span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}

.tools-group h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 14px;
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-chip {
  padding: 10px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-title);
  border-left: 3px solid var(--c);
  transition: transform 0.2s, box-shadow 0.2s;
}

.tool-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ---- PDF 工具 ---- */
.pdf-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.pdf-column h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 16px;
}

.pdf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pdf-grid-sm { grid-template-columns: repeat(2, 1fr); }

.pdf-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 12px;
  text-align: center;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
  cursor: default;
}

.pdf-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.pdf-card span {
  font-size: 14px;
  font-weight: 700;
  color: var(--c);
}

.pdf-highlight {
  margin-top: 24px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(46, 110, 255, 0.06), rgba(74, 144, 255, 0.04));
  border-radius: var(--radius-md);
  border: 1px solid rgba(46, 110, 255, 0.12);
}

.pdf-highlight h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 8px;
}

.pdf-highlight p { font-size: 14px; line-height: 1.65; }

/* ---- 流程步骤 ---- */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step {
  text-align: center;
  padding: 0 16px;
}

.step-num {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(46, 110, 255, 0.3);
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 10px;
}

.step p { font-size: 14px; line-height: 1.65; }

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-start), var(--primary-end));
  margin-top: 28px;
  opacity: 0.3;
}

/* ---- 电脑互传 ---- */
.lan-section {
  background: linear-gradient(135deg, #EEF4FF 0%, var(--bg-page) 100%);
}

.lan-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.lan-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 16px;
  line-height: 1.25;
}

.lan-copy > p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.lan-steps {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lan-steps li {
  font-size: 15px;
  color: var(--text-title);
  font-weight: 500;
}

.lan-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.lan-device {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.lan-screen {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-title);
  white-space: nowrap;
}

.lan-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
}

/* ---- 会员 ---- */
.membership-section {
  background: linear-gradient(180deg, var(--vip-bg-start) 0%, var(--vip-bg-end) 100%);
  color: #fff;
}

.membership-section .section-head h2 { color: #fff; }

.text-light-muted { color: rgba(255, 255, 255, 0.65) !important; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.plan-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.plan-card:hover { transform: translateY(-4px); }

.plan-featured {
  background: linear-gradient(180deg, rgba(243, 226, 196, 0.15) 0%, rgba(255, 255, 255, 0.06) 100%);
  border-color: rgba(232, 201, 142, 0.5);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.plan-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.plan-badge-gold {
  background: rgba(212, 176, 106, 0.25);
  color: var(--vip-gold);
}

.plan-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.plan-price {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.plan-price .currency { font-size: 20px; vertical-align: super; }
.plan-price .period { font-size: 16px; font-weight: 500; opacity: 0.7; }

.plan-original {
  font-size: 13px;
  text-decoration: line-through;
  opacity: 0.45;
  margin-bottom: 4px;
}

.plan-caption {
  font-size: 13px;
  color: var(--vip-gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-features li {
  font-size: 14px;
  opacity: 0.8;
  padding-left: 20px;
  position: relative;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--vip-gold);
  font-weight: 700;
}

.privileges-title {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--vip-gold);
  margin-bottom: 24px;
}

.privilege-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.privilege-grid span {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
}

/* ---- FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.25s;
}

.faq-item[open] { box-shadow: var(--shadow-sm); }

.faq-item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-title);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.25s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.7;
}

/* ---- 下载 CTA ---- */
.download-section {
  background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
  padding: 80px 0;
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.download-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.download-copy p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
}

.download-actions { text-align: center; flex-shrink: 0; }

.app-store-badge {
  display: inline-block;
  transition: transform 0.2s;
}

.app-store-badge:hover { transform: scale(1.04); }

.app-store-badge svg { width: 160px; height: auto; }

.download-note {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---- 移动端底部下载条 ---- */
.mobile-download-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px) saturate(180%);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-out);
}

.mobile-download-bar.visible {
  transform: translateY(0);
}

.mobile-download-bar img {
  border-radius: 10px;
  flex-shrink: 0;
}

.mobile-download-text {
  flex: 1;
  min-width: 0;
}

.mobile-download-text strong {
  display: block;
  font-size: 15px;
  color: var(--text-title);
  line-height: 1.2;
}

.mobile-download-text span {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

/* ---- 页脚 ---- */
.site-footer {
  background: #0F1117;
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand img { border-radius: 10px; }

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 16px;
  margin-bottom: 4px;
}

.footer-brand p { font-size: 14px; }

.footer-links h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.45); }
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.8); }

/* ---- 滚动动画 ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .hero-grid-layout { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-subtitle { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-promo-inner { margin-inline: auto; }
  .feature-bento { grid-template-columns: 1fr 1fr; }
  .bento-large { grid-row: auto; }
  .bento-wide { grid-column: span 2; }
  .scan-entries { grid-template-columns: 1fr 1fr; }
  .scan-entry-primary { grid-column: span 2; }
  .tool-cards { grid-template-columns: repeat(2, 1fr); }
  .pdf-layout { grid-template-columns: 1fr; }
  .lan-layout { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { min-height: auto; }
  .hero-grid-layout { padding-block: 48px 24px; gap: 32px; }

  .hero-device {
    padding: 0;
    max-width: 240px;
    margin-inline: auto;
  }

  .phone-frame { width: 220px; border-radius: 36px; padding: 8px; }
  .phone-notch { width: 72px; height: 22px; margin-bottom: -11px; }
  .phone-screen { border-radius: 28px; }
  .phone-float { display: none; }
  .phone-glow { width: 240px; height: 420px; }

  .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; }

  .section { padding: 72px 0; }
  .section:last-of-type { padding-bottom: calc(72px + 72px); }

  .feature-bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; }

  .scan-entries { grid-template-columns: 1fr; }
  .scan-entry-primary { min-height: auto; }
  .tool-cards { grid-template-columns: 1fr; }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step-connector { display: none; }

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

  .download-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .mobile-download-bar { display: flex; }
  body { padding-bottom: env(safe-area-inset-bottom); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
