/* ==========================================================================
   Capsyn 官网 v2 —— 单文件样式
   设计方向：纯黑岛面 + 冷灰文字 + 蓝紫双强调色；大量留白与极细边线；
   组件只有三种「面」：玻璃卡片、岛面（更深）、强调按钮。
   ========================================================================== */

:root {
  --bg: #040406;
  --bg-soft: #0a0a0d;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.055);
  --text: #f4f5f7;
  --text-2: #a9adb6;
  --text-3: #6f747e;
  --accent: #4c9dff;
  --accent-2: #b06bff;
  --amber: #ffb648;
  --danger: #ff5a5f;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
  --nav-h: 64px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI",
    "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "Cascadia Code", "SF Mono", "Consolas", monospace;
}

* { box-sizing: border-box; }

/* sticky 导航 64px：锚点跳转时给标题留出空间，别被盖住 */
section[id], main, footer { scroll-margin-top: 88px; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 背景光晕：固定两层径向渐变，营造「屏幕顶部黑岛」的纵深 */
body::before {
  content: "";
  position: fixed;
  inset: -20vh 0 auto 0;
  height: 120vh;
  pointer-events: none;
  background:
    radial-gradient(60% 44% at 50% 0%, rgba(76, 157, 255, 0.16), transparent 62%),
    radial-gradient(38% 30% at 82% 6%, rgba(176, 107, 255, 0.12), transparent 70%),
    radial-gradient(42% 34% at 14% 2%, rgba(76, 157, 255, 0.08), transparent 72%);
  z-index: 0;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #041018;
  padding: 10px 16px;
  border-radius: 0 0 12px 0;
  z-index: 999;
}
.skip:focus { left: 0; }

/* ===================== 顶部导航 ===================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(4, 4, 6, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(var(--wrap), calc(100% - 48px));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand svg { width: 26px; height: 26px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  color: var(--text-2);
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.is-active { color: var(--text); background: var(--surface-2); }

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

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

/* ===================== 按钮 ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-weight: 560;
  letter-spacing: 0.01em;
  transition: transform 0.16s var(--ease), background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:hover { background: var(--surface-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.99); }

.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: linear-gradient(180deg, #6cb0ff, #3d8cf5);
  border-color: transparent;
  color: #02101f;
  font-weight: 650;
  box-shadow: 0 10px 30px rgba(76, 157, 255, 0.28);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #7cbbff, #4a97ff);
  box-shadow: 0 14px 36px rgba(76, 157, 255, 0.36);
}

.btn--ghost { background: transparent; }

.btn--block { width: 100%; }

.btn--sm { height: 38px; padding: 0 15px; font-size: 13.5px; }

.link-arrow {
  color: var(--accent);
  font-weight: 560;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.link-arrow::after { content: "→"; transition: transform 0.18s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ===================== 通用版式 ===================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 640;
}

.section-sub {
  margin: 12px 0 0;
  color: var(--text-2);
  max-width: 640px;
  font-size: 15.5px;
}

.section-head > * { min-width: 0; }

/* ===================== Hero ===================== */

.hero {
  padding: calc(var(--nav-h) + 64px) 0 40px;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 56px;
  align-items: center;
}

.hero__inner > * { min-width: 0; }
.demo { min-width: 0; }
.demo__group { min-width: 0; }

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 660;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #7fc0ff, #b06bff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 22px 0 0;
  color: var(--text-2);
  font-size: 17px;
  max-width: 540px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__meta {
  margin: 16px 0 0;
  color: var(--text-3);
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.hero__meta b { color: var(--text-2); font-weight: 600; }

/* ---------- 岛演示 ---------- */

.demo {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(76, 157, 255, 0.12), transparent 60%),
    radial-gradient(50% 40% at 90% 10%, rgba(176, 107, 255, 0.1), transparent 70%),
    #07070a;
  padding: 18px 18px 0;
  min-height: 440px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  user-select: none;
  transition: min-height 0.5s var(--ease);
}

.demo:not(.is-open) { min-height: 164px; }
.demo:not(.is-open) .demo__stage { height: 96px; }

.demo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 78%);
}

