﻿/* ==========================================================================
   App 落地页模板 · main.css
   结构：1) 主题变量  2) 基础重置  3) 通用组件  4) 各区块  5) 响应式
   换肤：改 <html data-theme="nebula|gold|light"> 即可，无需动结构
   ========================================================================== */

/* ---------- 1) 主题变量 ---------- */
:root,
[data-theme="nebula"] {
  --bg: #0b0e1a;
  --bg-soft: #0f1326;
  --surface: #131730;
  --surface-2: #1a1f3d;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #eaeffa;
  --text-dim: #a6b0c8;
  --text-mute: #6f7a94;
  --brand: #4f7cff;
  --brand-2: #22d3ee;
  --accent: #f0b90b;
  --success: #2fd68a;
  --glow-1: rgba(79, 124, 255, 0.22);
  --glow-2: rgba(34, 211, 238, 0.16);
  --glow-3: rgba(240, 185, 11, 0.12);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.75);
  --nav-bg: rgba(11, 14, 26, 0.72);
  --hero-title: linear-gradient(96deg, #ffffff 12%, #b9c9ff 52%, #7fe9ff 96%);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
}

[data-theme="gold"] {
  --bg: #0a0d16;
  --bg-soft: #0e1220;
  --surface: #14182b;
  --surface-2: #1b2038;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(240, 185, 11, 0.35);
  --text: #f3f5fb;
  --text-dim: #adb5c7;
  --text-mute: #75809a;
  --brand: #f0b90b;
  --brand-2: #f8d43b;
  --accent: #4f7cff;
  --success: #2fd68a;
  --glow-1: rgba(240, 185, 11, 0.2);
  --glow-2: rgba(248, 212, 59, 0.12);
  --glow-3: rgba(79, 124, 255, 0.14);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.8);
  --nav-bg: rgba(10, 13, 22, 0.74);
  --hero-title: linear-gradient(96deg, #ffffff 10%, #f8d43b 60%, #f0b90b 100%);
}

[data-theme="light"] {
  --bg: #f5f7fc;
  --bg-soft: #eef2fa;
  --surface: #ffffff;
  --surface-2: #f7f9ff;
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.16);
  --text: #101828;
  --text-dim: #475467;
  --text-mute: #7b8598;
  --brand: #2f54eb;
  --brand-2: #0ea5e9;
  --accent: #d99a00;
  --success: #12b76a;
  --glow-1: rgba(47, 84, 235, 0.1);
  --glow-2: rgba(14, 165, 233, 0.08);
  --glow-3: rgba(217, 154, 0, 0.08);
  --shadow: 0 20px 50px -30px rgba(16, 24, 40, 0.35);
  --nav-bg: rgba(255, 255, 255, 0.8);
  --hero-title: linear-gradient(96deg, #101828 20%, #2f54eb 85%);
}

/* ---------- 2) 基础重置 ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--brand); color: #fff; }

/* 背景光晕 */
.bg-glow {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 18% 8%, var(--glow-1) 0%, transparent 62%),
    radial-gradient(ellipse 50% 45% at 88% 12%, var(--glow-2) 0%, transparent 60%),
    radial-gradient(ellipse 70% 55% at 50% 105%, var(--glow-3) 0%, transparent 65%),
    var(--bg);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 0%, transparent 75%);
}

/* ---------- 3) 通用组件 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 92px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--border); }

.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 18px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.4px;
  color: var(--brand-2);
  border: 1px solid var(--border-strong); border-radius: 999px;
  background: var(--surface);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-2) 22%, transparent);
}
.section-title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800; letter-spacing: -0.6px; line-height: 1.25;
}
.section-sub { margin-top: 14px; color: var(--text-dim); font-size: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; box-shadow: 0 14px 30px -14px var(--brand);
}
.btn--primary:hover { box-shadow: 0 18px 38px -14px var(--brand); }
.btn--ghost { border-color: var(--border-strong); color: var(--text); background: var(--surface); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-2); }
.btn--block { width: 100%; }
.btn--lg { padding: 14px 30px; font-size: 16px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-dim);
}

.icon-box {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(140deg, color-mix(in srgb, var(--brand) 26%, transparent), color-mix(in srgb, var(--brand-2) 14%, transparent));
  border: 1px solid var(--border-strong);
  color: var(--brand-2);
}
.icon-box svg { width: 22px; height: 22px; }

/* 滚动出现动画 */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 4) 顶部公告 + 导航 ---------- */
.topbar {
  font-size: 13px; color: var(--text-dim);
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 10px; padding-block: 8px; }
.topbar b { color: var(--brand-2); font-weight: 600; }
.topbar .close { color: var(--text-mute); font-size: 16px; line-height: 1; }

