:root {
  --bg: #101827;
  --bg-deep: #1e3a8a;
  --panel: #17233a;
  --panel-soft: #1f2937;
  --ink: #f8fafc;
  --muted: #cbd5e1;
  --line: rgba(233, 213, 255, 0.24);
  --lavender: #e9d5ff;
  --mint: #6ee7b7;
  --amber: #f7c873;
  --danger: #c84c67;
  --shadow: 0 20px 70px rgba(2, 6, 23, 0.42);
  --glow: 0 0 0 1px rgba(110, 231, 183, 0.18), 0 24px 72px rgba(2, 6, 23, 0.46);
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(30, 58, 138, 0.42), transparent 460px),
    linear-gradient(135deg, #101827 0%, #17233a 42%, #111827 100%);
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

p,
ul,
ol,
dl,
figure {
  margin: 0;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.section-band {
  position: relative;
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(233, 213, 255, 0.18);
  background: rgba(16, 24, 39, 0.86);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

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

.brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(233, 213, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(110, 231, 183, 0.14);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.brand:hover img,
.brand:focus-visible img {
  border-color: rgba(110, 231, 183, 0.76);
  box-shadow: 0 0 0 1px rgba(110, 231, 183, 0.2), 0 16px 34px rgba(110, 231, 183, 0.22);
  transform: translateY(-1px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.site-nav a:not(.nav-detail):hover,
.site-nav a:not(.nav-detail):focus-visible,
.site-nav a:not(.nav-detail).is-active {
  color: var(--ink);
  border-color: rgba(110, 231, 183, 0.78);
  box-shadow: 0 0 0 1px rgba(110, 231, 183, 0.16), 0 0 22px rgba(110, 231, 183, 0.16);
  text-shadow: 0 0 14px rgba(110, 231, 183, 0.62);
  outline: none;
}

.site-nav a .icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  color: var(--mint);
}

.site-nav .nav-detail {
  margin-left: 6px;
  color: #07111f;
  background: linear-gradient(135deg, var(--mint), #b8f7e2);
  box-shadow: 0 10px 28px rgba(110, 231, 183, 0.22);
}

.site-nav .nav-detail:hover,
.site-nav .nav-detail:focus-visible {
  color: #07111f;
  background: linear-gradient(135deg, var(--mint), #b8f7e2);
  transform: translateY(-1px);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(233, 213, 255, 0.08);
  color: var(--ink);
  padding: 9px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--lavender);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
  transform-origin: center;
}

body.nav-open .nav-toggle span {
  background: var(--mint);
}

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 {
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 108px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 24, 39, 0.96) 0%, rgba(16, 24, 39, 0.78) 46%, rgba(16, 24, 39, 0.42) 100%),
    linear-gradient(180deg, rgba(16, 24, 39, 0.28) 0%, #101827 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(30px, 4.8vw, 52px);
}

h2 {
  font-size: clamp(24px, 3vw, 34px);
}

h3 {
  font-size: 20px;
}

.hero-lead {
  max-width: 690px;
  margin-top: 24px;
  color: #e2e8f0;
  font-size: 18px;
}

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

.btn {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.32) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 420ms ease;
  pointer-events: none;
}

.btn-primary {
  color: #07111f;
  background: linear-gradient(135deg, var(--mint), #d9fff1);
  box-shadow: 0 16px 44px rgba(110, 231, 183, 0.22);
}

.btn-secondary {
  color: var(--ink);
  border-color: rgba(233, 213, 255, 0.34);
  background: rgba(233, 213, 255, 0.1);
}

.btn .icon {
  width: 19px;
  height: 19px;
  flex-basis: 19px;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: 2px solid rgba(233, 213, 255, 0.48);
  outline-offset: 2px;
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(120%);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 52px rgba(110, 231, 183, 0.36);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(110, 231, 183, 0.62);
  background: rgba(110, 231, 183, 0.12);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin-top: 36px;
}

.hero-facts div,
.info-card,
.guide-step,
.feature-list article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 35, 58, 0.76);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.hero-facts div:hover,
.info-card:hover,
.guide-step:hover,
.feature-list article:hover,
.faq-list details:hover,
.faq-list details:focus-within {
  border-color: rgba(110, 231, 183, 0.64);
  background: rgba(23, 35, 58, 0.9);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}

.hero-facts div {
  padding: 14px;
}

.hero-facts dt {
  color: var(--lavender);
  font-size: 12px;
  font-weight: 800;
}

.hero-facts dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.hero-card,
.media-panel,
.wide-shot,
.inline-figure,
.gallery-main {
  overflow: hidden;
  border: 1px solid rgba(233, 213, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.84);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.hero-card img,
.media-panel img,
.wide-shot img,
.inline-figure img,
.gallery-main img,
.gallery-thumb img {
  width: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.hero-card:hover,
.media-panel:hover,
.wide-shot:hover,
.inline-figure:hover,
.gallery-main:hover {
  border-color: rgba(110, 231, 183, 0.58);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

.hero-card:hover img,
.media-panel:hover img,
.wide-shot:hover img,
.inline-figure:hover img,
.gallery-main:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.hero-card img {
  aspect-ratio: 1200 / 630;
}

figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 14px;
}

.intro-band,
.guide-band,
.gallery-band,
.cta-band {
  background: rgba(31, 41, 55, 0.58);
}

.content-band,
.feature-band,
.faq-band {
  background: rgba(16, 24, 39, 0.84);
}

.route-band,
.update-band {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.34), rgba(16, 24, 39, 0.9));
}

.two-column,
.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 44px;
  align-items: center;
}

.split-feature {
  grid-template-columns: minmax(360px, 560px) minmax(0, 1fr);
}

.section-copy p + p,
.split-feature p + p {
  margin-top: 16px;
}

.section-copy p,
.section-heading p,
.split-feature p {
  color: var(--muted);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  margin-top: 14px;
}

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

.info-card,
.guide-step,
.feature-list article {
  padding: 22px;
}

.card-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 8px;
  color: #07111f;
  background: var(--mint);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.info-card:hover .card-icon {
  box-shadow: 0 0 24px rgba(110, 231, 183, 0.34);
  transform: translateY(-2px);
}

.info-card p,
.guide-step p,
.feature-list p,
.timeline li,
.faq-list p,
.check-list {
  color: var(--muted);
}

.info-card h3,
.guide-step h3,
.feature-list h3 {
  margin-bottom: 10px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding-left: 20px;
}

.check-list li::marker {
  color: var(--mint);
}

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

.inline-figure {
  max-width: 760px;
  margin-top: 28px;
}

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

.gallery-switcher {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.gallery-main {
  margin: 0;
}

.gallery-main img {
  aspect-ratio: 16 / 9;
  min-height: 100%;
}

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

.gallery-thumb {
  position: relative;
  min-width: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(233, 213, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(23, 35, 58, 0.74);
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(2, 6, 23, 0.28);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.gallery-thumb img {
  aspect-ratio: 16 / 9;
  height: 100%;
  filter: saturate(0.82) brightness(0.76);
  transition: transform 160ms ease, filter 160ms ease;
}

.thumb-icon {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(233, 213, 255, 0.42);
  border-radius: 8px;
  color: var(--mint);
  background: rgba(16, 24, 39, 0.72);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.thumb-icon .icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img,
.gallery-thumb.is-active img {
  filter: saturate(1.06) brightness(1);
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img {
  transform: scale(1.03);
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  border-color: rgba(110, 231, 183, 0.64);
  box-shadow: 0 0 0 1px rgba(110, 231, 183, 0.18), 0 18px 44px rgba(2, 6, 23, 0.36);
  transform: translateY(-2px);
}

.gallery-thumb.is-active {
  border-color: var(--mint);
  box-shadow: 0 0 0 2px rgba(110, 231, 183, 0.2), 0 18px 44px rgba(2, 6, 23, 0.34);
}

.gallery-thumb:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 3px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
  counter-reset: update;
}

.timeline li {
  position: relative;
  min-height: 112px;
  padding: 20px 20px 20px 66px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 35, 58, 0.74);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.timeline li:hover {
  border-color: rgba(247, 200, 115, 0.68);
  background: rgba(23, 35, 58, 0.9);
  box-shadow: 0 0 0 1px rgba(247, 200, 115, 0.16), 0 22px 58px rgba(2, 6, 23, 0.38);
  transform: translateY(-4px);
}

.timeline li::before {
  counter-increment: update;
  content: counter(update, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 20px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #07111f;
  background: var(--amber);
  font-size: 13px;
  font-weight: 900;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.timeline li:hover::before {
  background: var(--mint);
  box-shadow: 0 0 22px rgba(110, 231, 183, 0.3);
  transform: scale(1.06);
}

.timeline strong {
  color: var(--ink);
}

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

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

.faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
  transition: color 160ms ease;
}

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

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

.faq-list p {
  padding: 0 0 18px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(110, 231, 183, 0.16), rgba(233, 213, 255, 0.08)),
    rgba(23, 35, 58, 0.76);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.cta-inner:hover {
  border-color: rgba(110, 231, 183, 0.62);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

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

.site-footer {
  border-top: 1px solid rgba(233, 213, 255, 0.18);
  background: #101827;
}

.friend-links-band {
  padding: 46px 0 52px;
  background:
    radial-gradient(circle at 18% 20%, rgba(233, 213, 255, 0.18), transparent 32%),
    radial-gradient(circle at 82% 76%, rgba(110, 231, 183, 0.16), transparent 30%),
    linear-gradient(135deg, #1e3a8a 0%, #24315f 45%, #1f2937 100%);
  border-top: 1px solid rgba(233, 213, 255, 0.18);
}

.friend-links-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.friend-links-inner h2 {
  color: var(--ink);
  font-size: clamp(25px, 3vw, 36px);
  text-shadow: 0 0 22px rgba(110, 231, 183, 0.22);
}

.friend-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 1040px;
}

.friend-links a {
  min-height: 48px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid rgba(233, 213, 255, 0.28);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(233, 213, 255, 0.17);
  box-shadow: 0 14px 36px rgba(2, 6, 23, 0.18);
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.friend-links a:hover,
.friend-links a:focus-visible {
  border-color: rgba(110, 231, 183, 0.78);
  background: rgba(110, 231, 183, 0.18);
  box-shadow: 0 0 0 1px rgba(110, 231, 183, 0.18), 0 18px 42px rgba(2, 6, 23, 0.28);
  transform: translateY(-1px);
  outline: none;
}

.footer-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.footer-inner a {
  color: var(--lavender);
  font-weight: 800;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--mint);
  text-shadow: 0 0 14px rgba(110, 231, 183, 0.56);
  outline: none;
}

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

  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: grid;
    gap: 6px;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(16, 24, 39, 0.98);
    transform: translateY(-120%);
    transition: transform 180ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    justify-content: center;
  }

  .site-nav .nav-detail {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .two-column,
  .split-feature {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section-band {
    padding: 62px 0;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-grid {
    gap: 28px;
  }

  h1 {
    font-size: 29px;
  }

  h2 {
    font-size: 24px;
  }

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

  .hero-facts,
  .feature-grid,
  .guide-layout,
  .feature-list,
  .gallery-switcher,
  .timeline {
    grid-template-columns: 1fr;
  }

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

  .btn {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .hero-facts div {
    padding: 10px;
  }

  .hero-facts dd {
    font-size: 14px;
  }

  .hero-card {
    display: none;
  }

  .timeline li {
    min-height: 0;
  }

  .cta-inner,
  .friend-links-inner,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .friend-links {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .friend-links a {
    width: 100%;
  }
}

@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;
  }
}
