:root {
  --bg: #fbfaf8;
  --bg-alt: #f2f0ec;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --border: rgba(0, 0, 0, 0.08);
  --accent: #e5484d;
  --accent-text: #ffffff;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.25);
  --radius: 18px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f11;
    --bg-alt: #17171a;
    --surface: #1d1d21;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --border: rgba(255, 255, 255, 0.1);
    --accent: #ff6369;
    --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  }
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: var(--bg-alt);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { opacity: 0.9; }
.btn-ghost { border: 1px solid var(--border); background: var(--surface); }
.btn-small { padding: 7px 14px; font-size: 14px; }

/* 导航 */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 24px; margin-right: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--text); }

/* 首屏 */
.hero {
  padding: 88px 0 72px;
  overflow: hidden;
  background: var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: center;
  gap: 40px;
}
@media (min-width: 901px) {
  .hero-visual { margin-right: -6%; }
}
.hero-icon { border-radius: 22px; box-shadow: var(--shadow); margin-bottom: 24px; }
.hero h1 { font-size: clamp(44px, 6vw, 68px); line-height: 1.05; margin: 0 0 8px; letter-spacing: -0.02em; }
.tagline { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; margin: 0 0 16px; }
.lead { color: var(--muted); font-size: 17px; margin: 0 0 32px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.requirements { color: var(--muted); font-size: 14px; margin: 20px 0 0; }

/* 三端叠放：Mac 在底层，iPad 在中间层，iPhone 在顶层；容器比例与 Mac 图一致，三台设备底部平齐 */
.hero-visual { position: relative; aspect-ratio: 1702 / 979; }
.hero-visual img { position: absolute; }
.hero-mac {
  top: 0;
  left: -4%;
  width: 100%;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.22));
}
.hero-pad {
  right: 14%;
  bottom: 0;
  width: 54%;
  z-index: 1;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.3));
}
.hero-phone {
  right: 2%;
  bottom: 0;
  width: 21%;
  z-index: 2;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}
@media (max-width: 900px) {
  .hero-mac { left: 0; }
  .hero-phone { right: 0; }
}

/* 平台条 */
.services { border-block: 1px solid var(--border); background: var(--surface); }
.services-inner { display: flex; align-items: center; gap: 32px; padding-block: 20px; flex-wrap: wrap; }
.services-label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.services ul { display: flex; flex-wrap: wrap; gap: 12px 40px; list-style: none; margin: 0; padding: 0; }
.services li { font-weight: 600; font-size: 17px; }

/* 通用区块 */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* 功能 */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 16px;
}
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* 截图 */
.tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 12px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 22px;
  border-radius: 999px;
  cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); }

.os-note { text-align: center; color: var(--muted); font-size: 13px; margin: 0 0 36px; }

.gallery { display: grid; gap: 28px 20px; }
.gallery .span-all { grid-column: 1 / -1; margin-top: 12px; }
.gallery .span-all img { max-width: 720px; margin: 0 auto; }
.gallery-phone { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery .span-2 { grid-column: span 2; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.18)); }
.gallery figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 12px; }
.gallery .span-2 img { max-width: 860px; margin: 0 auto; }

/* 安装 */
.install { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.install-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.install-card h3 { margin: 0; font-size: 22px; }
.install-meta { color: var(--muted); margin: 4px 0 16px; font-size: 14px; }
.install-card ol { margin: 0 0 24px; padding-left: 20px; color: var(--muted); }
.install-card li + li { margin-top: 6px; }
.install-card .btn { margin-top: auto; align-self: flex-start; }

/* 页脚 */
.footer { border-top: 1px solid var(--border); padding: 32px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; }
.footer-brand img { border-radius: 6px; }
.footer p { margin: 0; margin-right: auto; }
.footer-links { display: flex; gap: 20px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); text-decoration: underline; }

/* 平板 */
@media (max-width: 900px) {
  .hero { padding: 56px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-icon { margin-inline: auto; }
  .lead { margin-inline: auto; }
  .cta { justify-content: center; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-phone { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 72px 0; }
}

/* 手机 */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .nav-inner { gap: 16px; }
  .nav-links { display: none; }
  .brand { margin-right: auto; }
  .features, .install, .gallery-wide { grid-template-columns: 1fr; }
  .gallery .span-2 { grid-column: auto; }
  .services-inner { justify-content: center; gap: 12px; }
  .services ul { justify-content: center; gap: 8px 24px; }
  .services-label { width: 100%; text-align: center; }
  .feature, .install-card { padding: 24px; }
  .section-head { margin-bottom: 40px; }
}

/* ===== 功能大板块 ===== */
.showcase {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 120px 0;
  background: var(--bg);
}
.showcase-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  gap: 64px;
}
.showcase-reverse .showcase-copy { order: 2; }
.showcase-copy h2 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.showcase-copy > p { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 30em; }
.showcase-copy .fine { font-size: 13px; margin: 20px 0 0; }
.eyebrow {
  font-size: 15px !important;
  font-weight: 600;
  color: var(--accent) !important;
  margin: 0 0 12px !important;
  letter-spacing: 0.04em;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.chips i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.showcase-visual img {
  width: min(100%, 340px);
  margin: 0 auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
}

/* 多平台：宽屏文案在左、四台手机横排在右；窄屏上下堆叠 */
.showcase-platforms .showcase-inner { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; }
.showcase-visual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}
.showcase-visual-grid img { width: 100%; filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28)); }

@media (max-width: 900px) {
  .showcase { padding: 80px 0; }
  .showcase-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .showcase-reverse .showcase-copy { order: 0; }
  .showcase-copy > p { margin-inline: auto; }
  .chips { justify-content: center; }
  .showcase-visual img { width: min(70%, 300px); }
  .showcase-visual-grid img { width: 100%; }
  .showcase-platforms .showcase-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .showcase-copy > p { font-size: 16px; }
  .showcase-visual-grid { gap: 10px; }
  .chips li { font-size: 14px; padding: 6px 12px; }
}

/* 歌词板块：三台 iPhone 录屏在左、文字在右，与上一板块左右交替 */
.showcase-lyrics .showcase-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
.live-phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.live-phone {
  position: relative;
  aspect-ratio: 752 / 1492;
}
/* 屏幕区域在外壳图中的位置：x=45 y=29 w=661 h=1434，圆角 97（外壳 752×1492） */
.live-screen {
  position: absolute;
  left: 5.984%;
  top: 1.944%;
  width: 87.899%;
  height: 96.113%;
  object-fit: cover;
  background: #000;
  border-radius: 14.675% / 6.764%;
}
.live-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28));
}
@media (max-width: 900px) {
  .showcase-lyrics .showcase-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .live-phones { gap: 10px; }
}

