:root {
  color-scheme: dark;
  --bg: #060811;
  --bg-soft: #0a1020;
  --glass-surface: rgba(18, 24, 43, 0.62);
  --glass-solid: #131a2d;
  --line: rgba(213, 225, 255, 0.14);
  --line-strong: rgba(220, 231, 255, 0.24);
  --text: #f7f8ff;
  --muted: #9ca7c0;
  --muted-strong: #c0c8da;
  --violet: #8f7cff;
  --cyan: #61dcff;
  --green: #6be7b7;
  --yellow: #ffd08a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --content: 920px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 76% -10%, rgba(143, 124, 255, 0.2), transparent 34rem),
    radial-gradient(circle at 7% 28%, rgba(97, 220, 255, 0.1), transparent 28rem),
    linear-gradient(180deg, var(--bg-soft), var(--bg) 38rem);
  font-family: Inter, "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: radial-gradient(rgba(218, 228, 255, 0.12) 0.6px, transparent 0.6px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
  opacity: 0.28;
}

body::after {
  position: fixed;
  top: 18%;
  right: -12rem;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  pointer-events: none;
  content: "";
  background: rgba(106, 96, 255, 0.13);
  filter: blur(90px);
}

a { -webkit-tap-highlight-color: transparent; }

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 10px;
}

.shell {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 10, 19, 0.64);
  border-bottom: 1px solid rgba(224, 232, 255, 0.1);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

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

.brand,
.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand {
  gap: 12px;
  min-height: 44px;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  filter: drop-shadow(0 8px 16px rgba(79, 147, 255, 0.18));
}

