:root {
  --bg: #06101f;
  --bg-soft: #0a1930;
  --panel: rgba(13, 31, 56, 0.82);
  --panel-solid: #0d1f38;
  --line: rgba(138, 177, 225, 0.17);
  --text: #eff6ff;
  --muted: #aabbd1;
  --blue: #66a9ff;
  --cyan: #74e8df;
  --accent: #7c8cff;
  --green: #71e0a8;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 5%, rgba(48, 107, 190, 0.22), transparent 28rem),
    radial-gradient(circle at 92% 20%, rgba(50, 196, 184, 0.1), transparent 25rem),
    linear-gradient(180deg, #071426 0%, var(--bg) 45%, #050d19 100%);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.13;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.45) 0 0.45px, transparent 0.7px),
    radial-gradient(circle at 70% 60%, rgba(102, 169, 255, 0.4) 0 0.45px, transparent 0.75px),
    radial-gradient(circle at 40% 80%, rgba(116, 232, 223, 0.32) 0 0.4px, transparent 0.7px);
  background-position: 0 0, 5px 7px, 11px 3px;
  background-size: 13px 17px, 19px 23px, 29px 31px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 9px 14px;
  color: #071426;
  background: var(--cyan);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 16, 31, 0.8);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 8px 25px rgba(102, 169, 255, 0.24);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 9px 12px;
  color: var(--muted);
  border-radius: 10px;
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.menu-button {
  display: none;
  padding: 9px 12px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 7px 12px;
  color: #c7f6f2;
  background: rgba(116, 232, 223, 0.08);
  border: 1px solid rgba(116, 232, 223, 0.22);
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 7vw, 5.35rem);
}

.sub-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(110deg, #b7d8ff 0%, var(--blue) 42%, var(--cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.lead {
  max-width: 690px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #06101f;
  background: linear-gradient(125deg, var(--blue), var(--cyan));
  border-color: transparent;
  box-shadow: 0 14px 35px rgba(70, 159, 238, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.badge-row {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.88rem;
}

.badge {
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.visual-card {
  position: relative;
  padding: 12px;
  background: linear-gradient(145deg, rgba(102, 169, 255, 0.15), rgba(116, 232, 223, 0.04));
  border: 1px solid rgba(157, 194, 237, 0.2);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.visual-card img {
  width: 880px;
  aspect-ratio: 44 / 35;
  object-fit: cover;
  border-radius: 20px;
}

.visual-note {
  position: absolute;
  right: 28px;
  bottom: 28px;
  padding: 10px 14px;
  background: rgba(6, 16, 31, 0.88);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.82rem;
  backdrop-filter: blur(12px);
}

.section {
  padding: 84px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-head p,
.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}

.card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--cyan);
  background: rgba(116, 232, 223, 0.08);
  border: 1px solid rgba(116, 232, 223, 0.15);
  border-radius: 13px;
  font-weight: 900;
}

.topic-link {
  display: block;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.topic-link:hover {
  border-color: rgba(102, 169, 255, 0.45);
  transform: translateY(-3px);
}

.detail-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 60px;
}

.detail-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding: 0 0 22px 34px;
  color: var(--muted);
}

.detail-list li::before {
  position: absolute;
  top: 7px;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #06101f;
  content: "✓";
  background: var(--green);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.platform {
  text-align: center;
}

.platform strong {
  display: block;
  margin: 12px 0 4px;
}

.platform-mark {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  place-items: center;
  color: var(--blue);
  background: rgba(102, 169, 255, 0.09);
  border-radius: 17px;
  font-weight: 900;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 76px;
  counter-increment: step;
}

.step::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #06101f;
  content: counter(step);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 11px;
  font-weight: 900;
}

.notice {
  padding: 18px 22px;
  color: #d6e6f8;
  background: rgba(102, 169, 255, 0.08);
  border: 1px solid rgba(102, 169, 255, 0.22);
  border-radius: 15px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}

summary {
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px;
  background:
    radial-gradient(circle at 90% 20%, rgba(116, 232, 223, 0.16), transparent 16rem),
    var(--panel-solid);
  border: 1px solid rgba(116, 232, 223, 0.2);
  border-radius: 28px;
}

.cta-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.cta-panel p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  margin-top: 70px;
  padding: 58px 0 28px;
  background: rgba(3, 10, 19, 0.64);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 24px;
  color: #8296ad;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.prose {
  max-width: 800px;
}

.prose h2 {
  margin-top: 52px;
  font-size: 2rem;
}

.prose h3 {
  margin-top: 30px;
}

.prose p,
.prose li {
  color: var(--muted);
}

.code-line {
  overflow-wrap: anywhere;
  padding: 14px 16px;
  color: #c5f4ed;
  background: #030a12;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: Consolas, monospace;
}

@media (max-width: 900px) {
  .hero-grid,
  .detail-row {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 10px;
    background: #0a1930;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero {
    padding: 66px 0 52px;
  }

  .section {
    padding: 62px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-panel {
    padding: 28px;
  }

  .step {
    padding-left: 62px;
  }

  .step::before {
    left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
