/* 通用抠图 · 下载落地页（独立样式，不影响全站 style.css） */
:root {
  --bg: #0b0d11;
  --bg-soft: #11141b;
  --card: #161922;
  --card-2: #1b1f2a;
  --line: #262b38;
  --text: #eef1f7;
  --dim: #98a1b3;
  --faint: #6b7385;
  --gold: #e8b04b;
  --gold-2: #f5cd7d;
  --blue: #4f8cff;
  --green: #38d39f;
  --r: 18px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(1100px 520px at 85% -120px, rgba(232,176,75,.10), transparent 60%),
    radial-gradient(900px 480px at -10% -80px, rgba(79,140,255,.08), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶栏 ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11,13,17,.82);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
nav { display: flex; align-items: center; gap: 10px; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.02rem; }
.brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.brand small { font-weight: 400; color: var(--faint); font-size: .72rem; letter-spacing: .06em; }
nav .spacer { flex: 1; }
nav .navlink { color: var(--dim); font-size: .9rem; padding: 6px 4px; transition: color .15s; }
nav .navlink:hover { color: var(--text); }
.nav-cta {
  background: var(--gold); color: #1a1408; font-weight: 700; font-size: .88rem;
  padding: 8px 16px; border-radius: 10px; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(232,176,75,.28);
}
.nav-cta:active { transform: scale(.97); }

/* ---------- 微信/QQ 内置浏览器提示条 ---------- */
.inapp-tip {
  display: none; position: relative; z-index: 60;
  background: linear-gradient(90deg, #2a2110, #3a2d12);
  border-bottom: 1px solid rgba(232,176,75,.35);
  color: var(--gold-2); font-size: .86rem; text-align: center; padding: 10px 44px 10px 16px;
}
.inapp-tip b { color: #fff; }
.inapp-tip.show { display: block; }
.inapp-tip .x { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 1.1rem; padding: 4px 8px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.app-icon {
  width: 92px; height: 92px; border-radius: 24px; display: block;
  box-shadow: 0 18px 44px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.hero h1 { font-size: 2.6rem; line-height: 1.2; margin: 18px 0 10px; letter-spacing: .01em; }
.hero h1 .hl { color: var(--gold); }
.hero .sub { color: var(--dim); font-size: 1.08rem; max-width: 460px; }
.hero .meta { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: .78rem; color: var(--dim); background: var(--card);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
.chip.gold { color: var(--gold); border-color: rgba(232,176,75,.35); }

.cta-row { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.btn-download {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a1408; font-weight: 800; font-size: 1.12rem;
  padding: 17px 34px; border-radius: 16px;
  box-shadow: 0 14px 36px rgba(232,176,75,.30);
  transition: transform .12s, box-shadow .12s, filter .12s;
}
.btn-download:hover { filter: brightness(1.05); box-shadow: 0 18px 44px rgba(232,176,75,.4); }
.btn-download:active { transform: translateY(1px) scale(.99); }
.btn-download svg { width: 24px; height: 24px; }
.cta-note { color: var(--faint); font-size: .82rem; }
.cta-note a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.cta-note a:hover { color: var(--gold); }

/* Hero 右侧：手机截图 + 二维码卡 */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 270px; border-radius: 38px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 60px rgba(232,176,75,.06);
  background: #000;
}
.phone img { display: block; width: 100%; }
.qr-card {
  position: absolute; right: -6px; bottom: -18px;
  background: var(--card-2); border: 1px solid var(--line);
  border-radius: 16px; padding: 12px; text-align: center;
  box-shadow: 0 18px 44px rgba(0,0,0,.5);
}
.qr-card img { width: 96px; height: 96px; border-radius: 8px; display: block; }
.qr-card p { font-size: .72rem; color: var(--dim); margin-top: 7px; white-space: nowrap; }

/* ---------- 区块 ---------- */
section.block { padding: 58px 0 8px; }
.sec-head { text-align: center; margin-bottom: 34px; }
.sec-head h2 { font-size: 1.7rem; }
.sec-head p { color: var(--dim); margin-top: 8px; font-size: .98rem; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px;
  transition: transform .15s, border-color .15s;
}
.feat:hover { transform: translateY(-3px); border-color: rgba(232,176,75,.4); }
.feat .ic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(232,176,75,.12); margin-bottom: 14px;
}
.feat .ic svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 1.04rem; margin-bottom: 6px; }
.feat p { color: var(--dim); font-size: .88rem; }

/* ---------- 安装步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 22px 22px;
}
.step .num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1408;
  font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { color: var(--dim); font-size: .86rem; }
.step .shot-mini { margin-top: 14px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.step .shot-mini img { width: 100%; display: block; }

/* ---------- 印章生成 · 手机截图行 ---------- */
.shot-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; justify-items: center; }
.shot-row .phone { width: 250px; aspect-ratio: 250 / 545; }
.shot-row .phone img { width: 100%; height: 100%; object-fit: cover; }
.shot-row .cap { margin-top: 12px; text-align: center; color: var(--dim); font-size: .84rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.qa { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.qa summary {
  cursor: pointer; list-style: none; padding: 17px 20px; font-weight: 600; font-size: .96rem;
  display: flex; align-items: center; gap: 10px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; margin-left: auto; color: var(--gold); font-size: 1.3rem; font-weight: 400; transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa .a { padding: 0 20px 18px; color: var(--dim); font-size: .9rem; }
.qa .a b, .qa .a strong { color: var(--text); }
.qa .a .kbd {
  display: inline-block; background: var(--card-2); border: 1px solid var(--line);
  border-radius: 6px; padding: 1px 8px; font-size: .82rem; color: var(--gold-2);
}

/* ---------- 下载大卡（页面中段二次 CTA） ---------- */
.cta-band {
  margin: 64px 0 0; border-radius: 26px; padding: 44px 34px; text-align: center;
  background:
    radial-gradient(600px 240px at 50% -60px, rgba(232,176,75,.16), transparent 70%),
    var(--card);
  border: 1px solid rgba(232,176,75,.25);
}
.cta-band h2 { font-size: 1.6rem; }
.cta-band p { color: var(--dim); margin: 8px 0 24px; font-size: .95rem; }
.cta-band .btn-download { font-size: 1.05rem; padding: 15px 30px; }
.cta-band .alt { margin-top: 14px; font-size: .82rem; color: var(--faint); }
.cta-band .alt a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }

/* iOS 补充提示（下载按钮所有设备均常显，仅在 iPhone/iPad 额外提示） */
.ios-note {
  display: none; margin-top: 4px; padding: 12px 16px; border-radius: 12px;
  background: var(--bg-soft); border: 1px dashed var(--line);
  color: var(--dim); font-size: .84rem; text-align: left;
}
.cta-band .ios-note { margin: 14px auto 0; text-align: center; }
body.is-ios .ios-note { display: block; }

/* ---------- 微信二维码弹窗 ---------- */
.wx-link { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wx-link:hover { color: var(--gold-2); }
.wx-mask {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(5,7,10,.72); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 24px;
}
.wx-mask.show { display: flex; }
.wx-box {
  position: relative; width: 100%; max-width: 330px; text-align: center;
  background: var(--card-2); border: 1px solid var(--line); border-radius: 22px;
  padding: 30px 26px 24px; box-shadow: 0 40px 100px rgba(0,0,0,.6);
  animation: wxPop .18s ease-out;
}
@keyframes wxPop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.wx-box h3 { font-size: 1.15rem; }
.wx-sub { color: var(--dim); font-size: .85rem; margin-top: 6px; }
.wx-box img {
  display: block; width: 224px; max-width: 78%; height: auto; margin: 18px auto 0;
  background: #fff; padding: 10px; border-radius: 14px;
}
.wx-tip { color: var(--faint); font-size: .78rem; margin-top: 14px; line-height: 1.6; }
.wx-close {
  position: absolute; right: 10px; top: 8px; width: 36px; height: 36px;
  background: none; border: 0; color: var(--dim); font-size: 1.5rem; line-height: 1;
  cursor: pointer; border-radius: 50%;
}
.wx-close:hover { color: var(--text); background: rgba(255,255,255,.06); }

/* ---------- 页脚 ---------- */
footer { margin-top: 70px; border-top: 1px solid var(--line); padding: 30px 20px; text-align: center; color: var(--faint); font-size: .84rem; }
footer a { color: var(--dim); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 36px 0 10px; text-align: center; }
  .hero .sub { margin: 0 auto; }
  .hero .meta { justify-content: center; }
  .cta-row { align-items: center; }
  .btn-download { width: 100%; justify-content: center; }
  .hero-visual { order: -1; }
  .qr-card { right: calc(50% - 175px); }
  .feat-grid, .steps { grid-template-columns: 1fr; }
  .shot-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 420px) {
  .phone { width: 230px; }
  .shot-row .phone { width: 200px; }
  .brand small { display: none; }
}
