:root {
  color-scheme: dark light;
  --bg: #090a0a;
  --card: rgba(21, 23, 22, 0.72);
  --border: rgba(255, 255, 255, 0.10);
  --text: #f2f2f5;
  --muted: #8a8a92;
  --tune-purple: #987CD6;
  --cue-blue: #007AFF;
  --stream-orange: #FD951C;
  --neon-a: #987CD6;
  --neon-b: #007AFF;
  --neon-c: #FD951C;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
section[id], header[id] { scroll-margin-top: 88px; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

body {
  background:
    radial-gradient(1100px 600px at 50% -12%, rgba(0, 122, 255, 0.12), transparent 60%),
    radial-gradient(900px 520px at 82% 18%, rgba(152, 124, 214, 0.13), transparent 60%),
    radial-gradient(760px 440px at 8% 46%, rgba(253, 149, 28, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
  line-height: 1.6;
}

/* ---------- 棣栭〉锛氬姩鎬佽儗鏅� ---------- */
.bg-scene {
  position: fixed; inset: 0;
  z-index: -1; overflow: hidden;
  pointer-events: none;
}
.bg-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.bg-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9, 10, 10, 0.88) 0%, rgba(9, 10, 10, 0.52) 45%, rgba(9, 10, 10, 0.92) 100%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.38;
  mix-blend-mode: screen;
  will-change: transform;
}
.blob-1 {
  width: 540px; height: 540px;
  left: -140px; top: -90px;
  background: radial-gradient(circle, rgba(152, 124, 214, 0.30), transparent 65%);
  animation: drift-a 24s ease-in-out infinite alternate;
}
.blob-2 {
  width: 480px; height: 480px;
  right: -120px; top: 14%;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.22), transparent 65%);
  animation: drift-b 28s ease-in-out infinite alternate;
}
.blob-3 {
  width: 440px; height: 440px;
  left: 18%; bottom: -160px;
  background: radial-gradient(circle, rgba(253, 149, 28, 0.18), transparent 65%);
  animation: drift-c 22s ease-in-out infinite alternate;
}
#particle-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.85;
}
.mixer-scene {
  position: absolute;
  left: 0; right: 0; bottom: -36px;
  width: 100%;
  min-height: 230px;
  opacity: 0.5;
}
.streak {
  position: absolute;
  top: -20%;
  height: 140%;
  width: 200px;
  background: linear-gradient(90deg, transparent, rgba(152, 124, 214, 0.13), rgba(0, 122, 255, 0.17), rgba(253, 149, 28, 0.11), transparent);
  filter: blur(32px);
  transform: skewX(-18deg);
  animation: streak-sweep 13s linear infinite;
}
.streak.s2 {
  width: 130px;
  animation-delay: -6.5s;
  background: linear-gradient(90deg, transparent, rgba(253, 149, 28, 0.10), rgba(152, 124, 214, 0.16), transparent);
}
@keyframes streak-sweep {
  from { left: -25%; }
  to   { left: 115%; }
}
.eq {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  opacity: 0.35;
}
.eq i {
  display: block;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(152, 124, 214, 0.85), rgba(0, 122, 255, 0.7), rgba(253, 149, 28, 0.6));
  transform-origin: bottom;
  animation: eq-bounce 1.5s ease-in-out infinite;
}
@keyframes eq-bounce {
  0%, 100% { transform: scaleY(0.2); }
  50%      { transform: scaleY(1); }
}
.bg-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, transparent 52%, rgba(0, 0, 0, 0.6) 100%);
}
.cursor-glow {
  position: absolute;
  width: 560px; height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10), rgba(0, 122, 255, 0.05) 42%, transparent 70%);
  mix-blend-mode: screen;
  will-change: transform;
}
@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(130px, 90px, 0) scale(1.16); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to   { transform: translate3d(-110px, -70px, 0) scale(1); }
}
@keyframes drift-c {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(90px, -80px, 0) scale(1.2); }
}

