/* ============================================================
   乐芽 AI Music 官网
   武汉锐非凡网络科技有限公司
   ============================================================ */
:root {
  --pink: #FF6B9D;
  --purple: #C44DFF;
  --grad: linear-gradient(135deg, #FF6B9D 0%, #C44DFF 100%);
  --ink: #241B35;
  --ink-2: #5A5270;
  --bg: #ffffff;
  --bg-soft: #FBF7FF;
  --dark: #1E1330;
  --dark-2: #2A1D42;
  --line: #F0E8FA;
  --shadow: 0 18px 50px rgba(196, 77, 255, 0.12);
  --shadow-lg: 0 30px 80px rgba(196, 77, 255, 0.18);
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- 顶栏 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.nav.scrolled { box-shadow: 0 6px 30px rgba(36, 27, 53, 0.08); border-color: var(--line); }
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 36px; height: 36px; display: inline-flex; }
.brand-logo svg { width: 100%; height: 100%; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: .5px; }
.brand-name em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 14px; font-weight: 700; margin-left: 2px; }
.menu { display: flex; gap: 30px; }
.menu a { font-size: 15px; color: var(--ink-2); font-weight: 500; transition: color .2s; position: relative; }
.menu a:hover { color: var(--purple); }
.nav-cta {
  background: var(--grad); color: #fff; font-size: 14px; font-weight: 700;
  padding: 9px 20px; border-radius: 999px; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 20px rgba(196, 77, 255, 0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(196, 77, 255, 0.4); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 160px 24px 140px; overflow: hidden; background: var(--bg-soft); }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(160deg, #FFF0F6 0%, #F6EDFF 55%, #F0F4FF 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob-1 { width: 420px; height: 420px; background: #FFB3D0; top: -120px; left: -100px; }
.blob-2 { width: 380px; height: 380px; background: #CBA2FF; bottom: -80px; right: -80px; }
.blob-3 { width: 260px; height: 260px; background: #FFD9EA; top: 40%; left: 55%; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 110px; }
.hero-inner {
  position: relative; max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); color: var(--purple);
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 4px 16px rgba(196, 77, 255, 0.1); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.18; font-weight: 800; letter-spacing: -1px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { margin: 22px 0 30px; font-size: 17px; color: var(--ink-2); max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 999px; font-size: 15px; font-weight: 700;
  transition: transform .2s, box-shadow .2s; border: 0; cursor: pointer;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px rgba(196, 77, 255, 0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(196, 77, 255, 0.45); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--purple); border: 1.5px solid var(--purple); }
.btn-outline:hover { background: var(--purple); color: #fff; }
.hero-meta { margin-top: 30px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }

/* Hero 视觉卡片 */
.hero-visual { position: relative; }
.player-card {
  background: #fff; border-radius: 26px; padding: 30px 26px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(196, 77, 255, 0.12);
  position: relative; z-index: 2;
}
.pc-top { display: flex; align-items: center; gap: 16px; }
.pc-disc { width: 64px; height: 64px; border-radius: 50%; animation: spin 8s linear infinite; flex: none; }
.pc-disc svg { width: 100%; height: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }
.pc-title { font-weight: 800; font-size: 20px; }
.pc-artist { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.pc-waves { display: flex; align-items: center; gap: 4px; height: 56px; margin: 22px 0 8px; }
.pc-waves span {
  flex: 1; background: var(--grad); border-radius: 3px;
  animation: wave 1.1s ease-in-out infinite; transform-origin: center;
}
.pc-waves span:nth-child(2n) { animation-delay: .15s; }
.pc-waves span:nth-child(3n) { animation-delay: .3s; }
.pc-waves span:nth-child(5n) { animation-delay: .45s; }
@keyframes wave {
  0%, 100% { height: 14%; }
  50% { height: 96%; }
}
.pc-controls { display: flex; gap: 14px; justify-content: center; margin: 14px 0 10px; }
.pc-btn {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); font-size: 15px; color: var(--purple); cursor: default;
}
.pc-btn.pc-play { background: var(--grad); color: #fff; font-size: 14px; box-shadow: 0 8px 20px rgba(196, 77, 255, 0.35); }
.pc-lyric {
  text-align: center; font-size: 13.5px; color: var(--ink-2);
  background: var(--bg-soft); border-radius: 12px; padding: 10px 14px;
}
.float-chip {
  position: absolute; z-index: 3; background: #fff; border-radius: 999px;
  padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--ink);
  box-shadow: 0 10px 30px rgba(36, 27, 53, 0.12); border: 1px solid var(--line);
  animation: float 4s ease-in-out infinite;
}
.chip-1 { top: -18px; left: -30px; }
.chip-2 { bottom: 30px; left: -46px; animation-delay: 1s; }
.chip-3 { top: 38%; right: -34px; animation-delay: 2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 通用 Section ---------- */
.section { padding: 104px 24px; max-width: 1160px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2.5px;
  color: var(--purple); background: #F6EDFF; padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.5px; }
.section-head p { color: var(--ink-2); margin-top: 12px; font-size: 16px; }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pc-icon { font-size: 34px; line-height: 1; }
.product-card h3 { margin: 18px 0 10px; font-size: 19px; font-weight: 700; }
.product-card p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- 流程 ---------- */
.section-flow { background: var(--bg-soft); border-radius: 40px; margin-top: 20px; padding: 90px 40px; }
.flow-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 20px; align-items: center; }
.flow-step { text-align: center; padding: 30px 20px; }
.flow-num {
  display: inline-flex; width: 54px; height: 54px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 18px;
  align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(196, 77, 255, 0.35);
  margin-bottom: 16px;
}
.flow-step h3 { font-size: 18px; margin-bottom: 8px; }
.flow-step p { color: var(--ink-2); font-size: 14px; }
.flow-arrow { color: var(--purple); font-size: 26px; font-weight: 800; }

/* ---------- 深色功能区块 ---------- */
.section-dark {
  max-width: none; background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff; padding: 104px 24px; margin: 60px 0 0;
}
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.65); }
.section-dark .section-tag { background: rgba(255, 255, 255, 0.12); color: #FFB3D0; }
.feature-list { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 80px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-text h3 { font-size: 25px; font-weight: 800; margin-bottom: 14px; }
.feature-text p { color: rgba(255, 255, 255, 0.7); font-size: 15.5px; }

.feature-visual { display: flex; align-items: center; justify-content: center; min-height: 220px; }
.lyric-card {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px; padding: 28px 34px; font-size: 15px; line-height: 2.1;
  color: rgba(255, 255, 255, 0.9); width: 100%; max-width: 380px;
  backdrop-filter: blur(6px);
}
.lyric-card p:first-child { color: #FFB3D0; }
.vocal-bars { display: flex; align-items: flex-end; gap: 5px; height: 160px; width: 100%; max-width: 380px; }
.vocal-bars span { flex: 1; background: linear-gradient(180deg, #FF6B9D, #C44DFF); border-radius: 4px 4px 0 0; animation: wave2 1.4s ease-in-out infinite; }
.vocal-bars span:nth-child(3n) { animation-delay: .2s; }
.vocal-bars span:nth-child(4n) { animation-delay: .4s; }
.vocal-bars span:nth-child(5n) { animation-delay: .6s; }
@keyframes wave2 { 0%, 100% { height: 22%; } 50% { height: 100%; } }
.vocal-label { text-align: center; margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.stem-chips { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 340px; }
.stem {
  display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600; font-size: 15px;
}
.stem-accompany { border-left: 4px solid #FF6B9D; }
.stem-vocal { border-left: 4px solid #C44DFF; }
.stem-full { border-left: 4px solid #FFB3D0; }

/* ---------- 会员 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card {
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 34px 26px;
  text-align: center; position: relative; background: #fff;
  transition: transform .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.hot { border-color: transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.hot-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 16px; border-radius: 999px;
}
.price-card h3 { font-size: 17px; color: var(--ink-2); font-weight: 600; }
.price { font-size: 44px; font-weight: 800; margin: 14px 0 18px; letter-spacing: -1px; }
.price .cur { font-size: 22px; vertical-align: 14px; margin-right: 2px; }
.price em { font-style: normal; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.price-card ul { text-align: left; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.price-card ul li { font-size: 14px; color: var(--ink-2); padding-left: 22px; position: relative; }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--purple); font-weight: 800; }
.price-card .btn { width: 100%; }

/* ---------- 关于 ---------- */
.section-about { background: var(--bg-soft); border-radius: 40px; padding: 90px 60px; }
.about-wrap { max-width: 820px; margin: 0 auto; text-align: center; }
.about-logo { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 22px; }
.about-logo-badge {
  width: 52px; height: 52px; border-radius: 16px; background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(196, 77, 255, 0.35);
}
.about-logo-badge svg { width: 30px; height: 30px; }
.about-logo h2 { font-size: 26px; font-weight: 800; }
.about-text { color: var(--ink-2); font-size: 15.5px; line-height: 2; }
.about-stats { display: flex; justify-content: center; gap: 60px; margin-top: 40px; flex-wrap: wrap; }
.stat b {
  display: block; font-size: 30px; font-weight: 800; letter-spacing: -1px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat span { font-size: 13.5px; color: var(--ink-2); }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 36px 28px;
  text-align: center; background: #fff; transition: transform .3s, box-shadow .3s;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-card h3 { font-size: 17px; margin-bottom: 12px; }
.contact-card p { color: var(--ink-2); font-size: 14.5px; }
.contact-card .contact-mail { color: inherit; text-decoration: none; border-bottom: 1.5px dashed var(--pink); transition: color .2s; word-break: break-all; }
.contact-card .contact-mail:hover { color: var(--pink); }

/* ---------- 页脚 ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, 0.75); margin-top: 60px; }
.footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 56px 24px 30px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-logo svg { width: 30px; height: 30px; }
.footer-brand p { font-size: 14px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: rgba(255, 255, 255, 0.65); transition: color .2s; }
.footer-links a:hover { color: #FFB3D0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, 0.45);
}
.footer-bottom p { margin: 2px 0; }
.beian a { color: rgba(255, 255, 255, 0.45); }

/* ---------- 滚动渐入 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .product-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 30px; }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-visual { order: 2; }
  .flow-row { grid-template-columns: 1fr; gap: 8px; }
  .flow-arrow { transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .nav-inner { height: 60px; }
  .menu {
    position: fixed; top: 60px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 18px 26px 24px; gap: 18px;
    box-shadow: 0 20px 40px rgba(36, 27, 53, 0.12);
    transform: translateY(-120%); transition: transform .3s; z-index: 99;
  }
  .menu.open { transform: translateY(0); }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 120px 20px 100px; }
  .product-grid, .price-grid, .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 20px; }
  .section-flow, .section-about { border-radius: 26px; padding: 60px 24px; }
  .about-stats { gap: 30px; }
  .float-chip.chip-2 { left: -8px; }
  .float-chip.chip-3 { right: -8px; }
}
