/* =========================================================
   智扫 SmartScan · 首页专属样式
   仅 index.html 引用 css/index.css
   ========================================================= */

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, .6);
  transition: box-shadow .35s ease, background .35s ease, border-color .35s ease;
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.5px;
  color: var(--ink);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  color: #261c08;
  background: rgba(254, 196, 6, 1); /* 纯色主黄，亮暗一致 */
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(254, 196, 6, .35);
}
.brand-name { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.brand-name small { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }

.nav-menu { display: flex; align-items: center; gap: 34px; }
.nav-menu a { font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color .16s ease; }
.nav-menu a:hover { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transform-origin: center; transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .2s ease; }
/* 展开后三横条动画为关闭「X」图标 */
.nav-toggle.open { background: rgba(255, 138, 0, .1); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首屏 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 90px;
  background: linear-gradient(180deg, #fffdf9, #fff9ef);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(254, 196, 6, .028), rgba(254, 196, 6, .006));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-2);
  background: #fff;
  border: 1px solid rgba(255, 138, 0, .32);
  border-radius: 999px;
}

.hero-copy h1 {
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -1.5px;
  color: var(--ink);
}
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(135deg, rgba(254,196,6,1) 0%, #ff7a00 60%, #ff5400 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 22px 0 32px;
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.stars { color: #f6b73c; font-size: 16px; letter-spacing: 2px; }
.stars i { display: inline-block; }
.hero-trust p { font-size: 14px; color: var(--muted); }
.hero-trust strong { color: var(--ink); }

/* 手机样机 */
.hero-visual { position: relative; display: flex; justify-content: center; }

/* IP 吉祥物形象 */
.ip-mascot {
  position: absolute;
  bottom: 4px;
  left: 2%;
  width: 176px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(38, 28, 8, .15));
  animation: float 6s ease-in-out infinite;
}
.ip-mascot img { width: 100%; height: auto; }

.phone {
  position: relative;
  width: min(270px, 100%);
  aspect-ratio: 270 / 560;
  height: auto;
  background: #2a2318;
  border-radius: 42px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.phone-notch {
  position: absolute;
  top: 24px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 26px;
  background: #2a2318;
  border-radius: 20px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #fff8e8, #fff2dd);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 44px 16px 18px;
}
.p-status {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--ink-2); font-weight: 600;
  padding: 0 4px 12px;
}
.p-sig { letter-spacing: 1px; }
.p-head { font-size: 13px; font-weight: 800; padding: 6px 2px 14px; }
.p-head small { font-size: 11px; color: var(--muted); margin-left: 6px; font-weight: 600; }

.p-doc {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 16px;
}
.p-paper { display: flex; flex-direction: column; gap: 10px; }
.p-line { height: 8px; border-radius: 6px; background: #efe6d2; }
.p-line.w100 { width: 100%; }
.p-line.w95 { width: 95%; }
.p-line.w90 { width: 90%; }
.p-line.w85 { width: 85%; }
.p-line.w80 { width: 80%; }
.p-line.w70 { width: 70%; }
.p-line.w60 { width: 60%; }
.p-img { height: 70px; border-radius: 10px; background: linear-gradient(135deg, #ffe9b6, #ffd7a0); }

.p-toolbar { display: flex; gap: 8px; padding-top: 12px; }
.p-tool {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 8px;
  color: var(--ink-2);
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.p-tool.active {
  color: var(--ink);
  background: var(--grad);
  box-shadow: 0 8px 16px rgba(255, 139, 0, .35);
}

/* 漂浮卡片 */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  z-index: 3;
}
.float-card strong { display: block; font-size: 13px; }
.float-card small { color: var(--muted); font-size: 11px; }
.fc-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--ink);
  background: var(--grad);
  font-weight: 700;
}
.fc1 { top: 70px; left: -6px; animation: float 5s ease-in-out infinite; }
.fc2 { bottom: 80px; right: -6px; animation: float 6s ease-in-out infinite; animation-delay: .8s; }

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

/* ---------- 功能特性 ---------- */
.features { background: #fff; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  padding: 30px 26px;
  background: var(--bg);
  border: 1px solid rgba(229, 231, 235, .7);
  border-radius: var(--r-md);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s cubic-bezier(.22, 1, .36, 1), border-color .28s cubic-bezier(.22, 1, .36, 1);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  background: rgba(254, 196, 6, 1); /* 纯黄背景，无渐变；亮暗两态都是黄色 */
  color: #261c08; /* 图标固定深色，亮暗两态都不变 */
  border-radius: 14px;
}
.card-icon i, .step-icon i, .asi-icon i, .fc-icon i { display: inline-flex; line-height: 1; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- 使用步骤 ---------- */
.how { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.step {
  position: relative;
  padding: 34px 28px;
  background: #fff;
  border: 1px solid var(--line); /* 与正文卡片一致的描边线 */
  border-radius: var(--r-md); /* 去掉投影，亮暗两态无阴影 */
  text-align: center;
}
.step-num {
  position: absolute;
  top: 22px; right: 24px;
  font-size: 42px;
  font-weight: 800;
  color: rgba(255, 139, 0, .16);
  line-height: 1;
}
.step-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin: 0 auto 18px;
  background: var(--grad-soft);
  border-radius: 18px;
  color: var(--primary);
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- 应用界面展示 ---------- */
.appshow { background: #fff; }
.appshow-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 64px);
}
.appshow-copy { min-width: 0; }
.appshow .section-head { margin-bottom: 34px; }
.appshow-list { display: flex; flex-direction: column; gap: 20px; }
.appshow-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--bg);
  border-radius: var(--r-md);
  border: 1px solid rgba(229, 231, 235, .7);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s cubic-bezier(.22, 1, .36, 1);
}
.appshow-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.asi-icon {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: rgba(254, 196, 6, 1); /* 纯黄背景，去掉投影；亮暗两态都是黄色 */
  color: #261c08; /* 图标固定黑色，亮暗两态不变 */
  border-radius: 12px;
}
.appshow-item h3 { font-size: 18px; margin-bottom: 6px; }
.appshow-item p { color: var(--muted); font-size: 15px; }

.phone-lg {
  width: min(300px, 100%);
  aspect-ratio: 300 / 600;
  height: auto;
  margin: 0 auto;
}
.p-editor {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.p-editor .p-line { height: 9px; }

/* ---------- 应用界面展示 · App 屏幕样机 ---------- */
.appshow-scroll {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 10px 6px 26px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.appshow-scroll::-webkit-scrollbar { height: 8px; }
.appshow-scroll::-webkit-scrollbar-thumb { background: rgba(38, 28, 8, .18); border-radius: 999px; background-clip: padding-box; }

.showcase {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 268px;
  margin: 0;
  text-align: center;
}
.showcase-phone {
  position: relative;
  width: 252px;
  margin: 0 auto;
  aspect-ratio: 252 / 540;
  background: #2a2318;
  border-radius: 40px;
  padding: 11px;
  box-shadow: var(--shadow-lg);
}
.showcase-phone .phone-notch { top: 22px; height: 24px; }
.showcase figcaption {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}

.ap-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 46px 12px 12px;
  font-family: inherit;
}
.ap-bg { background: #fbf6ec; }
.ap-camera { background: #1c1710; color: #fff; }
.ap-status {
  display: flex; justify-content: space-between;
  font-size: 9px; color: var(--ink-2); font-weight: 600;
  padding: 0 2px 8px;
}
.ap-camera .ap-status { color: rgba(255, 255, 255, .82); }
.cb { display: flex; align-items: center; }

/* 首页工作台 */
.ap-topbar { justify-content: space-between; gap: 8px; }
.ap-logo {
  width: 28px; height: 28px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #261c08;
  background: var(--grad); border-radius: 9px;
}
.ap-topbar-t { flex: 1; min-width: 0; text-align: left; line-height: 1; }
.ap-topbar-t strong { display: block; font-size: 12px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.ap-topbar-t small { display: block; font-size: 8px; color: var(--muted); line-height: 1.1; }
.ap-topbar > i { font-size: 16px; color: var(--ink-2); }
.ap-hello { margin-top: 8px; font-size: 12px; font-weight: 800; color: var(--ink); }
.ap-search {
  margin-top: 8px;
  display: flex; align-items: center; gap: 6px;
  padding: 7px 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  color: var(--muted);
}
.ap-search i { font-size: 12px; }
.ap-search span { font-size: 10px; }
.ap-scan-card {
  margin-top: 10px;
  padding: 12px;
  background: linear-gradient(135deg, #ffd21f 0%, #ff9d00 100%);
  border-radius: 16px;
  color: #261c08;
  text-align: left;
  box-shadow: 0 10px 20px rgba(255, 139, 0, .25);
}
.ap-scan-card > i { font-size: 16px; }
.ap-scan-card strong { display: block; margin-top: 6px; font-size: 13px; font-weight: 800; line-height: 1.2; }
.ap-scan-card > span { display: block; margin-top: 2px; font-size: 9px; opacity: .85; }
.ap-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 14px;
  border: none; border-radius: 999px;
  cursor: pointer;
  font-size: 11px; font-weight: 700;
  transition: transform .15s ease;
}
.ap-btn:active { transform: scale(.97); }
.ap-scan-card .ap-btn { margin-top: 8px; padding: 6px 12px; background: #261c08; color: #ffd21f; }
.ap-cats { display: flex; gap: 8px; margin-top: 10px; }
.ap-cat {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, .7);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.ap-cat i { font-size: 16px; color: var(--primary-2); }
.ap-cat span { font-size: 9px; color: var(--ink-2); font-weight: 600; }
.ap-h { margin: 10px 0 4px; font-size: 11px; font-weight: 800; color: var(--ink); }
.ap-docrow {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 4px;
  box-shadow: var(--shadow-sm);
}
.ap-thumb {
  flex: 0 0 30px; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  color: #fff;
}
.ap-thumb-y { background: linear-gradient(135deg, #ffd21f, #ff8a00); color: #261c08; }
.ap-thumb-w { background: #2f6df6; }
.ap-thumb-o { background: #ff7a1f; }
.ap-thumb-g { background: #1c9e6b; }
.ap-docinfo { flex: 1; min-width: 0; text-align: left; }
.ap-docinfo strong { display: block; font-size: 10px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-docinfo span { font-size: 8px; color: var(--muted); }
.ap-docrow > i { font-size: 14px; color: var(--muted); }

/* 智能扫描（相机） */
.ap-cam-head { justify-content: space-between; color: #fff; }
.ap-cam-head i { font-size: 15px; }
.ap-cam-head strong { font-size: 12px; font-weight: 700; }
.ap-cam-body { position: relative; flex: 1; margin: 14px 0 12px; border-radius: 14px; }
.ap-corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 3px solid #ffdd57;
  border-radius: 2px;
}
.ap-corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.ap-corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.ap-corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.ap-corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.ap-scanline {
  position: absolute;
  left: 14px; right: 14px;
  top: 30%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #ffdd57 50%, transparent 100%);
  box-shadow: 0 0 8px rgba(255, 221, 87, .8);
  animation: ap-scan 3s ease-in-out infinite;
}
@keyframes ap-scan { 0%, 100% { top: 22%; } 50% { top: 70%; } }
.ap-cam-hint {
  position: absolute; bottom: 8px; left: 0; right: 0;
  text-align: center;
  font-size: 9px; color: rgba(255, 255, 255, .7);
}
.ap-cam-toolbar { justify-content: space-between; color: #fff; padding-top: 2px; }
.ap-cam-tool { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 8px; color: rgba(255, 255, 255, .85); }
.ap-cam-tool i { font-size: 16px; }
.ap-shutter {
  width: 52px; height: 52px;
  border: 3px solid #fff; border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.ap-shutter span { width: 38px; height: 38px; border-radius: 50%; background: #fff; }

/* 扫描处理 */
.ap-proc-head { justify-content: space-between; }
.ap-proc-head strong { font-size: 12px; font-weight: 800; color: var(--ink); }
.ap-proc-head i { font-size: 16px; color: var(--ink-2); }
.ap-proc-img { margin-top: 12px; padding: 12px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); }
.ap-paper-line { height: 6px; border-radius: 4px; background: #e9dfc8; margin-bottom: 7px; }
.ap-paper-line.w100 { width: 100%; } .ap-paper-line.w95 { width: 95%; } .ap-paper-line.w90 { width: 90%; }
.ap-paper-line.w85 { width: 85%; } .ap-paper-line.w80 { width: 80%; } .ap-paper-line.w75 { width: 75%; }
.ap-paper-line.w70 { width: 70%; } .ap-paper-line.w60 { width: 60%; }
.ap-paper-img { height: 46px; border-radius: 8px; background: linear-gradient(135deg, #ffe9b6, #ffd7a0); margin-bottom: 7px; }
.ap-proc-opt {
  display: flex; align-items: center; gap: 8px;
  margin-top: 8px;
  padding: 9px 11px;
  background: #fff;
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
}
.ap-proc-opt i:first-child { font-size: 15px; color: var(--primary-2); }
.ap-proc-opt span { flex: 1; text-align: left; font-size: 10px; font-weight: 600; color: var(--ink-2); }
.ap-proc-opt i.on { font-size: 14px; color: #16a34a; }
.ap-pages { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 9px; color: var(--muted); }
.pages-ctrl { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; }
.pages-ctrl i { font-size: 13px; color: var(--primary-2); }
.ap-export { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.ap-export .ap-btn { flex: 1; padding: 9px 8px; background: #ffc107; color: #261c08; }
.ap-export .ap-btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* 文档库 */
.ap-lib-head { justify-content: space-between; }
.ap-lib-head strong { font-size: 15px; font-weight: 800; color: var(--ink); }
.ap-lib-actions { display: flex; gap: 12px; color: var(--ink-2); }
.ap-lib-actions i { font-size: 16px; }
.ap-tabs { display: flex; gap: 5px; margin-top: 12px; }
.ap-tabs span {
  padding: 4px 6px;
  font-size: 8px; font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}
.ap-tabs span.on { background: #ffc107; color: #261c08; border-color: #ffc107; }
.ap-listhead { display: flex; justify-content: space-between; margin: 12px 2px 8px; font-size: 9px; color: var(--muted); }
.ap-listhead i { font-size: 12px; }
.ap-storage { margin-top: auto; padding: 8px 10px; background: #fff; border-radius: 11px; box-shadow: var(--shadow-sm); }
.ap-storage > span { font-size: 8px; color: var(--muted); }
.ap-bar { height: 6px; border-radius: 999px; background: #efe8d8; margin-top: 6px; overflow: hidden; }
.ap-bar span { display: block; height: 100%; border-radius: 999px; background: var(--grad); }

/* 文档查看 */
.ap-view-head { justify-content: space-between; }
.ap-view-head strong { flex: 1; min-width: 0; text-align: left; font-size: 11px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-view-head i { font-size: 15px; color: var(--ink-2); }
.ap-toolbar { display: flex; gap: 6px; margin-top: 12px; }
.ap-toolbar span {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 7px 2px;
  border-radius: 10px;
  font-size: 8px; color: var(--muted);
  background: #fff;
  border: 1px solid rgba(229, 231, 235, .7);
}
.ap-toolbar span i { font-size: 14px; }
.ap-toolbar span.on { color: #261c08; background: #ffc107; border-color: #ffc107; }
.ap-docpage {
  flex: 1;
  margin-top: 12px;
  padding: 14px 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.ap-page-title { font-size: 10px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.ap-page-num { position: absolute; bottom: 8px; right: 10px; font-size: 8px; color: var(--muted); }

@media (max-width: 640px) {
  .appshow-scroll { gap: 18px; }
  .showcase { width: 260px; }
  .showcase-phone { width: 246px; }
}

/* ---------- 价格方案 ---------- */
.pricing { background: var(--bg-2); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 720px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  padding: 36px 32px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s cubic-bezier(.22, 1, .36, 1);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: linear-gradient(160deg, #fec406 0%, #ff8a00 100%);
  color: var(--ink);
  border: none;
  box-shadow: var(--shadow-lg);
}
.price-tag {
  position: absolute;
  top: 18px; right: 18px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: #fff;
  border-radius: 999px;
}
.price-card h3 { font-size: 20px; margin-bottom: 14px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; }
.price strong { font-size: 44px; line-height: 1; }
.price span { font-size: 14px; opacity: .75; }
.price-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.price-card li { font-size: 15px; display: flex; align-items: flex-start; gap: 10px; }
.price-card li i { flex: 0 0 auto; margin-top: 1px; color: var(--primary); }
.price-card.featured li i { color: var(--ink); }
.price-card.featured li { opacity: .95; }
.pricing-note { text-align: center; color: var(--muted); margin-top: 32px; font-size: 14px; }

/* ---------- 常见问题 ---------- */
.faq { background: #fff; }

/* =========================================================
   暗黑模式（跟随系统自动切换）
   覆盖首页硬编码的浅色/白底为暗色
   ========================================================= */
@media (prefers-color-scheme: dark) {
  /* 导航 */
  .nav { background: rgba(26, 23, 18, .85); border-bottom-color: rgba(255, 255, 255, .08); }

  /* Hero */
  .hero { background: var(--bg); }
  .hero-bg { background: linear-gradient(180deg, rgba(255, 184, 0, .08), rgba(255, 138, 0, .02)); }
  .ip-mascot { filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .35)); }
  .badge { background: rgba(254, 196, 6, 1); color: #261c08; border-color: rgba(254, 196, 6, 1); }
  .phone-screen { background: linear-gradient(180deg, #2e2820, #292217); }
  .p-doc { background: #241e15; }
  .p-line { background: #3a332a; }
  .p-img { background: linear-gradient(135deg, #5a4a22, #6a4e1e); }
  .p-tool { background: #241e15; }

  /* 悬浮卡片 */
  .float-card { background: #241e15; }

  /* CTA 区块为彩色渐变背景，文字保持深色，暗黑下不变 */
  .cta-inner h2, .cta-inner p, .cta-badges, .cta-badges i { color: #261c08; }
  .cta-inner .btn-outline { color: #261c08; }

  /* 功能特性 */
  .features { background: var(--surface); }
  .card { border-color: rgba(255, 255, 255, .08); }
  .card-icon { background: rgba(254, 196, 6, 1); } /* 暗黑下保持纯黄，与亮色一致 */

  /* 使用步骤 */
  .step { background: #241e15; }
  .step-num { color: rgba(255, 138, 0, .28); }
  .step-icon { background: var(--grad-soft); }

  /* 应用界面 */
  .appshow { background: var(--surface); }
  .appshow-item { border-color: rgba(255, 255, 255, .08); }
  .asi-icon { background: rgba(254, 196, 6, 1); color: #261c08; }
  .p-editor { background: #241e15; }

  /* 价格方案 */
  .price-card { background: #fff; color: #261c08; border-color: var(--line); }
  /* 「推荐」卡为金黄渐变背景，暗黑下文字保持黑色，不变白 */
  .price-card.featured { color: #261c08; }
  .price-card.featured h3 { color: #261c08; }
  .price-card.featured li i { color: #261c08; }
  .price-card.featured .price span { color: #261c08; }
  .price-tag { background: #fff; color: var(--primary); }

  /* 常见问题 */
  .faq { background: var(--surface); }

  /* 首页行动号召按钮 */
  .btn-white { color: #261c08; }
  /* CTA 背景本身是有颜色的金色渐变，暗黑下文字保持深色不变 */
  .cta { color: #261c08; }
  .cta-inner h2, .cta-inner p, .cta-badges { color: #261c08; }
  .cta-inner p, .cta-badges { opacity: .9; }
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-arrow {
  font-size: 22px;
  color: var(--primary);
  transition: transform .2s ease;
}
.faq-arrow i { display: inline-flex; line-height: 1; }
.faq-item[open] .faq-arrow { transform: rotate(45deg); }
/* FAQ 展开/收起平滑过渡：用 ::details-content + content-visibility 实现原生平滑动画 */
.faq-item { interpolate-size: allow-keywords; }
.faq-item::details-content {
  block-size: 0;
  overflow-y: clip;
  opacity: 0;
  transition: content-visibility .45s allow-discrete, block-size .45s cubic-bezier(.22, 1, .36, 1), opacity .4s ease;
}
.faq-item[open]::details-content {
  block-size: auto;
  opacity: 1;
  content-visibility: visible;
}
  opacity: 0;
  transition: grid-template-rows .45s cubic-bezier(.22, 1, .36, 1), opacity .32s ease;
}
/* 未展开时也强制渲染内容，才能让 height 有可过渡的值 */

.faq-item p { padding-top: 14px; color: var(--muted); font-size: 16px; max-width: 660px; }

/* ---------- 行动号召 ---------- */
.cta {
  padding: 0 24px 96px;
}
.cta-inner {
  position: relative;
  text-align: center;
  color: var(--ink);
  padding: 72px 32px;
  border-radius: var(--r-lg);
  background: var(--grad);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-inner::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(400px 240px at 80% 0%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(320px 220px at 10% 100%, rgba(255,255,255,.12), transparent 60%);
  pointer-events: none;
}
.cta-inner h2 { font-size: clamp(26px, 4vw, 40px); letter-spacing: -.5px; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-inner p { font-size: 18px; opacity: .9; margin-bottom: 30px; position: relative; z-index: 1; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; }
/* 手机尺寸隐藏「了解功能」按钮 */
@media (max-width: 640px) {
  .cta-inner .btn-outline { display: none; }
}
.cta-badges { margin-top: 28px; font-size: 14px; opacity: .9; position: relative; z-index: 1; }
.cta-badges i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.1em;
  display: inline-block;
  vertical-align: middle;
  margin: 0 2px;
}

/* ---------- 页脚 ---------- */
.footer { background: #211a06; color: #ddd0ae; padding: 64px 0 28px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer .brand { color: #fff; }
.footer .brand-mark { background: rgba(254, 196, 6, 1); }
.footer .brand-name small { color: #ab9d70; }
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: #ddd0ae; margin-bottom: 12px; transition: color .16s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  font-size: 13px;
  color: #ab9d70;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 14px; }
  .ip-mascot { width: 140px; bottom: 2px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .appshow-inner { grid-template-columns: 1fr; gap: 48px 40px; }
  .appshow .phone-lg { margin: 0 auto; }
  .appshow .section-head { text-align: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* 平板：导航折叠为汉堡菜单，避免菜单/Logo 文本被挤压断行 */
@media (max-width: 900px) {
  .nav-menu {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 24px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: .2s ease;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-menu a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 28px; }

  .nav-actions .btn { display: none; }

  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-col { display: none; } /* 手机端隐藏 产品/支持/下载 三个块 */
  .cta-inner { padding: 52px 22px; }
  .float-card.fc1 { left: 0; }
  .float-card.fc2 { right: 0; }
  .footer-bottom { flex-direction: column; }
  /* 手机端保留品牌信息，不再隐藏 */

  /* 手机样机：窄屏下自适应并左右留边，避免贴边 */
  .phone { width: min(260px, 100%); }
  .appshow .phone-lg { width: min(280px, 100%); }
  .appshow-inner { gap: 40px; }
}
