:root {
  --bg: #1A1D24;
  --bg-soft: #232733;
  --panel: #2A2F3B;
  --panel-2: #3A3F4D;
  --text: #F5F6F9;
  --muted: #B8BEC9;
  --gold: #E5C158;
  --gold-dark: #A9862B;
  --line: rgba(245, 246, 249, 0.14);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon-svg {
  flex: 0 0 auto;
  width: 1.08em;
  height: 1.08em;
  padding: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  border-radius: 50%;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

p,
ul,
figure {
  margin: 0;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(18px, calc((100vw - var(--max)) / 2));
  background: rgba(26, 29, 36, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  color: var(--text);
}

.brand img {
  width: 54px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  font-size: 18px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-nav a .icon-svg {
  width: 24px;
  height: 24px;
  padding: 5px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(229, 193, 88, 0.08);
}

.site-nav a:hover .icon-svg,
.site-nav a.is-active .icon-svg {
  color: var(--gold);
}

.site-nav .nav-cta {
  padding: 9px 16px;
  color: #191A1E;
  font-weight: 800;
  background: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(229, 193, 88, 0.22);
}

.site-nav .nav-cta:hover {
  color: #191A1E;
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(229, 193, 88, 0.32);
}

.site-nav .nav-cta:hover .icon-svg,
.site-nav .nav-cta.is-active .icon-svg {
  color: #191A1E;
  background: transparent;
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
  transform-origin: center;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(26, 29, 36, 0.92) 0%, rgba(26, 29, 36, 0.66) 47%, rgba(26, 29, 36, 0.28) 100%),
    linear-gradient(0deg, rgba(26, 29, 36, 1) 0%, rgba(26, 29, 36, 0.1) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 132px;
  transform: translateX(calc((min(100vw, var(--max)) - min(760px, calc(100% - 36px))) / -2));
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12em;
  margin-top: 10px;
  font-size: 58px;
  font-weight: 900;
}

.hero-copy {
  max-width: 680px;
  margin-top: 18px;
  color: #E2E5EB;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn .icon-svg {
  width: 26px;
  height: 26px;
  padding: 5px;
}

.btn:hover .icon-svg {
  transform: translateY(-1px);
}

.btn-primary {
  color: #191A1E;
  background: linear-gradient(180deg, #F1D77D 0%, var(--gold) 58%, #C79F34 100%);
  box-shadow: 0 16px 34px rgba(229, 193, 88, 0.26);
}

.btn-primary:hover .icon-svg {
  color: #191A1E;
  background: transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(229, 193, 88, 0.34);
}

.btn-secondary {
  color: var(--text);
  background: rgba(58, 63, 77, 0.72);
  border-color: var(--line);
}

.btn-secondary:hover .icon-svg {
  color: var(--gold);
  background: transparent;
}

.btn-secondary:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(229, 193, 88, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.hero-stats {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  width: min(620px, calc(100% - 36px));
  transform: translateX(-50%);
  border: 1px solid var(--line);
  background: rgba(35, 39, 51, 0.78);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-stats div {
  padding: 18px 16px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-head {
  max-width: 790px;
  margin-bottom: 34px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.compact {
  max-width: 700px;
}

.section-head h2 {
  margin-top: 8px;
  font-size: 34px;
}

.section-head p:last-child {
  margin-top: 12px;
  color: var(--muted);
}

.split-layout,
.guide-layout,
.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.guide-layout {
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  align-items: start;
}

.feature-band {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
}

.panel,
.system-card,
.updates-grid article,
.faq-list details {
  background: linear-gradient(180deg, rgba(58, 63, 77, 0.72), rgba(35, 39, 51, 0.88));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.panel:hover,
.system-card:hover,
.updates-grid article:hover,
.faq-list details:hover {
  border-color: rgba(229, 193, 88, 0.55);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(229, 193, 88, 0.08) inset;
  transform: translateY(-4px);
}

.text-panel {
  padding: 28px;
}

.text-panel h3,
.feature-copy h3 {
  color: var(--text);
  font-size: 24px;
}

.text-panel p,
.feature-copy p {
  margin-top: 14px;
  color: #D9DDE5;
}

.image-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel-2);
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.image-frame img,
.wide-figure img,
.slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 420ms ease, filter 220ms ease;
}

.image-frame:hover,
.wide-figure:hover {
  border-color: rgba(229, 193, 88, 0.48);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  transform: translateY(-3px);
}

.image-frame:hover img,
.wide-figure:hover img,
.carousel:hover .slide.is-active img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.image-frame figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

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

.system-card {
  min-height: 220px;
  padding: 24px;
}

.system-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: var(--gold);
  background: rgba(229, 193, 88, 0.12);
  border: 1px solid rgba(229, 193, 88, 0.28);
  border-radius: 50%;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.system-card:hover .icon {
  color: #191A1E;
  background: var(--gold);
  border-color: var(--gold);
  transform: rotate(8deg) scale(1.08);
}

.system-card h3,
.updates-grid h3 {
  font-size: 19px;
}

.system-card p,
.updates-grid p,
.faq-list p {
  margin-top: 10px;
  color: var(--muted);
}

.wide-figure {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sticky-figure {
  position: sticky;
  top: 96px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.timeline article:first-child {
  padding-top: 0;
}

.timeline article:last-child {
  border-bottom: 0;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--gold);
  font-weight: 900;
  border: 1px solid rgba(229, 193, 88, 0.35);
  border-radius: 50%;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.timeline article:hover span {
  color: #191A1E;
  background: var(--gold);
  transform: scale(1.06);
}

.timeline article h3,
.updates-grid h3,
.system-card h3,
.feature-copy h3 {
  transition: color 180ms ease;
}

.timeline article:hover h3,
.updates-grid article:hover h3,
.system-card:hover h3 {
  color: var(--gold);
}

.timeline p {
  grid-column: 2;
  margin-top: 8px;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-left: 0;
  list-style: none;
  color: #D9DDE5;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}

.carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.carousel:hover {
  border-color: rgba(229, 193, 88, 0.5);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.carousel-track {
  position: relative;
  min-height: 420px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 280ms ease;
}

.slide.is-active {
  position: relative;
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  color: var(--text);
  line-height: 1;
  background: rgba(26, 29, 36, 0.78);
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.carousel-btn:hover {
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.06);
}

.carousel-btn .icon-svg {
  width: 22px;
  height: 22px;
}

.carousel-btn:hover .icon-svg {
  color: #191A1E;
  background: var(--gold);
}

.carousel-btn.prev {
  left: 14px;
}

.carousel-btn.next {
  right: 14px;
}

.updates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
}

.updates-grid article {
  width: 100%;
  padding: 22px 26px;
}

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

.faq-list details {
  padding: 0 20px;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 800;
  transition: color 180ms ease;
}

.faq-list details:hover summary,
.faq-list details[open] summary {
  color: var(--gold);
}

.faq-list p {
  padding-bottom: 18px;
  border-top: 1px solid var(--line);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 60px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(58, 63, 77, 0.94), rgba(35, 39, 51, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.final-cta:hover {
  border-color: rgba(229, 193, 88, 0.5);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  transform: translateY(-3px);
}

.final-cta h2 {
  margin-top: 6px;
  font-size: 30px;
}

.final-cta p:last-child {
  margin-top: 8px;
  color: var(--muted);
}

.partner-links {
  margin-top: 18px;
  padding: 52px 18px 58px;
  background: linear-gradient(135deg, rgba(26, 29, 36, 1) 0%, rgba(35, 39, 51, 0.98) 54%, rgba(58, 63, 77, 0.78) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partner-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  text-align: center;
}

.partner-kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.partner-inner h2 {
  margin-top: 8px;
  color: var(--text);
  font-size: 34px;
}

.partner-rule {
  width: 86px;
  height: 3px;
  margin: 12px auto 28px;
  background: linear-gradient(90deg, var(--gold), #F5F6F9, var(--gold));
  border-radius: 999px;
}

.partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.partner-list a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 22px;
  color: var(--text);
  font-weight: 800;
  background: rgba(58, 63, 77, 0.62);
  border: 1px solid rgba(245, 246, 249, 0.14);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.partner-list a::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(229, 193, 88, 0.74);
}

.partner-list a:hover {
  color: var(--gold);
  border-color: rgba(229, 193, 88, 0.62);
  background: rgba(229, 193, 88, 0.08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  transform: translateY(-3px);
}

.site-footer {
  padding: 28px clamp(18px, 4vw, 46px);
  color: var(--muted);
  background: #151820;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a:hover {
  color: var(--text);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 18px 22px;
    background: rgba(26, 29, 36, 0.98);
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .site-nav .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero-content {
    transform: none;
  }

  h1 {
    font-size: 44px;
  }

  .split-layout,
  .guide-layout,
  .feature-band {
    grid-template-columns: 1fr;
  }

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

  .sticky-figure {
    position: static;
  }
}

@media (max-width: 640px) {
  .brand span {
    max-width: 12em;
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 36px 0 176px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions,
  .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .hero-stats div {
    padding: 13px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .section {
    width: calc(100% - 32px);
    padding: 62px 0;
  }

  .section-head h2,
  .final-cta h2 {
    font-size: 26px;
  }

  .system-grid,
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .system-card {
    min-height: auto;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .timeline p {
    grid-column: auto;
  }

  .carousel-track {
    min-height: 240px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .partner-links {
    padding: 42px 16px 48px;
  }

  .partner-inner h2 {
    font-size: 28px;
  }

  .partner-list {
    align-items: stretch;
    flex-direction: column;
  }

  .partner-list a {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .slide {
    transition: none;
  }

  .panel,
  .system-card,
  .updates-grid article,
  .faq-list details,
  .image-frame,
  .wide-figure,
  .final-cta,
  .partner-list a,
  .btn,
  .site-nav a,
  .carousel,
  .carousel-btn,
  .image-frame img,
  .wide-figure img,
  .slide img {
    transition: none;
  }
}