.demo__stage {
  position: relative;
  height: 400px;
  transition: height 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.demo__pill {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  font-size: 13px;
  color: var(--text);
  margin-top: 6px;
  transition: transform 0.5s var(--ease), opacity 0.3s ease;
}

.demo__pill .note { width: 14px; height: 14px; color: var(--accent); flex: none; }
.demo__pill .state { color: var(--text-3); font-size: 12px; }
.demo__pill .bar {
  width: 3px; height: 12px; border-radius: 2px; background: var(--accent);
  animation: eq 1.1s ease-in-out infinite;
}
.demo__pill .bar:nth-child(2) { animation-delay: 0.15s; height: 8px; }
.demo__pill .bar:nth-child(3) { animation-delay: 0.3s; height: 14px; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}

/* 展开后的两岛 */
.demo__group {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 18px;
  opacity: 0;
  transform: translateY(-10px) scale(0.92);
  transform-origin: 50% 0;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
  filter: blur(4px);
}

.demo.is-open .demo__group {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.demo.is-open .demo__pill { transform: translateY(-2px); }

/* 看板 mini */
.demo__dash {
  width: 318px;
  border-radius: 26px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
}

.demo__dash-head {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
}

.demo__rings {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 0;
}

.ring-shell {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 6px;
}

.ring {
  --p: 30%;
  --c: var(--accent);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(var(--c) var(--p), rgba(255, 255, 255, 0.07) var(--p));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
}

.ring-wrap { text-align: center; font-size: 10px; color: var(--text-3); }

.ring-val {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.04em;
}

.demo__net {
  margin-top: 6px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
}
.demo__net .down { color: var(--accent); }
.demo__net .up { color: var(--accent-2); }

/* 音乐 mini */
.demo__music {
  width: 176px;
  border-radius: 26px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 14px 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  position: relative;
  overflow: hidden;
}

.demo__music::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: url("../img/cover.png?v=20261113e") center / cover;
  opacity: 0.32;
  filter: blur(18px) saturate(120%);
}

.demo__music > * { position: relative; }

.demo__music-head {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

.demo__cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  background: url("../img/cover.png?v=20261113e") center / cover;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo__title { font-size: 12px; font-weight: 620; margin-top: 10px; letter-spacing: -0.01em; }
.demo__artist { font-size: 10px; color: var(--text-3); }

.demo__progress {
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  margin-top: 9px;
  position: relative;
}
.demo__progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  border-radius: 2px;
  background: var(--accent);
}

.demo__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.demo__btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--text-2);
  font-size: 10px;
}

.demo__btn--main {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-color: transparent;
  color: #03101f;
}

.demo__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  text-align: center;
  font-size: 11.5px;
  color: var(--text-3);
  z-index: 3;
}

/* ===================== 数据条 ===================== */

.facts {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 26px 0;
  margin-top: 56px;
}

.facts__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.fact { display: flex; flex-direction: column; gap: 2px; }
.fact strong {
  font-size: 26px;
  font-weight: 640;
  letter-spacing: -0.03em;
  font-family: var(--mono);
}
.fact span { color: var(--text-3); font-size: 13px; }

/* ===================== 功能卡 ===================== */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  padding: 24px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.feature:hover { border-color: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

.feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 16px;
  color: var(--accent);
}
.feature__icon svg { width: 20px; height: 20px; }

.feature h3 { margin: 0 0 6px; font-size: 17px; font-weight: 620; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.65; }


.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(76, 157, 255, 0.12);
  border: 1px solid rgba(76, 157, 255, 0.25);
  vertical-align: 2px;
  margin-left: 8px;
}

.badge--test {
  color: var(--amber);
  background: rgba(255, 182, 72, 0.1);
  border-color: rgba(255, 182, 72, 0.28);
}

.badge--latest {
  color: var(--accent);
  background: rgba(76, 157, 255, 0.14);
  border-color: rgba(76, 157, 255, 0.3);
}

/* ===================== 音乐岛 spotlight ===================== */

.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 48px;
  align-items: center;
}

.spotlight__media {
  position: relative;
  display: grid;
  gap: 14px;
}

.spotlight__frame {
  border-radius: 24px;
  border: 1px solid var(--line-soft);
  background: #07070a;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.spotlight__frame img { border-radius: 16px; }

.spotlight__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.spotlight__row .spotlight__frame { padding: 13px 12px; }

.pill-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  border-radius: 16px;
  background: #000;
  border: 1px solid var(--line-soft);
}

.pill-shot img { width: 192px; }

.spotlight h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 640;
}

.spotlight > div:last-child > p { color: var(--text-2); margin: 16px 0 0; }

.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }

.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: var(--text-2);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(76, 157, 255, 0.14);
  border: 1px solid rgba(76, 157, 255, 0.32);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c9dff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

.note {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--text-3);
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding-left: 12px;
}

/* ===================== 截图画廊 ===================== */

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  margin-bottom: 24px;
}

.tabs button {
  border: 0;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 13.5px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease;
}

.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: rgba(255, 255, 255, 0.1); color: var(--text); }

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.shot {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: #07070a;
  padding: 12px;
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.shot:hover { border-color: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

.shot img { border-radius: 12px; }
.shot figcaption { margin-top: 10px; font-size: 12.5px; color: var(--text-3); display: flex; justify-content: space-between; gap: 12px; }
.shot figcaption b { color: var(--text-2); font-weight: 560; }

.shot--wide { grid-column: span 2; }

.shot.is-hidden { display: none; }

/* ===================== 版本对比 ===================== */

.table-wrap {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: auto;
  background: rgba(255, 255, 255, 0.02);
}

table.versions {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 720px;
}

table.versions th,
table.versions td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}

table.versions thead th { font-size: 12.5px; color: var(--text-3); font-weight: 560; letter-spacing: 0.02em; }
table.versions tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
table.versions td:first-child { color: var(--text-2); }
table.versions tbody tr:last-child td { border-bottom: 0; }

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-family: var(--mono);
  color: var(--text-2);
  border: 1px solid var(--line);
  background: var(--surface);
}
.tag--latest { color: var(--accent); border-color: rgba(76, 157, 255, 0.35); background: rgba(76, 157, 255, 0.1); }
.tag--test { color: var(--amber); border-color: rgba(255, 182, 72, 0.35); background: rgba(255, 182, 72, 0.08); }

