:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f6f6f7;
  --bg-mute: #f1f1f3;
  --text: #213547;
  --text-2: #3c3c43;
  --muted: rgba(60, 60, 67, 0.72);
  --line: rgba(60, 60, 67, 0.14);
  --brand: #06b6d4;
  --brand-dark: #0891b2;
  --purple: #7c5cff;
  --blue: #06b6d4;
  --yellow: #f6c445;
  --shadow: 0 12px 32px rgba(30, 34, 40, 0.08);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
}

body.dark {
  --bg: #1b1b1f;
  --bg-soft: #202127;
  --bg-mute: #2a2b31;
  --text: rgba(255, 255, 245, 0.92);
  --text-2: rgba(255, 255, 245, 0.82);
  --muted: rgba(235, 235, 245, 0.62);
  --line: rgba(235, 235, 245, 0.16);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

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

.vp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
}

.vp-header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1376px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
}

.vp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 700;
}

.vp-logo {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 20px;
  background: transparent;
}

.vp-search {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 192px;
  height: 38px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  font-size: 13px;
}
.vp-search input {
  width: 100%;
  height: 100%;
  padding: 0 10px 0 14px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
.vp-search input::placeholder { color: var(--muted); }
.vp-search kbd {
  flex-shrink: 0;
  margin-right: 8px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: var(--bg);
  font-family: inherit;
  font-size: 12px;
}

/* ─── 搜索下拉 ─── */
.search-results {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  z-index: 100;
}
.search-results.hidden { display: none; }
.search-result-item {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  text-decoration: none;
  color: var(--text);
  transition: background .12s;
  cursor: pointer;
}
.search-result-item:first-child { border-radius: 10px 10px 0 0; }
.search-result-item:last-child { border-radius: 0 0 10px 10px; }
.search-result-item:hover,
.search-result-item.active {
  background: var(--brand-soft, rgba(6,182,212,0.08));
  color: var(--brand);
}
.search-result-item .match { font-weight: 600; }
.search-result-item .section {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}
.search-empty {
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.vp-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
}

.vp-nav a:hover,
.vp-nav a.active {
  color: var(--brand);
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.vp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: 72px 32px 64px;
}

.hero-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 span,
h1 strong {
  display: block;
}

h1 span {
  background: linear-gradient(120deg, #06b6d4 12%, #7c5cff 48%, #06b6d4 84%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 strong {
  max-width: 720px;
  color: var(--text);
  font-weight: 800;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

.brand-button {
  color: #ffffff;
  background: var(--brand);
}

.brand-button:hover {
  background: var(--brand-dark);
}

.alt-button {
  color: var(--text);
  background: var(--bg-mute);
}

.link-button {
  color: var(--brand);
  background: transparent;
}

.hero-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.image-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(6, 182, 212, 0.42), transparent 52%),
    radial-gradient(circle at 70% 70%, rgba(124, 92, 255, 0.32), transparent 56%);
  filter: blur(26px);
}

.music-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 260px;
  height: 260px;
  border: 1px solid var(--line);
  border-radius: 64px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, var(--bg)), var(--bg)),
    var(--bg);
  box-shadow: var(--shadow);
}

.note {
  z-index: 2;
  color: var(--brand);
  font-size: 116px;
  font-weight: 800;
}

.ring {
  position: absolute;
  border: 2px solid color-mix(in srgb, var(--blue) 42%, transparent);
  border-radius: 50%;
}

.ring-a {
  width: 176px;
  height: 176px;
}

.ring-b {
  width: 226px;
  height: 226px;
  border-color: color-mix(in srgb, var(--purple) 34%, transparent);
}

.vp-highlight,
.vp-features,
.vp-section,
.vp-contact {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 32px;
}

.highlight-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}

.highlight-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--purple));
  font-weight: 800;
}

.highlight-card h2 {
  margin-bottom: 6px;
  font-size: 20px;
}

.highlight-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.highlight-card strong {
  color: var(--brand);
  white-space: nowrap;
}

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

.feature,
.desktop-grid article,
.matrix-grid a {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}

.feature {
  min-height: 214px;
  padding: 24px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: var(--bg-mute);
  font-size: 24px;
}

.feature h2,
.section-title h2,
.vp-contact h2 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.35;
}

.feature p,
.section-title p,
.desktop-grid p,
.matrix-grid span,
.vp-contact p,
.steps span {
  color: var(--muted);
  line-height: 1.7;
}

.vp-section {
  padding-top: 72px;
}

.section-title {
  margin-bottom: 24px;
  text-align: center;
}

.section-title h2 {
  font-size: 32px;
}

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

.steps div {
  padding: 20px;
  border-top: 1px solid var(--line);
}

.steps b {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 28px;
}

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

.desktop-grid article,
.matrix-grid a {
  padding: 22px;
}

.desktop-grid h3,
.matrix-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.matrix-grid a:hover {
  border-color: color-mix(in srgb, var(--brand) 46%, var(--line));
}

/* ====== 下载专区 ====== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  text-align: center;
  transition: border-color .2s, transform .15s, box-shadow .15s;
}

.download-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.12);
}

.download-icon {
  font-size: 36px;
  margin-bottom: 4px;
}

.download-card strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 2px;
}

.download-card span {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
}

.download-card small {
  font-size: 11px;
  color: var(--muted);
}

.download-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding: 12px 0;
}

@media (max-width: 680px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
}

.vp-contact {
  padding-top: 86px;
  padding-bottom: 78px;
  text-align: center;
}

.vp-contact p {
  margin-bottom: 0;
}

.vp-footer {
  padding: 28px 32px 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 960px) {
  .vp-search {
    display: none;
  }

  .vp-nav {
    margin-left: auto;
  }

  .vp-hero,
  .vp-features,
  .steps,
  .desktop-grid,
  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .vp-hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-image {
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  .vp-header-inner {
    padding: 0 18px;
  }

  .vp-brand span:last-child {
    display: none;
  }

  .vp-nav {
    gap: 14px;
    font-size: 13px;
  }

  .vp-nav a:nth-child(3),
  .vp-nav a:nth-child(4) {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  .hero-text {
    font-size: 18px;
  }

  .highlight-card {
    grid-template-columns: 1fr;
  }

  .highlight-card strong {
    white-space: normal;
  }

  .music-logo {
    width: 210px;
    height: 210px;
    border-radius: 48px;
  }
}
