:root {
  --blue: #1578f6;
  --blue-dark: #0758d4;
  --cyan: #25d8ef;
  --pink: #ff4fa2;
  --ink: #101828;
  --muted: #667085;
  --line: #e8edf5;
  --surface: #f6f9fd;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #edf2f8;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.page {
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 36px rgba(28, 52, 84, 0.12);
}

.hero {
  position: relative;
  height: min(820px, 94svh);
  min-height: 680px;
  overflow: hidden;
  background: #177ff6;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 59, 167, 0.62) 0%,
    rgba(14, 108, 232, 0.2) 35%,
    rgba(14, 48, 139, 0.08) 62%,
    rgba(8, 41, 126, 0.48) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: max(42px, env(safe-area-inset-top)) 24px 142px;
  color: #fff;
  text-align: center;
}

.hero-badge {
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 4px;
  background: rgba(13, 79, 194, 0.3);
  font-size: 14px;
  font-weight: 700;
}

.brand-title,
.hero h1 {
  font-family: "STKaiti", "KaiTi", "FZKai-Z03", "Microsoft YaHei", sans-serif;
  font-weight: 900;
  text-shadow: 0 5px 18px rgba(7, 45, 136, 0.46);
  transform: rotate(-2deg);
}

.brand-title {
  margin-top: 15px;
  font-size: clamp(35px, 9vw, 48px);
  line-height: 1;
}

.hero h1 {
  margin: 5px 0 13px;
  font-size: clamp(45px, 12vw, 62px);
  line-height: 1.05;
}

.hero-content > p {
  max-width: 350px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  white-space: nowrap;
}

.primary-button {
  width: min(330px, 88%);
  height: 58px;
  margin-top: auto;
  border-radius: 6px;
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 10px 26px rgba(3, 38, 122, 0.3);
  font-size: 21px;
  font-weight: 800;
}

.hero-note {
  display: flex;
  gap: 18px;
  margin-top: 15px;
  font-size: 13px;
}

.hero-note span::before {
  content: "✓";
  margin-right: 5px;
  font-weight: 800;
}

.hero-features {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-feature {
  position: absolute;
  padding: 8px 10px;
  border-left: 3px solid #fff;
  background: rgba(7, 59, 167, 0.42);
  color: #fff;
  box-shadow: 0 8px 22px rgba(7, 45, 136, 0.16);
  backdrop-filter: blur(6px);
}

.hero-feature strong,
.hero-feature span {
  display: block;
}

.hero-feature strong {
  font-size: 14px;
}

.hero-feature span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 10px;
}

.feature-a {
  top: 30%;
  left: 16px;
}

.feature-b {
  top: 42%;
  right: 14px;
}

.feature-c {
  top: 57%;
  left: 18px;
}

.reward-band {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 17px;
  align-items: center;
  margin: 0;
  padding: 28px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.reward-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg, #ffdc4d, #ff7c3d);
  color: #fff;
  box-shadow: 0 7px 18px rgba(255, 126, 61, 0.25);
  font-size: 32px;
  font-weight: 900;
}

.reward-icon::after {
  content: "天";
  margin-left: -5px;
  align-self: end;
  padding-bottom: 9px;
  font-size: 12px;
}

.reward-band h2,
.section-heading h2,
.feature-copy h2 {
  margin: 4px 0 7px;
  font-size: 27px;
  line-height: 1.3;
}

.reward-band p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.steps-section,
.faq-section {
  padding: 48px 24px;
}

.section-heading {
  margin-bottom: 30px;
}

.feature-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 28%, rgba(45, 208, 238, 0.18), transparent 34%),
    linear-gradient(180deg, #edf7ff 0%, #eef4ff 54%, #eaf6ff 100%);
}

.feature-row {
  position: relative;
  min-height: 330px;
  padding: 32px 24px;
  overflow: hidden;
  border: 0;
}

.feature-copy {
  position: relative;
  z-index: 2;
  width: 62%;
}

.feature-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.number {
  display: block;
  margin-bottom: 12px;
  color: rgba(67, 139, 234, 0.16);
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
}

.feature-row.reverse .feature-copy {
  margin-left: auto;
}

.node-visual {
  position: absolute;
  left: -22px;
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(2, 74px);
  gap: 10px;
  width: 166px;
}

