/* =========================================================
   乐事助手官网 leshicai.cn
   主色取自 Logo：珊瑚红 #F2737D / 青蓝 #3FD3D6
   ========================================================= */
:root {
  --coral: #f2737d;
  --coral-d: #e2525e;
  --cyan: #3fd3d6;
  --cyan-d: #14a9b0;
  --ink: #0f1a2a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e7edf3;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --grad: linear-gradient(135deg, var(--cyan) 0%, #6fb7e8 45%, var(--coral) 100%);
  --grad-btn: linear-gradient(135deg, #22c3c8 0%, #f2737d 100%);
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(15, 26, 42, .06);
  --shadow: 0 14px 40px rgba(15, 26, 42, .10);
  --shadow-lg: 0 30px 70px rgba(15, 26, 42, .18);
  --header-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.4em; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn-sm { padding: .5em 1.1em; font-size: 14px; }
.btn-lg { padding: .9em 1.8em; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 22px rgba(242, 115, 125, .32); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(242, 115, 125, .42); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgba(15, 26, 42, .25); }
.btn-dark:hover { background: #1c2a40; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-d); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--coral-d); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .15); }
.btn-outline-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, .75); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .15); }
.link-btn { color: var(--cyan-d); font-weight: 600; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(15, 26, 42, .05); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; font-size: 19px; font-weight: 800; line-height: 1.1; }
.brand-text small { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .04em; }
.main-nav { display: flex; gap: 6px; }
.main-nav a { padding: 8px 14px; border-radius: 10px; font-size: 15px; color: var(--ink-2); font-weight: 500; transition: color .2s, background .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--cyan-d); background: rgba(63, 211, 214, .1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .3s, top .3s; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 90px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob-a { width: 520px; height: 520px; background: var(--cyan); top: -160px; right: -120px; animation: float 14s ease-in-out infinite; }
.blob-b { width: 460px; height: 460px; background: var(--coral); bottom: -200px; left: -140px; opacity: .38; animation: float 16s ease-in-out infinite reverse; }
.grid-mask {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15, 26, 42, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 26, 42, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 72%);
}
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30px, 30px) scale(1.06); } }