/* ---------- 棣栭〉锛歭ogo 灞曠ず锛堥潤鎬佷竴鎺掞級 ---------- */
.logo-stage {
  position: fixed; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 7vw, 96px);
  z-index: 1;
}
.float-logo {
  position: relative;
  display: block;
  border-radius: 28%;
}
.float-logo img {
  display: block;
  width: clamp(92px, 12vw, 150px);
  height: clamp(92px, 12vw, 150px);
  border-radius: 28%;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, border-color 0.3s;
}
.float-logo:hover img {
  transform: scale(1.1);
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5),
              0 0 60px -4px color-mix(in srgb, var(--accent) 60%, transparent);
}
.float-logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 28%;
}

/* ---------- 404 椤� ---------- */
.err-stage {
  position: fixed; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-align: center;
  padding: 24px;
}
.err-code {
  font-size: clamp(96px, 22vw, 220px);
  font-weight: 800;
  letter-spacing: 4px;
  line-height: 1;
  background: linear-gradient(90deg, var(--neon-a), var(--neon-b), var(--neon-c));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 34px rgba(0, 122, 255, 0.25));
}
.err-title {
  font-size: 24px;
  margin-top: 8px;
}
.err-sub {
  color: var(--muted);
  font-size: 15px;
  margin: 8px 0 28px;
}
.logo-label {
  position: absolute;
  left: 50%; bottom: -40px;
  transform: translateX(-50%);
  opacity: 0;
  font-size: 13px;
  color: var(--text);
  background: rgba(9, 10, 10, 0.72);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  pointer-events: none;
  transition: opacity 0.25s;
}
.float-logo:hover .logo-label,
.float-logo:focus-visible .logo-label { opacity: 1; }
@media (max-width: 640px) {
  .logo-stage { flex-wrap: wrap; gap: 24px; }
  .float-logo img { width: 84px; height: 84px; }
}

/* ---------- 瀵艰埅 ---------- */
.nav {
  position: sticky; top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(9, 10, 10, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1020px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 24px;
  gap: 12px;
}
.brand {
  font-size: 20px; font-weight: 700; letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--neon-a), var(--neon-b), var(--neon-c));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.nav-links {
  display: flex; align-items: center; flex-wrap: wrap;
  justify-content: flex-end; gap: 4px;
}
.nav-links a {
  color: var(--muted); text-decoration: none;
  margin-left: 16px; font-size: 14px;
}
.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 46px 24px 26px;
}
.hero-eyebrow {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #ffffff, #b8b8c2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub {
  max-width: 620px; margin: 10px auto 14px;
  color: var(--muted); font-size: 16px;
}
.hero-badges span {
  display: inline-block;
  margin: 0 3px; padding: 4px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px; color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}