.navbar {
  position: sticky; top: 0; z-index: 60;
  background: var(--nav-bg);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.navbar.is-stuck { border-bottom-color: var(--border); box-shadow: 0 12px 30px -24px rgba(0, 0, 0, 0.8); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 70px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.4px; }
.brand-mark {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center;
  border-radius: 10px; font-size: 18px; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 24px -12px var(--brand);
}
.brand-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.6px;
  padding: 2px 8px; border-radius: 999px;
  color: var(--bg); background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--text-dim); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* 语言下拉 */
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface);
  font-size: 14px; color: var(--text-dim);
}
.lang-btn:hover { color: var(--text); }
.lang-btn .caret { transition: transform 0.2s ease; }
.lang.is-open .lang-btn .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 148px;
  padding: 6px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: 9px; font-size: 14px; color: var(--text-dim);
}
.lang-menu a:hover { background: var(--surface-2); color: var(--text); }
.lang-menu a.is-active { color: var(--brand-2); font-weight: 600; }

.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border-strong); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; margin: 0 auto; background: var(--text); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: relative; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 4px; }
.menu-toggle.is-open span { background: transparent; }
.menu-toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span::after { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  display: none; overflow: hidden; max-height: 0;
  border-top: 1px solid transparent; background: var(--bg-soft);
  transition: max-height 0.3s ease;
}
.mobile-nav.is-open { max-height: 460px; border-top-color: var(--border); }
.mobile-nav ul { padding: 10px 24px 4px; }
.mobile-nav li { border-bottom: 1px solid var(--border); }
.mobile-nav li:last-child { border-bottom: none; }
.mobile-nav a { display: block; padding: 14px 0; color: var(--text-dim); }
.mobile-nav .mobile-cta { display: flex; gap: 10px; padding: 16px 24px 22px; }

/* ---------- Hero ---------- */
.hero { padding: 78px 0 84px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-title {
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 900; line-height: 1.14; letter-spacing: -1.2px;
  background: var(--hero-title);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 20px; max-width: 560px; font-size: 17px; color: var(--text-dim); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--text-mute); }

