/* Folia · 全屏沉浸式歌词播放器 下载落地页（独立样式 · 雾蓝主题） */
:root {
  --bg: #060a12;
  --bg-soft: #0a1020;
  --card: #0e1626;
  --card-2: #121d33;
  --line: #1d2b45;
  --line-2: #2a3d5e;
  --text: #eef3ff;
  --dim: #a4b6d4;
  --faint: #6c7f9d;
  --blue: #7fb2ff;
  --blue-2: #c2ddff;
  --lav: #b3a8ff;
  --gold: #f2c979;
  --r: 18px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(1200px 540px at 78% -140px, rgba(127,178,255,.13), transparent 62%),
    radial-gradient(900px 460px at 4% -100px, rgba(179,168,255,.10), transparent 58%),
    var(--bg);
  color: var(--text);
  line-height: 1.72;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶栏 ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6,10,18,.82);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
nav { display: flex; align-items: center; gap: 12px; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.02rem; }
.brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.brand small { font-weight: 400; color: var(--faint); font-size: .72rem; letter-spacing: .06em; }
nav .spacer { flex: 1; }
nav .navlink { color: var(--dim); font-size: .9rem; padding: 6px 4px; transition: color .15s; }
nav .navlink:hover { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--lav));
  color: #071018; font-weight: 800; font-size: .86rem;
  padding: 8px 16px; border-radius: 10px; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(127,178,255,.25);
}
.nav-cta:active { transform: scale(.98); }