.offer {
  max-width: 720px;
  min-height: 72px;
  margin: 0 auto 26px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(152, 124, 214, 0.42);
  border-radius: 14px;
  background: rgba(152, 124, 214, 0.08);
}
.offer-copy, .offer-countdown { display: flex; align-items: center; }
.offer-copy { gap: 10px; }
.offer-label {
  padding: 4px 8px;
  border-radius: 999px;
  background: #987CD6;
  color: #17131f;
  font-size: 11px;
  font-weight: 700;
}
.offer-price { color: #fff; font-size: 30px; font-weight: 700; line-height: 1; }
.offer-original { color: #767680; font-size: 13px; text-decoration: line-through; }
.offer-note { color: var(--muted); font-size: 12px; }
.offer-countdown { gap: 10px; color: var(--muted); font-size: 12px; text-align: right; }
.offer-countdown strong { color: var(--text); font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.offer-countdown b { color: #c9b7ff; font-size: 17px; }
.offer-ended { border-color: var(--border); background: rgba(255, 255, 255, 0.04); }
.hero-badge-link {
  display: inline-block;
  margin: 0;
  text-decoration: none;
  border-radius: 999px;
}
.hero-badge-link:hover span {
  color: #fff;
  border-color: color-mix(in srgb, #007AFF 60%, transparent);
}
.scroll-cue {
  display: inline-block;
  margin-top: 46px;
  color: var(--muted);
  font-size: 20px;
  text-decoration: none;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}

/* ---------- 鍖哄潡閫氱敤 ---------- */
.section {
  max-width: 1020px;
  margin: 0 auto;
  padding: 76px 24px 24px;
}
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 30px;
}

.dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 760px) { .dir-grid { grid-template-columns: 1fr; } }
.mini-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 22px;
  backdrop-filter: blur(16px);
}
.mini-card h3 { font-size: 16px; margin-bottom: 8px; }
.mini-card p { color: var(--muted); font-size: 13.5px; }

/* ---------- 杞欢鍗＄墖鎺掞紙鏁版嵁椹卞姩锛� ---------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1200px;
  max-width: 1020px;
  margin: 0 auto;
}
@media (max-width: 900px) { .app-grid { grid-template-columns: 1fr; } }
.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 38px 26px 30px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.18s ease-out;
}
.app-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(340px 220px at 50% 0%, var(--accent), transparent 72%);
  opacity: 0.14;
  pointer-events: none;
  transition: opacity 0.3s;
}
.app-card:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45),
              0 0 44px -8px color-mix(in srgb, var(--accent) 38%, transparent);
}
.app-card:hover::before { opacity: 0.26; }
.app-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.app-logo {
  width: 104px; height: 104px;
  border-radius: 26px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}
.app-card h3 { margin-top: 20px; font-size: 22px; }
.app-tag {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-top: 5px;
}
.app-desc {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 12px 0 20px;
  min-height: 66px;
}
.cta {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 999px;
  padding: 9px 22px;
  transition: background 0.25s, color 0.25s;
}
.app-card:hover .cta { background: var(--accent); color: #0a0b0c; }
.noscript-note { color: var(--muted); font-size: 14px; grid-column: 1 / -1; text-align: center; }

/* ---------- 鏁欑▼ ---------- */
.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1020px;
  margin: 0 auto;
}
@media (max-width: 760px) { .tutorial-grid { grid-template-columns: 1fr; } }
.tutorial-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px;
  text-decoration: none;
  color: var(--text);
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.tutorial-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.24); }
.tutorial-card h3 { font-size: 16px; margin-bottom: 8px; }
.tutorial-card p { color: var(--muted); font-size: 13px; }
.tutorial-card span {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--neon-b);
  font-weight: 600;
}

/* ---------- 鑱旂郴鏂瑰紡 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}
.contact-switcher { display: none; }
.contact-tabs { display: none; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(16px);
}
.contact-card h3 { font-size: 16px; margin-bottom: 10px; }
.contact-mail {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  word-break: break-all;
}
.mail-link {
  color: inherit;
  text-decoration: none;
}
.mail-link:hover {
  text-decoration: underline;
}
.contact-note {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 8px;
}
.qr {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: 6px;
  margin: 0 auto 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ---------- 浜у搧璇︽儏椤靛叡鐢� ---------- */