.store-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border-strong);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.store-btn:hover { transform: translateY(-2px); border-color: var(--brand); }
.store-btn small { display: block; font-size: 11px; color: var(--text-mute); line-height: 1.2; }
.store-btn strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
.store-btn svg { width: 24px; height: 24px; color: var(--brand-2); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--border);
}
.hero-stats .num { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.hero-stats .num span { color: var(--brand-2); }
.hero-stats .lbl { font-size: 13px; color: var(--text-mute); }

/* 手机模型 */
.device-wrap { position: relative; display: grid; place-items: center; }
.device-wrap::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 26%, transparent) 0%, transparent 66%);
  filter: blur(6px);
}
.phone {
  position: relative; width: 292px; padding: 10px;
  border-radius: 40px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.phone-screen {
  border-radius: 32px; overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}
.phone-notch {
  width: 96px; height: 22px; margin: 8px auto 0;
  border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border);
}
.phone-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 8px; }
.phone-head .pair { font-size: 15px; font-weight: 700; }
.phone-head .pair small { display: block; font-size: 11px; font-weight: 500; color: var(--text-mute); }
.phone-head .pill { font-size: 11px; font-weight: 700; color: var(--success); background: color-mix(in srgb, var(--success) 16%, transparent); padding: 3px 9px; border-radius: 999px; }
.phone-price { padding: 4px 18px 10px; }
.phone-price .value { font-size: 30px; font-weight: 800; letter-spacing: -1px; }
.phone-price .delta { font-size: 13px; color: var(--success); }
.phone-chart { height: 96px; }
.phone-chart path.line {
  fill: none; stroke: var(--brand-2); stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 420; stroke-dashoffset: 420;
  animation: draw 2.6s ease forwards 0.3s;
}
.phone-chart path.area { fill: url(#chartFill); opacity: 0.5; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.phone-rows { padding: 8px 14px 14px; display: grid; gap: 8px; }
.phone-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px;
}
.phone-row .up { color: var(--success); }
.phone-row .down { color: #ff6b81; }
.phone-tabs { display: flex; justify-content: space-around; padding: 10px 14px 16px; border-top: 1px solid var(--border); }
.phone-tabs i { width: 22px; height: 4px; border-radius: 999px; background: var(--border-strong); }
.phone-tabs i.on { background: var(--brand-2); width: 28px; }

.float-card {
  position: absolute; padding: 12px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow); font-size: 13px;
}
.float-card .k { color: var(--text-mute); font-size: 12px; }
.float-card .v { font-weight: 700; }
.float-card--a { left: 0; top: 16%; animation: float 6s ease-in-out infinite; }
.float-card--b { right: 0; bottom: 14%; animation: float 7s ease-in-out infinite 0.8s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- 合作媒体条 ---------- */
.logos { padding: 26px 0; border-block: 1px solid var(--border); background: var(--bg-soft); }
.logos .container { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.logos .lead { font-size: 13px; color: var(--text-mute); }
.logos ul { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.logos li { font-size: 16px; font-weight: 700; letter-spacing: 0.4px; color: var(--text-mute); opacity: 0.75; transition: opacity 0.2s ease, color 0.2s ease; }
.logos li:hover { opacity: 1; color: var(--text-dim); }

/* ---------- 功能网格 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.feature {
  padding: 28px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.feature h3 { margin: 16px 0 8px; font-size: 17px; font-weight: 700; }
.feature p { font-size: 14.5px; color: var(--text-dim); }

/* ---------- 生态标签页 ---------- */
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: start; }
.tab-list { display: grid; gap: 10px; }
.tab-btn {
  display: flex; align-items: flex-start; gap: 12px; text-align: left;
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid transparent; color: var(--text-dim);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.tab-btn:hover { color: var(--text); background: var(--surface); }
.tab-btn.is-active { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.tab-btn .idx { font-size: 12px; font-weight: 800; color: var(--brand-2); margin-top: 3px; }
.tab-btn strong { display: block; font-size: 15.5px; }
.tab-btn small { color: var(--text-mute); font-size: 13px; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade 0.35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }
.panel-card { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.panel-card h3 { font-size: 22px; font-weight: 800; }
.panel-card p { margin-top: 10px; color: var(--text-dim); }
.panel-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.panel-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-dim); }
.check {
  width: 18px; height: 18px; flex: none; margin-top: 3px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--success) 18%, transparent); color: var(--success);
  font-size: 11px; font-weight: 900;
}

/* ---------- 三步上手 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.step { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step .no {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px;
  font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.step h3 { margin: 16px 0 8px; font-size: 18px; }
.step p { font-size: 14.5px; color: var(--text-dim); }

/* ---------- 数据指标 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat .num { font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -1px; color: var(--text); }
.stat .num em { font-style: normal; color: var(--brand-2); }
.stat .lbl { color: var(--text-mute); font-size: 14px; }
.stat .card-line { width: 46px; height: 3px; margin: 14px auto 0; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }

/* ---------- 安全/风控 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.check-list { display: grid; gap: 18px; margin-top: 26px; }
.check-list li { display: flex; gap: 14px; }
.check-list h4 { font-size: 16px; font-weight: 700; }
.check-list p { font-size: 14.5px; color: var(--text-dim); }
.vault {
  position: relative; padding: 34px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.vault-head { display: flex; align-items: center; justify-content: space-between; }
.vault-head h4 { font-size: 15px; color: var(--text-dim); font-weight: 600; }
.vault-ring { display: grid; place-items: center; padding: 26px 0 20px; }
.vault-ring .ring {
  width: 158px; height: 158px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(circle at 50% 50%, var(--surface) 58%, transparent 59%),
    conic-gradient(var(--brand-2) 0 76%, var(--surface-2) 76% 100%);
}
.vault-ring .ring strong { font-size: 30px; font-weight: 900; letter-spacing: -1px; }
.vault-ring .ring span { font-size: 12px; color: var(--text-mute); }
.vault-rows { display: grid; gap: 10px; }
.vault-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 12px; background: var(--surface-2); font-size: 14px; }
.vault-row .ok { color: var(--success); font-weight: 600; }

/* ---------- 资讯卡片 ---------- */
.news-card { overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform 0.25s ease, border-color 0.25s ease; }
.news-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.news-cover { height: 168px; display: grid; place-items: center; font-size: 42px; background: linear-gradient(140deg, color-mix(in srgb, var(--brand) 24%, transparent), color-mix(in srgb, var(--brand-2) 12%, transparent)); }
.news-body { padding: 22px; }
.news-body .meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--text-mute); margin-bottom: 10px; }
.news-body h3 { font-size: 17px; font-weight: 700; }
.news-body p { margin-top: 10px; font-size: 14.5px; color: var(--text-dim); }
.news-body .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--brand-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius-sm); background: var(--surface);
  border: 1px solid var(--border); overflow: hidden;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--border-strong); color: var(--brand-2);
  font-weight: 700; transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--text-dim); font-size: 15px; animation: fade 0.3s ease; }

