/* ============================================================================
 * 涟音 (AuraMusic) 官方网站样式系统
 * 与 App 端 Theme.kt 保持 100% 色彩与美学同源：
 * - 深色模式：暗夜曜石 (#0E1014 / #171A21)
 * - 浅色模式：极简纯白 (#F4F5F7 / #FFFFFF)
 * - 默认主题色：极简黑白 (MONOCHROME)，支持 6 套官方强调色实时切换
 * ========================================================================== */

:root,
html[data-theme="dark"] {
  --bg-deep: #0E1014;
  --surface-glass: rgba(21, 24, 31, 0.76);
  --surface-elevated: #171A21;
  --surface-subtle: #1C2029;
  --hairline: rgba(255, 255, 255, 0.11);
  --hairline-strong: rgba(255, 255, 255, 0.20);
  --text-primary: #F3F5F9;
  --text-secondary: #98A0AE;
  --text-muted: #666F7F;
  --shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.45);
  --shadow-phone: 0 36px 90px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.14);
  --grid-line: rgba(255, 255, 255, 0.032);
  --phone-frame: #090B0F;
  --phone-screen: #0E1014;
  --phone-card: rgba(255, 255, 255, 0.05);
  --modal-scrim: rgba(6, 8, 12, 0.72);
}

html[data-theme="light"] {
  --bg-deep: #F4F5F7;
  --surface-glass: rgba(255, 255, 255, 0.84);
  --surface-elevated: #FFFFFF;
  --surface-subtle: #ECEFF4;
  --hairline: rgba(15, 23, 42, 0.09);
  --hairline-strong: rgba(15, 23, 42, 0.16);
  --text-primary: #12151B;
  --text-secondary: #5B6372;
  --text-muted: #8C95A4;
  --shadow-soft: 0 20px 56px rgba(15, 23, 42, 0.08);
  --shadow-phone: 0 28px 72px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.10);
  --grid-line: rgba(15, 23, 42, 0.038);
  --phone-frame: #E4E8F0;
  --phone-screen: #F4F5F7;
  --phone-card: rgba(15, 23, 42, 0.045);
  --modal-scrim: rgba(15, 23, 42, 0.45);
}