.node {
  display: grid;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(73, 131, 222, 0.18);
  border-radius: 6px;
  background: linear-gradient(145deg, #dcecff, #dcdfff);
  color: #315486;
  box-shadow: 0 8px 20px rgba(36, 67, 107, 0.12);
  font-size: 13px;
}

.node.active {
  border-color: #2788ef;
  background: linear-gradient(145deg, #16bfe5, #3478f6);
  color: #fff;
}

.character-row {
  z-index: 2;
  min-height: 410px;
  margin-top: -42px;
  padding-top: 106px;
  background:
    linear-gradient(180deg, rgba(234, 246, 255, 0) 0%, #eaf6ff 22%, #eef8ff 100%);
}

.character-row img {
  position: absolute;
  z-index: 1;
  top: -8px;
  right: -110px;
  width: 320px;
}

.character-row .feature-copy {
  width: 48%;
}

.character-row .feature-copy h2 {
  font-size: 25px;
}

.steps-section {
  position: relative;
  padding-top: 26px;
  background: linear-gradient(180deg, #eef8ff 0, #fff 70px);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.steps li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #eaf3ff;
  color: var(--blue);
  font-weight: 800;
}

.steps strong {
  font-size: 17px;
}

.steps p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.secondary-button {
  width: 100%;
  height: 54px;
  margin-top: 26px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

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

details {
  border-top: 1px solid #dfe6f0;
}

details:last-of-type {
  border-bottom: 1px solid #dfe6f0;
}

summary {
  position: relative;
  padding: 20px 34px 20px 0;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 15px;
  color: var(--blue);
  font-size: 26px;
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: -6px 0 20px;
  padding-right: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

footer {
  padding: 34px 24px 148px;
  background: #10224d;
  color: #fff;
}

footer strong {
  font-size: 20px;
}

footer p {
  margin: 7px 0 0;
  color: #adbfdf;
  font-size: 13px;
}

footer .fine-print {
  margin-top: 24px;
  color: #7185aa;
  font-size: 11px;
  line-height: 1.6;
}

.floating-download {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(448px, calc(100% - 24px));
  min-height: 124px;
  padding: 17px 15px;
  border: 2px solid rgba(51, 136, 255, 0.2);
  border-radius: 24px 8px 24px 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 42px rgba(20, 52, 96, 0.3);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.floating-download::before {
  content: "";
  position: absolute;
  top: -9px;
  right: 22px;
  width: 54px;
  height: 18px;
  border-radius: 9px 9px 0 0;
  background: #ef3434;
}

.floating-download img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-left: -24px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(20, 72, 145, 0.22);
}

.floating-copy {
  min-width: 0;
}

.floating-copy strong,
.floating-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floating-copy strong {
  font-size: 17px;
  line-height: 1.3;
  white-space: normal;
}

.floating-copy span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.floating-download button {
  min-width: 104px;
  height: 72px;
  padding: 0 15px;
  border-radius: 18px 5px 18px 5px;
  background: #ef3434;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.floating-download button span,
.floating-download button small {
  display: block;
}

.floating-download button small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 500;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 164px;
  z-index: 60;
  width: min(320px, calc(100% - 40px));
  padding: 12px 16px;
  border-radius: 6px;
  background: rgba(16, 24, 40, 0.92);
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: 0.2s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 370px) {
  .hero {
    min-height: 630px;
  }

  .hero-content {
    padding-inline: 18px;
  }

  .hero-content > p {
    font-size: 13px;
  }

  .hero-feature {
    padding: 6px 8px;
  }

  .hero-feature strong {
    font-size: 12px;
  }

  .hero-feature span {
    font-size: 9px;
  }

  .reward-band,
  .steps-section,
  .faq-section,
  .feature-row {
    padding-left: 18px;
    padding-right: 18px;
  }

  .feature-copy h2,
  .section-heading h2,
  .reward-band h2 {
    font-size: 24px;
  }

  .floating-download {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 116px;
    padding: 13px 11px;
  }

  .floating-download img {
    width: 56px;
    height: 56px;
  }

  .floating-download button {
    min-width: 86px;
    height: 68px;
    padding: 0 9px;
    font-size: 15px;
  }
}

@media (min-width: 700px) {
  body {
    padding: 24px 0 140px;
  }
}
