:root {
  --bg: #0f1322;
  --bg-2: #171b2d;
  --surface: #ffffff;
  --surface-soft: #f6f4ef;
  --ink: #181923;
  --muted: #626775;
  --line: rgba(24, 25, 35, 0.14);
  --teal: #2ec4b6;
  --coral: #ff6b5f;
  --amber: #68f2d0;
  --plum: #7c3f83;
  --cyan-soft: #dff8f5;
  --shadow: 0 18px 48px rgba(15, 19, 34, 0.18);
  --shadow-hover: 0 24px 60px rgba(15, 19, 34, 0.22);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "Microsoft YaHei", "Hiragino Sans GB", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface-soft);
  line-height: 1.72;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

.icon {
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

p {
  margin: 0 0 1em;
}

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

h1 {
  max-width: 920px;
  font-size: clamp(2rem, 5.4vw, 4.35rem);
  color: var(--amber);
  background: linear-gradient(90deg, #fff 0%, var(--amber) 46%, var(--coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 16px 36px rgba(46, 196, 182, 0.16);
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(1.55rem, 3.1vw, 2.45rem);
  color: var(--plum);
  background: linear-gradient(90deg, var(--plum) 0%, var(--coral) 48%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  overflow-wrap: anywhere;
}

h3 {
  font-size: 1.12rem;
}

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

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

.container {
  width: min(100% - 36px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(15, 19, 34, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(15, 19, 34, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.nav-wrap {
  width: min(100% - 30px, 1220px);
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.brand-logo {
  width: 56px;
  height: 42px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(46, 196, 182, 0.22);
}

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

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

.nav-menu a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.94rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  text-shadow: none;
}

.nav-menu a .icon {
  width: 15px;
  height: 15px;
  padding: 5px;
  box-sizing: content-box;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  transform: translateY(-1px);
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  color: #ffffff;
  border-color: rgba(104, 242, 208, 0.72);
  background: transparent;
  text-shadow: none;
}

.nav-menu a:hover .icon,
.nav-menu a:focus-visible .icon,
.nav-menu a.is-active .icon {
  color: #11131d;
  border-color: var(--amber);
  background: var(--amber);
  box-shadow: 0 0 18px rgba(104, 242, 208, 0.42);
}

.nav-menu .nav-cta {
  margin-left: 8px;
  color: #11131d;
  background: #fff;
  font-weight: 900;
}

.nav-menu .nav-cta .icon {
  color: #fff;
  border-color: #11131d;
  background: #11131d;
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta:focus-visible {
  color: #11131d;
  border-color: var(--amber);
  background: #fff;
  text-shadow: none;
}

.nav-menu .nav-cta:hover .icon,
.nav-menu .nav-cta:focus-visible .icon {
  color: #11131d;
  border-color: #fff;
  background: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
  transform-origin: center;
  transition: transform 0.18s ease, opacity 0.18s ease, margin 0.18s ease;
}

.nav-toggle[aria-expanded="true"] span {
  margin: -1px auto;
}

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

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

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

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--bg);
}

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

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 19, 34, 0.94) 0%, rgba(15, 19, 34, 0.72) 42%, rgba(15, 19, 34, 0.26) 100%),
    linear-gradient(0deg, rgba(15, 19, 34, 0.95) 0%, rgba(15, 19, 34, 0.04) 44%, rgba(15, 19, 34, 0.45) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 150px 0 74px;
}

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

.hero-copy {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

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

.button {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -70%;
  width: 46%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.45s ease;
  pointer-events: none;
}

.button .icon {
  width: 16px;
  height: 16px;
  padding: 6px;
  box-sizing: content-box;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::after,
.button:focus-visible::after {
  left: 125%;
}

.button:hover .icon,
.button:focus-visible .icon {
  color: #11131d;
  border-color: var(--amber);
  background: var(--amber);
  box-shadow: 0 0 18px rgba(104, 242, 208, 0.42);
}

.button.primary {
  color: #11131d;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(104, 242, 208, 0.2);
}

.button.primary:hover,
.button.primary:focus-visible {
  color: #11131d;
  border-color: var(--amber);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(104, 242, 208, 0.68), 0 14px 30px rgba(104, 242, 208, 0.22);
}

.button.primary .icon {
  color: var(--amber);
  border-color: #11131d;
  background: #11131d;
  stroke-width: 2.15;
}

.button.primary:hover .icon,
.button.primary:focus-visible .icon {
  color: #11131d;
  border-color: #fff;
  background: #fff;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.button.large {
  min-width: 156px;
}

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

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

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

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

.section {
  padding: 88px 0;
}

.intro-section {
  background: var(--surface);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.7fr);
  gap: 48px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(330px, 0.7fr) minmax(0, 1.04fr);
}

.split.reverse .section-copy {
  order: 2;
}

.split.reverse .route-panel {
  order: 1;
}

.section-copy p {
  color: var(--muted);
  font-size: 1.02rem;
}

.feature-figure {
  margin: 0;
}

.feature-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.feature-figure:hover img {
  transform: translateY(-4px) scale(1.015);
  box-shadow: var(--shadow-hover);
  filter: saturate(1.08) contrast(1.04);
}

.feature-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.content-section {
  background: var(--surface-soft);
}

.section-head {
  max-width: 800px;
  margin-bottom: 36px;
}

.section-head.compact {
  margin-bottom: 24px;
}

.section-head p:not(.section-kicker) {
  color: var(--muted);
}

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

.system-card,
.feature-list article,
.timeline article,
.route-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(15, 19, 34, 0.06);
}

.system-card,
.feature-list article {
  position: relative;
  padding: 22px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.system-card::before,
.feature-list article::before,
.timeline article::before,
.route-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(104, 242, 208, 0.2), transparent 42%, rgba(255, 107, 95, 0.16));
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.system-card:hover,
.feature-list article:hover {
  transform: translateY(-6px);
  border-color: rgba(104, 242, 208, 0.58);
  background: #fff;
  box-shadow: var(--shadow-hover);
}

.system-card:hover::before,
.feature-list article:hover::before,
.timeline article:hover::before,
.route-panel:hover::before {
  opacity: 1;
}

.system-card:hover .card-icon {
  color: #0f1322;
  background: var(--amber);
  box-shadow: 0 0 22px rgba(104, 242, 208, 0.36);
}

.system-card p,
.feature-list p,
.timeline p,
.route-panel li,
.faq-list p {
  color: var(--muted);
}

.card-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #0b3430;
  background: var(--cyan-soft);
  font-size: 0.78rem;
  font-weight: 900;
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.system-card:hover .card-icon,
.feature-list article:hover .card-icon {
  transform: scale(1.06);
}

.guide-section {
  background: var(--surface);
}

.guide-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.guide-list article {
  padding-left: 18px;
  border-left: 4px solid var(--teal);
}

.route-panel {
  position: relative;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(223, 248, 245, 0.9), rgba(255, 255, 255, 0.92));
}

.route-panel {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.route-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(104, 242, 208, 0.58);
  box-shadow: var(--shadow-hover);
}

.route-panel h3 {
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.route-panel ol {
  margin: 0;
  padding-left: 20px;
}

.route-panel li + li {
  margin-top: 10px;
}

.panel-button {
  width: 100%;
  margin-top: 24px;
  color: #fff;
  background: var(--plum);
}

.panel-button .icon {
  color: var(--plum);
  border-color: #fff;
  background: #fff;
}

.features-section {
  background: #f7f0e4;
}

.updates-section {
  color: #fff;
  background: var(--bg);
}

.updates-section .section-head p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.updates-section h2,
.cta-section h2 {
  color: var(--amber);
  background: linear-gradient(90deg, #fff 0%, var(--amber) 52%, var(--coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.timeline article {
  position: relative;
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.timeline article:hover {
  transform: translateY(-5px);
  border-color: rgba(104, 242, 208, 0.48);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.timeline time {
  color: var(--amber);
  font-size: 0.86rem;
  font-weight: 900;
}

.timeline h3 {
  margin-top: 8px;
}

.timeline p {
  color: rgba(255, 255, 255, 0.72);
}

.faq-section {
  background: var(--surface);
}

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

.faq-list details {
  padding: 0;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.faq-list details:hover,
.faq-list details[open] {
  transform: translateY(-2px);
  border-color: rgba(104, 242, 208, 0.5);
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 19, 34, 0.1);
}

.faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--plum);
}

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

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

.cta-section {
  padding: 72px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(124, 63, 131, 0.92), rgba(15, 19, 34, 0.94)),
    var(--bg);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner p:not(.section-kicker) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.75);
}

.friend-links {
  padding: 74px 0 66px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 107, 95, 0.18), transparent 38%),
    radial-gradient(circle at 50% 100%, rgba(104, 242, 208, 0.12), transparent 42%),
    linear-gradient(90deg, #110d1d 0%, #3b1735 50%, #110d1d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.friend-links-inner {
  text-align: center;
}

.friend-links h2 {
  color: #fff;
  background: linear-gradient(90deg, #fff 0%, var(--amber) 54%, var(--coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.friend-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.friend-link-list a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(100%, 420px);
  padding: 0 22px;
  border: 1px solid rgba(104, 242, 208, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 14px 32px rgba(0, 0, 0, 0.18);
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  transform: translateY(-3px);
  color: #fff;
  border-color: rgba(104, 242, 208, 0.72);
  background: rgba(104, 242, 208, 0.14);
  box-shadow: 0 18px 44px rgba(104, 242, 208, 0.16);
}

.friend-dot {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 16px rgba(104, 242, 208, 0.72);
}

.site-footer {
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #090b12;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

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

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 15px;
    right: 15px;
    display: none;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(15, 19, 34, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-menu a,
  .nav-menu .nav-cta {
    margin-left: 0;
    justify-content: center;
  }

  .split,
  .split.reverse,
  .system-grid,
  .feature-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .split.reverse .section-copy,
  .split.reverse .route-panel {
    order: initial;
  }

}

@media (max-width: 700px) {
  .container {
    width: min(100% - 26px, var(--max));
  }

  .nav-wrap {
    width: min(100% - 24px, 1220px);
  }

  .hero {
    min-height: 92vh;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(15, 19, 34, 0.96) 0%, rgba(15, 19, 34, 0.6) 58%, rgba(15, 19, 34, 0.48) 100%);
  }

  .hero-inner {
    padding: 126px 0 48px;
  }

  .hero-copy {
    font-size: 1rem;
  }

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

  .section {
    padding: 62px 0;
  }

  .nav-menu.is-open {
    grid-template-columns: 1fr;
  }

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

  .button {
    width: 100%;
  }

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

  .friend-links {
    padding: 58px 0 52px;
  }

  .friend-link-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .friend-link-list a {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0 16px;
  }
}

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

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