/* 6 套官方声学强调色（与 Song.kt AccentTheme 数值逐一对应） */
html[data-theme="dark"][data-accent="monochrome"]  { --accent: #E2E8F0; --accent-2: #FFFFFF; --on-accent: #0E1117; --accent-glow: rgba(226, 232, 240, 0.16); }
html[data-theme="light"][data-accent="monochrome"] { --accent: #1E2430; --accent-2: #475569; --on-accent: #FFFFFF; --accent-glow: rgba(30, 36, 48, 0.11); }

html[data-theme="dark"][data-accent="emerald"]     { --accent: #1FC2A4; --accent-2: #3FD4BC; --on-accent: #061A16; --accent-glow: rgba(31, 194, 164, 0.22); }
html[data-theme="light"][data-accent="emerald"]    { --accent: #149458; --accent-2: #34B879; --on-accent: #FFFFFF; --accent-glow: rgba(20, 148, 88, 0.16); }

html[data-theme="dark"][data-accent="blue"]        { --accent: #3B9EFF; --accent-2: #6BC0FF; --on-accent: #051829; --accent-glow: rgba(59, 158, 255, 0.22); }
html[data-theme="light"][data-accent="blue"]       { --accent: #1A6FE8; --accent-2: #4A98FF; --on-accent: #FFFFFF; --accent-glow: rgba(26, 111, 232, 0.16); }

html[data-theme="dark"][data-accent="purple"]      { --accent: #9E7EFF; --accent-2: #BEA8FF; --on-accent: #140B29; --accent-glow: rgba(158, 126, 255, 0.22); }
html[data-theme="light"][data-accent="purple"]     { --accent: #6E4AE2; --accent-2: #9374F6; --on-accent: #FFFFFF; --accent-glow: rgba(110, 74, 226, 0.16); }

html[data-theme="dark"][data-accent="amber"]       { --accent: #F2A93B; --accent-2: #FFC96B; --on-accent: #241604; --accent-glow: rgba(242, 169, 59, 0.22); }
html[data-theme="light"][data-accent="amber"]      { --accent: #C8780C; --accent-2: #E69E32; --on-accent: #FFFFFF; --accent-glow: rgba(200, 120, 12, 0.16); }

html[data-theme="dark"][data-accent="red"]         { --accent: #FF5C7C; --accent-2: #FF88A0; --on-accent: #28060E; --accent-glow: rgba(255, 92, 124, 0.22); }
html[data-theme="light"][data-accent="red"]        { --accent: #D9365B; --accent-2: #F26484; --on-accent: #FFFFFF; --accent-glow: rgba(217, 54, 91, 0.16); }

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.28s ease, color 0.28s ease;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; }

/* 极轻环境背景层 */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 10%, #000 35%, transparent 100%);
}

.ambient-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.75;
  transition: background 0.45s ease;
}

.orb-1 {
  width: 540px;
  height: 420px;
  top: -140px;
  right: 8%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
}

.orb-2 {
  width: 460px;
  height: 360px;
  top: 42%;
  left: -120px;
  background: radial-gradient(circle, var(--accent-glow), transparent 72%);
  opacity: 0.48;
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶部导航栏 */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface-glass);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.brand-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-en {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a,
.nav-link-btn {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-link-btn:hover {
  color: var(--text-primary);
}

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

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: var(--surface-elevated);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: border-color 0.2s ease, transform 0.18s ease;
}

.icon-btn:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-1px);
}

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

html[data-theme="dark"] .icon-moon { display: none; }
html[data-theme="light"] .icon-sun { display: none; }

/* 统一按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 14px;
  font-weight: 560;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, opacity 0.18s ease, border-color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.985);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 13.5px;
  border-radius: 12px;
}

.btn-lg {
  height: 50px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: 15px;
}

.btn-block {
  width: 100%;
  height: 46px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  box-shadow: 0 10px 28px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.btn-ghost {
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-1px);
}

.btn-meta {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(127, 127, 127, 0.18);
  font-weight: 500;
}

/* 首屏 Hero */
.hero {
  padding: 64px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  align-items: center;
  gap: 56px;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--surface-elevated);
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.pill-sep {
  opacity: 0.4;
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(38px, 5.2vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.hero-title-accent {
  background: linear-gradient(115deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-k {
  font-size: 11.5px;
  color: var(--text-muted);
}

.trust-v {
  font-size: 13.5px;
  font-weight: 560;
  color: var(--text-primary);
}

.trust-divider {
  width: 1px;
  height: 26px;
  background: var(--hairline);
}

.hash-copy-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  color: var(--text-primary);
  transition: color 0.18s ease;
}

.hash-copy-inline:hover {
  color: var(--accent);
}

/* 右侧手机样机与液态玻璃实时交互舞台 */
.hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.phone-shell {
  width: 356px;
  max-width: 100%;
  border-radius: 44px;
  padding: 11px;
  background: var(--phone-frame);
  box-shadow: var(--shadow-phone);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 20px;
  border-radius: 999px;
  background: #050608;
  z-index: 6;
}

.phone-screen {
  position: relative;
  border-radius: 34px;
  background: var(--phone-screen);
  overflow: hidden;
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  min-height: 574px;
  border: 1px solid var(--hairline);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 6px 14px;
  color: var(--text-secondary);
}

.status-badge {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  color: var(--text-secondary);
}

.phone-viewport {
  flex: 1;
  position: relative;
  min-height: 368px;
}

.phone-tab-view {
  display: none;
  animation: tabFadeIn 0.24s ease;
}

.phone-tab-view.is-active {
  display: block;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.phone-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.phone-eyebrow {
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.phone-h2 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.phone-mini-logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--hairline);
}

.phone-pill-chip {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--phone-card);
  border: 1px solid var(--hairline);
  color: var(--text-secondary);
}

.phone-search-fake {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 13px;
  background: var(--phone-card);
  border: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.phone-playlist-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border-radius: 16px;
  background: var(--phone-card);
  border: 1px solid var(--hairline);
}

.mini-cover {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--on-accent);
  flex-shrink: 0;
}

.mini-cover.c-1 { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.mini-cover.c-2 { background: linear-gradient(135deg, #2B3344, #59657B); color: #F8FAFC; }
.mini-cover.c-3 { background: linear-gradient(135deg, #1E2430, #384358); color: #F8FAFC; }

.mini-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mini-info strong {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-info span {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  color: var(--text-secondary);
}

.phone-track-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 13px;
  background: var(--phone-card);
  border: 1px solid transparent;
}

.phone-track.is-playing {
  border-color: var(--hairline-strong);
}

.track-num {
  width: 22px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.track-eq {
  width: 22px;
  height: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
}

.track-eq i {
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  animation: eqPulse 1.1s ease-in-out infinite;
}

.track-eq i:nth-child(1) { height: 7px; animation-delay: 0s; }
.track-eq i:nth-child(2) { height: 13px; animation-delay: 0.22s; }
.track-eq i:nth-child(3) { height: 9px; animation-delay: 0.45s; }

.track-time {
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.phone-chat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble {
  padding: 11px 13px;
  border-radius: 16px;
  background: var(--phone-card);
  border: 1px solid var(--hairline);
}

.chat-user {
  display: block;
  font-size: 10.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.chat-bubble p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
}

.shared-song-chip {
  padding: 8px 10px;
  border-radius: 11px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
}

.shared-song-chip strong { font-size: 12.5px; }
.shared-song-chip span { font-size: 10.5px; color: var(--accent); }

.phone-mine-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mine-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.mine-stat {
  padding: 14px 12px;
  border-radius: 15px;
  background: var(--phone-card);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mine-stat strong { font-size: 20px; letter-spacing: -0.02em; }
.mine-stat span { font-size: 11px; color: var(--text-muted); }

.mine-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 12px;
  border-radius: 13px;
  background: var(--phone-card);
  border: 1px solid var(--hairline);
  font-size: 12px;
}

.mine-row span { color: var(--text-muted); }

/* 手机内迷你播放栏 */
.phone-mini-player {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 8px;
  border-radius: 18px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
}

.mini-disc {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), #2A3140 45%, var(--accent-2) 78%, var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  animation: discSpin 9s linear infinite;
  flex-shrink: 0;
}

.phone-mini-player.is-paused .mini-disc {
  animation-play-state: paused;
}

.mini-disc-core {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--phone-screen);
}

@keyframes discSpin {
  to { transform: rotate(360deg); }
}

.mini-player-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mini-player-meta strong {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-player-meta span {
  font-size: 10.5px;
  color: var(--text-muted);
}

.mini-play-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-mini-player .ic-play { display: none; }
.phone-mini-player.is-paused .ic-play { display: block; }
.phone-mini-player.is-paused .ic-pause { display: none; }

/* 手机底部交互式液态玻璃导航栏 */
.liquid-dock-wrap {
  position: relative;
  height: 78px;
  width: 100%;
  user-select: none;
  touch-action: none;
  cursor: grab;
}

/* 底层磨砂玻璃底座（位于图标与中央胶囊下方，绝不遮暗前景图标） */
.liquid-dock-wrap::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 56px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 1;
  pointer-events: none;
}

.liquid-dock-wrap:active {
  cursor: grabbing;
}

.liquid-dock-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.dock-center-pill {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.16s ease;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 13px;
}

.eq-bars i {
  width: 2.6px;
  border-radius: 2px;
  background: currentColor;
  animation: eqPulse 0.95s ease-in-out infinite;
}

.eq-bars i:nth-child(1) { height: 6px; animation-delay: 0s; }
.eq-bars i:nth-child(2) { height: 12px; animation-delay: 0.18s; }
.eq-bars i:nth-child(3) { height: 9px; animation-delay: 0.36s; }
.eq-bars i:nth-child(4) { height: 11px; animation-delay: 0.54s; }
.eq-bars.is-paused i { animation-play-state: paused; height: 5px; }

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

.dock-items {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 56px 1fr 1fr;
  align-items: center;
  padding: 0 6px;
  z-index: 2;
  pointer-events: none;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-primary);
  opacity: 0.84;
  transform-origin: center center;
  will-change: transform, color;
}

.dock-item span {
  font-size: 9.5px;
  font-weight: 550;
  line-height: 1.1;
}

.dock-item.is-selected {
  color: var(--accent);
  opacity: 1;
}

.stage-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.hint-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.85;
}

/* 通用区块 */
.section {
  padding: 72px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 38px;
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 680;
}

.section-sub {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15.5px;
}

/* Bento 网格 */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  grid-column: span 5;
  padding: 28px;
  border-radius: 24px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.bento-card:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-2px);
}

.bento-card.bento-wide {
  grid-column: span 7;
}

.card-badge {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 560;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-subtle);
  border: 1px solid var(--hairline);
  color: var(--text-secondary);
}

.bento-card h3 {
  margin: 2px 0 0;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.bento-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.72;
}

.spec-chips,
.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.spec-chips span,
.platform-pills span {
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 10px;
  background: var(--surface-subtle);
  border: 1px solid var(--hairline);
  color: var(--text-primary);
}

/* 母带声学调音台交互区 */
.dsp-panel {
  border-radius: 28px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.dsp-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 22px;
}

.dsp-title-wrap {
  max-width: 520px;
}

.dsp-preset-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.dsp-preset-line h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.dsp-brand-tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-glow);
  color: var(--accent);
  font-weight: 600;
}

.dsp-title-wrap p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.dsp-meters {
  display: grid;
  grid-template-columns: repeat(3, minmax(112px, 1fr));
  gap: 14px;
  flex: 1;
  max-width: 440px;
}

.meter-box {
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface-subtle);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.meter-label {
  font-size: 11.5px;
  color: var(--text-muted);
}

.meter-track {
  height: 5px;
  border-radius: 999px;
  background: var(--hairline);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.meter-val {
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.dsp-chart-wrap {
  width: 100%;
  border-radius: 18px;
  background: var(--bg-deep);
  border: 1px solid var(--hairline);
  padding: 12px;
  margin-bottom: 20px;
}

#dspCurveCanvas {
  width: 100%;
  height: 220px;
  display: block;
}

.dsp-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.preset-btn {
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 520;
  background: var(--surface-subtle);
  border: 1px solid var(--hairline);
  color: var(--text-secondary);
  transition: all 0.18s ease;
}

.preset-btn:hover {
  color: var(--text-primary);
  border-color: var(--hairline-strong);
}

.preset-btn.is-active {
  background: var(--accent);
  color: var(--on-accent);
  border-color: transparent;
}

/* 主题色互动区 */
.theme-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  padding: 36px;
  border-radius: 28px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
}

.theme-picker-card {
  padding: 24px;
  border-radius: 22px;
  background: var(--surface-subtle);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.picker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}

.picker-label { color: var(--text-secondary); }
.picker-current { font-weight: 620; color: var(--accent); }

.accent-swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.swatch-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 10px 4px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.swatch-btn.is-active {
  border-color: var(--hairline-strong);
  background: var(--surface-elevated);
}

.swatch-dot {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.swatch-btn span {
  font-size: 11px;
  color: var(--text-secondary);
}

.mode-switch-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mode-chip {
  height: 38px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 540;
  border: 1px solid var(--hairline);
  color: var(--text-secondary);
  background: var(--surface-elevated);
  transition: all 0.18s ease;
}

.mode-chip.is-active {
  background: var(--accent);
  color: var(--on-accent);
  border-color: transparent;
}

/* 下载区与更新日志 */
.download-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.download-card,
.changelog-card {
  padding: 30px;
  border-radius: 26px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
}

.dl-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.dl-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  border: 1px solid var(--hairline-strong);
}

.dl-card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dl-card-title-row h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.dl-ver-tag {
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-glow);
  color: var(--accent);
  font-weight: 600;
}

.dl-card-sub {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.dl-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.dl-meta-cell {
  padding: 13px 15px;
  border-radius: 15px;
  background: var(--surface-subtle);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dl-meta-cell span { font-size: 12px; color: var(--text-muted); }
.dl-meta-cell strong { font-size: 14.5px; font-weight: 600; }

.sha-box {
  padding: 13px 15px;
  border-radius: 15px;
  background: var(--bg-deep);
  border: 1px solid var(--hairline);
  margin-bottom: 20px;
}

.sha-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
  font-size: 12px;
  color: var(--text-muted);
}

.sha-copy-btn {
  font-size: 12px;
  color: var(--accent);
  font-weight: 580;
  white-space: nowrap;
  flex-shrink: 0;
}

.sha-copy-btn:hover { text-decoration: underline; }

.sha-box code {
  display: block;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.5;
  word-break: break-all;
  color: var(--text-secondary);
}

.dl-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 16px;
}

.dl-footnote {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

.changelog-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}

.changelog-head h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.changelog-head span {
  font-size: 12.5px;
  color: var(--text-muted);
}

.changelog-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.changelog-list li {
  position: relative;
  padding-left: 16px;
}

.changelog-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.changelog-list strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 3px;
}

.changelog-list p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-item {
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
}

.faq-item summary {
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 560;
  color: var(--text-primary);
}

.faq-item p {
  margin: 9px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 页脚 */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 28px 0 40px;
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.footer-brand img {
  border-radius: 7px;
  border: 1px solid var(--hairline);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.footer-links a:hover,
.footer-link-btn:hover {
  color: var(--text-primary);
}

/* 主题色弹窗 */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--modal-scrim);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  width: 100%;
  max-width: 440px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 26px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  animation: modalPop 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-thanks {
  max-width: 500px;
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.modal-head h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.thanks-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 650;
  margin-bottom: 4px;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--surface-subtle);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-sub {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.qr-frame {
  width: 236px;
  height: 236px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: #FFFFFF;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
}

.qr-frame canvas {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.qr-url-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-deep);
  border: 1px solid var(--hairline);
  margin-bottom: 10px;
}

.qr-url-box code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11.5px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qr-tip {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.thanks-body p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--text-secondary);
}

.thanks-sign {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 14px 0 18px;
}

/* Toast 轻提示 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline-strong);
  color: var(--text-primary);
  font-size: 13.5px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 响应式适配 */
@media (max-width: 960px) {
  .hero-grid,
  .theme-showcase,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .bento-card,
  .bento-card.bento-wide {
    grid-column: span 12;
  }

  .nav-links {
    display: none;
  }

  .dsp-meters {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .dl-actions {
    grid-template-columns: 1fr;
  }

  .accent-swatches {
    grid-template-columns: repeat(3, 1fr);
  }

  .dsp-meters {
    grid-template-columns: 1fr;
  }

  .theme-showcase,
  .dsp-panel,
  .download-card,
  .changelog-card {
    padding: 20px;
  }
}