.products {
  max-width: 1020px; margin: 0 auto;
  display: block;
  padding: 2px 24px 26px;
}
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } }
.mode-switcher {
  max-width: 760px;
  margin: 0 auto;
}
.mode-tabs {
  width: max-content;
  max-width: 100%;
  display: flex;
  gap: 4px;
  margin: 0 auto 12px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.mode-tab {
  min-height: 32px;
  border: 0;
  border-radius: 7px;
  padding: 0 18px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}
.mode-tab.active {
  background: rgba(152, 124, 214, 0.24);
  color: #dfd3ff;
}
.mode-panel {
  min-height: 170px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid rgba(152, 124, 214, 0.30);
  border-radius: 16px;
  background: rgba(21, 23, 22, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.mode-panel.active { display: grid; }
.mode-kicker {
  display: block;
  color: #987CD6;
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}
.mode-panel h2 { margin-top: 6px; font-size: 25px; }
.mode-panel p, .mode-panel li {
  color: var(--muted);
  font-size: 13px;
}
.mode-panel p { margin-top: 8px; line-height: 1.6; }
.mode-panel ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
}

/* ---------- 璇︽儏椤靛尯鍧楀垎灞� ---------- */
.detail-sec,
.detail-sec-narrow {
  padding: 30px 24px;
}
.detail-sec {
  max-width: 1020px;
  margin: 0 auto;
}
.detail-sec-narrow {
  max-width: 760px;
  margin: 0 auto;
}
.detail-sec + .detail-sec,
.detail-sec + .detail-sec-narrow,
.detail-sec-narrow + .detail-sec,
.detail-sec-narrow + .detail-sec-narrow {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.sec-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 14px;
}
.sec-title::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  margin: 6px auto 0;
  background: linear-gradient(90deg, var(--neon-a), var(--neon-b), var(--neon-c));
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 19px 22px;
  text-align: center;
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(300px 200px at 50% 0%, var(--accent), transparent 70%);
  opacity: 0.12;
  pointer-events: none;
}
.product-card h2 { margin-top: 0; font-size: 24px; }
.product-card ul { text-align: left; color: var(--muted); font-size: 14px; margin-top: 14px; padding-left: 20px; }
.product-card li { margin-bottom: 6px; }
.product-card code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text);
  word-break: break-all;
}
.tag { color: var(--accent); font-size: 13px; margin-top: 4px; }

