/* ==========================================================================
   陌歌 SongSoul 官网 — 石墨黑 × 薄荷绿（对齐小程序星球页 globe-match）
   ========================================================================== */
:root {
  --bg: #070B10;
  --bg-2: #0A0E14;
  --bg-3: #0B1410;
  --card: rgba(16, 22, 30, 0.86);
  --card-line: rgba(57, 255, 136, 0.14);
  --ink: #EAFFF3;
  --ink-soft: #9FB3A9;
  --ink-faint: #64766D;
  --mint: #00E676;
  --mint-bright: #39FF88;
  --mint-deep: #00C853;
  --grad: linear-gradient(135deg, #39FF88 0%, #00E676 50%, #00C853 100%);
  --radius: 18px;
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 60% at 50% 110%, rgba(0, 230, 118, 0.10) 0%, rgba(0, 230, 118, 0) 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, var(--bg-3) 100%);
  background-color: var(--bg);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.eyebrow { font-size: 13px; letter-spacing: 3px; color: var(--mint); font-weight: 600; margin-bottom: 14px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 28px; border-radius: 999px;
  background: var(--grad); color: #04140B; font-weight: 700; font-size: 16px;
  box-shadow: 0 10px 30px rgba(0, 230, 118, 0.25);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0, 230, 118, 0.35); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid rgba(234, 255, 243, 0.22); box-shadow: none; }
.btn-ghost:hover { border-color: var(--mint); box-shadow: none; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 16, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(57, 255, 136, 0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 10px; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.brand-name em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--mint); margin-left: 6px; letter-spacing: .5px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; color: var(--ink-soft); }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links .btn { color: #04140B; }
.nav-toggle { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); letter-spacing: 1px; margin-bottom: 22px; }
.lead { font-size: 17px; color: var(--ink-soft); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-note { font-size: 13px; color: var(--ink-faint); letter-spacing: 1px; }
.hero-globe { position: relative; }
#globe { display: block; width: 100%; aspect-ratio: 1 / 1; cursor: grab; touch-action: pan-y; }
#globe:active { cursor: grabbing; }
.globe-tip { text-align: center; font-size: 13px; color: var(--ink-faint); margin-top: -8px; letter-spacing: 1px; }

/* ---------- 通用段落 ---------- */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, rgba(16, 22, 30, 0) 0%, rgba(16, 22, 30, 0.55) 18%, rgba(16, 22, 30, 0.55) 82%, rgba(16, 22, 30, 0) 100%); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); }

/* ---------- 三步 ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 32px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); }
.step-no { display: inline-block; font-size: 34px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* ---------- 功能 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { position: relative; padding: 28px 26px 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); overflow: hidden; }
.feature::before { content: ""; position: absolute; left: 26px; top: 0; width: 36px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); }
.feature h3 { font-size: 19px; margin: 6px 0 10px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--card-line); }
.faq-item { border-bottom: 1px solid var(--card-line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 26px; line-height: 1; color: var(--mint); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary h3 { font-size: 18px; font-weight: 600; }
.faq-item p { padding: 0 4px 24px; color: var(--ink-soft); }

/* ---------- 加入 ---------- */
.join-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 56px; border-radius: 28px;
  background: radial-gradient(ellipse 80% 120% at 100% 0%, rgba(0, 230, 118, 0.18) 0%, rgba(0, 230, 118, 0) 60%), var(--card);
  border: 1px solid rgba(57, 255, 136, 0.22);
}
.join h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.join p { color: var(--ink-soft); max-width: 560px; }
.qr-wrap { text-align: center; flex: none; }
.qr-wrap img { border-radius: 14px; background: #fff; padding: 10px; margin-bottom: 8px; }
.qr-wrap p { font-size: 13px; }

/* ---------- 页脚 ---------- */
.site-footer { padding: 48px 0 32px; border-top: 1px solid rgba(57, 255, 136, 0.08); font-size: 14px; color: var(--ink-soft); }
.footer-main { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-brand-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--ink); font-size: 16px; }
.footer-brand-top img { border-radius: 8px; }
.footer-col h4 { color: var(--ink); font-size: 15px; margin-bottom: 10px; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--mint); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 20px; border-top: 1px solid rgba(234, 255, 243, 0.06); font-size: 13px; color: var(--ink-faint); }
.sep { margin: 0 10px; opacity: .4; }

/* ---------- 进场动画（仅 JS 可用时隐藏，保证爬虫可见） ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-globe { max-width: 520px; margin: 0 auto; width: 100%; }
  .steps, .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 18px;
    background: rgba(7, 11, 16, 0.97); border-bottom: 1px solid rgba(57, 255, 136, 0.1);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(234, 255, 243, 0.06); }
  .nav-links .btn { margin-top: 14px; width: 100%; }
  .hero { padding: 36px 0 48px; }
  .section { padding: 64px 0; }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .join-inner { flex-direction: column; text-align: center; padding: 36px 22px; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
