/* ==========================================================================
   羽镜世界 · 宣传站设计系统（base）
   深色影院感 + 暖金质感：唯一视觉基调，首页与手册共用。
   只放设计令牌与通用组件，页面专属样式在 landing.css / manual.css。
   ========================================================================== */

:root {
  /* 底色：近黑，带极轻的暖冷双色偏，避免死黑 */
  --ink: #06060a;
  --ink-2: #0a0a10;
  --ink-3: #101017;

  /* 金：品牌主色，仅用于强调、分隔、CTA，绝不铺面 */
  --gold: #c9a227;
  --gold-lt: #f0dca8;
  --gold-dp: #8a6a12;
  --grad-gold: linear-gradient(120deg, #f7e9be 0%, #d9b455 38%, #c9a227 62%, #8a6a12 100%);
  --grad-gold-soft: linear-gradient(120deg, rgba(247, 233, 190, .18), rgba(201, 162, 39, .06));

  /* 冷色：仅用于技术数据/可信度标签，克制使用 */
  --cool: #6fa8c8;

  /* 文本三级 */
  --text: #f2efe9;
  --text-2: #a6a29a;
  --text-3: #6e6b65;

  /* 面与线 */
  --surface: rgba(255, 255, 255, .032);
  --surface-2: rgba(255, 255, 255, .055);
  --line: rgba(214, 178, 96, .16);
  --line-2: rgba(255, 255, 255, .08);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shell: 1180px;
  --nav-h: 68px;

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
    "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: Georgia, "Times New Roman", "Songti SC", serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 重置 ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.78;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.2; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code, kbd { font-family: "JetBrains Mono", Consolas, "Courier New", monospace; }

/* 全局颗粒：让纯深色背景有胶片质感，不用图片 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* ---------- 布局 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 26px;
  position: relative;
  z-index: 2;
}

.section { padding: 104px 0; position: relative; }
.section--tight { padding: 74px 0; }
.section--alt { background: linear-gradient(180deg, var(--ink), var(--ink-2) 42%, var(--ink)); }

/* 章节标题组 */
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--grad-gold);
}
.sec-head--center .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--grad-gold);
}

.sec-title {
  font-size: clamp(27px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -.012em;
  line-height: 1.24;
}
.sec-title em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sec-lead {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-2);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s, background .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(214, 178, 96, .42); background: var(--surface-2); }

.btn--gold {
  border: none;
  background: var(--grad-gold);
  color: #1a1405;
  font-weight: 700;
  box-shadow: 0 12px 34px -12px rgba(201, 162, 39, .7);
}
.btn--gold:hover { box-shadow: 0 18px 42px -12px rgba(201, 162, 39, .85); }

.btn--lg { height: 54px; padding: 0 34px; font-size: 15.5px; }
.btn--block { width: 100%; }

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 162, 39, .1), transparent 62%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--line); background: var(--surface-2); }
.card:hover::after { opacity: 1; }

.card__ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--grad-gold-soft);
  font-size: 19px;
}
.card__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.card__desc { font-size: 14px; line-height: 1.8; color: var(--text-2); }

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 标签 ---------- */
.tag {
  display: inline-block;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold-lt);
  background: rgba(201, 162, 39, .07);
}
.tag--cool { color: var(--cool); border-color: rgba(111, 168, 200, .3); background: rgba(111, 168, 200, .08); }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
}
.nav.is-stuck {
  background: rgba(6, 6, 10, .82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-2);
}
.nav__inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav__brand { display: flex; align-items: center; gap: 11px; }
.nav__brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav__brand b { font-size: 16.5px; font-weight: 800; letter-spacing: .06em; }
.nav__brand span {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--text-3);
  text-transform: uppercase;
}
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-2);
  transition: color .25s, background .25s;
}
.nav__links a:hover { color: var(--text); background: var(--surface); }
.nav__cta { margin-left: 10px; height: 40px; padding: 0 20px; font-size: 13.5px; }

/* ---------- 入场动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb-ring, .orb-core, .orb-glow { animation: none; }
}

/* ---------- 移动端下载提示（仅 JS 检测到手机 / 平板时显示） ---------- */
.dl-mobile {
  max-width: 620px;
  margin: 20px auto 0;
  padding: 13px 20px;
  border: 1px solid rgba(214, 178, 96, .38);
  border-radius: var(--radius-sm);
  background: rgba(201, 162, 39, .08);
  color: var(--gold-lt);
  font-size: 13.5px;
  line-height: 1.75;
  text-align: center;
}
.dl-mobile b { color: var(--text); }
/* 移动端被撤掉链接的下载按钮：保留按钮外观，明确不可点 */
.btn--disabled {
  opacity: .6;
  cursor: not-allowed;
}
.btn--disabled:hover { transform: none; border-color: var(--line); background: var(--surface); }

/* ---------- 提示块（首页与手册共用） ---------- */
.callout {
  margin: 18px 0 20px;
  padding: 17px 20px;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-2);
}
.callout b { color: var(--text); }
.callout--warn { border-left-color: #d98324; }
.callout--warn b { color: #f0b46a; }
.callout--cool { border-left-color: var(--cool); }
.callout__t { display: block; margin-bottom: 6px; font-weight: 700; color: var(--gold-lt); }
.callout--warn .callout__t { color: #f0b46a; }
.callout--cool .callout__t { color: var(--cool); }

/* ---------- 行内路径 / 标识（首页与手册共用） ---------- */
.mono {
  padding: 1px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, .035);
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: .92em;
  color: var(--gold-lt);
}

/* ---------- 限时折扣：折前原价（首页与手册共用） ---------- */
.price-old {
  margin-left: 6px;
  color: var(--text-3);
  font-size: .92em;
  font-weight: 400;
  text-decoration: line-through;
}

/* ---------- 价格来源说明（首页与手册共用） ---------- */
.price__src {
  margin-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.85;
}
.price__src b { color: var(--gold-lt); }

/* ---------- 页脚 ---------- */
.foot {
  border-top: 1px solid var(--line-2);
  background: var(--ink-2);
  padding: 58px 0 34px;
  position: relative;
  z-index: 2;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 34px;
  margin-bottom: 40px;
}
.foot__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.foot__brand img { width: 38px; height: 38px; border-radius: 10px; }
.foot__brand b { font-size: 17px; font-weight: 800; letter-spacing: .06em; }
.foot h5 { margin: 0 0 14px; font-size: 13px; letter-spacing: .16em; color: var(--gold-lt); text-transform: uppercase; }
.foot li { margin-bottom: 9px; }
.foot a, .foot p { font-size: 13.5px; color: var(--text-2); }
.foot a:hover { color: var(--gold-lt); }
.foot__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-3);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .section { padding: 72px 0; }
  .shell, .nav__inner { padding: 0 18px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .foot__grid { grid-template-columns: 1fr; gap: 26px; }
}