.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }
.hero h1 { margin: 20px 0 18px; font-size: clamp(34px, 5.2vw, 58px); font-weight: 900; }
.hero h1 .gradient-text { font-size: 1.12em; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 560px; }
.lead strong { color: var(--coral-d); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 560px; }
.hero-stats li { background: rgba(255, 255, 255, .78); border: 1px solid var(--line); border-radius: 14px; padding: 12px 10px; text-align: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-stats strong { display: block; font-size: 22px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: 12.5px; color: var(--muted); }

/* 手机框 */
.phone {
  position: relative; margin: 0; border-radius: 38px; padding: 9px; background: #0f1a2a;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b3a52; overflow: hidden;
}
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; border-radius: 12px; background: #0f1a2a; z-index: 2; }
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 640 / 1301; object-fit: cover; object-position: top; background: #f3f5f8; }

.hero-visual { position: relative; height: 600px; display: flex; justify-content: center; }
.phone-main { position: absolute; width: 285px; left: 50%; top: 0; transform: translateX(-62%) rotate(-3deg); z-index: 2; }
.phone-back { position: absolute; width: 255px; left: 50%; top: 56px; transform: translateX(8%) rotate(6deg); z-index: 1; opacity: .96; }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: rgba(255, 255, 255, .92); border-radius: 16px; box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: bob 5s ease-in-out infinite;
}
.float-card b { display: block; font-size: 14px; }
.float-card small { font-size: 12px; color: var(--muted); }
.fc-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: rgba(63, 211, 214, .15); }
.fc-1 { left: 0; top: 120px; }
.fc-2 { right: 0; bottom: 90px; animation-delay: -2.5s; }
.fc-2 .fc-icon { background: rgba(242, 115, 125, .15); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- 客服条 ---------- */
.contact-strip { position: relative; margin-top: -40px; z-index: 5; }
.contact-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 26px 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.contact-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad); }
.contact-head { display: flex; align-items: center; gap: 16px; }
.contact-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: #07c160; color: #fff; flex-shrink: 0; box-shadow: 0 8px 18px rgba(7, 193, 96, .3); }
.contact-icon svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.contact-head h2 { font-size: 20px; font-weight: 800; }
.contact-head p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.wechat-list { display: flex; gap: 14px; flex-wrap: wrap; }
.wechat-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px;
  border-radius: 14px; background: var(--bg-alt); border: 1px dashed #cfd9e3;
}
.wx-label { font-size: 12.5px; color: var(--muted); }
.wx-id { font-size: 18px; font-weight: 800; letter-spacing: .04em; font-family: "SF Mono", Menlo, Consolas, monospace; color: var(--ink); }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .18em; color: var(--cyan-d); background: rgba(63, 211, 214, .12); padding: 4px 12px; border-radius: 999px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; margin: 14px 0 10px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* 功能 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  padding: 28px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.f-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; }
.c1 { background: linear-gradient(135deg, #e0fafa, #c7f3f4); }
.c2 { background: linear-gradient(135deg, #ffe9eb, #ffd5d9); }
.c3 { background: linear-gradient(135deg, #e6f0ff, #d3e4ff); }
.c4 { background: linear-gradient(135deg, #fff3dc, #ffe6b8); }
.c5 { background: linear-gradient(135deg, #ebe7ff, #dcd4ff); }
.c6 { background: linear-gradient(135deg, #e3f9ec, #c9f1da); }
.feature h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* 预览 */
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 70px; }
.preview-item { margin: 0; text-align: center; }
.preview-item .phone { max-width: 300px; margin: 0 auto 24px; transition: transform .4s; }
.preview-item:hover .phone { transform: translateY(-8px); }
.preview-item h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.preview-item p { color: var(--muted); font-size: 15px; }

/* 下载 */
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 26px; }
.dl-card {
  position: relative; padding: 34px 30px 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line);
  text-align: center; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.dl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dl-tag { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 700; color: #16a34a; background: #e9f9ef; padding: 3px 10px; border-radius: 999px; }
.dl-icon { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 22px; display: grid; place-items: center; color: #fff; }
.dl-icon svg { width: 40px; height: 40px; fill: currentColor; stroke: none; }
.dl-icon.android { background: linear-gradient(135deg, #3ddc84, #1fae63); box-shadow: 0 10px 24px rgba(61, 220, 132, .35); }
.dl-icon.ios { background: linear-gradient(135deg, #334155, #0f1a2a); box-shadow: 0 10px 24px rgba(15, 26, 42, .3); }
.dl-card h3 { font-size: 22px; font-weight: 800; }
.dl-meta { font-size: 13px; color: var(--cyan-d); font-weight: 600; margin: 4px 0 10px; }
.dl-card > p:not(.dl-meta) { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.notice { max-width: 860px; margin: 30px auto 0; text-align: center; font-size: 14px; color: #9a3412; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; padding: 12px 16px; }

/* 安装步骤 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step-no { display: inline-block; font-size: 34px; font-weight: 900; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step p b { color: var(--ink-2); }
.tip { text-align: center; margin-top: 28px; color: var(--muted); font-size: 15px; }
.tip a { color: var(--cyan-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* FAQ */
.faq-list { display: grid; gap: 14px; }
.faq { border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, border-color .25s; }
.faq[open] { border-color: rgba(63, 211, 214, .55); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 16px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s, margin .25s;
}
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--cyan-d); }
.faq p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq p b { color: var(--coral-d); }

/* CTA */
.cta-band { padding: 0 0 96px; }
.cta-inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 40px 44px; border-radius: 28px;
  background: var(--grad); color: #fff; box-shadow: 0 24px 60px rgba(242, 115, 125, .28); position: relative; overflow: hidden;
}
.cta-inner::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.cta-inner img { width: 72px; background: #fff; border-radius: 20px; padding: 8px; }
.cta-inner > div:not(.cta-actions) { flex: 1; min-width: 220px; }
.cta-inner h2 { font-size: 28px; font-weight: 900; }
.cta-inner p { opacity: .92; margin-top: 4px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* 页脚 */
.site-footer { background: #0b1422; color: #a8b3c4; padding-top: 56px; }
.site-footer .brand-text { color: #fff; }
.site-footer .brand img { background: #fff; border-radius: 10px; padding: 3px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 360px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-links a:hover { color: var(--cyan); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.wx-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 700; letter-spacing: .03em;
  transition: background .2s;
}
.wx-chip em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--cyan); }
.wx-chip:hover { background: rgba(255, 255, 255, .12); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 20px 26px; font-size: 13px; text-align: center; display: grid; gap: 4px; }

/* 移动端底栏 */
.mobile-bar { display: none; }

/* 返回顶部 */
.to-top {
  position: fixed; right: 20px; bottom: 26px; z-index: 40; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--cyan-d); }

/* 弹窗 */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(15, 26, 42, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .25s; }
.modal-box {
  position: relative; width: 100%; max-width: 400px; background: #fff; border-radius: 26px; padding: 34px 26px 26px;
  text-align: center; box-shadow: var(--shadow-lg); animation: pop .3s cubic-bezier(.2, .9, .3, 1.2);
}
.modal-box > img { width: 64px; margin: 0 auto 12px; }
.modal-box h3 { font-size: 21px; font-weight: 900; }
.modal-desc { color: var(--muted); font-size: 14px; margin: 6px 0 20px; }
.modal-wx { display: grid; gap: 10px; margin-bottom: 18px; }
.modal-wx .wechat-item { justify-content: space-between; }
.modal-close { position: absolute; right: 14px; top: 10px; width: 36px; height: 36px; border-radius: 50%; font-size: 26px; line-height: 1; color: var(--muted); }
.modal-close:hover { background: var(--bg-alt); color: var(--ink); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.9) translateY(10px); } }

/* Toast */
.toast {
  position: fixed; left: 50%; top: 50%; z-index: 200; transform: translate(-50%, -50%) scale(.9);
  background: rgba(15, 26, 42, .92); color: #fff; padding: 12px 22px; border-radius: 12px; font-size: 15px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: 86vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* 滚动渐显 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ================= 响应式 ================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lead { margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { margin: 0 auto; }
  .hero-visual { height: 560px; max-width: 520px; margin: 0 auto; width: 100%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); flex-direction: column; gap: 0;
    background: #fff; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(15, 26, 42, .1);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 12px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: block; }
  .contact-card { flex-direction: column; align-items: stretch; text-align: left; }
  .wechat-list { flex-direction: column; }
  .wechat-item { justify-content: space-between; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 58px; }
  body { padding-bottom: calc(68px + var(--safe-b)); }
  .container { padding: 0 16px; }
  .brand img { width: 34px; }
  .brand-text { font-size: 17px; }
  .header-actions .btn { display: none; }
  .hide-sm { display: none; }

  .hero { padding: 36px 0 70px; }
  .hero h1 { margin: 16px 0 12px; }
  .lead { font-size: 15px; }
  .hero-cta { width: 100%; gap: 10px; margin: 24px 0 22px; }
  .hero-cta .btn { flex: 1; padding: .85em 1em; font-size: 15px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
  .hero-stats li { padding: 10px 4px; border-radius: 12px; }
  .hero-stats strong { font-size: 17px; }
  .hero-stats span { font-size: 11px; }

  .hero-visual { height: 440px; }
  .phone { border-radius: 30px; padding: 7px; }
  .phone::before { top: 12px; height: 14px; }
  .phone img { border-radius: 24px; }
  .phone-main { width: 205px; transform: translateX(-66%) rotate(-3deg); }
  .phone-back { width: 185px; top: 40px; transform: translateX(4%) rotate(6deg); }
  .float-card { padding: 8px 12px; border-radius: 12px; gap: 8px; }
  .fc-icon { width: 30px; height: 30px; font-size: 16px; border-radius: 9px; }
  .float-card b { font-size: 12.5px; }
  .float-card small { font-size: 11px; }
  .fc-1 { top: 70px; left: -4px; }
  .fc-2 { bottom: 40px; right: -4px; }

  .contact-strip { margin-top: -30px; }
  .contact-card { padding: 22px 18px 18px 22px; border-radius: 20px; gap: 16px; }
  .contact-icon { width: 46px; height: 46px; border-radius: 14px; }
  .contact-head h2 { font-size: 18px; }
  .contact-head p { font-size: 13px; }
  .wx-id { font-size: 17px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head p { font-size: 14.5px; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature { padding: 18px 16px; border-radius: 16px; }
  .f-icon { width: 44px; height: 44px; font-size: 22px; border-radius: 13px; margin-bottom: 12px; }
  .feature h3 { font-size: 16px; }
  .feature p { font-size: 13px; line-height: 1.6; }

  .preview-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .preview-item .phone { margin-bottom: 14px; }
  .preview-item h3 { font-size: 16px; }
  .preview-item p { font-size: 13px; }

  .download-grid { grid-template-columns: 1fr; gap: 16px; }
  .dl-card { padding: 28px 20px 22px; }
  .notice { font-size: 13px; }

  .step { padding: 22px 20px; }
  .step-no { font-size: 28px; margin-bottom: 8px; }

  .faq summary { padding: 16px 48px 16px 18px; font-size: 15px; }
  .faq summary::after { right: 18px; }
  .faq p { padding: 0 18px 18px; font-size: 14px; }

  .cta-band { padding-bottom: 64px; }
  .cta-inner { flex-direction: column; text-align: center; padding: 32px 22px; border-radius: 22px; }
  .cta-inner h2 { font-size: 23px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; padding: .85em 1em; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
  .footer-links h4 { width: 100%; margin-bottom: 4px; }
  .footer-contact { flex-direction: row; flex-wrap: wrap; }
  .footer-contact h4 { width: 100%; margin-bottom: 4px; }

  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 14px calc(10px + var(--safe-b)); background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  }
  .mb-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; border-radius: 14px; font-weight: 700; font-size: 15.5px; }
  .mb-download { background: var(--grad-btn); color: #fff; box-shadow: 0 6px 16px rgba(242, 115, 125, .3); }
  .mb-contact { background: #07c160; color: #fff; box-shadow: 0 6px 16px rgba(7, 193, 96, .28); }
  .to-top { bottom: calc(82px + var(--safe-b)); right: 14px; width: 42px; height: 42px; }
}

@media (max-width: 360px) {
  .hero-visual { height: 390px; }
  .phone-main { width: 180px; }
  .phone-back { width: 160px; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* 微信/QQ 在浏览器打开引导 */
.wx-guide { position: fixed; inset: 0; z-index: 300; background: rgba(15, 26, 42, .82); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.wx-guide[hidden] { display: none; }
.wx-guide-arrow { position: absolute; top: 10px; right: 22px; color: #fff; }
.wx-guide-arrow svg { width: 46px; height: 46px; stroke-width: 2.4; animation: bob 1.4s ease-in-out infinite; }
.wx-guide-box {
  position: absolute; top: 74px; right: 18px; left: 18px; max-width: 420px; margin-left: auto;
  background: #fff; border-radius: 18px; padding: 22px 22px 24px; text-align: center; box-shadow: var(--shadow-lg); animation: pop .3s;
}
.wx-guide-box h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.wx-guide-box .wx-dots { letter-spacing: 1px; color: var(--coral-d); }
.wx-guide-box p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
