:root {
  --night: #041313;
  --night-2: #071f1e;
  --card: rgba(9, 38, 35, 0.72);
  --card-solid: #09211f;
  --line: rgba(166, 226, 203, 0.14);
  --gold: #f4cf89;
  --gold-bright: #ffe3a9;
  --mint: #8fe8c0;
  --foam: #d9e7df;
  --muted: #8ba39b;
  --rose: #f2b1b8;
  --serif: "New York", "Iowan Old Style", "Songti SC", "STSong", "Noto Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max: 1140px;
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section, details { scroll-margin-top: 92px; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--foam);
  background: var(--night);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 700px at 12% 10%, rgba(78, 192, 151, 0.13), transparent 62%),
    radial-gradient(760px 620px at 88% 6%, rgba(244, 207, 137, 0.10), transparent 65%),
    radial-gradient(900px 900px at 55% 95%, rgba(33, 105, 114, 0.15), transparent 70%),
    linear-gradient(140deg, #041313 0%, #071e1c 50%, #071a22 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.40;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 227, 169, 0.8), transparent),
    radial-gradient(1px 1px at 28% 68%, rgba(143, 232, 192, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 63% 14%, rgba(255, 227, 169, 0.6), transparent),
    radial-gradient(1px 1px at 82% 38%, rgba(143, 232, 192, 0.6), transparent),
    radial-gradient(1px 1px at 74% 78%, rgba(255, 227, 169, 0.5), transparent),
    radial-gradient(1px 1px at 42% 44%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(2px 2px at 92% 62%, rgba(143, 232, 192, 0.5), transparent);
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }

html[data-lang="zh"] .lang-en, html[data-lang="en"] .lang-zh { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(4, 19, 19, 0.72);
  border-bottom: 1px solid rgba(166, 226, 203, 0.08);
}
.nav {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
  flex-shrink: 0;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 0 18px rgba(244, 207, 137, 0.25);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--foam); }
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 999px;
  padding: 2px;
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}
html[data-lang="zh"] .lang-switch button[data-set-lang="zh"],
html[data-lang="en"] .lang-switch button[data-set-lang="en"] {
  background: rgba(244, 207, 137, 0.16);
  color: var(--gold-bright);
}

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.hero {
  padding: 54px 0 76px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 54px;
  align-items: center;
  min-height: min(760px, calc(100vh - 68px));
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mint);
}
.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 7.2vw, 92px);
  line-height: 0.98;
  color: var(--gold-bright);
  letter-spacing: -0.025em;
  text-shadow: 0 0 45px rgba(244, 207, 137, 0.15);
}
.hero-cn {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 27px);
  letter-spacing: 0.36em;
  color: var(--gold);
}
.hero-copy {
  margin: 25px 0 0;
  max-width: 560px;
  font-size: 16px;
  color: rgba(217, 231, 223, 0.70);
  overflow-wrap: anywhere;
}
.hero > * { min-width: 0; }
.hero-copy p { margin: 0 0 12px; }
.hero-copy strong { color: var(--foam); font-weight: 600; }
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 25px 0 30px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}
.badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 51px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #16201b;
  background: linear-gradient(135deg, #ffedc4, #f4cf89 52%, #d8ae68);
  box-shadow: 0 12px 40px rgba(244, 207, 137, 0.22);
}
.btn-ghost {
  color: var(--mint);
  border-color: rgba(143, 232, 192, 0.21);
  background: rgba(255, 255, 255, 0.025);
}
.btn[aria-disabled="true"] { opacity: 0.78; cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; }

.hero-art { position: relative; width: 100%; max-width: 344px; justify-self: end; }
.hero-shot {
  position: relative;
  margin: 0;
  padding: 9px;
  border-radius: 39px;
  border: 1px solid rgba(244, 207, 137, 0.20);
  background: linear-gradient(155deg, rgba(255, 238, 196, 0.12), rgba(9, 38, 35, 0.62));
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.55), 0 0 100px rgba(82, 206, 163, 0.12);
  transform: rotate(1.7deg);
}
.hero-shot::before {
  content: "";
  position: absolute;
  inset: -22%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(244, 207, 137, 0.18), transparent 72%);
  filter: blur(30px);
}
.hero-shot img { border-radius: 31px; }
.hero-note {
  position: absolute;
  left: -24px;
  bottom: 28px;
  padding: 12px 15px;
  border-radius: 16px;
  border: 1px solid rgba(143, 232, 192, 0.20);
  background: rgba(5, 25, 24, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  font-size: 11px;
  color: var(--foam);
  line-height: 1.45;
}
.hero-note span { display: block; color: var(--muted); font-size: 10px; }

.section { padding: 94px 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-kicker {
  margin: 0 0 12px;
  color: var(--mint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.12;
  color: var(--foam);
  letter-spacing: -0.015em;
}
.lede {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 660px;
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature {
  padding: 25px 23px 23px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(13, 51, 46, 0.56), rgba(6, 27, 26, 0.42));
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.feature:hover { border-color: rgba(244, 207, 137, 0.24); transform: translateY(-3px); }
.feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(244, 207, 137, 0.08);
  border: 1px solid rgba(244, 207, 137, 0.13);
  color: var(--gold);
  font-size: 17px;
  margin-bottom: 17px;
}
.feature h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 20px; font-weight: 400; color: var(--gold-bright); }
.feature p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 5px 0 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 207, 137, 0.28) transparent;
}
.gallery::-webkit-scrollbar { height: 5px; }
.gallery::-webkit-scrollbar-thumb { background: rgba(244, 207, 137, 0.28); border-radius: 99px; }
.shot-card {
  flex: 0 0 252px;
  scroll-snap-align: start;
  margin: 0;
}
.shot-card img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(244, 207, 137, 0.13);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.30);
}
.shot-card figcaption { padding: 12px 3px 0; font-size: 11px; color: var(--muted); }
.shot-card figcaption strong { color: var(--foam); font-weight: 500; }

