/* 官网样式：沿用二代设计语言 —— 深色底、蓝紫光晕、圆角玻璃。 */
:root {
  --bg: #06070d;
  --bg-2: #0b0d17;
  --panel: rgba(22, 26, 44, .55);
  --panel-solid: #12152a;
  --line: rgba(160, 175, 255, .14);
  --line-2: rgba(160, 175, 255, .26);
  --text: #eef0fb;
  --text-2: #a9b0cf;
  --text-3: #7c84a6;
  --blue: #4f8bff;
  --violet: #7c5cff;
  --lilac: #9aa5ff;
  --green: #3ddc97;
  --red: #ff5c72;
  --amber: #ffb547;
  --grad: linear-gradient(120deg, #bcc6ff 0%, #8f9bff 38%, #7c5cff 70%, #b06cff 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px var(--line);
  --font: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-display: "Segoe UI Variable Display", "SF Pro Display", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", "SF Mono", Consolas, monospace;
  --wrap: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--violet); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* 背景氛围：两团光晕 + 细网格 + 颗粒 */
.atmos { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.atmos::before, .atmos::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.atmos::before { width: 760px; height: 620px; left: -220px; top: -260px; background: radial-gradient(closest-side, #2a4bc4, transparent); }
.atmos::after { width: 820px; height: 700px; right: -260px; top: 220px; background: radial-gradient(closest-side, #5a2fd0, transparent); opacity: .45; }
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(150, 165, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 165, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.grain { position: absolute; inset: -50%; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- 顶栏 */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); background: rgba(6, 7, 13, .62); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .2px; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 10px; color: var(--text-2); font-size: 15px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav .btn { padding: 9px 18px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav.open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 14px; font-weight: 600; font-size: 16px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .25s, background .25s, border-color .25s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #6f86ff, #7c5cff 60%, #9b5cff); box-shadow: 0 10px 30px -8px rgba(124, 92, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(124, 92, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.btn small { display: block; font-weight: 400; font-size: 12px; opacity: .75; margin-top: 3px; }
.btn .btn-txt { text-align: left; }

/* ---------- 首屏 */
.hero { position: relative; padding: 72px 0 40px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(124, 92, 255, .12); border: 1px solid rgba(154, 165, 255, .25); color: #cfd4ff; font-size: 13.5px; }
.eyebrow b { padding: 2px 9px; border-radius: 999px; background: #5b3df0; color: #fff; font-weight: 600; font-size: 12px; }
.hero h1 { margin: 22px 0 20px; font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 5.2vw, 76px); line-height: 1.08; letter-spacing: -.02em; }
.hero h1 .l2 { display: block; white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.lede { max-width: 33em; color: var(--text-2); font-size: 18px; margin: 0 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--text-3); font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

/* 首屏舞台：电脑窗口 + 手机 + 浮动卡片 */
.stage { position: relative; aspect-ratio: 1.18; perspective: 1800px; }
.stage-glow { position: absolute; inset: 8% 4% 4% 8%; background: radial-gradient(closest-side, rgba(124, 92, 255, .55), transparent 70%); filter: blur(40px); }
.win { position: absolute; left: 0; top: 4%; width: 100%; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow), 0 0 120px -30px rgba(124, 92, 255, .8); transform: rotateY(-11deg) rotateX(5deg) rotateZ(.5deg); transform-origin: 60% 50%; background: #0c0e18; animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.win::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); background: linear-gradient(115deg, rgba(255, 255, 255, .1), transparent 30%); pointer-events: none; }
.phone { position: absolute; width: 27%; right: -3%; bottom: -2%; aspect-ratio: 386 / 840; border-radius: 30px; padding: 6px; background: linear-gradient(160deg, #2a2f4a, #11131f 40%, #1b1f33); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .12); transform: rotate(4deg); animation: rise 1.1s .25s cubic-bezier(.2, .8, .2, 1) both; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 25px; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(16, 19, 36, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .7); font-size: 13.5px; white-space: nowrap; animation: rise .9s cubic-bezier(.2, .8, .2, 1) both, bob 6s ease-in-out infinite; }
.chip .k { color: var(--text-3); font-size: 12px; display: block; line-height: 1.3; }
.chip .v { font-family: var(--mono); font-weight: 600; font-size: 14px; line-height: 1.3; }
.chip-net { left: -4%; top: 0; animation-delay: .5s, 1s; }
.chip-net .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(61, 220, 151, .18); }
.chip-net .v { color: var(--green); }
.chip-enc { right: 4%; top: -4%; animation-delay: .65s, 2s; }
.chip-voice { left: 6%; bottom: 3%; animation-delay: .8s, 0s; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; background: linear-gradient(135deg, #3fbf8a, #2a8f6a); box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--green); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.bars i { width: 4px; border-radius: 2px; background: var(--green); animation: eq 1s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: -.3s; } .bars i:nth-child(3) { animation-delay: -.6s; } .bars i:nth-child(4) { animation-delay: -.15s; } .bars i:nth-child(5) { animation-delay: -.45s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@keyframes rise { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.reveal-1 { animation: rise .8s .05s both cubic-bezier(.2, .8, .2, 1); } .reveal-2 { animation: rise .8s .15s both cubic-bezier(.2, .8, .2, 1); } .reveal-3 { animation: rise .8s .25s both cubic-bezier(.2, .8, .2, 1); } .reveal-4 { animation: rise .8s .35s both cubic-bezier(.2, .8, .2, 1); }

/* 跑马灯 */
.ticker { margin-top: 56px; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker ul { display: flex; gap: 48px; margin: 0; padding: 18px 24px; list-style: none; }
.ticker li { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 15px; white-space: nowrap; }
.ticker li b { font-family: var(--mono); color: var(--text); font-weight: 600; }
.ticker li::before { content: "✦"; color: var(--violet); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 通用段落 */
section { scroll-margin-top: 80px; }
.sec { padding: 120px 0 0; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); margin-bottom: 14px; }
.sec h2 { margin: 0 0 16px; font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1.15; letter-spacing: -.015em; }
.sec h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head p { margin: 0; color: var(--text-2); font-size: 17.5px; }

/* 功能：便当格 */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.card { position: relative; overflow: hidden; border-radius: var(--radius); padding: 30px; background: linear-gradient(180deg, rgba(30, 35, 62, .55), rgba(16, 19, 34, .55)); border: 1px solid var(--line); isolation: isolate; transition: border-color .3s, transform .3s; }
.card:hover { border-color: var(--line-2); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 255, .16), transparent 45%); opacity: 0; transition: opacity .3s; }
.card:hover::before { opacity: 1; }
.card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.35; font-weight: 700; }
.card p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.card .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(79, 139, 255, .25), rgba(124, 92, 255, .25)); border: 1px solid rgba(154, 165, 255, .3); }
.card .ico svg { width: 22px; height: 22px; stroke: #c9cfff; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags span { padding: 4px 11px; border-radius: 999px; font-size: 13px; color: #cdd2f5; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.c-wide { grid-column: span 4; } .c-half { grid-column: span 3; } .c-third { grid-column: span 2; }
.c-tall { grid-row: span 2; }

.big-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 7vw, 92px); line-height: 1; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-num sup { font-size: .38em; vertical-align: top; margin-left: 4px; position: relative; top: .3em; }
.feat-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.feat-hero .shot { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transform: translateX(14%) ; margin-right: -14%; }
.statline { display: flex; gap: 28px; margin-top: 22px; flex-wrap: wrap; }
.statline div { font-size: 13px; color: var(--text-3); }
.statline b { display: block; font-family: var(--mono); color: var(--text); font-size: 17px; }

/* 直连示意 */
.route { margin-top: 24px; display: grid; gap: 10px; }
.route-row { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 12px; font-size: 14px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.route-row .name { color: var(--text-2); }
.route-row .lane { position: relative; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.route-row .lane::after { content: ""; position: absolute; inset: 0; width: 40%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--c, var(--green)), transparent); animation: flow 1.8s linear infinite; }
.route-row .ms { font-family: var(--mono); font-weight: 600; color: var(--c, var(--green)); min-width: 64px; text-align: right; }
.route-row:nth-child(2) { --c: var(--lilac); } .route-row:nth-child(3) { --c: var(--amber); }
.route-row:nth-child(2) .lane::after { animation-duration: 2.4s; } .route-row:nth-child(3) .lane::after { animation-duration: 3.2s; }
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* 键帽 */
.keys { display: flex; align-items: center; gap: 8px; margin: 22px 0 6px; }
.kbd { min-width: 54px; padding: 10px 14px; text-align: center; border-radius: 11px; font-family: var(--mono); font-weight: 700; font-size: 17px; background: linear-gradient(180deg, #262b48, #171a2e); border: 1px solid var(--line-2); box-shadow: 0 4px 0 #0b0d18, inset 0 1px 0 rgba(255, 255, 255, .12); }
.keys .plus { color: var(--text-3); }
.save-bar { margin-top: 18px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.save-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, rgba(124, 92, 255, .2), var(--violet), #b06cff); transform-origin: left; animation: fill 3.2s ease-in-out infinite; }
@keyframes fill { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
.save-cap { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-3); font-family: var(--mono); margin-top: 8px; }

/* 一起看片：弹幕 */
.cinema { position: relative; margin-top: 22px; aspect-ratio: 16 / 8; border-radius: 14px; overflow: hidden; background: radial-gradient(60% 80% at 65% 40%, rgba(255, 190, 120, .35), transparent 60%), linear-gradient(180deg, #2a2347, #120f22); border: 1px solid var(--line); }
.cinema::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(170deg, transparent 30%, #1b1630 31%) , linear-gradient(195deg, transparent 45%, #231c3c 46%); }
.danmu { position: absolute; z-index: 2; white-space: nowrap; font-size: 13px; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .35); color: #fff; animation: dm 9s linear infinite; left: 100%; }
.danmu:nth-child(1) { top: 12%; } .danmu:nth-child(2) { top: 30%; animation-delay: -3s; animation-duration: 11s; } .danmu:nth-child(3) { top: 48%; animation-delay: -6s; animation-duration: 8s; } .danmu:nth-child(4) { top: 20%; animation-delay: -7.5s; animation-duration: 10s; }
@keyframes dm { to { transform: translateX(calc(-100% - 700px)); } }

/* 小窗 */
.pip { position: relative; margin-top: 22px; aspect-ratio: 16 / 9; border-radius: 14px; background: linear-gradient(135deg, #171b30, #0f1222); border: 1px solid var(--line); overflow: hidden; }
.pip::before { content: ""; position: absolute; inset: 12% 10% auto 8%; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .07); box-shadow: 0 22px 0 rgba(255, 255, 255, .05), 0 44px 0 rgba(255, 255, 255, .05), 0 66px 0 rgba(255, 255, 255, .04); width: 50%; }
.pip-win { position: absolute; right: 6%; bottom: 8%; width: 46%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 30px -8px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .18); animation: pipmove 7s ease-in-out infinite; }
.pip-win img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@keyframes pipmove { 0%, 100% { translate: 0 0; } 50% { translate: -8% -10%; } }

.phone-card { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 20px; align-items: end; }
.mini-phone { width: 150px; aspect-ratio: 386 / 840; border-radius: 22px; padding: 4px; background: linear-gradient(160deg, #2a2f4a, #11131f); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 40px -10px rgba(0, 0, 0, .8); margin-bottom: -60px; }
.mini-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }

/* ---------- 演示 */
.demo { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.demo-tabs { display: grid; gap: 8px; }
.demo-tab { display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; align-items: center; text-align: left; padding: 14px 16px; border-radius: 16px; border: 1px solid transparent; background: transparent; cursor: pointer; transition: background .2s, border-color .2s; }
.demo-tab .n { grid-row: span 2; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--text-2); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.demo-tab b { font-size: 16px; font-weight: 600; }
.demo-tab span:last-child { font-size: 13.5px; color: var(--text-3); line-height: 1.5; }
.demo-tab:hover { background: rgba(255, 255, 255, .03); }
.demo-tab[aria-selected="true"] { background: linear-gradient(135deg, rgba(79, 139, 255, .12), rgba(124, 92, 255, .14)); border-color: rgba(154, 165, 255, .35); }
.demo-tab[aria-selected="true"] .n { color: #fff; background: #5b3df0; border-color: transparent; }
.demo-view { position: relative; border-radius: 18px; padding: 10px; background: linear-gradient(180deg, rgba(40, 46, 80, .5), rgba(16, 19, 34, .6)); border: 1px solid var(--line-2); box-shadow: 0 50px 100px -30px rgba(80, 60, 200, .45); }
.demo-panel { display: none; }
.demo-panel.on { display: block; animation: fadein .45s ease both; }
.demo-panel figure { margin: 0; }
.demo-panel img.desk { border-radius: 10px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.demo-panel figcaption { padding: 14px 8px 4px; color: var(--text-2); font-size: 14.5px; }
.demo-phones { display: flex; justify-content: center; gap: 26px; padding: 26px 10px 6px; background: radial-gradient(60% 60% at 50% 40%, rgba(124, 92, 255, .2), transparent 70%); border-radius: 10px; aspect-ratio: 16 / 10; align-items: center; }
.demo-phones .mini-phone { width: auto; height: 100%; margin: 0; max-height: 520px; }
@keyframes fadein { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

/* ---------- 三步上手 */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--lilac); display: block; margin-bottom: 30px; }
.step h3 { margin: 0 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--text-2); font-size: 15px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -14px; width: 10px; height: 10px; border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2); transform: rotate(45deg); }

/* ---------- 下载 */
.dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dl-card { position: relative; display: flex; flex-direction: column; padding: 34px; border-radius: 26px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(40, 46, 86, .6), rgba(14, 16, 30, .7)); overflow: hidden; isolation: isolate; }
.dl-card::after { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 92, 255, .4), transparent); }
.dl-card.featured { border-color: rgba(154, 165, 255, .55); box-shadow: 0 0 0 1px rgba(154, 165, 255, .2), 0 30px 70px -30px rgba(124, 92, 255, .7); }
.dl-card .os { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.dl-card .os svg { width: 40px; height: 40px; }
.dl-card h3 { margin: 0; font-size: 24px; }
.dl-card .ver { font-family: var(--mono); color: var(--text-3); font-size: 13.5px; }
.dl-card ul { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--text-2); font-size: 15px; }
.dl-card li { display: flex; gap: 10px; }
.dl-card li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: rgba(61, 220, 151, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ddc97' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.dl-card .btn { margin-top: auto; align-self: flex-start; }
.badge { position: absolute; top: 22px; right: 22px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(61, 220, 151, .14); color: var(--green); border: 1px solid rgba(61, 220, 151, .35); }
.dl-note { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--text-3); font-size: 14px; }
.dl-note a { color: var(--lilac); }
.ios-note { display: none; margin-bottom: 18px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 181, 71, .1); border: 1px solid rgba(255, 181, 71, .3); color: #ffd79b; font-size: 15px; }
.is-ios .ios-note { display: block; }

/* 安卓手机：安卓下载排前面（在 <head> 里先判断设备，避免页面跳动） */
.is-android .cta [data-platform-btn="android"], .is-android .dl [data-platform="android"] { order: -1; }

/* ---------- FAQ */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--line-2); background: rgba(124, 92, 255, .06); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .a { padding: 0 24px 22px; color: var(--text-2); font-size: 15.5px; }
.faq .a p { margin: 0 0 10px; } .faq .a p:last-child { margin: 0; }
.faq .a ol, .faq .a ul { margin: 0 0 10px; padding-left: 1.3em; }
.faq a, .doc a { color: var(--lilac); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(154, 165, 255, .4); }

/* ---------- 收尾大横幅 */
.final { position: relative; margin-top: 140px; padding: 80px 40px; border-radius: 32px; text-align: center; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(80% 120% at 50% 0%, rgba(124, 92, 255, .35), transparent 60%), linear-gradient(180deg, #121530, #0a0c18); }
.final img { width: 88px; height: 88px; margin: 0 auto 24px; filter: drop-shadow(0 20px 40px rgba(124, 92, 255, .6)); }
.final h2 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 48px); line-height: 1.2; }
.final p { margin: 0 auto 30px; max-width: 34em; color: var(--text-2); }
.final .cta { justify-content: center; }

/* ---------- 页脚 */
.foot { margin-top: 110px; padding: 44px 0 50px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a:hover { color: var(--text); }
.foot .fine { width: 100%; font-size: 12.5px; }

/* ---------- 文档页（下载 / 帮助） */
.page-hero { padding: 72px 0 10px; }
.page-hero h1 { margin: 10px 0 14px; font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5vw, 60px); line-height: 1.1; letter-spacing: -.015em; }
.page-hero p { margin: 0; max-width: 40em; color: var(--text-2); font-size: 18px; }
.doc-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 48px; }
.toc { position: sticky; top: 96px; display: grid; gap: 2px; font-size: 14.5px; }
.toc a { padding: 7px 12px; border-radius: 9px; color: var(--text-3); border-left: 2px solid transparent; }
.toc a:hover, .toc a.on { color: var(--text); background: rgba(255, 255, 255, .04); border-left-color: var(--violet); }
.doc h2 { margin: 0 0 16px; font-size: 28px; font-weight: 800; line-height: 1.3; scroll-margin-top: 90px; }
.doc h3 { margin: 28px 0 10px; font-size: 19px; }
.doc section { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.doc section:last-child { border-bottom: 0; }
.doc p, .doc li { color: var(--text-2); font-size: 16px; }
.doc ol, .doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }
.doc b, .doc strong { color: var(--text); }
.doc figure { margin: 20px 0; }
.doc figure img { border-radius: 14px; box-shadow: var(--shadow); }
.doc figcaption { margin-top: 10px; font-size: 13.5px; color: var(--text-3); }
.callout { padding: 16px 20px; border-radius: 14px; background: rgba(124, 92, 255, .08); border: 1px solid rgba(154, 165, 255, .25); color: var(--text-2); font-size: 15px; margin: 16px 0; }
.callout.warn { background: rgba(255, 181, 71, .08); border-color: rgba(255, 181, 71, .3); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 16px 0; font-size: 15px; }
.kv dt { color: var(--text-3); } .kv dd { margin: 0; color: var(--text); }
.ladder { display: grid; gap: 10px; margin: 18px 0; }
.ladder div { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-size: 15px; color: var(--text-2); }
.ladder b { display: block; color: var(--text); }
.ladder i { font-style: normal; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; background: rgba(124, 92, 255, .18); color: #d3d7ff; }

/* ---------- 响应式 */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { padding-top: 48px; }
  .stage { max-width: 760px; width: 100%; margin: 0 auto; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-wide, .c-half, .c-third { grid-column: span 1; }
  .c-wide.c-full { grid-column: span 2; }
  .feat-hero .shot { transform: none; margin-right: 0; }
  .demo { grid-template-columns: minmax(0, 1fr); }
  .demo-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .demo-tab span:last-child { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .wrap { width: calc(100% - 32px); }
  .nav-in { height: 60px; }
  .menu-btn { display: block; }
  .nav-links, .nav .btn-nav { display: none; }
  .nav.open .nav-links { display: grid; position: absolute; left: 0; right: 0; top: 60px; padding: 12px 16px 18px; background: rgba(8, 9, 16, .96); border-bottom: 1px solid var(--line); gap: 2px; }
  .nav.open .nav-links a { padding: 12px 14px; font-size: 16px; }
  .hero h1 { font-size: clamp(34px, 10.4vw, 56px); }
  .hero h1 .l2 { white-space: normal; }
  .lede { font-size: 16.5px; }
  .cta .btn { flex: 1 1 100%; }
  .stage { aspect-ratio: 1.02; }
  .win { top: 10%; transform: rotateY(-8deg) rotateX(4deg); }
  .phone { width: 34%; right: -1%; bottom: 0; border-radius: 22px; padding: 4px; }
  .phone img { border-radius: 18px; }
  .chip { padding: 7px 10px; font-size: 12px; gap: 8px; border-radius: 11px; }
  .chip .v { font-size: 12px; } .chip .k { font-size: 10.5px; }
  .chip-net { left: 0; top: 0; } .chip-enc { right: 0; top: auto; bottom: 46%; display: none; } .chip-voice { left: 2%; bottom: 4%; }
  .avatar { width: 24px; height: 24px; font-size: 11px; }
  .ticker { margin-top: 36px; }
  .sec { padding-top: 84px; }
  .sec-head { margin-bottom: 34px; }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .c-wide.c-full { grid-column: span 1; }
  .card { padding: 24px; }
  .feat-hero { grid-template-columns: minmax(0, 1fr); }
  .phone-card { grid-template-columns: minmax(0, 1fr) 110px; }
  .mini-phone { width: 110px; border-radius: 17px; }
  .demo-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-tab { padding: 10px 12px; grid-template-columns: 28px 1fr; }
  .demo-tab .n { width: 28px; height: 28px; font-size: 12px; }
  .demo-tab b { font-size: 14.5px; }
  .demo-phones { gap: 12px; padding: 16px 8px 4px; aspect-ratio: auto; height: 440px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .dl { grid-template-columns: minmax(0, 1fr); }
  .dl-card { padding: 26px; }
  .dl-card .btn { align-self: stretch; }
  .final { margin-top: 90px; padding: 56px 22px; border-radius: 24px; }
  .doc-layout { grid-template-columns: minmax(0, 1fr); margin-top: 30px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
