/* ============================================================
   HypoMuxPlus 官网 v2 —— 优雅 · 现代 · 自然
   与客户端统一的克制工业风，强调留白、层次与柔和动效
   ============================================================ */
:root {
  --accent: #3b82f6;
  --accent-deep: #2563eb;
  --accent-soft: #7cb0ff;
  --bg-0: #060810;
  --bg-1: #0a0e18;
  --surface: rgba(255, 255, 255, 0.022);
  --surface-2: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text-0: #eef1f6;
  --text-1: #9aa5b4;
  --text-2: #5a6573;
  --ok: #3ecf8e;
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --overlay: rgba(4, 7, 14, 0.86);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", "Segoe UI", "Microsoft YaHei UI", system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--text-0);
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.mono {
  font-family: "JetBrains Mono", "SF Mono", Consolas, monospace;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}
.accent {
  color: var(--accent-soft);
}
.grad {
  background: linear-gradient(110deg, #9cc4ff, var(--accent) 55%, #5a8fe6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent-soft);
  opacity: 0.6;
}

/* 极光氛围背景 */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0) 60%);
}
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}
.aurora::before {
  width: 700px;
  height: 700px;
  top: -260px;
  right: -120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.34), transparent 70%);
  animation: drift1 18s var(--ease) infinite alternate;
}
.aurora::after {
  width: 620px;
  height: 620px;
  bottom: -240px;
  left: -160px;
  background: radial-gradient(circle, rgba(34, 110, 230, 0.22), transparent 70%);
  animation: drift2 22s var(--ease) infinite alternate;
}
@keyframes drift1 {
  to {
    transform: translate(-80px, 60px) scale(1.1);
  }
}
@keyframes drift2 {
  to {
    transform: translate(70px, -50px) scale(1.15);
  }
}

/* ---------- 导航 ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s var(--ease);
}
nav.scrolled {
  backdrop-filter: blur(18px) saturate(150%);
  background: rgba(6, 8, 16, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand svg {
  filter: drop-shadow(0 4px 14px rgba(59, 130, 246, 0.45));
}
.brand-name {
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 30px;
  margin-left: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-1);
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--text-0);
}
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--text-1);
  border: 1px solid var(--border);
  background: var(--surface-2);
  transition: all 0.2s;
}
.icon-link:hover {
  color: var(--text-0);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.lang-toggle {
  font-size: 13px;
  color: var(--text-1);
  border: 1px solid var(--border);
  background: var(--surface-2);
  padding: 8px 13px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  font-weight: 500;
  white-space: nowrap;
  min-width: 48px;
  text-align: center;
}
.lang-toggle:hover {
  color: var(--text-0);
  border-color: var(--border-strong);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
  font-family: inherit;
  white-space: nowrap;
}
.btn svg {
  width: 17px;
  height: 17px;
}
.btn-primary {
  background: linear-gradient(135deg, #4b93ff, var(--accent-deep));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.65);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -10px rgba(59, 130, 246, 0.8);
}
.btn-ghost {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text-0);
}
.btn-ghost:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 92px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 20px 0;
}
.hero p.lead {
  font-size: 17.5px;
  color: var(--text-1);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.platform-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-2);
  margin-top: 18px;
}
.platform-note svg {
  width: 15px;
  height: 15px;
}
.hero-meta {
  display: flex;
  gap: 30px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-meta .num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: block;
}
.hero-meta .lbl {
  font-size: 12.5px;
  color: var(--text-2);
}

/* ---------- 应用预览窗口 ---------- */
.shot {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(20, 26, 40, 0.9), rgba(10, 14, 24, 0.95));
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.shot-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.shot-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.shot-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: -0.01em;
}
.shot-body {
  display: grid;
  grid-template-columns: 68px 1fr;
  min-height: 290px;
}
.shot-rail {
  border-right: 1px solid var(--border);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.rail-logo {
  margin-bottom: 4px;
}
.rail-sep {
  width: 26px;
  height: 1px;
  background: var(--border);
  margin-bottom: 4px;
}
.rail-item {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--text-2);
  transition: all 0.25s var(--ease);
}
.rail-item svg {
  width: 17px;
  height: 17px;
}
.rail-item.on {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 8px 18px -7px var(--accent);
}
.shot-main {
  padding: 20px 22px;
}
.shot-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.shot-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--ok);
}
.shot-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.shot-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 6px 0 16px;
  color: var(--text-0);
}
.shot-num .unit {
  font-size: 15px;
  color: var(--text-1);
  font-weight: 500;
}
.spark {
  width: 100%;
  height: 60px;
  margin-bottom: 18px;
  overflow: visible;
}
#sparkLine {
  filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.4));
}
.bars {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.bar .row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-1);
  margin-bottom: 6px;
}
.bar .track {
  height: 7px;
  border-radius: 6px;
  background: var(--surface-2);
  overflow: hidden;
}
.bar .fill {
  height: 100%;
  border-radius: 6px;
}