/* ---------- 下载 CTA ---------- */
.cta-box {
  position: relative; overflow: hidden;
  padding: 54px; border-radius: 26px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 20%, var(--surface)), var(--surface));
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
}
.cta-box::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-2) 26%, transparent), transparent 66%);
  pointer-events: none;
}
.cta-box h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 900; letter-spacing: -0.8px; }
.cta-box p { margin-top: 12px; color: var(--text-dim); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.qr-card { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.qr-card svg { width: 150px; height: 150px; margin: 0 auto 12px; border-radius: 12px; background: #fff; padding: 8px; }
.qr-card span { font-size: 13px; color: var(--text-mute); }
.copy-row { display: flex; gap: 8px; margin-top: 14px; }
.copy-row input {
  flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim);
  font-size: 13px;
}
.copy-row button { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border-strong); font-size: 13px; font-weight: 600; }
.copy-row button:hover { border-color: var(--brand); color: var(--brand-2); }

/* ---------- 页脚 ---------- */
.footer { padding: 64px 0 28px; border-top: 1px solid var(--border); background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; }
.footer-grid p { margin-top: 14px; font-size: 14px; color: var(--text-mute); max-width: 320px; }
.footer h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--text-dim); }
.footer ul a:hover { color: var(--brand-2); }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-mute);
}
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.disclaimer { margin-top: 18px; font-size: 12.5px; color: var(--text-mute); line-height: 1.8; max-width: 900px; }

/* ---------- 5) 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .mobile-nav { display: block; }
  .nav-actions .btn--ghost { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-sub { max-width: none; }
  .tabs { grid-template-columns: 1fr; gap: 20px; }
  .tab-list { grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); overflow-x: auto; padding-bottom: 6px; }
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { grid-template-columns: 1fr; padding: 40px 30px; }
}

@media (max-width: 820px) {
  .section { padding: 68px 0; }
  .grid-3, .grid-2, .steps, .split { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 64px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .float-card--a { left: -8px; }
  .float-card--b { right: -8px; }
  .panel-list { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .hero-actions .btn, .hero-actions .store-btn { width: 100%; }
  .topbar .container { font-size: 12px; text-align: center; }
  .grid-4 { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .phone { width: 100%; max-width: 292px; }
  .float-card { display: none; }
  .cta-box { padding: 30px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* 窄屏：导航只保留 logo + 下载按钮 + 汉堡菜单，避免元素互相挤压 */
@media (max-width: 640px) {
  .navbar .container { height: 64px; gap: 10px; }
  .lang { display: none; }
  .brand-tag { display: none; }
  .nav-actions { gap: 8px; }
  .navbar .btn--primary { padding: 9px 16px; font-size: 14px; }
}

/* =========================================================
   Mobile / desktop responsive fixes (appended)
   1) anchor jump offset under sticky header
   2) larger touch targets for nav & footer links
   3) 16px form controls to avoid iOS focus zoom
   ========================================================= */