.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.step-no {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 27px;
  line-height: 1;
}
.step h3 { margin: 10px 0 7px; font-size: 14px; font-weight: 600; color: var(--foam); }
.step p { margin: 0; font-size: 12px; color: var(--muted); }

.chapters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px; }
.chapter {
  min-height: 176px;
  padding: 18px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(170deg, rgba(13, 51, 46, 0.46), rgba(5, 24, 24, 0.26));
}
.chapter .num { font-family: var(--serif); font-size: 24px; color: var(--gold); }
.chapter h3 { margin: 12px 0 4px; font-family: var(--serif); font-size: 17px; font-weight: 400; color: var(--foam); }
.chapter p { margin: 0; font-size: 10.5px; line-height: 1.55; color: var(--muted); }
.chapter small { display: block; margin-top: 13px; color: rgba(143, 232, 192, 0.55); font-size: 9px; letter-spacing: 0.08em; }

.download-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
  padding: 42px;
  border-radius: 30px;
  border: 1px solid rgba(244, 207, 137, 0.16);
  background:
    radial-gradient(500px 260px at 90% 0%, rgba(244, 207, 137, 0.10), transparent 70%),
    linear-gradient(155deg, rgba(15, 58, 51, 0.72), rgba(5, 24, 25, 0.72));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
}
.download-card h2 { font-size: clamp(30px, 3.5vw, 42px); }
.download-card .actions { margin-top: 22px; }
.download-meta { border-left: 1px solid var(--line); padding-left: 30px; display: grid; gap: 13px; }
.download-meta div { font-size: 12px; color: var(--muted); }
.download-meta strong { display: block; color: var(--foam); font-size: 13px; font-weight: 500; margin-bottom: 1px; }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 34px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  color: var(--foam);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 20px; font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.7; }

.legal-shell { max-width: 860px; margin: 0 auto; }
.legal-doc { display: grid; gap: 28px; }
.legal-doc article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.legal-doc h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 20px; font-weight: 400; color: var(--gold-bright); }
.legal-doc p, .legal-doc li { margin: 0; color: rgba(217, 231, 223, 0.65); font-size: 13px; line-height: 1.85; }
.legal-doc ul { margin: 8px 0 0; padding-left: 20px; }
.legal-doc li { margin-bottom: 4px; }
.legal-meta { color: var(--muted) !important; font-size: 11px !important; }
.legal-callout {
  margin: 0 0 5px;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid rgba(143, 232, 192, 0.15);
  background: rgba(143, 232, 192, 0.045);
  color: var(--mint) !important;
  font-size: 12px !important;
}
details.legal-fold {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.018);
  padding: 0 22px;
}
details.legal-fold > summary {
  cursor: pointer;
  list-style: none;
  padding: 21px 0;
  font-family: var(--serif);
  font-size: 23px;
  color: var(--foam);
}
details.legal-fold > summary::-webkit-details-marker { display: none; }
details.legal-fold > summary::after { content: "＋"; float: right; color: var(--gold); font-family: var(--sans); font-size: 18px; }
details.legal-fold[open] > summary::after { content: "−"; }
details.legal-fold .legal-doc { padding: 0 0 25px; }

.page-hero { padding: 72px 0 36px; max-width: 860px; }
.page-hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 70px); color: var(--gold-bright); line-height: 1; }
.page-hero p { margin: 16px 0 0; color: var(--muted); font-size: 14px; }

.support-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 22px 0 0;
}
.support-box {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}
.support-box h2 { font-size: 23px; }
.support-box p { color: var(--muted); font-size: 12.5px; }
.support-box a.mail { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(244, 207, 137, 0.35); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  margin-top: 40px;
}
.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--gold); font-family: var(--serif); font-size: 18px; }
.footer-brand img { width: 24px; height: 24px; border-radius: 7px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; color: var(--muted); font-size: 11px; }
.footer-links a:hover { color: var(--foam); }
.copyright { width: 100%; color: rgba(139, 163, 155, 0.55); font-size: 10px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }

.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .btn, .feature { transition: none; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 46px; min-height: 0; }
  .hero-art { width: min(340px, 82%); max-width: 340px; margin: 0 auto; justify-self: center; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .chapters { grid-template-columns: 1fr 1fr 1fr; }
  .download-card { grid-template-columns: 1fr; }
  .download-meta { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { width: calc(100% - 32px); height: 60px; }
  .brand { min-width: 0; }
  .nav-links { display: none; }
  .lang-switch { margin-left: auto; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 38px 0 56px; gap: 32px; }
  .display { font-size: clamp(52px, 15vw, 76px); }
  .hero-cn { letter-spacing: 0.25em; }
  .hero-copy { font-size: 14.5px; max-width: 100%; }
  .hero-copy-block { width: 100%; max-width: 100%; min-width: 0; }
  .hero-art { width: min(310px, 86%); }
  .hero-note { left: -8px; bottom: 16px; }
  .section { padding: 64px 0; }
  .feature-grid, .faq, .support-card { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: 1fr 1fr; }
  .download-card { padding: 28px 22px; }
  .download-meta { grid-template-columns: 1fr; }
  .shot-card { flex-basis: 216px; }
  .page-hero { padding-top: 48px; }
  .footer-inner { width: calc(100% - 32px); }
}
@media (max-width: 420px) {
  .actions .btn { width: 100%; }
  .how-grid { grid-template-columns: 1fr; }
}