.yes { color: var(--accent); font-weight: 600; }
.no { color: var(--text-3); }

/* ===================== 下载 ===================== */

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.dl-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  padding: 24px;
}

.dl-card--primary {
  border-color: rgba(76, 157, 255, 0.35);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(76, 157, 255, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  box-shadow: 0 24px 60px rgba(20, 60, 120, 0.28);
}

.dl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dl-ver { font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.dl-desc { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.65; }

.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dl-list li { position: relative; padding-left: 18px; color: var(--text-2); font-size: 13.5px; }
.dl-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}

.dl-actions { margin-top: auto; display: grid; gap: 8px; }

.dl-direct {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-3);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.18);
  text-underline-offset: 3px;
}
.dl-direct:hover { color: var(--text-2); }

.dl-meta { margin: 0; font-size: 12px; color: var(--text-3); font-family: var(--mono); }

.download-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-3);
  font-size: 13px;
}

/* ===================== 步骤 ===================== */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 26px 24px 24px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-3);
}

.step h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--text-2); font-size: 14px; }
.step code {
  font-family: var(--mono);
  font-size: 0.92em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-soft);
  padding: 1px 6px;
  border-radius: 6px;
}

/* ===================== FAQ ===================== */

.faq { display: grid; gap: 10px; }

details.q {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 0 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

details.q[open] { border-color: rgba(255, 255, 255, 0.14); background: var(--surface-2); }

details.q summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 560;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

details.q summary::-webkit-details-marker { display: none; }

details.q summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  color: var(--text-3);
  flex: none;
  transition: transform 0.25s var(--ease);
}

details.q[open] summary::after { transform: rotate(45deg); }

details.q > div { padding: 0 0 20px; color: var(--text-2); font-size: 14.5px; }
details.q > div p { margin: 0 0 10px; }
details.q > div p:last-child { margin-bottom: 0; }
details.q code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-soft);
  padding: 1px 6px;
  border-radius: 6px;
}

/* ===================== 路线图 ===================== */

.roadmap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.road {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 16px 18px;
}

.road b { font-weight: 580; font-size: 14.5px; }
.road p { margin: 2px 0 0; color: var(--text-3); font-size: 12.5px; }

.status {
  flex: none;
  font-size: 11.5px;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
}
.status--next { color: var(--accent); border-color: rgba(76, 157, 255, 0.3); background: rgba(76, 157, 255, 0.08); }
.status--no { color: var(--text-3); }

/* ===================== 技术 ===================== */

.tech {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tech__item { border: 1px solid var(--line-soft); border-radius: var(--radius-md); background: var(--surface); padding: 20px; }
.tech__item strong { display: block; font-size: 15px; margin-bottom: 4px; }
.tech__item span { font-size: 12.5px; color: var(--text-3); }

/* ===================== Footer ===================== */

.footer {
  margin-top: 64px;
  border-top: 1px solid var(--line-soft);
  padding: 44px 0 56px;
  color: var(--text-3);
  font-size: 13.5px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }

/* ===================== 滚动出现 ===================== */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ?static=1：给截图 / 打印用，直接落位不跑动画 */
html.is-static .reveal { opacity: 1; transform: none; transition: none; }
html.is-static .demo__group { opacity: 1; transform: none; filter: none; }

/* ===================== 响应式 ===================== */

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__demo { max-width: 620px; margin-inline: auto; width: 100%; }
  .demo { min-height: 360px; }

  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spotlight { grid-template-columns: 1fr; gap: 32px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-grid { grid-template-columns: 1fr; max-width: 560px; }
  .tech { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .wrap { width: calc(100% - 32px); }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: rgba(8, 8, 12, 0.96);
    backdrop-filter: blur(20px);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; }
  .nav-actions .btn span { display: none; }
  .nav-actions .btn { width: 44px; padding: 0; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .demo { padding-inline: 12px; min-height: 0; }
  .demo__dash { width: 100%; }
  .demo__group { flex-direction: column; width: 100%; }
  .demo__music { width: 100%; max-width: 380px; margin-inline: auto; }
  .demo__cover { max-width: 176px; margin: 10px auto 0; }
  .demo__music-head { justify-content: space-between; }
  .demo__title, .demo__artist { text-align: center; }
  .demo__controls { justify-content: center; }
  .demo__stage { height: auto; padding-bottom: 34px; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .shot--wide { grid-column: auto; }
  .steps, .roadmap { grid-template-columns: 1fr; }
  .tech { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .demo__group { opacity: 1; transform: none; filter: none; }
  .demo__hint { display: none; }
}