:where(section, article, div, main)[id] {
  scroll-margin-top: 92px;
}

@media (max-width: 900px) {
  .mobile-nav a,
  .mobile-menu a,
  #mobile a,
  #dockMobile a,
  .menu a {
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  .mobile-nav a + a,
  .mobile-menu a + a,
  #mobile a + a,
  #dockMobile a + a {
    border-top: 1px solid rgba(127, 127, 127, 0.18);
  }

  footer a,
  .footer a,
  .footer-grid a,
  .footer-links a,
  .site-footer a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  footer a,
  .footer a,
  .footer-grid a,
  .footer-links a,
  .site-footer a {
    min-height: 40px;
  }
}
/* force 16px form controls on small screens (prevents iOS focus zoom) */
@media (max-width: 900px) {
  input, select, textarea { font-size: 16px !important; }
}

/* ===== 变体 K · 珊瑚粉 (NovaX) ===== */
html:root {
  --bg: #170c12;
  --bg-soft: #1f1018;
  --surface: #2b1620;
  --surface-2: #381c29;
  --brand: #ff6b81;
  --brand-2: #ffa8b6;
  --accent: #ffd166;
  --border-strong: rgba(255, 107, 129, 0.35);
  --glow-1: rgba(255, 107, 129, 0.22);
  --glow-2: rgba(255, 168, 182, 0.16);
  --glow-3: rgba(255, 209, 102, 0.12);
  --nav-bg: rgba(23, 12, 18, 0.72);
  --hero-title: linear-gradient(96deg, #ffffff 12%, #ffa8b6 52%, #ff6b81 96%);
  --radius: 24px;
  --radius-sm: 16px;
}

/* ===== 手机端两列优化：功能卡片（原来 6 张卡 = 6 行，现为 2 列 3 行） ===== */
@media (max-width: 520px) {
  #features .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  #features .feature { padding: 20px 16px; }
  #features .feature h3 { font-size: 15.5px; margin: 12px 0 6px; }
  #features .feature p { font-size: 13.5px; }
  #features .icon-box { width: 40px; height: 40px; border-radius: 12px; }
}

/* ===== 手机端页脚紧凑版：产品 各占一行（标题与链接同行） ===== */
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 14px; }
  .footer .footer-bottom { margin-top: 16px; padding-top: 10px; gap: 6px 14px; }
  .footer .footer-bottom a { min-height: 0; }
  .footer-grid > div + div {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
    padding-top: 12px; border-top: 1px solid rgba(128, 128, 128, 0.18);
  }
  .footer-grid > div + div h4 { margin: 0 8px 0 0; font-size: 13.5px; }
  .footer-grid > div + div ul { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; }
  .footer-grid > div + div ul li { margin: 0; }
  .footer-grid > div + div ul a { font-size: 13px; }
}

/* ===== 二维码块删除后：下载区改为单栏 ===== */
.cta-box { grid-template-columns: 1fr; }

/* ===== 手机端整体压缩（方案A）：区块间距统一 40px ===== */
@media (max-width: 1024px) {
  .section, .section--tight { padding: 40px 0; }
  .logos { padding: 20px 0; }
  .footer { padding: 40px 0 22px; }
}

/* ===== H1 上提：收紧首屏上方留白 ===== */
.hero { padding-top: 40px; }
@media (max-width: 820px) { .hero { padding-top: 18px; } }

/* ===== 桌面端区块间距压缩（原来 92px/64px，现 48px/36px） ===== */
@media (min-width: 1025px) {
  .section { padding: 48px 0; }
  .section--tight { padding: 36px 0; }
  .footer { padding: 44px 0 24px; }
}

/* ===== 导航下载按钮缩小 ===== */
.navbar .nav-actions .btn--primary { padding: 8px 18px; font-size: 14px; }

/* ===== 下载按钮「下载」两字保持左右排列，不换行 ===== */
.navbar .nav-actions .btn--primary { white-space: nowrap; }

/* ===== 手机端：删除首屏与「核心功能」区块之间的多余空白 ===== */
@media (max-width: 820px) {
  .hero { padding-bottom: 28px; }
  #features { padding-top: 12px; }
}