.back-link {
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: var(--glass-surface);
  font-size: 14px;
  font-weight: 650;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.back-link:hover {
  color: var(--text);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.back-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  padding: 96px 0 58px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 22px;
  padding: 0 14px;
  border: 1px solid rgba(143, 124, 255, 0.26);
  border-radius: 999px;
  color: #d5ceff;
  background: rgba(143, 124, 255, 0.08);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 68px);
  font-weight: 810;
  letter-spacing: -0.05em;
  line-height: 1.08;
  text-wrap: balance;
  background: linear-gradient(120deg, #ffffff 12%, #dcd8ff 52%, #8ee7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.8;
  text-wrap: balance;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.meta span {
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: var(--glass-surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 650;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.platform-guide {
  padding-top: 20px;
  scroll-margin-top: 84px;
}

.platform-title {
  margin-bottom: 24px;
}

.platform-title span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.platform-title h2 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 790;
  letter-spacing: -0.035em;
}

.platform-title p {
  max-width: 660px;
  margin-top: 10px;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.75;
}

.notice {
  display: flex;
  gap: 16px;
  margin: 18px 0 28px;
  padding: 22px;
  border: 1px solid rgba(255, 200, 117, 0.22);
  border-radius: 22px;
  color: #f6dcb4;
  background:
    linear-gradient(135deg, rgba(255, 208, 138, 0.1), rgba(24, 28, 48, 0.54)),
    var(--glass-surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), var(--shadow);
  font-size: 14px;
  line-height: 1.75;
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.notice-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: var(--yellow);
  background: rgba(255, 200, 117, 0.1);
}

.notice-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notice strong {
  color: #fff1d8;
}

.steps {
  display: grid;
  gap: 24px;
  padding-bottom: 100px;
}

.step {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 42%),
    var(--glass-surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.09), var(--shadow);
  opacity: 1;
  transform: none;
  transition: opacity 700ms cubic-bezier(.22,.61,.36,1), transform 700ms cubic-bezier(.22,.61,.36,1);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
}

.js .step {
  opacity: 0;
  transform: translateY(24px);
}

.step.visible {
  opacity: 1;
  transform: none;
}

.step:hover {
  border-color: rgba(143, 124, 255, 0.34);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 28px 78px rgba(0, 0, 0, 0.32);
}

.step::before {
  position: absolute;
  top: -80px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  content: "";
  opacity: 0.16;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  filter: blur(68px);
}

.step-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.step-num {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(143, 124, 255, 0.32);
  border-radius: 16px;
  color: #e2ddff;
  background: linear-gradient(135deg, rgba(143, 124, 255, 0.18), rgba(97, 220, 255, 0.1));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 12px 30px rgba(64, 56, 160, 0.18);
  font-size: 15px;
  font-weight: 780;
}

.step-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.step h3 {
  font-size: 21px;
  font-weight: 730;
  letter-spacing: -0.02em;
}

.step-body {
  position: relative;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.85;
}

.step-body p + p {
  margin-top: 14px;
}

.step-body strong {
  color: var(--text);
}

.step-list {
  display: grid;
  gap: 9px;
  padding-left: 22px;
}

.warning-steps {
  gap: 22px;
  margin-top: 12px;
}

.warning-steps > li {
  padding-left: 4px;
}

.warning-steps > li::marker {
  color: var(--cyan);
  font-weight: 800;
}

.guide-shot {
  max-width: 540px;
  margin: 14px 0 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 16px 44px rgba(0, 0, 0, 0.2);
}

.guide-shot-portrait {
  max-width: 420px;
}

.guide-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-shot figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

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

.download-link {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(107, 231, 183, 0.24);
  border-radius: 16px;
  color: #eafff7;
  background: rgba(85, 230, 175, 0.09);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.download-link.secondary {
  border-color: var(--line);
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.035);
}

.download-link:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.download-link span:last-child {
  font-size: 18px;
  line-height: 1;
}

.platform-guide .steps {
  padding-bottom: 72px;
}

.info {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid rgba(66, 217, 255, 0.18);
  border-radius: 16px;
  color: #bcefff;
  background: rgba(66, 217, 255, 0.07);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  font-size: 14px;
  line-height: 1.75;
}

.hl {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(143, 124, 255, 0.24), rgba(66, 217, 255, 0.2));
  color: #b8f1ff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.01em;
  box-shadow: 0 0 12px rgba(66, 217, 255, 0.18);
}

.finish {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(85, 230, 175, 0.2);
  border-radius: 24px;
  color: #bff8e2;
  background:
    linear-gradient(135deg, rgba(85, 230, 175, 0.11), rgba(18, 24, 43, 0.54)),
    var(--glass-surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), var(--shadow);
  opacity: 1;
  transform: none;
  transition: opacity 700ms cubic-bezier(.22,.61,.36,1), transform 700ms cubic-bezier(.22,.61,.36,1);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.js .finish {
  opacity: 0;
  transform: translateY(20px);
}

.finish.visible {
  opacity: 1;
  transform: none;
}

.finish-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: rgba(85, 230, 175, 0.1);
}

.finish-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.finish strong {
  display: block;
  margin-bottom: 4px;
  color: #e9fff7;
  font-size: 16px;
}

.finish p {
  color: #9edfc8;
  font-size: 13px;
  line-height: 1.6;
}

footer {
  padding: 32px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header,
  .back-link,
  .eyebrow,
  .meta span,
  .notice,
  .step,
  .finish {
    background: var(--glass-solid);
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .nav {
    min-height: 66px;
  }

  .hero {
    padding: 62px 0 42px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 52px);
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.75;
  }

  .meta {
    gap: 8px;
  }

  .download-options {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 24px 20px;
    border-radius: 21px;
  }

  .step-head {
    align-items: flex-start;
  }

  .notice,
  .finish {
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .shell { width: min(calc(100% - 24px), var(--content)); }
  .brand { font-size: 15px; }
  .brand img { width: 34px; height: 34px; }
  .back-link { padding: 0 11px; font-size: 13px; }
  .hero { padding-top: 52px; }
  .step-head { gap: 12px; }
  .step-num { width: 44px; height: 44px; }
  .step h3 { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .step,
  .js .finish {
    opacity: 1;
    transform: none;
  }
}
