/* ============================================================
   邻里SPORT 官网共享样式
   设计基线：doc/website-design.md（与小程序 app.wxss 设计 Token 同源）
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --primary: #059669;
  --primary-deep: #047857;
  --g900: #052e25;
  --g800: #065f46;
  --g400: #10b981;
  --g50: #ecfdf5;
  --ink: #171717;
  --muted: #737373;
  --faint: #a3a3a3;
  --line: #e5e7e5;
  --page: #f5f7f6;
  --card: #ffffff;
  --radius: 20px;
  --radius-s: 14px;
  --shadow: 0 8px 28px rgba(18, 55, 40, .06);
  --shadow-lg: 0 24px 60px rgba(18, 55, 40, .16);
  --grad: linear-gradient(145deg, #052e25, #065f46 65%, #10b981);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --nav-h: 68px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary-deep); text-decoration: none; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 800; }
h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; letter-spacing: .01em; }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section.alt { background: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .18em;
  color: var(--primary-deep); background: var(--g50);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 16px;
}
.section-head p { color: var(--muted); font-size: 16.5px; margin: 0; }
.lead { font-size: 17px; color: var(--muted); }

/* ---------- Buttons / pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font-size: 16px; font-weight: 700; cursor: pointer; border: 0;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(5, 150, 105, .32); }
.btn-primary:hover { background: var(--primary-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--g900); }
.btn-light:hover { color: var(--primary-deep); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn-lg { height: 58px; padding: 0 34px; font-size: 17px; }

.pill {
  display: inline-block; border-radius: 999px; padding: 5px 13px;
  background: var(--g50); color: var(--primary-deep);
  font-size: 13px; font-weight: 600; line-height: 1.5;
}
.pill.on-dark { background: rgba(255, 255, 255, .14); color: #d1fae5; }

/* ---------- Icons ---------- */
.ico {
  width: 24px; height: 24px; stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.ico-box {
  width: 52px; height: 52px; border-radius: 16px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--g50); color: var(--primary-deep);
}
.ico-box.dark { background: rgba(255, 255, 255, .12); color: #6ee7b7; }
.ico-box .ico { width: 26px; height: 26px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .96); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; color: var(--ink); }
.brand img { width: 36px; height: 36px; object-fit: contain; border-radius: 9px; }
.brand small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .14em; margin-top: -3px; }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a { color: #404040; font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.nav-links a:hover { color: var(--primary-deep); background: var(--g50); }
.nav-cta { position: relative; margin-left: 8px; }

/* QR popover（导航「进入小程序」弹层） */
.qr-pop {
  position: absolute; top: calc(100% + 14px); right: 0; z-index: 120;
  width: 232px; padding: 18px 18px 14px; border-radius: 18px;
  background: #fff; box-shadow: var(--shadow-lg);
  text-align: center; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .22s ease;
}
.qr-pop.open { opacity: 1; visibility: visible; transform: translateY(0); }
.qr-pop::before {
  content: ""; position: absolute; top: -6px; right: 40px;
  width: 12px; height: 12px; background: #fff; transform: rotate(45deg);
}
.qr-pop img { width: 160px; height: 160px; margin: 0 auto 10px; }
.qr-pop .qr-title { font-weight: 800; font-size: 15px; }
.qr-pop .qr-sub { font-size: 12px; color: var(--muted); line-height: 1.5; }
.qr-pop .qr-badge {
  display: block; margin: 8px auto 0; width: fit-content;
  font-size: 11px; color: #b45309; background: #fef3c7; border-radius: 999px; padding: 2px 10px;
}

/* 汉堡 */
.nav-burger { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.nav-burger .ico { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 72px) 0 150px;
  background: var(--grad); color: #fff;
}
.hero::before { /* 球场边线装饰 */
  content: ""; position: absolute; inset: auto -10% -38% -10%; height: 70%;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, .10), transparent) 18% 30% / 340px 340px,
    radial-gradient(closest-side, rgba(255, 255, 255, .07), transparent) 82% 12% / 260px 260px,
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, .05) 79px 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(255, 255, 255, .05) 79px 80px);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  color: #d1fae5; border-radius: 999px; padding: 7px 16px;
  font-size: 13.5px; font-weight: 600; margin-bottom: 22px;
}
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy h1 em { font-style: normal; color: #6ee7b7; }
.hero-copy .sub { color: #d1fae5; font-size: 17.5px; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-visual { position: relative; min-height: 560px; }
.hero-visual .phone { position: absolute; }
.hero-visual .phone-a { right: 190px; top: 0; z-index: 2; }
.hero-visual .phone-b { right: 0; top: 64px; z-index: 1; }
.float-chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  border-radius: 14px; padding: 10px 16px; font-size: 13.5px; font-weight: 700;
  box-shadow: var(--shadow-lg); animation: floaty 5s ease-in-out infinite;
}
.float-chip .ico { color: var(--primary-deep); }
.float-chip.fc-1 { left: 6%; top: 42px; }
.float-chip.fc-2 { left: 0; bottom: 88px; animation-delay: 1.6s; }
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- 数据信任条 ---------- */
.stats-band { position: relative; z-index: 10; margin-top: -84px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 26px 22px; text-align: left;
}
.stat-num {
  font-size: 38px; font-weight: 900; color: var(--primary-deep);
  line-height: 1.1; letter-spacing: -.01em;
}
.stat-num .unit { font-size: 20px; font-weight: 800; margin-left: 2px; }
.stat-label { font-weight: 700; font-size: 15px; margin: 6px 0 2px; }
.stat-note { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ---------- 卡片网格（平台/功能） ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px; transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.card .tagline { font-size: 12.5px; color: var(--primary-deep); font-weight: 700; letter-spacing: .08em; margin: 0 0 8px; }

/* 平台三端卡头部图 */
.arch-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.arch-head .who { font-size: 12px; color: var(--muted); }
.arch-head h3 { margin: 0; }

/* ---------- 功能矩阵（带图标盒） ---------- */
.feature-card { display: flex; gap: 18px; align-items: flex-start; padding: 30px; }
.feature-card .ico-box { margin-top: 2px; }
.feature-card h3 { margin-bottom: 8px; font-size: 18px; }
.feature-card p { margin: 0; }

/* ---------- 步骤条 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 24px 22px;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 14px;
  background: var(--grad); color: #fff; font-weight: 900; font-size: 16px;
}
.step h3 { font-size: 16.5px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ---------- 商家区块 ---------- */
.merchant-cta {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  background: var(--g50); border: 1.5px dashed #a7f3d0; border-radius: var(--radius);
  padding: 24px 28px;
}
.merchant-cta .note { font-size: 13px; color: var(--muted); }
.merchant-cta .grow { flex: 1; min-width: 240px; }
.merchant-cta .grow h3 { margin-bottom: 2px; }

/* ---------- 合作伙伴双卡 ---------- */
.partner-card { position: relative; overflow: hidden; padding: 34px; }
.partner-card .more { margin-top: 18px; font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.partner-card ul { margin: 14px 0 0; display: grid; gap: 10px; }
.partner-card li { position: relative; padding-left: 26px; color: var(--muted); font-size: 14.5px; }
.partner-card li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--g50);
  box-shadow: inset 0 0 0 4px var(--g50), inset 0 0 0 10px var(--primary-deep);
}

/* ---------- 展示/转化区（深色） ---------- */
.showcase { position: relative; overflow: hidden; background: var(--g900); color: #fff; }
.showcase::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(16, 185, 129, .18), transparent),
    radial-gradient(500px 260px at 8% 100%, rgba(16, 185, 129, .12), transparent);
}
.showcase-inner { position: relative; display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: center; }
.showcase h2 em { font-style: normal; color: #6ee7b7; }
.showcase .sub { color: #a7f3d0; }
.qr-panel {
  background: #fff; color: var(--ink); border-radius: 24px; padding: 30px 28px 24px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.qr-panel img.wxacode { width: 208px; height: 208px; margin: 14px auto; }
.qr-panel .qr-hint { font-size: 13px; color: var(--muted); }
.qr-panel .qr-badge {
  display: inline-block; margin-top: 10px; font-size: 11px; color: #b45309;
  background: #fef3c7; border-radius: 999px; padding: 3px 11px;
}
.showcase-contacts { display: grid; gap: 12px; margin-top: 26px; }
.contact-line { display: flex; align-items: center; gap: 12px; color: #d1fae5; font-size: 15px; }
.contact-line .ico-box { width: 42px; height: 42px; border-radius: 12px; }
.showcase-phones { display: flex; gap: 26px; justify-content: center; align-items: center; margin-top: 42px; }
.showcase-phones .phone { position: relative; }
.showcase-phones .phone:nth-child(2) { transform: translateY(-16px); }

/* ---------- 关于公司 / 资质墙 ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.about-copy p { font-size: 15.5px; color: #404040; }
.about-copy p + p { margin-top: 14px; }
.qual-list { display: grid; gap: 16px; }
.qual-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }
.qual-item h3 { font-size: 16px; margin-bottom: 4px; }
.qual-item p { margin: 0; font-size: 13.5px; color: var(--muted); }
.addr-line { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; color: var(--muted); font-size: 13.5px; }
.addr-line .ico { flex: none; margin-top: 3px; color: var(--primary-deep); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
details.faq { background: #fff; border-radius: var(--radius-s); box-shadow: var(--shadow); overflow: hidden; }
details.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 19px 22px; font-weight: 700; font-size: 15.5px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .fq {
  flex: none; width: 26px; height: 26px; border-radius: 8px;
  background: var(--g50); color: var(--primary-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease;
}
details.faq[open] summary .fq { background: var(--primary); color: #fff; transform: rotate(45deg); }
details.faq .faq-a { padding: 0 22px 20px 62px; color: var(--muted); font-size: 14.5px; }

/* ---------- CTA 横幅（商家页） ---------- */
.cta-band { background: var(--grad); border-radius: 26px; color: #fff; padding: 46px 48px; display: flex; align-items: center; gap: 36px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(300px 160px at 90% 20%, rgba(255, 255, 255, .14), transparent);
}
.cta-band .grow { flex: 1; min-width: 260px; position: relative; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: #d1fae5; margin: 0; }
.cta-band .qr-mini { position: relative; background: #fff; border-radius: 18px; padding: 14px 16px; text-align: center; color: var(--ink); }
.cta-band .qr-mini img { width: 128px; height: 128px; }
.cta-band .qr-mini span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- 分润流程（商家页） ---------- */
.flow-line { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; counter-reset: fl; }
.flow-node {
  flex: 1 1 150px; counter-increment: fl; position: relative;
  background: #fff; border-radius: var(--radius-s); box-shadow: var(--shadow);
  padding: 20px 18px 16px; margin: 0 18px 18px 0; text-align: center;
}
.flow-node b { display: block; font-size: 15px; margin-bottom: 3px; }
.flow-node span { font-size: 12.5px; color: var(--muted); }
.flow-node::after {
  content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
  color: var(--g400); font-weight: 900; font-size: 15px;
}
.flow-node:last-child::after { display: none; }

/* ---------- 手机样机（CSS 示意图，可替换为真实截图） ---------- */
.phone {
  width: 272px; border-radius: 42px; background: #0b1d17;
  padding: 10px; box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255, 255, 255, .08) inset;
}
.phone-screen {
  border-radius: 33px; overflow: hidden; background: var(--page);
  height: 546px; display: flex; flex-direction: column; position: relative;
}
.phone-screen::before { /* 灵动岛 */
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; border-radius: 999px; background: #0b1d17; z-index: 9;
}
.m-status { display: flex; justify-content: space-between; padding: 12px 18px 4px; font-size: 10px; color: #404040; font-weight: 600; }
.m-title { text-align: center; font-size: 13.5px; font-weight: 800; padding: 6px 0 8px; }
.m-body { flex: 1; overflow: hidden; padding: 0 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.m-search { background: #fff; border-radius: 12px; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--faint); font-size: 11.5px; box-shadow: var(--shadow); }
.m-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.m-chip { background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 10.5px; color: #404040; box-shadow: var(--shadow); font-weight: 600; }
.m-chip.on { background: var(--primary); color: #fff; }
.m-venue { background: #fff; border-radius: 14px; padding: 11px 12px; box-shadow: var(--shadow); }
.m-venue .cover { height: 74px; border-radius: 10px; margin-bottom: 9px; background: linear-gradient(135deg, #065f46, #10b981); position: relative; overflow: hidden; }
.m-venue .cover::after { content: ""; position: absolute; left: 18%; top: -20%; bottom: -20%; width: 2px; background: rgba(255, 255, 255, .25); }
.m-venue .cover::before { content: ""; position: absolute; left: 55%; top: -20%; bottom: -20%; width: 2px; background: rgba(255, 255, 255, .25); }
.m-venue b { display: block; font-size: 12.5px; margin-bottom: 4px; }
.m-venue .row { display: flex; justify-content: space-between; align-items: center; }
.m-venue .tags { display: flex; gap: 5px; }
.m-venue .tag { font-size: 9.5px; background: var(--g50); color: var(--primary-deep); border-radius: 5px; padding: 2px 6px; font-weight: 700; }
.m-venue .dist { font-size: 10px; color: var(--faint); }
.m-venue .price { color: var(--primary-deep); font-weight: 900; font-size: 13px; }
.m-venue .price em { font-style: normal; font-size: 9px; color: var(--faint); font-weight: 500; text-decoration: line-through; margin-left: 5px; }
.m-dates { display: flex; gap: 6px; }
.m-date { flex: 1; background: #fff; border-radius: 9px; text-align: center; padding: 6px 0; box-shadow: var(--shadow); font-size: 10px; color: var(--muted); }
.m-date b { display: block; font-size: 11.5px; color: var(--ink); }
.m-date.on { background: var(--primary); }
.m-date.on b, .m-date.on span { color: #fff; }
.m-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.m-slot { background: #fff; border-radius: 9px; text-align: center; padding: 8px 0 6px; box-shadow: var(--shadow); }
.m-slot b { display: block; font-size: 10.5px; font-weight: 700; }
.m-slot span { font-size: 9px; color: var(--primary-deep); font-weight: 800; }
.m-slot.off { opacity: .45; }
.m-slot.off span { color: var(--faint); text-decoration: line-through; }
.m-slot.on { background: var(--primary); }
.m-slot.on b { color: #fff; }
.m-slot.on span { color: #d1fae5; }
.m-dock { margin-top: auto; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 9px 10px; display: flex; align-items: center; gap: 9px; }
.m-dock .sum { flex: 1; font-size: 10px; color: var(--muted); }
.m-dock .sum b { display: block; font-size: 13px; color: var(--primary-deep); font-weight: 900; }
.m-dock .go { background: var(--primary); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 8px 14px; }
.m-member-hero { border-radius: 14px; padding: 16px 14px; background: var(--grad); color: #fff; }
.m-member-hero .lv { font-size: 10px; letter-spacing: .2em; color: #a7f3d0; font-weight: 700; }
.m-member-hero b { display: block; font-size: 15px; margin: 3px 0 2px; }
.m-member-hero span { font-size: 10px; color: #d1fae5; }
.m-perk { background: #fff; border-radius: 11px; padding: 9px 11px; box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center; font-size: 10.5px; font-weight: 600; }
.m-perk .dot { width: 20px; height: 20px; border-radius: 7px; background: var(--g50); color: var(--primary-deep); display: flex; align-items: center; justify-content: center; font-size: 9.5px; flex: none; }
.m-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.m-plan { background: #fff; border-radius: 10px; box-shadow: var(--shadow); text-align: center; padding: 9px 0; }
.m-plan b { display: block; font-size: 12px; }
.m-plan span { font-size: 9.5px; color: var(--primary-deep); font-weight: 800; }
.m-plan.on { outline: 2px solid var(--primary); }

/* ---------- 页脚 ---------- */
.footer { background: var(--g900); color: #9fb8ae; padding: 64px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand small { color: #6b8a7d; }
.footer p { color: #9fb8ae; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer a { color: #9fb8ae; }
.footer a:hover { color: #6ee7b7; }
.footer-qr { background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 12px; width: fit-content; text-align: center; }
.footer-qr img { width: 96px; height: 96px; margin-bottom: 6px; }
.footer-qr span { font-size: 11.5px; color: #6b8a7d; display: block; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; font-size: 13px; color: #6b8a7d; }
.footer-bottom a { color: #6b8a7d; text-decoration: underline; text-underline-offset: 3px; }
.footer-icp { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ---------- 协议页 ---------- */
.legal-header { background: #fff; border-bottom: 1px solid var(--line); padding: calc(var(--nav-h) + 48px) 0 36px; }
.legal-header h1 { font-size: clamp(26px, 3vw, 34px); }
.legal-header .meta { color: var(--muted); font-size: 14px; margin-top: 8px; }
.legal-body { max-width: 820px; margin: 0 auto; padding: 48px 0 88px; }
.legal-body h2 { font-size: 20px; margin: 40px 0 14px; padding-left: 14px; border-left: 4px solid var(--primary); }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p, .legal-body li { color: #404040; font-size: 15px; }
.legal-body ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; display: grid; gap: 6px; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.legal-body th, .legal-body td { text-align: left; padding: 11px 16px; font-size: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-body th { background: var(--g50); color: var(--g900); font-weight: 800; white-space: nowrap; }
.legal-body tr:last-child td { border-bottom: 0; }
.legal-toc { background: #fff; border-radius: var(--radius-s); box-shadow: var(--shadow); padding: 18px 22px; margin-bottom: 8px; }
.legal-toc b { display: block; margin-bottom: 8px; font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.legal-toc a { display: inline-block; margin: 0 22px 8px 0; font-size: 14px; font-weight: 600; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1199px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy .sub { max-width: 640px; }
  .hero-visual { min-height: 480px; max-width: 640px; }
  .hero-visual .phone-a { right: auto; left: 0; }
  .hero-visual .phone-b { right: 0; }
  .showcase-inner { grid-template-columns: 1fr; }
  .qr-panel { max-width: 380px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 899px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 14px 20px 22px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .22s ease;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav-links .nav-cta { margin: 10px 0 0; }
  .nav-burger { display: block; }
  .nav-cta .btn { display: none; }
  .section { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-card { padding: 20px; }
  .stat-num { font-size: 30px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .flow-node { margin-right: 44px; }
  .flow-node::after { right: -32px; }
  .hero { padding-bottom: 120px; }
  .hero-visual { min-height: 0; display: flex; gap: 16px; overflow-x: auto; padding: 10px 4px 18px; scrollbar-width: none; }
  .hero-visual::-webkit-scrollbar { display: none; }
  .hero-visual .phone { position: static; flex: none; }
  .float-chip { display: none; }
  .showcase-phones { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; }
  .showcase-phones .phone { flex: none; }
  .showcase-phones .phone:nth-child(2) { transform: none; }
  .cta-band { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .faq-list .faq-a { padding-left: 22px; }
  .phone { width: 240px; }
  .phone-screen { height: 480px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 36px); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .qr-pop { right: auto; left: 50%; transform: translate(-50%, 8px); width: 210px; }
  .qr-pop.open { transform: translate(-50%, 0); }
  .qr-pop::before { right: auto; left: 50%; }
}