.btn {
  display: inline-block;
  padding: 10px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.btn.primary { background: #fff; color: #111; }
.btn.ghost {
  border: 1px solid var(--border); color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.download-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.install-section .section-sub { margin-bottom: 16px; }
.install-terminal {
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0d0e10;
  text-align: left;
}
.install-terminal-head {
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.install-terminal-head > span { display: flex; gap: 5px; }
.install-terminal-head i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #444750;
}
.install-terminal-head small {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #747781;
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.install-terminal-head button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #c9b7ff;
  font-size: 11px;
}
.install-terminal pre {
  margin: 0;
  padding: 24px 28px;
  color: #f2f2f5;
  font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.terminal-prompt { color: #65d391; }
.install-terminal-foot {
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #727680;
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.install-steps {
  max-width: 760px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: left;
}
.install-steps > div {
  padding: 14px 15px;
  border-top: 1px solid var(--border);
}
.install-steps span {
  color: #987CD6;
  font: 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  margin-right: 12px;
}
.install-steps strong { font-size: 13px; }
.install-steps p {
  margin: 7px 0 0 31px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.install-note {
  margin-top: 14px;
  color: #5a5a64;
  font-size: 12px;
  text-align: center;
}

/* ---------- 浜у搧鎴浘 ---------- */
.shot {
  display: block;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  background: #0a0b0c;
}
.media-preview { max-width: 760px; margin: 0 auto; }
.media-tabs {
  width: max-content;
  max-width: 100%;
  display: flex;
  gap: 4px;
  margin: 0 auto 14px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.media-tab {
  min-height: 32px;
  border: 0;
  border-radius: 7px;
  padding: 0 15px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}
.media-tab.active { background: rgba(152, 124, 214, 0.22); color: #dfd3ff; }
.media-frame {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #0a0b0c;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}
.media-panel { display: none; aspect-ratio: 16 / 9; position: relative; }
.media-panel.active { display: block; }
.tool-shot, .tool-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #0a0b0c; }
.douyin-player { display: block; width: 100%; height: 100%; min-height: 520px; border: 0; background: #0a0b0c; }
.douyin-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; background: #111217; }
.douyin-fallback { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; flex-direction: column; gap: 8px; padding: 24px; background: #111217; text-align: center; color: var(--muted); }
.douyin-fallback strong { color: var(--text); font-size: 15px; }
.douyin-fallback span { font-size: 12px; }
.douyin-fallback a { color: #c9b7ff; font-size: 13px; text-decoration: none; }
.media-panel.video-ready .douyin-loading { display: none; }
.media-panel.video-error .douyin-loading { display: none; }
.media-panel.video-error .douyin-fallback { display: flex; }
.media-empty {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  background: #111217;
}
.media-empty strong { color: var(--text); font-size: 15px; }
.media-empty span { font-size: 12px; }
.media-empty code { color: #c9b7ff; font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.media-panel.is-empty .media-empty { display: flex; }
.media-panel.is-empty .tool-shot, .media-panel.is-empty .tool-video { display: none; }

.footer {
  text-align: center; padding: 24px;
  color: #5a5a64; font-size: 13px;
}
.footer .icp { margin-top: 6px; font-size: 12px; }
.footer .icp a {
  color: inherit;
  text-decoration: none;
}
.footer .icp a:hover {
  text-decoration: underline;
}
.home-footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  z-index: 2;
  background: transparent;
  opacity: 0.75;
}
.home-footer .icp { margin: 0; }

/* ---------- 鍝嶅簲寮忎笌鏃犻殰纰� ---------- */
@media (max-width: 640px) {
  .nav-inner { padding: 12px 16px; flex-wrap: wrap; }
  .nav-links { width: 100%; justify-content: flex-start; gap: 2px 10px; }
  .nav-links a { margin-left: 0; font-size: 13px; }
  .hero { padding: 36px 20px 22px; }
  .hero-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 310px;
    margin: 0 auto;
  }
  .hero-badges span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0;
    padding: 4px 8px;
    white-space: nowrap;
  }
  .offer {
    margin: 0 18px 22px;
    padding: 13px 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .offer-copy { justify-content: center; gap: 8px; }
  .offer-price { font-size: 27px; }
  .offer-countdown { justify-content: center; gap: 8px; text-align: center; }
  .offer-countdown strong { font-size: 12px; }
  .offer-countdown b { font-size: 15px; }
  .mode-tabs { width: 100%; }
  .mode-tab { flex: 1; padding: 0 8px; }
  .mode-panel { min-height: 0; display: none; grid-template-columns: 1fr; gap: 14px; padding: 19px 18px; }
  .mode-panel.active { display: grid; }
  .mode-panel h2 { font-size: 23px; }
  .install-terminal pre { padding: 20px 17px; font-size: 11px; }
  .install-steps { grid-template-columns: 1fr; gap: 0; }
  .install-steps > div { padding: 11px 5px; }
  .media-tab { padding: 0 13px; }
  .media-frame { border-radius: 12px; }
  .contact-switcher { display: block; }
  .desktop-contact { display: none; }
  .contact-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    max-width: 260px;
    margin: 0 auto 14px;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
  }
  .contact-tab {
    min-height: 32px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
  }
  .contact-tab.active {
    background: rgba(152, 124, 214, 0.22);
    color: #dfd3ff;
  }
  .contact-grid { display: block; }
  .contact-switcher .qr { max-width: 172px; }
  .contact-panel { display: none; }
  .contact-panel.active { display: block; }
  .detail-sec, .detail-sec-narrow { padding: 26px 18px; }
  .products { padding: 2px 18px 22px; gap: 12px; }
  .product-card { padding: 17px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .scroll-cue, .eq i, .streak { animation: none !important; }
}

/* ---------- 系统浅色主题 ---------- */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f7fb;
    --card: rgba(255, 255, 255, 0.76);
    --border: rgba(19, 29, 48, 0.12);
    --text: #171a21;
    --muted: #626b7a;
  }

  body {
    background:
      radial-gradient(1100px 600px at 50% -12%, rgba(0, 122, 255, 0.10), transparent 60%),
      radial-gradient(900px 520px at 82% 18%, rgba(152, 124, 214, 0.10), transparent 60%),
      radial-gradient(760px 440px at 8% 46%, rgba(253, 149, 28, 0.07), transparent 60%),
      var(--bg);
  }

  .bg-photo { opacity: 0.12; }
  .bg-shade {
    background: linear-gradient(180deg, rgba(245, 247, 251, 0.76) 0%, rgba(245, 247, 251, 0.56) 48%, rgba(245, 247, 251, 0.88) 100%);
  }
  .bg-vignette {
    background: radial-gradient(120% 90% at 50% 0%, transparent 52%, rgba(30, 42, 68, 0.10) 100%);
  }
  .blob { opacity: 0.22; mix-blend-mode: multiply; }
  #particle-canvas { opacity: 0.32; }
  .mixer-scene { opacity: 0.18; }
  .cursor-glow {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(0, 122, 255, 0.04) 42%, transparent 70%);
    mix-blend-mode: normal;
  }

  .nav {
    background: rgba(255, 255, 255, 0.74);
  }
  .hero h1 {
    background: linear-gradient(180deg, #161a22, #687180);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero-badges span,
  .mode-tabs,
  .media-tabs,
  .contact-tabs {
    background: rgba(255, 255, 255, 0.64);
  }
  .offer {
    border-color: rgba(125, 88, 190, 0.28);
    background: rgba(152, 124, 214, 0.10);
  }
  .offer-price { color: #1b1d24; }
  .offer-original { color: #7b818c; }
  .offer-countdown b { color: #7654b5; }
  .offer-ended { background: rgba(255, 255, 255, 0.62); }
  .hero-badge-link:hover span { color: #171a21; }

  .app-card {
    background: rgba(255, 255, 255, 0.64);
    border-color: rgba(19, 29, 48, 0.13);
  }
  .app-card:hover {
    box-shadow: 0 20px 60px rgba(46, 62, 91, 0.14),
                0 0 44px -8px color-mix(in srgb, var(--accent) 28%, transparent);
  }
  .app-card:hover .cta { color: #fff; }
  .app-logo,
  .float-logo img {
    box-shadow: 0 12px 34px rgba(46, 62, 91, 0.20);
  }

  .tutorial-card:hover { border-color: rgba(19, 29, 48, 0.24); }
  .mode-tab.active,
  .media-tab.active,
  .contact-tab.active {
    background: rgba(152, 124, 214, 0.16);
    color: #62429d;
  }
  .mode-panel {
    border-color: rgba(125, 88, 190, 0.24);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }
  .detail-sec + .detail-sec,
  .detail-sec + .detail-sec-narrow,
  .detail-sec-narrow + .detail-sec,
  .detail-sec-narrow + .detail-sec-narrow {
    border-top-color: rgba(19, 29, 48, 0.08);
  }
  .product-card code {
    background: rgba(19, 29, 48, 0.06);
  }
  .btn.primary { background: #171a21; color: #fff; }
  .btn.ghost { background: rgba(255, 255, 255, 0.62); }

  .install-terminal {
    border-color: rgba(19, 29, 48, 0.14);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 42px rgba(46, 62, 91, 0.10);
  }
  .install-terminal-head {
    border-bottom-color: rgba(19, 29, 48, 0.09);
    background: rgba(238, 242, 248, 0.72);
  }
  .install-terminal-head i { background: #aeb6c3; }
  .install-terminal-head small { color: #707988; }
  .install-terminal-head button { color: #62429d; }
  .install-terminal pre {
    color: #263142;
    background: rgba(255, 255, 255, 0.58);
  }
  .terminal-prompt { color: #168447; }
  .install-terminal-foot {
    border-top-color: rgba(19, 29, 48, 0.09);
    color: #687180;
    background: rgba(238, 242, 248, 0.52);
  }

  .shot,
  .media-frame {
    background: #e9edf4;
    box-shadow: 0 18px 50px rgba(46, 62, 91, 0.16);
  }
  .tool-shot,
  .tool-video,
  .douyin-player {
    background: #e9edf4;
  }
  .douyin-loading,
  .douyin-fallback,
  .media-empty {
    background: #e9edf4;
  }
  .douyin-fallback a,
  .media-empty code { color: #62429d; }
  .footer { color: #687180; }
  .install-note { color: #687180; }
}
