:root {
  color-scheme: light;
  --ink: #10122a;
  --muted: #5a6180;
  --paper: #fff9ef;
  --paper-2: #f4fffb;
  --cyan: #00d9ff;
  --pink: #ff3ec9;
  --yellow: #ffe14a;
  --green: #43f06d;
  --orange: #ff7a1a;
  --violet: #745cff;
  --line: rgba(16, 18, 42, 0.14);
  --shadow: 0 22px 70px rgba(32, 15, 72, 0.18);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(0, 217, 255, 0.16), transparent 28%),
    linear-gradient(315deg, rgba(255, 62, 201, 0.16), transparent 30%),
    var(--paper);
  line-height: 1.72;
}

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

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

strong {
  color: #c31678;
  font-weight: 900;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 239, 0.78);
  border-bottom: 1px solid rgba(16, 18, 42, 0.12);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 54px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 9px 11px;
  border-radius: var(--radius);
  color: #27304c;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus {
  background: rgba(0, 217, 255, 0.14);
  color: #001d33;
}

.nav-links a.nav-download {
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  color: #171020;
  box-shadow: 0 10px 24px rgba(255, 62, 201, 0.18);
}

.nav-links a.nav-download:hover,
.nav-links a.nav-download:focus {
  background: linear-gradient(135deg, var(--yellow), var(--green));
  color: #06121f;
}

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

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

.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 {
  position: relative;
  min-height: clamp(620px, 90vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 9, 36, 0.72) 0%, rgba(11, 9, 36, 0.48) 42%, rgba(11, 9, 36, 0.08) 100%),
    linear-gradient(0deg, rgba(255, 249, 239, 0.96) 0%, rgba(255, 249, 239, 0.28) 28%, transparent 62%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0 44px;
  color: white;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.32);
  color: #ffe14a;
  background: linear-gradient(135deg, #ffe14a 0%, #ffffff 34%, #00d9ff 66%, #ff7a1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: clamp(1.02rem, 2.1vw, 1.28rem);
  color: rgba(255, 255, 255, 0.92);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 900;
  border: 2px solid transparent;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #03131d;
}

.btn-download {
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  color: #171020;
}

.btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 790px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 3px 0 0;
  font-weight: 900;
}

.quick-panel {
  width: min(var(--max), calc(100% - 32px));
  margin: -28px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quick-card,
.feature-card,
.compare-card,
.guide-block,
.timeline article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.quick-card {
  padding: 22px;
  min-height: 184px;
}

.quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #06121f;
  background: linear-gradient(135deg, var(--yellow), var(--pink));
  font-weight: 900;
}

.quick-card h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #171a36;
}

.quick-card p {
  margin: 0;
  color: #4e5878;
  font-size: 0.94rem;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 92px auto 0;
  scroll-margin-top: 96px;
}

#top {
  scroll-margin-top: 96px;
}

.section-split {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.section-split.reverse {
  grid-template-columns: 0.95fr 1fr;
}

.section-head {
  max-width: 820px;
  margin-bottom: 26px;
}

.section-head h2,
.section-copy h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: 0;
  color: #5a1736;
  background: linear-gradient(135deg, #c31678 0%, #745cff 48%, #00a7ce 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head p,
.section-copy p {
  color: #555f82;
}

.section-copy p {
  margin: 18px 0 0;
}

.media-frame {
  margin: 0;
  padding: 10px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.media-frame figcaption {
  padding: 10px 4px 2px;
  color: var(--muted);
  font-size: 0.9rem;
}

.neon-cyan {
  border: 3px solid var(--cyan);
}

.neon-pink {
  border: 3px solid var(--pink);
}

.neon-yellow {
  border: 3px solid var(--yellow);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.tag-row span {
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #10122a, #3b227d);
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 8px 22px rgba(116, 92, 255, 0.18);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan), var(--pink), var(--yellow), var(--green));
}

.feature-card h3,
.guide-block h3,
.compare-card h3,
.timeline h3 {
  margin: 0 0 10px;
  line-height: 1.25;
  color: #5a1736;
}

.feature-card p,
.guide-block p,
.compare-card p,
.timeline p {
  margin: 0;
  color: #505a7b;
}

.feature-card h3::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 62, 201, 0.14);
  vertical-align: 0.08em;
}

.clean-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.clean-list li {
  padding: 14px 16px;
  border-left: 5px solid var(--pink);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #414969;
}

.clean-list strong,
.guide-block strong {
  color: #c31678;
}

.guide-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
}

.guide-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
}

.guide-nav a {
  padding: 11px 13px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #10122a, #182c7a);
  color: white;
  font-weight: 800;
}

.guide-content {
  display: grid;
  gap: 14px;
}

.guide-block {
  padding: 26px;
}

.guide-block ol {
  margin: 16px 0 0;
  padding-left: 22px;
  color: #323a5c;
}

.guide-block li + li {
  margin-top: 7px;
}

.guide-block li::marker {
  color: #ff3ec9;
  font-weight: 900;
}

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

.compare-card {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(255, 255, 255, 0.9) 42%),
    white;
}

.compare-card.accent {
  background:
    linear-gradient(135deg, rgba(255, 62, 201, 0.18), rgba(255, 255, 255, 0.9) 42%),
    white;
}

.compare-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.compare-card li::marker {
  color: #00a7ce;
}

.compare-card.accent li::marker {
  color: #ff3ec9;
}

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

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(32, 15, 72, 0.14);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 12px 14px;
  font-weight: 800;
  color: #5a1736;
}

.official-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.official-links a {
  padding: 11px 14px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #06121f;
  font-weight: 900;
}

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

.timeline article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 20px;
  align-items: start;
}

.timeline time {
  display: inline-flex;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: white;
  font-weight: 900;
  font-size: 0.9rem;
}

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

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
  color: #17205a;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--pink);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: #505a7b;
}

.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 90px auto 26px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-radius: var(--radius);
  background: #10122a;
  color: white;
}

.site-footer p {
  margin: 8px 0 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  align-self: center;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: #10122a;
  font-weight: 900;
  white-space: nowrap;
}

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

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .quick-panel,
  .feature-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .guide-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav-shell {
    width: min(100% - 24px, var(--max));
    height: 64px;
  }

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

  .brand img {
    width: 48px;
    height: 38px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(12, 9, 35, 0.86) 0%, rgba(12, 9, 35, 0.5) 58%, rgba(12, 9, 35, 0.18) 100%),
      linear-gradient(0deg, rgba(255, 249, 239, 0.92) 0%, transparent 30%);
  }

  .hero-content {
    width: min(100% - 24px, var(--max));
    padding-bottom: 34px;
  }

  .hero-stats,
  .quick-panel,
  .feature-grid,
  .compare-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 24px, var(--max));
    margin-top: 66px;
  }

  .quick-panel {
    width: min(100% - 24px, var(--max));
  }

  .guide-nav {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    width: min(100% - 24px, var(--max));
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
