:root {
  --paper: #0d121d;
  --paper-soft: #121a28;
  --ink: #eef3ff;
  --muted: #b1bdd4;
  --line: rgba(255, 255, 255, 0.08);
  --green: #78b889;
  --green-dark: #355343;
  --blue: #6f8cc2;
  --blue-deep: #1c2d4c;
  --rose: #e08d68;
  --gold: #f0c56d;
  --gold-soft: #ffe3a0;
  --ember: #ff9f5f;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --header-height: 72px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 460px at 15% 10%, rgba(112, 140, 194, 0.14), transparent 52%),
    radial-gradient(760px 320px at 84% 0%, rgba(240, 197, 109, 0.13), transparent 45%),
    radial-gradient(600px 240px at 50% 100%, rgba(255, 159, 95, 0.08), transparent 55%),
    linear-gradient(180deg, #070b12 0%, #0b111c 46%, #070b12 100%);
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 240px at 50% 0%, rgba(255, 255, 255, 0.04), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 20%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.015) 0,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px,
      transparent 18px
    );
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

strong {
  color: var(--gold-soft);
  font-weight: 800;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

button {
  font: inherit;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 100;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.65rem 0.9rem;
  clip: auto;
  color: #111;
  background: var(--gold);
  border-radius: var(--radius);
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  color: #fff;
  background: rgba(8, 12, 20, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 197, 109, 0.55), transparent);
  opacity: 0.7;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(12, 18, 30, 0.94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.18),
    0 0 0 6px rgba(240, 197, 109, 0.08);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  padding: 0.45rem 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-download {
  padding: 0.45rem 0.85rem;
  color: #111;
  background: linear-gradient(135deg, var(--gold), #ffe09a 60%, #fff0c3);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(240, 197, 109, 0.16);
}

.site-header.is-scrolled .nav-download,
.site-header.is-open .nav-download {
  color: #111;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-bg,
.hero-bg img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 10, 16, 0.86), rgba(9, 13, 22, 0.42) 48%, rgba(20, 28, 42, 0.12)),
    linear-gradient(0deg, rgba(7, 10, 16, 0.8), rgba(7, 10, 16, 0.08) 54%);
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 300px at 22% 22%, rgba(240, 197, 109, 0.12), transparent 50%),
    radial-gradient(680px 260px at 82% 28%, rgba(111, 140, 194, 0.12), transparent 48%),
    linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.03) 36% 37%, transparent 37% 100%);
}

.hero-content {
  padding: calc(var(--header-height) + 72px) 0 56px;
}

.eyebrow {
  margin-bottom: 0.65rem;
  color: var(--gold);
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  position: relative;
  padding-left: 1.25rem;
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 0.8rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(240, 197, 109, 0.2));
}

.hero .eyebrow {
  color: #f0d58c;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  color: #f0d58c;
  text-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  color: #e3ecff;
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.5rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(111, 140, 194, 0.15));
}

h3 {
  font-size: 1.18rem;
}

.hero-subtitle {
  max-width: 660px;
  margin: 1.15rem 0 1.6rem;
  color: rgba(238, 243, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.btn.primary {
  color: #16120a;
  background: linear-gradient(135deg, var(--gold), #ffe29b 58%, #fff3d0);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 26px rgba(240, 197, 109, 0.2);
}

.btn.secondary {
  color: #f1f5ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.btn.compact {
  color: #111;
  background: linear-gradient(135deg, var(--green), #9fe0b0);
  box-shadow: 0 12px 26px rgba(120, 184, 137, 0.16);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1px;
  max-width: 760px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(8, 13, 22, 0.72);
  backdrop-filter: blur(14px);
}

.hero-facts > div {
  transition: background-color 180ms ease, transform 180ms ease;
}

.hero-facts > div:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.hero-facts div {
  min-width: 0;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.hero-facts dt {
  color: rgba(238, 243, 255, 0.7);
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 0.78rem;
}

.hero-facts dd {
  margin: 0.1rem 0 0;
  font-weight: 700;
}

.intro-strip {
  background:
    linear-gradient(90deg, rgba(240, 197, 109, 0.08), transparent 30%, transparent 70%, rgba(111, 140, 194, 0.08)),
    var(--paper-soft);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.4rem;
  align-items: center;
  padding: 1.4rem 0;
}

.intro-grid p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  color: #dfe9ff;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-weight: 700;
  white-space: nowrap;
}

.text-link::after {
  content: " ->";
}

.section {
  padding: 96px 0;
}

.section + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.intro-section,
.guide-section,
.faq-section {
  background: var(--paper);
}

.content-section,
.updates-section {
  background: var(--paper-soft);
}

.gallery-section {
  background:
    radial-gradient(800px 300px at 20% 0%, rgba(112, 140, 194, 0.08), transparent 45%),
    linear-gradient(180deg, #111827 0%, #0e1420 100%);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.88fr);
  gap: 54px;
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.02fr);
}

.section-copy > p:not(.eyebrow),
.section-heading p,
.faq-intro p,
.guide-layout p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 0.72rem;
  margin-top: 1.2rem;
}

.feature-list li {
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
}

.media-panel,
.wide-image,
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%),
    #121826;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.media-panel::before,
.wide-image::before,
.gallery-grid figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240, 197, 109, 0.08), transparent 38%, transparent 62%, rgba(111, 140, 194, 0.08));
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.media-panel:hover::before,
.wide-image:hover::before,
.gallery-grid figure:hover::before {
  opacity: 1;
}

