/* 深空屏保 · 产品介绍页（独立静态页，不进主 bundle；CSP 友好：无内联样式/脚本） */

:root {
  --bg: #05060a;
  --bg2: #0b0d14;
  --gold: #d4af37;
  --gold-soft: #b8952e;
  --text: #e8e5dc;
  --muted: #9a9da6;
  --line: rgba(212, 175, 55, .22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "Noto Sans CJK SC", "PingFang SC", system-ui, sans-serif;
  line-height: 1.7;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 96px 24px 64px;
  text-align: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("/images/voyage/voyage-2.jpg") center / cover no-repeat;
  opacity: .38;
  filter: saturate(1.05);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, transparent 30%, var(--bg) 88%),
              linear-gradient(transparent 55%, var(--bg));
}
.hero__inner { position: relative; max-width: 760px; margin: 0 auto; }
.lang-toggle {
  position: absolute; top: -8px; right: 0;
  background: rgba(255,255,255,.06); color: var(--muted);
  border: 1px solid rgba(255,255,255,.15); border-radius: 999px;
  padding: 5px 14px; font-size: 12px; letter-spacing: .12em;
  cursor: pointer; transition: all .2s;
}
.lang-toggle:hover { color: var(--gold); border-color: var(--gold); }
.hero__kicker { color: var(--gold); letter-spacing: .35em; font-size: 13px; }
.hero h1 {
  font-size: clamp(44px, 8vw, 76px);
  letter-spacing: .12em;
  margin: 12px 0 16px;
  background: linear-gradient(180deg, #f4ecd2, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub { color: var(--muted); font-size: 16px; }

.hero__dl { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 36px 0 14px; }
.dl-btn {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 240px; padding: 16px 26px;
  border-radius: 10px; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.dl-btn b { font-size: 18px; letter-spacing: .06em; }
.dl-btn span { font-size: 12.5px; opacity: .75; }
.dl-btn--gold {
  background: linear-gradient(180deg, #e6c65a, var(--gold-soft));
  color: #14110a; font-weight: 700;
  box-shadow: 0 6px 26px rgba(212, 175, 55, .28);
}
.dl-btn--ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.03); }
.dl-btn:hover { transform: translateY(-2px); }
.dl-btn--gold:hover { box-shadow: 0 10px 34px rgba(212, 175, 55, .4); }
.hero__hint { color: var(--muted); font-size: 13px; }

/* 屏保画面预览卡：复刻轮播字幕 */
.preview {
  position: relative; max-width: 880px; margin: 44px auto 0;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
}
.preview img { display: block; width: 100%; }
.preview__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 46px 28px 22px; text-align: left;
  background: linear-gradient(transparent, rgba(2,3,6,.9) 70%);
}
.preview__stage { display: block; color: var(--gold); font-size: 13px; letter-spacing: .2em; }
.preview__title { display: block; color: #fff; font-size: 22px; font-weight: 700; margin-top: 2px; }

/* ===== 主体 ===== */
.page { max-width: 860px; margin: 0 auto; padding: 24px 24px 40px; }
.page h2 { color: var(--gold); font-size: 22px; letter-spacing: .1em; margin: 44px 0 20px; }
.page h2::before { content: "◆ "; font-size: 13px; vertical-align: 2px; }

.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.feat {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 18px; background: var(--bg2);
}
.feat b { color: #f0e6c8; display: block; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 14px; }

.guide__os {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 20px 22px; margin-bottom: 16px; background: var(--bg2);
}
.guide__os h3 { color: #f0e6c8; margin-bottom: 10px; }
.guide__os ol { padding-left: 22px; }
.guide__os li { margin: 6px 0; font-size: 15px; }
.guide__note { color: var(--muted); font-size: 13.5px; margin-top: 10px; }
code {
  font-family: Consolas, "JetBrains Mono", monospace;
  background: rgba(212,175,55,.1); color: #e6d291;
  padding: 1px 7px; border-radius: 4px; font-size: 13px;
}
.cmdline {
  display: flex; align-items: center; gap: 10px;
  background: #0a0c12; border: 1px solid var(--line);
  border-radius: 8px; padding: 12px 14px; margin: 10px 0 14px;
}
.cmdline code { flex: 1; background: none; padding: 0; font-size: 14px; }
.copy-btn {
  border: 1px solid var(--line); background: none; color: var(--gold);
  border-radius: 6px; padding: 5px 14px; cursor: pointer; font-size: 13px;
}
.copy-btn:hover { background: rgba(212,175,55,.12); }
.copy-btn.is-done { color: #7ed88f; border-color: rgba(126,216,143,.4); }

.faq details {
  border: 1px solid rgba(255,255,255,.08); border-radius: 8px;
  margin-bottom: 10px; background: var(--bg2);
}
.faq summary { cursor: pointer; padding: 13px 18px; font-size: 15px; color: #e8dfc2; list-style: none; }
.faq summary::before { content: "▸ "; color: var(--gold); }
.faq details[open] summary::before { content: "▾ "; }
.faq details p { padding: 0 18px 14px 36px; color: var(--muted); font-size: 14px; }

.backlink { margin-top: 36px; text-align: center; }
.backlink a { color: var(--gold); text-decoration: none; font-size: 15px; }
.backlink a:hover { text-decoration: underline; }

.ps-footer {
  text-align: center; color: #6a6d75; font-size: 12.5px;
  padding: 22px 16px 30px; border-top: 1px solid rgba(255,255,255,.05);
}
.ps-footer a { color: #8d9099; }

@media (max-width: 560px) {
  .hero { padding-top: 64px; }
  .dl-btn { min-width: 100%; }
  .cmdline { flex-wrap: wrap; }
}