/* ---------- 区块 ---------- */
section {
  padding-top: 104px;
  padding-bottom: 104px;
}
section[id],
header[id] {
  scroll-margin-top: 86px;
}
.sec-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}
.sec-head .eyebrow {
  margin-bottom: 16px;
}
.sec-head .eyebrow::before {
  display: none;
}
.sec-head h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  line-height: 1.15;
}
.sec-head p {
  color: var(--text-1);
  font-size: 16.5px;
}

/* 特性 */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.card .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--accent-soft);
  margin-bottom: 18px;
}
.card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 9px;
  letter-spacing: -0.01em;
}
.card p {
  font-size: 13.5px;
  color: var(--text-1);
  line-height: 1.7;
}

/* 工作原理 */
.how {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.how h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 14px 0 18px;
}
.how p {
  color: var(--text-1);
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.75;
}
.how pre {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--text-1);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  overflow-x: auto;
}

/* 技术栈 */
.tech {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.tech span {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--text-1);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 10px 17px;
  border-radius: 11px;
  transition: all 0.2s;
}
.tech span:hover {
  color: var(--text-0);
  border-color: var(--border-strong);
}

/* 下载 CTA */
.cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(59, 130, 246, 0.03));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 72px 36px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 320px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.cta .inner {
  position: relative;
}
.cta h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.cta p {
  color: var(--text-1);
  margin-bottom: 30px;
  font-size: 16.5px;
}
.cta .dl-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta .dl-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-2);
  text-align: center;
}
.cta .meta {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 页脚 */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  margin-top: 60px;
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-inner .muted {
  color: var(--text-2);
  font-size: 13px;
  margin-top: 4px;
}
.foot-links {
  display: flex;
  gap: 24px;
  font-size: 13.5px;
  color: var(--text-1);
}
.foot-links a:hover {
  color: var(--text-0);
}

/* 滚动揭示 */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式适配
   ============================================================ */
@media (max-width: 1080px) {
  /* 英文文本较宽，窄屏提前收起导航链接，避免拥挤换行 */
  .nav-links {
    display: none;
  }
}
@media (max-width: 980px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
    gap: 44px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .nav-links {
    display: none;
  }
  .how {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .sec-head h2 {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  section {
    padding-top: 66px;
    padding-bottom: 66px;
  }
  .nav-inner {
    height: 60px;
    gap: 8px;
  }
  .brand {
    font-size: 16px;
  }
  /* 导航精简：保留主题/语言/下载，隐藏次要按钮 */
  .nav-right .btn-ghost.btn-sm {
    display: none;
  }
  .hero {
    padding-top: 32px;
    gap: 36px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero p.lead {
    font-size: 15.5px;
  }
  .hero-cta {
    width: 100%;
  }
  .hero-cta .btn {
    flex: 1 1 140px;
    justify-content: center;
  }
  .hero-meta {
    gap: 22px;
    margin-top: 30px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card {
    padding: 22px;
  }
  .sec-head {
    margin-bottom: 40px;
  }
  .sec-head h2 {
    font-size: 26px;
  }
  .sec-head p {
    font-size: 14.5px;
  }
  .how {
    padding: 22px;
    gap: 24px;
  }
  .how h2 {
    font-size: 26px;
  }
  .how pre {
    font-size: 11px;
    padding: 18px;
  }
  .shot-num {
    font-size: 38px;
  }
  .cta {
    padding: 48px 22px;
    border-radius: 20px;
  }
  .cta h2 {
    font-size: 28px;
  }
  .cta p {
    font-size: 15px;
  }
  .cta .dl-row {
    width: 100%;
  }
  .cta .dl-row .btn {
    flex: 1 1 200px;
    justify-content: center;
  }
  .foot-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 29px;
  }
  .shot-body {
    grid-template-columns: 56px 1fr;
  }
  .shot-main {
    padding: 16px 16px;
  }
  .shot-num {
    font-size: 33px;
  }
  .rail-item {
    width: 32px;
    height: 32px;
  }
}

/* ============================================================
   浅色主题（跟随系统，亦可手动切换）
   ============================================================ */
[data-theme="light"] {
  --accent: #2563eb;
  --accent-deep: #1d4ed8;
  --accent-soft: #2f6fe0;
  --bg-0: #eef2f8;
  --bg-1: #ffffff;
  --surface: rgba(20, 45, 90, 0.032);
  --surface-2: rgba(20, 45, 90, 0.058);
  --border: rgba(20, 45, 90, 0.1);
  --border-strong: rgba(20, 45, 90, 0.18);
  --text-0: #0f1722;
  --text-1: #4a5666;
  --text-2: #7a8696;
  --overlay: rgba(225, 232, 242, 0.84);
}
[data-theme="light"] body {
  background: var(--bg-0);
}
[data-theme="light"] .aurora {
  background: linear-gradient(180deg, #ffffff, #eef2f8 62%);
}
[data-theme="light"] .aurora::before {
  opacity: 0.28;
}
[data-theme="light"] .aurora::after {
  opacity: 0.2;
}
[data-theme="light"] nav.scrolled {
  background: rgba(255, 255, 255, 0.8);
}
[data-theme="light"] .grad {
  background: linear-gradient(110deg, #2563eb, #1d4ed8 60%, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* 应用预览窗口浅色主题：跟随站点主题，呈现应用的浅色界面 */
[data-theme="light"] .shot {
  border-color: rgba(15, 30, 60, 0.12);
  background: linear-gradient(160deg, #ffffff, #f4f6fa);
  box-shadow: 0 50px 100px -34px rgba(30, 50, 90, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
[data-theme="light"] .rail-item {
  color: #6a7484;
}
/* 选中项即便在浅色主题下也保持白色图标（覆盖上面同特异度规则） */
[data-theme="light"] .rail-item.on {
  color: #fff;
}
[data-theme="light"] .rail-sep {
  background: rgba(255, 255, 255, 0.08);
}
/* 代码块保持深色风格 */
[data-theme="light"] .how pre {
  background: #0c1320;
  color: #aab6c6;
  border-color: rgba(255, 255, 255, 0.08);
}

/* 图标按钮（主题切换） */
.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--text-1);
  border: 1px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
  transition: all 0.2s;
}
.icon-btn:hover {
  color: var(--text-0);
  border-color: var(--border-strong);
}
.icon-btn svg {
  width: 17px;
  height: 17px;
}

/* ============================================================
   赞助区
   ============================================================ */
.sponsor-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 540px;
  margin: 0 auto;
}
.qr {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.qr:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.qr .img {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.5);
}
.qr .img img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  cursor: zoom-in;
  transition: transform 0.25s var(--ease);
}
.qr .img:hover img {
  transform: scale(1.03);
}
.qr .name {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.qr .name i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.sponsor-note {
  text-align: center;
  color: var(--text-2);
  font-size: 13.5px;
  margin-top: 26px;
}

/* 二维码全屏放大灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--overlay);
  backdrop-filter: blur(12px);
  padding: 24px;
}
.lightbox.open {
  display: flex;
  animation: lbFade 0.25s var(--ease);
}
.lightbox img {
  max-width: min(440px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.85);
  animation: lbZoom 0.3s var(--ease);
}
.lightbox-cap {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--text-1);
  font-size: 14px;
  font-weight: 600;
}
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text-0);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
}
.lightbox-close:hover {
  background: var(--surface-hover);
}
@keyframes lbFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes lbZoom {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 900px) {
  .sponsor-wrap {
    max-width: 380px;
  }
}

/* ============================================================
   支持的应用
   ============================================================ */
.apps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}
.app {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-1);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 13px 22px;
  border-radius: 14px;
  transition: all 0.25s var(--ease);
}
.app::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 8px var(--accent);
}
.app:hover {
  color: var(--text-0);
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

/* ============================================================
   常见问题 FAQ（自研手风琴，平滑展开）
   ============================================================ */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open {
  border-color: var(--border-strong);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-0);
  text-align: left;
}
.faq-ic {
  flex-shrink: 0;
  color: var(--text-2);
  transition: transform 0.3s var(--ease);
}
.faq-item.open .faq-ic {
  transform: rotate(180deg);
  color: var(--accent-soft);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a p {
  padding: 0 22px 20px;
  color: var(--text-1);
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 640px) {
  .app {
    font-size: 13.5px;
    padding: 11px 17px;
  }
  .faq-q {
    font-size: 14.5px;
    padding: 16px 18px;
  }
  .faq-a p {
    padding: 0 18px 18px;
    font-size: 13.5px;
  }
}

/* 触摸体验 */
body {
  -webkit-tap-highlight-color: transparent;
}

/* 小屏手机：精简导航，避免溢出 */
@media (max-width: 520px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand {
    font-size: 15px;
    gap: 9px;
  }
  .nav-right {
    gap: 7px;
  }
  .nav-right .btn-primary.btn-sm {
    padding: 9px 12px;
  }
  .nav-right .btn-primary.btn-sm span {
    display: none;
  }
  .lang-toggle {
    padding: 8px 10px;
    font-size: 12.5px;
  }
  .icon-btn {
    width: 36px;
    height: 36px;
  }
  .hero-meta {
    gap: 16px;
  }
  .hero-meta .num {
    font-size: 22px;
  }
}

/* ============================================================
   工作原理动态管道流程图
   ============================================================ */
.diagram {
  width: 100%;
  height: auto;
  max-height: 420px;
  display: block;
}
.diagram .node {
  fill: var(--surface-2);
  stroke: var(--border-strong);
  stroke-width: 1.2;
}
.diagram .node-accent {
  fill: rgba(59, 130, 246, 0.14);
  stroke: rgba(59, 130, 246, 0.5);
  stroke-width: 1.4;
}
.diagram .nlabel {
  fill: var(--text-0);
  font-size: 14px;
  font-weight: 700;
  font-family: "Inter", "Microsoft YaHei UI", system-ui, sans-serif;
}
.diagram .nsub {
  fill: var(--text-2);
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
}
.diagram .pipe {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 2.4;
  stroke-linejoin: miter;
  stroke-linecap: butt;
}
.diagram .flow {
  fill: none;
  stroke: var(--accent-soft);
  stroke-width: 2.6;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-dasharray: 6 9;
  animation: flowMove 0.8s linear infinite;
  filter: drop-shadow(0 0 3px var(--accent-glow));
}
.diagram .junction {
  fill: var(--accent-soft);
  filter: drop-shadow(0 0 4px var(--accent-glow));
}
@keyframes flowMove {
  to {
    stroke-dashoffset: -15;
  }
}
@media (prefers-reduced-motion: reduce) {
  .diagram .flow {
    animation: none;
  }
}

/* ============================================================
   高级动效点缀
   ============================================================ */
/* 标题渐变缓缓流动 */
.grad {
  background-size: 220% auto;
  animation: gradShift 7s ease-in-out infinite;
}
[data-theme="light"] .grad {
  background-size: 220% auto;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
/* 应用预览顶部高光流动 */
.shot::before {
  background-size: 220% 100%;
  animation: shotScan 3.4s linear infinite;
}
@keyframes shotScan {
  to { background-position: 220% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .grad,
  .shot::before {
    animation: none;
  }
}

/* ============================================================
   防复制 / 防盗版保护（客户端层面的合理威慑）
   ============================================================ */
body {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
img,
svg {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

/* 开发者联系方式 */
.contact-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--surface-2, rgba(255, 255, 255, 0.045));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  font-size: 14px;
}
.contact-chip i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.contact-chip b {
  font-weight: 600;
  opacity: 0.8;
}
.contact-chip .mono {
  font-family: "JetBrains Mono", "Consolas", monospace;
  user-select: text;
}

/* 联系方式可复制按钮 */
button.contact-chip {
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}
button.contact-chip:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent, #3b82f6) 45%, transparent);
}
.contact-chip .copy-ico {
  margin-left: 6px;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
.contact-chip:hover .copy-ico {
  opacity: 1;
}
.contact-chip.copied {
  border-color: #3ecf8e;
}
.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%) translateY(12px);
  padding: 9px 18px;
  border-radius: 12px;
  background: rgba(20, 24, 33, 0.92);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- 界面预览画廊 ---------- */
.preview-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 26px;
}
.preview-tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  background: var(--surface-2, rgba(255, 255, 255, 0.045));
  color: var(--text-1, rgba(255, 255, 255, 0.72));
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease,
    transform 0.15s ease;
}
.preview-tab:hover {
  transform: translateY(-2px);
  color: var(--text-0, #fff);
  border-color: color-mix(in srgb, var(--accent, #3b82f6) 40%, transparent);
}
.preview-tab.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #0a64e0, #1f8fff);
  box-shadow: 0 8px 22px -10px rgba(31, 143, 255, 0.7);
}

.preview-stage {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  background: var(--surface-1, rgba(255, 255, 255, 0.03));
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.6);
  /* 按截图原始比例(1800×1170)预留高度：懒加载图片未就绪时也占位，
     避免图片加载后撑高页面、导致 #faq 等锚点位置后移而点击定位偏上 */
  aspect-ratio: 1800 / 1170;
}
#previewImg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: opacity 0.25s ease;
}

/* 全屏预览灯箱 */
.preview-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  background: rgba(6, 9, 15, 0.86);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.preview-lightbox.show {
  opacity: 1;
}
.preview-lightbox img {
  max-width: 96vw;
  max-height: 92vh;
  border-radius: 14px;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.8);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.preview-lightbox.show img {
  transform: scale(1);
}

@media (max-width: 640px) {
  .preview-tab {
    padding: 7px 14px;
    font-size: 13px;
  }
}

/* ---------- 使用场景 ---------- */
.scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.scenario {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.scenario:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.scenario .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--accent-soft);
  margin-bottom: 18px;
}
.scenario h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 9px;
  letter-spacing: -0.01em;
}
.scenario p {
  font-size: 13.5px;
  color: var(--text-1);
  line-height: 1.75;
}
.scenario-warn {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 16px;
  background: color-mix(in srgb, #f59e0b 9%, transparent);
  border: 1px solid color-mix(in srgb, #f59e0b 34%, transparent);
}
.scenario-warn svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #f59e0b;
}
.scenario-warn p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-0);
}
@media (max-width: 980px) {
  .scenarios {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .scenarios {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .scenario {
    padding: 22px;
  }
  .scenario-warn {
    padding: 16px 18px;
  }
  .scenario-warn p {
    font-size: 13px;
  }
}

/* ---------- 回到顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text-0);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  pointer-events: none;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.2s, background 0.2s;
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  background: var(--surface);
  transform: translateY(-2px) scale(1.04);
}
@media (max-width: 640px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}