.media-panel img,
.wide-image img,
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 600ms ease;
}

.wide-image img {
  aspect-ratio: 16 / 7;
}

.media-panel:hover img,
.wide-image:hover img,
.gallery-grid figure:hover img {
  transform: scale(1.035);
}

.media-panel:hover,
.wide-image:hover,
.gallery-grid figure:hover,
.info-card:hover,
.steps article:hover,
.timeline article:hover,
.faq-list details:hover,
.guide-list li:hover {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

figcaption {
  padding: 0.85rem 1rem;
  color: var(--muted);
  background: rgba(11, 16, 26, 0.86);
  font-size: 0.92rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading p {
  max-width: 760px;
}

.content-showcase {
  display: grid;
  gap: 28px;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.steps article,
.timeline article,
.faq-list details,
.guide-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
    rgba(17, 24, 38, 0.88);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.info-card:hover,
.steps article:hover,
.timeline article:hover,
.faq-list details:hover,
.guide-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 197, 109, 0.22);
}

.info-card {
  padding: 1.25rem;
}

.info-card h3 {
  margin-bottom: 0.45rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 1.3rem;
}

.steps article {
  padding: 1rem;
}

.steps strong {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.5rem;
  line-height: 1;
}

.steps p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(340px, 1fr);
  gap: 36px;
  align-items: start;
  margin-top: 64px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.guide-list {
  display: grid;
  gap: 12px;
  counter-reset: route;
}

.guide-list li {
  position: relative;
  padding: 1rem 1rem 1rem 3.2rem;
  counter-increment: route;
}

.guide-list li::before {
  content: counter(route);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  color: #111;
  background: linear-gradient(135deg, var(--gold), #ffe09b);
  border-radius: 50%;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.guide-list span {
  display: block;
  font-weight: 800;
}

.guide-list small {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline article {
  position: relative;
  padding: 1.2rem 1.25rem 1.2rem 1.5rem;
  border-left: 4px solid var(--gold);
}

.timeline article::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(240, 197, 109, 0.95), rgba(112, 140, 194, 0.35));
}

.timeline time {
  display: inline-flex;
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.timeline p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: 42px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0.95rem 1.1rem;
}

.faq-list details[open] {
  border-color: rgba(240, 197, 109, 0.28);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list summary::marker {
  color: var(--gold);
}

.faq-list p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 34px 0;
  color: rgba(238, 243, 255, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 20%),
    #0a0f18;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.4rem;
  align-items: center;
}

.footer-grid p {
  margin: 0.25rem 0 0;
  color: rgba(238, 243, 255, 0.68);
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-heading h2,
.section-copy h2,
.faq-intro h2 {
  display: inline-block;
}

.section-heading h2::after,
.section-copy h2::after,
.faq-intro h2::after {
  width: 4rem;
}

.site-nav a:focus-visible,
.brand:focus-visible,
.btn:focus-visible,
.text-link:focus-visible,
.skip-link:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid rgba(240, 197, 109, 0.85);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

@media (max-width: 920px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    padding: 0;
  }

  .header-inner {
    width: min(1160px, calc(100% - 40px));
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--header-height) + 10px);
    display: grid;
    gap: 0;
    padding: 0.65rem;
    color: var(--ink);
    background: rgba(12, 18, 30, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-right: 0;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.8rem 0.75rem;
  }

  .nav-download {
    padding: 0.8rem 0.75rem;
    border-radius: var(--radius);
  }

  .site-nav a,
  .nav-download {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-nav .nav-download {
    margin-top: 0.35rem;
    color: #111;
    background: linear-gradient(135deg, var(--gold), #ffe29b 60%, #fff3d0);
    border-color: rgba(255, 226, 155, 0.4);
    box-shadow: 0 12px 24px rgba(240, 197, 109, 0.16);
    font-weight: 800;
    text-align: center;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    padding-bottom: 36px;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .intro-grid,
  .split-layout,
  .split-layout.reverse,
  .guide-layout,
  .faq-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .section-inner {
    width: min(100% - 28px, 1160px);
  }

  .brand span {
    font-size: 0.98rem;
  }

  .hero {
    min-height: 84vh;
  }

  .header-inner {
    width: min(100% - 28px, 1160px);
  }

  .hero-bg img {
    object-position: 55% center;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 56px);
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }

  h2 {
    font-size: 1.65rem;
  }

  h2::after {
    width: 3rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-facts,
  .system-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .media-panel img,
  .wide-image img,
  .gallery-grid img {
    aspect-ratio: 4 / 3;
  }

  .guide-layout {
    gap: 22px;
    margin-top: 42px;
    padding-top: 30px;
  }
}