/* ---------- Hero ---------- */
.hero { padding: 54px 0 26px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 46px; align-items: center; }
.app-icon {
  width: 86px; height: 86px; border-radius: 22px; display: block;
  box-shadow: 0 18px 44px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08) inset, 0 0 44px rgba(127,178,255,.22);
}
.hero h1 { font-size: 2.42rem; line-height: 1.24; margin: 18px 0 12px; letter-spacing: .01em; font-weight: 800; }
.hero h1 .hl {
  background: linear-gradient(135deg, var(--blue-2) 10%, var(--lav) 55%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .sub { color: var(--dim); font-size: 1.04rem; max-width: 480px; }
.hero .meta { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: .78rem; color: var(--dim); background: var(--card);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
.chip.blue { color: var(--blue-2); border-color: rgba(127,178,255,.42); }

.cta-row { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.btn-download {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--blue), var(--lav));
  color: #071018; font-weight: 800; font-size: 1rem;
  padding: 14px 24px; border-radius: 14px;
  box-shadow: 0 12px 30px rgba(127,178,255,.24);
  transition: transform .12s, box-shadow .12s, filter .15s;
}
.btn-download:hover { filter: brightness(1.06); box-shadow: 0 16px 38px rgba(179,168,255,.3); }
.btn-download:active { transform: translateY(1px) scale(.99); }
.btn-download svg { width: 20px; height: 20px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); color: var(--text); font-weight: 700; font-size: .98rem;
  border: 1px solid var(--line-2); padding: 14px 22px; border-radius: 14px;
  transition: border-color .15s, background .15s;
}
.btn-ghost:hover { border-color: var(--blue); background: var(--card-2); }
.btn-ghost small { color: var(--faint); font-weight: 400; font-size: .76rem; }
.cta-note { margin-top: 12px; color: var(--faint); font-size: .82rem; }
.cta-note a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.cta-note a:hover { color: var(--blue-2); }

/* Hero 右侧截图框 */
.hero-visual { position: relative; }
.shot-frame {
  border-radius: 16px; overflow: hidden; border: 1px solid rgba(127,178,255,.22);
  background: #05080f;
  box-shadow: 0 40px 90px rgba(0,0,0,.65), 0 0 90px rgba(127,178,255,.10);
}
.shot-bar {
  height: 30px; background: #0a121f; border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; gap: 6px; padding: 0 12px;
}
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c3b52; }
.shot-bar i:nth-child(1) { background: #ff5f57; }
.shot-bar i:nth-child(2) { background: #febc2e; }
.shot-bar i:nth-child(3) { background: #28c840; }
.shot-bar span { margin-left: 10px; font-size: .72rem; color: var(--faint); }
.shot-frame img { display: block; width: 100%; }
.hero-visual .glow {
  position: absolute; inset: -10% -12% -18%; z-index: -1;
  background: radial-gradient(closest-side, rgba(127,178,255,.16), transparent 72%);
  filter: blur(6px);
}

/* ---------- 区块 ---------- */
section.block { padding: 60px 0 6px; }
.sec-head { text-align: center; margin-bottom: 34px; }
.sec-head h2 { font-size: 1.68rem; letter-spacing: .01em; }
.sec-head p { color: var(--dim); margin-top: 8px; font-size: .98rem; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px;
  transition: transform .15s, border-color .15s;
}
.feat:hover { transform: translateY(-3px); border-color: rgba(127,178,255,.42); }
.feat .ic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(127,178,255,.12); margin-bottom: 14px;
}
.feat .ic svg { width: 22px; height: 22px; stroke: var(--blue-2); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feat p { color: var(--dim); font-size: .88rem; }

/* ---------- 主题画廊 ---------- */
.themes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.theme {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: #05080f; display: block;
  transition: transform .18s, border-color .18s;
}
.theme:hover { transform: translateY(-3px); border-color: rgba(127,178,255,.5); }
.theme img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.theme .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(4,7,13,.88));
  display: flex; align-items: baseline; gap: 8px;
}
.theme .cap b { font-size: 1rem; }
.theme .cap span { font-size: .72rem; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; }
.themes-note { margin-top: 14px; text-align: center; color: var(--faint); font-size: .82rem; }

/* ---------- 界面对比 ---------- */
.uis { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; align-items: start; }
.ui { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #05080f; }
.ui img { display: block; width: 100%; }
.ui .ui-cap { padding: 12px 16px; font-size: .82rem; color: var(--dim); border-top: 1px solid var(--line); background: var(--card); }
.ui .ui-cap b { color: var(--text); }

/* ---------- 平台下载 ---------- */
.plats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plat {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.plat.primary { border-color: rgba(127,178,255,.45); box-shadow: 0 0 0 1px rgba(127,178,255,.12) inset, 0 20px 50px rgba(0,0,0,.4); }
.plat .os { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.02rem; }
.plat .os svg { width: 22px; height: 22px; fill: var(--blue-2); }
.plat .os .tag { font-size: .68rem; font-weight: 400; color: var(--blue-2); border: 1px solid rgba(127,178,255,.4); border-radius: 999px; padding: 1px 8px; }
.plat .file { color: var(--faint); font-size: .76rem; word-break: break-all; }
.plat .size { color: var(--dim); font-size: .82rem; }
.plat .btn-download { margin-top: 14px; justify-content: center; font-size: .94rem; padding: 12px 18px; }
.plat .btn-ghost { margin-top: 10px; justify-content: center; font-size: .9rem; padding: 11px 18px; }
.plats-note { margin-top: 16px; color: var(--faint); font-size: .82rem; text-align: center; }

/* ---------- 安装步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 22px 22px;
}
.step .num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--lav)); color: #071018;
  font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { color: var(--dim); font-size: .86rem; }
.step .kbd, .qa .a .kbd {
  display: inline-block; background: var(--card-2); border: 1px solid var(--line);
  border-radius: 6px; padding: 1px 7px; font-size: .82rem; color: var(--blue-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.install-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.install-col { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.install-col h3 { font-size: 1rem; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.install-col h3 svg { width: 20px; height: 20px; fill: var(--blue-2); }
.install-col ol { margin: 0; padding-left: 20px; color: var(--dim); font-size: .88rem; }
.install-col ol li { margin-bottom: 8px; }
.install-col ol li b { color: var(--text); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.qa { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.qa summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; font-size: .95rem;
  display: flex; align-items: center; gap: 10px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; margin-left: auto; color: var(--blue); font-size: 1.3rem; font-weight: 400; transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa .a { padding: 0 20px 18px; color: var(--dim); font-size: .89rem; }
.qa .a b, .qa .a strong { color: var(--text); }

/* ---------- 下载大卡 ---------- */
.cta-band {
  margin: 62px 0 0; border-radius: 26px; padding: 42px 34px; text-align: center;
  background:
    radial-gradient(620px 240px at 50% -70px, rgba(127,178,255,.18), transparent 70%),
    var(--card);
  border: 1px solid rgba(127,178,255,.25);
}
.cta-band h2 { font-size: 1.55rem; }
.cta-band p { color: var(--dim); margin: 8px 0 22px; font-size: .94rem; }
.cta-band .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .alt { margin-top: 16px; font-size: .8rem; color: var(--faint); line-height: 1.8; }

/* ---------- 来源与声明 ---------- */
.origin {
  margin-top: 34px; padding: 20px 22px; border-radius: 14px;
  border: 1px dashed var(--line-2); background: rgba(255,255,255,.02);
  color: var(--faint); font-size: .82rem; line-height: 1.8;
}
.origin a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.origin a:hover { color: var(--blue-2); }
.origin b { color: var(--dim); }

/* ---------- 微信二维码弹窗 ---------- */
.wx-link { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wx-link:hover { color: var(--lav); }
.wx-mask {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(3,6,11,.74); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 24px;
}
.wx-mask.show { display: flex; }
.wx-box {
  position: relative; width: 100%; max-width: 330px; text-align: center;
  background: var(--card-2); border: 1px solid var(--line); border-radius: 22px;
  padding: 30px 26px 24px; box-shadow: 0 40px 100px rgba(0,0,0,.6);
  animation: wxPop .18s ease-out;
}
@keyframes wxPop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.wx-box h3 { font-size: 1.15rem; }
.wx-sub { color: var(--dim); font-size: .85rem; margin-top: 6px; }
.wx-box img {
  display: block; width: 224px; max-width: 78%; height: auto; margin: 18px auto 0;
  background: #fff; padding: 10px; border-radius: 14px;
}
.wx-tip { color: var(--faint); font-size: .78rem; margin-top: 14px; line-height: 1.6; }
.wx-close {
  position: absolute; right: 10px; top: 8px; width: 36px; height: 36px;
  background: none; border: 0; color: var(--dim); font-size: 1.5rem; line-height: 1;
  cursor: pointer; border-radius: 50%;
}
.wx-close:hover { color: var(--text); background: rgba(255,255,255,.06); }

/* ---------- 页脚 ---------- */
footer { margin-top: 68px; border-top: 1px solid var(--line); padding: 30px 20px; text-align: center; color: var(--faint); font-size: .82rem; }
footer a { color: var(--dim); }
footer a:hover { color: var(--blue-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: 36px 0 8px; text-align: center; }
  .hero .sub { margin: 0 auto; }
  .hero .meta, .cta-row { justify-content: center; }
  .app-icon { margin: 0 auto; }
  .hero-visual { order: -1; }
  .hero h1 { font-size: 2rem; }
  .feat-grid, .steps, .plats { grid-template-columns: 1fr; }
  .uis { grid-template-columns: 1fr; }
  .install-split { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .themes { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.72rem; }
  .btn-download, .btn-ghost { width: 100%; justify-content: center; }
  nav .navlink { display: none; }
  .brand small { display: none; }
  .cta-band { padding: 32px 20px; }
}
