/* Apex Trader 官网。手机优先（设计稿 W1 / W3 / W4），960px 以上是电脑版（W2）。颜色和 App 的 AppColors 一致。 */

@font-face {
  font-family: "ZCOOL";
  src: url("fonts/zcool.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("fonts/rubik-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg-night: #070A14;
  --bg: #0D1222;
  --panel: #151C33;
  --panel-hi: #1E2846;
  --line: #2B3760;
  --gold: #FFC93C;
  --gold-light: #FFE58A;
  --gold-dark: #F2A91C;
  --gold-deep: #B9780F;
  --gold-ink: #3A2200;
  --text: #F5F1E6;
  --text-2: #A7B0CC;
  --text-3: #69739A;
  --up: #2EE07A;
  --credit: #4FC3FF;
  --tier-local: #3DDC84;
  --tier-city: #3FA9FF;
  --tier-corp: #A66BFF;
  --ui: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --num: "Rubik", var(--ui);
  --display: "ZCOOL", var(--ui);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-night);
  color: var(--text);
  font: 14px/1.5 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.display { font-family: var(--display); font-weight: normal; letter-spacing: 0.5px; }
/* 繁體：站酷庆科黄油体没有繁体字，标题改用系统字体加粗（和 App 一样） */
html[lang="zh-TW"] {
  --ui: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif;
  --num: "Rubik", var(--ui);
  --display: var(--ui);
}
html[lang="zh-TW"] .display { font-weight: 900; letter-spacing: 0; }
html[lang="zh-TW"] .logo { font-family: "ZCOOL", var(--ui); font-weight: normal; letter-spacing: 0.5px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1em; height: 1em; flex: none; }
.wrap { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 20px; }
.only-desktop, .only-desktop-flex, .only-desktop-inline { display: none !important; }

.c-gold { color: var(--gold); }
.c-local { color: var(--tier-local); }
.c-city { color: var(--tier-city); }
.c-corp { color: var(--tier-corp); }
.c-up { color: var(--up); }

/* ---- 3D 下载按钮（App 的 GameButton）---- */
.btn3d {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 54px;
  margin-bottom: 6px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 52%, var(--gold-dark) 100%);
  box-shadow: inset 0 2px 0 #FFF4C4AA, 0 6px 0 var(--gold-deep), 0 12px 28px #FFC93C40;
  color: var(--gold-ink);
  font: 22px/1 var(--display);
  letter-spacing: 0.5px;
  transition: transform .08s ease, box-shadow .08s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn3d .icon { width: 20px; height: 20px; stroke-width: 2.4; }
.btn3d:active { transform: translateY(4px); box-shadow: inset 0 2px 0 #FFF4C4AA, 0 2px 0 var(--gold-deep), 0 6px 16px #FFC93C30; }
.btn3d.is-disabled { background: var(--panel-hi); box-shadow: 0 6px 0 #0B1022; color: var(--text-3); font-size: 18px; }

/* ---- 导航 ---- */
.nav { display: flex; align-items: center; gap: 10px; padding: 14px 20px; position: relative; z-index: 2; }
.brand { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; font: 700 17px/1 var(--num); }
.brand img { width: 34px; height: 34px; border-radius: 9px; border: 1px solid #FFFFFF22; }
.nav-links { display: none; }
.nav-dl {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 17px;
  background: var(--gold); color: var(--gold-ink);
  font-size: 13px; font-weight: 700; line-height: 20px;
}
.nav-dl .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.nav-plain .brand { font-size: 16px; }
.nav-plain .brand img { width: 30px; height: 30px; border-radius: 8px; border: 0; }
.nav-home { font-size: 13px; color: var(--text-2); }

/* 语言菜单（设计稿 W7）：<details> 展开，不依赖脚本 */
.lang { position: relative; flex: none; }
.lang > summary {
  display: flex; align-items: center; gap: 4px; padding: 5px 10px; cursor: pointer; list-style: none;
  border: 1px solid #FFC93C88; border-radius: 17px; background: #FFC93C14;
  font: 600 12px/17px var(--ui); color: var(--text); white-space: nowrap;
}
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary .icon { width: 14px; height: 14px; color: var(--text-2); }
.lang > summary .caret { width: 12px; height: 12px; transition: transform .15s; }
.lang[open] > summary .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: 180px; padding: 6px;
  display: flex; flex-direction: column; gap: 2px;
  background: #121933F5; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 28px #000000AA;
}
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px;
  border-radius: 10px; font-size: 14px; line-height: 20px; color: var(--text);
}
.lang-menu a:hover { background: #FFFFFF0D; }
.lang-menu a[aria-current="true"] { background: #FFC93C1A; color: var(--gold); font-weight: 700; }
.lang-menu .icon { width: 16px; height: 16px; }
.brand span { white-space: nowrap; }
/* 窄屏（360–399px）：英文的按钮比中文长，收紧导航让品牌名、语言、下载放得下一行 */
@media (max-width: 399px) {
  .nav { gap: 6px; padding-left: 14px; padding-right: 14px; }
  .brand { gap: 7px; font-size: 15px; }
  .brand img { width: 30px; height: 30px; }
  .lang > summary { padding-left: 8px; padding-right: 8px; }
  .nav-dl { padding-left: 11px; padding-right: 11px; }
}

/* ---- 首页 Hero ---- */
.hero { position: relative; min-height: 640px; display: flex; flex-direction: column; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, #070A14CC 0%, #070A1400 22%, #070A1400 38%, #070A14F2 78%, #070A14 100%),
    url("img/hero.webp") center top / cover no-repeat;
}
.hero-main { position: relative; flex: 1; display: flex; align-items: flex-end; padding: 0 24px 28px; }
.hero-copy { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.logo {
  font-size: 46px; line-height: 1.05;
  background: linear-gradient(180deg, #FFF4C4 0%, var(--gold) 60%, var(--gold-dark) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 12px #FFC93C66);
}
.ribbon {
  padding: 4px 14px; border-radius: 6px;
  background: #070A14B3; border: 1px solid #FFC93C66;
  color: var(--gold-light); font-size: 18px; letter-spacing: 4px; line-height: 1.3;
}
.tagline { font-size: 21px; font-weight: 700; line-height: 1.35; }
.hero-sub { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.ctas { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 8px; }
.cta-col { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.meta { font-size: 12px; color: var(--text-3); }

.qr-card {
  align-items: center; gap: 12px; padding: 12px;
  background: #070A14B3; border: 1px solid var(--line); border-radius: 16px;
  text-align: left;
}
.qr-box { width: 92px; height: 92px; padding: 8px; background: #fff; border-radius: 8px; }
.qr { display: block; width: 100%; height: 100%; }
.qr-t1 { font-size: 15px; font-weight: 700; }
.qr-t2 { margin-top: 4px; font-size: 12px; color: var(--text-3); }

/* ---- 数据 ---- */
.stats { display: flex; gap: 10px; padding-top: 6px; padding-bottom: 10px; }
.stat {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 14px 0; border-radius: 16px; background: var(--panel); border: 1px solid var(--line);
}
.stat b { font: 700 28px/1.2 var(--num); }
.stat span { font-size: 13px; color: var(--text-2); }

/* ---- 玩法介绍 ---- */
.feature { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 44px; padding-bottom: 8px; text-align: center; }
.feature-copy { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 4px; }
.eyebrow { padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 700; line-height: 1.4; border: 1px solid; }
.eb-local { color: var(--tier-local); background: #3DDC841F; border-color: #3DDC8455; }
.eb-city { color: var(--tier-city); background: #3FA9FF1F; border-color: #3FA9FF55; }
.eb-corp { color: var(--tier-corp); background: #A66BFF1F; border-color: #A66BFF55; }
.eb-gold { color: var(--gold); background: #FFC93C1F; border-color: #FFC93C55; }
.feature h2 { font-size: 28px; line-height: 1.25; }
.feature-body { font-size: 14px; line-height: 1.65; color: var(--text-2); }

.phone-stage { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; height: 520px; padding-top: 20px; flex: none; }
.glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; filter: blur(70px); opacity: .9; }
.stage-local .glow { background: #3DDC8440; }
.stage-city .glow { background: #3FA9FF40; }
.stage-corp .glow { background: #A66BFF40; }
.stage-gold .glow { background: #FFC93C40; }
.phone {
  position: relative; width: 232px; height: 502px; overflow: hidden;
  border-radius: 32px; border: 1px solid #FFFFFF2E; background: var(--bg);
  box-shadow: 0 20px 40px #00000099;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---- 结尾下载 ---- */
.final { background: linear-gradient(180deg, var(--bg-night) 0%, var(--panel-hi) 100%); }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 48px; padding-bottom: 40px; text-align: center; }
.final-icon { width: 72px; height: 72px; border-radius: 18px; border: 1px solid #FFC93C66; box-shadow: 0 0 30px #FFC93C55; }
.final h2 { font-size: 28px; }
.final-sub { font-size: 14px; color: var(--text-2); }
.final .ctas { padding-top: 0; }
.ios-note { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.ios-note .icon { width: 14px; height: 14px; }

/* ---- 页脚 ---- */
.footer { border-top: 1px solid #FFFFFF12; }
.footer-in { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 24px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 13px; color: var(--text-2); }
.footer-meta { display: flex; flex-direction: column; gap: 12px; font-size: 12px; color: var(--text-3); }

/* ---- 下载页（W3）---- */
.page { max-width: 480px; margin: 0 auto; padding-bottom: 32px; }
.app-head { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 20px 8px; text-align: center; }
.app-icon { width: 88px; height: 88px; border-radius: 22px; border: 1px solid #FFC93C66; box-shadow: 0 0 32px #FFC93C40; }
.app-head h1 { font-size: 26px; line-height: 1.2; margin-bottom: -10px; }
.slogan { font-size: 13px; color: var(--text-2); }
.app-meta { width: 100%; display: flex; padding: 12px 0; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.app-meta > div { flex: 1; display: flex; flex-direction: column-reverse; align-items: center; gap: 2px; }
.app-meta dt { font-size: 11px; color: var(--text-3); }
.app-meta dd { font: 700 15px/1.3 var(--num); }
.action { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 20px 6px; }
.detected { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 12px; background: #3FA9FF1A; color: var(--credit); font-size: 12px; }
.detected .icon { width: 14px; height: 14px; }
.block { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 0; scroll-margin-top: 12px; }
.block h2 { font-size: 16px; font-weight: 700; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.notes { display: flex; flex-direction: column; gap: 10px; }
.notes li { position: relative; padding-left: 14px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.notes li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.tabs { display: flex; flex-direction: column; gap: 10px; }
.tab-radio { position: absolute; opacity: 0; pointer-events: none; }
.tab-list { display: flex; gap: 6px; }
.tab {
  flex: 1; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--panel); border: 1px solid var(--line);
  font-size: 13px; color: var(--text-2); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.steps { display: none; flex-direction: column; gap: 10px; }
.steps-name { font-size: 12px; color: var(--text-3); }
.steps ol { display: flex; flex-direction: column; gap: 10px; }
.steps li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.num {
  flex: none; width: 22px; height: 22px; margin-top: -0.5px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: #FFC93C22; color: var(--gold); font: 700 12px/1 var(--num);
}
#brand-huawei:checked ~ .steps-huawei, #brand-xiaomi:checked ~ .steps-xiaomi, #brand-oppo:checked ~ .steps-oppo,
#brand-vivo:checked ~ .steps-vivo, #brand-other:checked ~ .steps-other { display: flex; }
#brand-huawei:checked ~ .tab-list .tab-huawei, #brand-xiaomi:checked ~ .tab-list .tab-xiaomi, #brand-oppo:checked ~ .tab-list .tab-oppo,
#brand-vivo:checked ~ .tab-list .tab-vivo, #brand-other:checked ~ .tab-list .tab-other {
  background: var(--gold); border-color: var(--gold); color: var(--gold-ink); font-weight: 700;
}
.tab-radio:focus-visible ~ .tab-list { outline: 2px solid var(--credit); outline-offset: 3px; border-radius: 10px; }

.sha { display: flex; flex-direction: column; gap: 10px; }
.sha-label { font-size: 12px; color: var(--text-3); }
.sha-code { display: flex; flex-direction: column; gap: 10px; font: 13px/1.4 var(--mono); color: var(--text); user-select: all; -webkit-user-select: all; }
.sha-row { display: flex; justify-content: space-between; }
.sha-note { font-size: 12px; line-height: 1.5; color: var(--text-3); }
.faq { padding: 0 16px; }
.qa { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px solid #FFFFFF12; }
.qa:last-child { border-bottom: 0; }
.qa h3 { font-size: 14px; font-weight: 700; }
.qa p { font-size: 13px; line-height: 1.55; color: var(--text-2); }

/* ---- 协议页 ---- */
.doc { padding: 8px 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.doc h1 { font-size: 28px; }
.doc-updated { font-size: 12px; color: var(--text-3); margin-bottom: 10px; }
.doc section { margin-bottom: 12px; }
.doc h2 { font-size: 16px; font-weight: 800; color: var(--gold); margin-bottom: 6px; }
.doc p { font-size: 14px; line-height: 1.7; color: var(--text-2); margin-bottom: 4px; }
.notfound { padding-top: 60px; text-align: center; gap: 14px; }
.link { color: var(--gold); }

/* ---- 微信 / QQ 引导（W4）---- */
.has-wechat { overflow: hidden; }
.wechat { position: fixed; inset: 0; z-index: 50; background: #03050CE6; overflow-y: auto; }
.wechat-arrow { position: absolute; top: 6px; right: 18px; color: var(--gold); }
.wechat-arrow .icon { width: 64px; height: 64px; stroke-width: 2.2; }
.wechat-guide { display: flex; flex-direction: column; gap: 16px; max-width: 390px; margin: 0 auto; padding: 96px 24px 32px; }
.wechat-guide h2 { font-size: 30px; line-height: 1.2; }
.wechat-sub { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.wechat-step {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; font-size: 15px;
}
.wechat-num {
  width: 28px; height: 28px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--gold-ink); font: 700 14px/1 var(--num);
}
.key {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px;
  background: #FFFFFF14; border: 1px solid #FFFFFF2E; border-radius: 8px;
}
.key .icon { width: 16px; height: 16px; }
.wechat-copy {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px;
  border: 1px solid var(--line); border-radius: 14px; background: none;
  font-size: 14px; font-weight: 700; color: var(--text-2); cursor: pointer;
}
.wechat-copy .icon { width: 16px; height: 16px; }
.wechat-copy.is-done { color: var(--up); border-color: #2EE07A66; }

/* ---- 邀请页（W9 / W9b）---- */
/* 段位 A1–A7 的颜色，和 App 的 LevelColors 一致 */
.lv-1 { --lv: #9AA3B5; --lv-bg: #9AA3B51F; --lv-line: #9AA3B588; }
.lv-2 { --lv: #3DDC84; --lv-bg: #3DDC841F; --lv-line: #3DDC8488; }
.lv-3 { --lv: #3FA9FF; --lv-bg: #3FA9FF1F; --lv-line: #3FA9FF88; }
.lv-4 { --lv: #A66BFF; --lv-bg: #A66BFF26; --lv-line: #A66BFF88; }
.lv-5 { --lv: #FF8A3D; --lv-bg: #FF8A3D26; --lv-line: #FF8A3D88; }
.lv-6 { --lv: #FF4D8D; --lv-bg: #FF4D8D26; --lv-line: #FF4D8D88; }
.lv-7 { --lv: #FFE58A; --lv-bg: #FFE58A26; --lv-line: #FFE58A88; }
.invite-card {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 18px; border-radius: 20px;
  background: #0D1222D9; border: 1px solid #FFC93C66;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.invite-avatar {
  width: 80px; height: 80px; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 3px solid var(--lv); background: var(--lv-bg);
  box-shadow: 0 0 24px var(--lv-bg);
  font: 700 32px/1 var(--ui); color: var(--lv);
}
.invite-avatar img { width: 100%; height: 100%; object-fit: cover; }
.invite-icon { width: 72px; height: 72px; border-radius: 18px; border: 1px solid #FFC93C66; box-shadow: 0 0 30px #FFC93C55; }
.invite-text { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.invite-name { font: 800 26px/1.2 var(--ui); overflow-wrap: anywhere; }
.invite-name.display { font-family: var(--display); font-weight: normal; font-size: 28px; }
html[lang="zh-TW"] .invite-name.display { font-weight: 900; }
.invite-line { font-size: 15px; line-height: 1.5; text-wrap: balance; }
.invite-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { padding: 2px 8px; border-radius: 8px; border: 1px solid; font-size: 12px; font-weight: 700; line-height: 17px; white-space: nowrap; }
.chip-lv { color: var(--lv); background: var(--lv-bg); border-color: var(--lv-line); }
.chip-gold { color: var(--gold); background: #FFC93C1F; border-color: #FFC93C66; }
.chip-city { color: var(--credit); background: #4FC3FF1F; border-color: #4FC3FF66; }
.invite .hero-main { padding-top: 24px; }

.how { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 28px; padding-bottom: 8px; }
.how h2 { font-size: 26px; margin-bottom: 4px; text-align: center; }
.how-list { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.how-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.how-icon { flex: none; padding-top: 1px; }
.how-icon .icon { width: 22px; height: 22px; }
.how-item h3 { font-size: 14px; font-weight: 700; line-height: 20px; }
.how-item p { margin-top: 2px; font-size: 12px; line-height: 1.5; color: var(--text-2); }
.more-link { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gold); }
.more-link .icon { width: 14px; height: 14px; }

/* ---- 电脑版（W2）---- */
@media (min-width: 960px) {
  .only-mobile { display: none !important; }
  .only-desktop { display: block !important; }
  .only-desktop-flex { display: flex !important; }
  .only-desktop-inline { display: inline !important; }
  .wrap { padding: 0 24px; }

  .hero { min-height: 820px; }
  .hero-bg {
    background:
      linear-gradient(90deg, #070A14F2 0%, #070A14B3 45%, #070A1466 100%),
      linear-gradient(180deg, #070A1400 75%, #070A14 100%),
      url("img/hero.webp") center 30% / cover no-repeat;
  }
  .nav.wrap { padding-top: 22px; padding-bottom: 22px; gap: 28px; }
  .brand { font-size: 20px; }
  .brand img { width: 40px; height: 40px; border-radius: 10px; }
  .nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--text-2); }
  .nav-links a:hover, .footer-links a:hover, .nav-home:hover { color: var(--text); }
  .nav-dl { padding: 9px 18px; border-radius: 20px; font-size: 14px; gap: 6px; }
  .nav-dl .icon { width: 16px; height: 16px; }

  .hero-main { align-items: center; gap: 60px; padding-bottom: 40px; }
  .hero-copy { align-items: flex-start; text-align: left; gap: 20px; flex: 1; }
  .logo { font-size: 84px; }
  .ribbon { font-size: 24px; padding: 6px 18px; border-radius: 8px; }
  .tagline { font-size: 34px; }
  .hero-sub { font-size: 18px; max-width: 560px; }
  .ctas { flex-direction: row; align-items: center; width: auto; padding-top: 12px; }
  .cta-col { width: 280px; align-items: flex-start; }
  .hero .meta { padding-left: 4px; }
  .hero-phone { flex: none; }
  .hero-phone .phone-stage { width: 420px; height: 640px; padding: 0; }
  .hero-phone .glow { width: 340px; height: 340px; }

  .stats { gap: 20px; padding-bottom: 20px; }
  .stat { flex-direction: row; align-items: flex-end; gap: 14px; padding: 22px 28px; border-radius: 20px; }
  .stat b { font-size: 44px; line-height: 1; }
  .stat span { font-size: 16px; }

  .feature { flex-direction: row; gap: 100px; padding: 36px 160px; text-align: left; }
  .feature:nth-child(even) { flex-direction: row-reverse; }
  .feature-copy { flex: 1; align-items: flex-start; gap: 18px; padding: 0; }
  .eyebrow { font-size: 14px; padding: 5px 14px; border-radius: 14px; }
  .feature h2 { font-size: 48px; }
  .feature-body { font-size: 18px; }
  .phone-stage { width: 420px; height: 640px; padding: 0; }
  .glow { width: 320px; height: 320px; }
  .phone { width: 280px; height: 606px; border-radius: 38px; }
  .hero-phone .phone { border-color: #FFFFFF33; }

  .final-in { gap: 18px; padding-top: 90px; padding-bottom: 90px; }
  .final-icon { width: 96px; height: 96px; border-radius: 24px; }
  .final h2 { font-size: 48px; }
  .final-sub { font-size: 18px; }
  .final .ctas { padding-top: 10px; }

  .footer-in { flex-direction: row-reverse; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
  .footer-links { gap: 24px; font-size: 14px; }
  .footer-meta { flex-direction: row; gap: 0; font-size: 13px; }
  .footer-icp::before { content: " · "; }

  .page { padding-top: 12px; }
  .wechat-guide { padding-top: 120px; }

  /* 邀请页（W9c）：邀请人卡片横排，玩法四条并排 */
  .invite-card { flex-direction: row; width: auto; max-width: 720px; gap: 20px; padding: 20px 28px 20px 20px; }
  .invite-text { align-items: flex-start; gap: 8px; text-align: left; }
  .invite-chips { justify-content: flex-start; }
  .invite-name { font-size: 34px; }
  .invite-name.display { font-size: 34px; }
  .invite-line { font-size: 17px; }
  .how { gap: 28px; padding-top: 56px; padding-bottom: 80px; }
  .how h2 { font-size: 40px; }
  .how-list { flex-direction: row; gap: 20px; }
  .how-item { flex: 1; flex-direction: column; gap: 12px; padding: 20px; }
  .how-item h3 { font-size: 16px; }
  .how-item p { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn3d { transition: none; }
}
