:root {
  --ink: #17131f;
  --muted: #716b7e;
  --soft: #f6f5f9;
  --line: #e7e4ec;
  --white: #ffffff;
  --purple: #8b5cf6;
  --purple-deep: #6536d8;
  --pink: #f43f8c;
  --gold: #f6b73c;
  --mint: #1fc7a2;
  --radius: 8px;
  --container: 1200px;
  --shadow-phone: 0 30px 70px rgba(45, 24, 84, 0.2);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--white);
  background: var(--purple);
}

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

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--container));
  height: 84px;
  transform: translateX(-50%);
  transition: height 200ms ease, background 200ms ease, box-shadow 200ms ease, padding 200ms ease;
}

.site-header.is-scrolled {
  top: 10px;
  height: 64px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(231, 228, 236, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(33, 22, 49, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  width: 184px;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  transition: color 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
  color: var(--purple-deep);
}

.nav-download {
  padding: 12px 18px;
  color: var(--white) !important;
  background: var(--ink);
  border-radius: var(--radius);
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  width: min(calc(100% - 48px), var(--container));
  min-height: 800px;
  margin: 0 auto;
  padding: 112px 0 70px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 92px -40px 44px 48%;
  background: #f8f3ff;
  border-radius: var(--radius);
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 530px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--purple-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow span {
  width: 26px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-promise {
  margin: 0;
  font-size: clamp(54px, 5.3vw, 78px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-description {
  max-width: 460px;
  margin: 28px 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

.platform-button {
  display: flex;
  align-items: center;
  min-width: 176px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.platform-button:hover,
.platform-button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--purple);
  box-shadow: 0 12px 28px rgba(101, 54, 216, 0.13);
  outline: none;
}

.platform-button.is-primary {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.platform-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 11px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
}

.platform-button span:last-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.platform-button small {
  font-size: 11px;
  opacity: 0.68;
}

.platform-button strong {
  font-size: 14px;
}

.download-status {
  margin: 12px 0 0;
  color: #918b9c;
  font-size: 12px;
}

.hero-visual {
  position: relative;
  height: 630px;
}

.phone {
  position: absolute;
  z-index: 2;
  width: 296px;
  aspect-ratio: 946 / 2048;
  margin: 0;
  padding: 8px;
  overflow: hidden;
  background: #19151f;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 38px;
  box-shadow: var(--shadow-phone);
}

.phone::before,
.gallery-phone::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 11px;
  left: 50%;
  width: 86px;
  height: 22px;
  transform: translateX(-50%);
  background: #17131f;
  border-radius: 20px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 31px;
  background: #f3f0fa;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-back {
  top: 30px;
  right: 270px;
  transform: rotate(-6deg);
}

.phone-front {
  z-index: 3;
  top: 75px;
  right: 28px;
  transform: rotate(4deg);
}

.brand-spark {
  position: absolute;
  z-index: 1;
  width: 14px;
  height: 14px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 28px rgba(246, 183, 60, 0.7);
}

.spark-one {
  top: 50px;
  right: 70px;
}

.spark-two {
  bottom: 95px;
  left: 82px;
  width: 9px;
  height: 9px;
  background: var(--pink);
}

.floating-note {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(46, 28, 70, 0.15);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.floating-note span {
  color: var(--purple-deep);
  font-size: 17px;
}

.note-data {
  top: 118px;
  left: 2px;
}

.note-income {
  right: -14px;
  bottom: 90px;
}

.note-income span {
  color: var(--gold);
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 0;
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.feature-band {
  padding: 112px max(24px, calc((100% - var(--container)) / 2));
  background: var(--soft);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading .eyebrow {
  align-self: start;
}

.section-heading h2,
.screens-intro h2,
.download-copy h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.screens-intro > p,
.download-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.feature-list {
  display: grid;
  gap: 20px;
}

.feature-item {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 470px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 66px;
}

.feature-index {
  margin-bottom: 22px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
}

.feature-copy h3 {
  margin: 0 0 16px;
  font-size: 36px;
}

.feature-copy > p {
  max-width: 450px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.feature-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-copy li {
  padding: 8px 11px;
  color: #56505e;
  background: var(--soft);
  border-radius: 6px;
  font-size: 12px;
}

.screen-crop {
  position: relative;
  min-height: 470px;
  overflow: hidden;
}

.screen-crop::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 24px 0 44px rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.screen-crop img {
  position: absolute;
  width: 430px;
  max-width: none;
  filter: drop-shadow(0 28px 40px rgba(48, 32, 72, 0.15));
}

.crop-home {
  background: #ecf8f7;
}

.crop-home img {
  top: 40px;
  left: 50%;
  transform: translateX(-46%) rotate(2deg);
}

.crop-data {
  background: #fff1f5;
}

.crop-data img {
  top: 42px;
  left: 50%;
  transform: translateX(-46%) rotate(-2deg);
}

.crop-profile {
  background: #fff8e8;
}

.crop-profile img {
  top: 38px;
  left: 50%;
  transform: translateX(-46%) rotate(2deg);
}

.feature-data .feature-copy {
  order: 2;
}

.feature-data .screen-crop {
  order: 1;
}

.feature-data .screen-crop::after {
  box-shadow: inset -24px 0 44px rgba(255, 255, 255, 0.5);
}

.feature-data .feature-index {
  color: var(--pink);
}

.feature-income .feature-index {
  color: #d69111;
}

.screens-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  min-height: 780px;
  padding: 112px max(24px, calc((100% - var(--container)) / 2));
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.screens-intro {
  align-self: center;
  max-width: 470px;
}

.eyebrow-light {
  color: #c8aefe;
}

.screens-intro > p {
  margin-top: 24px;
  color: #aaa3b5;
}

.screen-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.screen-tab {
  padding: 10px 15px;
  color: #c5bfcd;
  background: transparent;
  border: 1px solid #3f3849;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.screen-tab:hover,
.screen-tab:focus-visible,
.screen-tab.is-active {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
  outline: none;
}

.screen-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.screen-glow {
  position: absolute;
  width: 440px;
  height: 520px;
  background: #3d2765;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.gallery-phone {
  position: relative;
  z-index: 2;
  width: 286px;
  aspect-ratio: 946 / 2048;
  margin: 0;
  padding: 8px;
  overflow: hidden;
  background: #0b090e;
  border: 1px solid #554b64;
  border-radius: 38px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.gallery-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 31px;
  transition: opacity 140ms ease, transform 140ms ease;
}

.gallery-phone img.is-switching {
  opacity: 0;
  transform: scale(0.985);
}

.screen-caption {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 38px;
  display: flex;
  flex-direction: column;
  width: 210px;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
}

.screen-caption strong {
  margin-bottom: 6px;
  font-size: 15px;
}

.screen-caption span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.download-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  padding: 120px 0;
}

.download-copy {
  position: relative;
}

.download-icon {
  width: 92px;
  height: 92px;
  margin-bottom: 28px;
  object-fit: cover;
  object-position: left;
  border-radius: 22px;
}

.download-copy > p {
  max-width: 530px;
  margin-top: 24px;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.download-meta span {
  padding: 8px 10px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 6px;
  font-size: 12px;
}

.download-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.download-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.download-option.is-recommended {
  border-color: #c5a9ff;
  box-shadow: 0 18px 44px rgba(101, 54, 216, 0.1);
}

.download-option.is-recommended::before {
  content: "当前设备";
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 7px;
  color: var(--purple-deep);
  background: #f1eaff;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  color: #9d96a7;
  background: var(--soft);
  border: 1px dashed #c9c4cf;
  border-radius: 6px;
}

.qr-placeholder span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-top: auto;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
}

.qr-placeholder small {
  margin: 10px 0 auto;
  font-size: 11px;
}

.download-option > div:last-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.download-option strong {
  font-size: 14px;
}

.download-option div:last-child span {
  color: var(--muted);
  font-size: 11px;
}

.site-footer {
  padding: 0 max(24px, calc((100% - var(--container)) / 2));
  color: #aaa4b0;
  background: #f5f4f7;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 0 28px;
}

.footer-brand,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

.footer-record {
  display: flex;
  justify-content: center;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
}

.footer-record a {
  transition: color 160ms ease;
}

.footer-record a:hover,
.footer-record a:focus-visible {
  color: var(--ink);
  outline: none;
}

.mobile-download-bar {
  display: none;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
  }

  .phone {
    width: 260px;
  }

  .phone-back {
    right: 230px;
  }

  .section-heading {
    grid-template-columns: 1fr 1.4fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 32px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 130px;
  }

  .hero::before {
    inset: 610px -24px 40px -24px;
  }

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

  .hero-visual {
    width: min(100%, 650px);
    height: 660px;
    margin: 60px auto 0;
  }

  .phone {
    width: 285px;
  }

  .phone-back {
    right: 50%;
  }

  .phone-front {
    right: 6%;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-heading > p:last-child {
    grid-column: auto;
    max-width: 560px;
  }

  .feature-item {
    grid-template-columns: 1fr 1fr;
  }

  .feature-copy {
    padding: 40px;
  }

  .screens-section {
    grid-template-columns: 1fr 1fr;
  }

  .screen-caption {
    right: -24px;
  }

  .download-section {
    grid-template-columns: 1fr;
    gap: 52px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 78px;
  }

  .site-header,
  .site-header.is-scrolled {
    top: 0;
    width: 100%;
    height: 68px;
    padding: 0 18px;
    border: 0;
    border-bottom: 1px solid rgba(231, 228, 236, 0.78);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
  }

  .brand {
    width: 142px;
  }

  .site-nav a:not(.nav-download) {
    display: none;
  }

  .site-nav {
    gap: 0;
  }

  .nav-download {
    padding: 9px 12px;
    font-size: 12px;
  }

  .hero {
    width: calc(100% - 36px);
    padding: 108px 0 26px;
  }

  .hero::before {
    inset: 520px -18px 32px -18px;
  }

  .eyebrow {
    margin-bottom: 17px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: 25px;
  }

  .hero-promise {
    font-size: 48px;
  }

  .hero-description {
    margin: 20px 0 24px;
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-actions {
    gap: 8px;
  }

  .platform-button {
    min-width: 0;
    flex: 1;
    padding: 10px;
  }

  .platform-mark {
    width: 30px;
    height: 30px;
    margin-right: 8px;
  }

  .hero-visual {
    width: 100%;
    height: 230px;
    margin-top: 30px;
    overflow: hidden;
  }

  .phone {
    width: min(47vw, 184px);
    padding: 6px;
    border-radius: 29px;
  }

  .phone::before,
  .gallery-phone::before {
    top: 8px;
    width: 66px;
    height: 17px;
  }

  .phone-screen {
    border-radius: 23px;
  }

  .phone-back {
    top: 8px;
    right: 42%;
  }

  .phone-front {
    top: 34px;
    right: 0;
  }

  .floating-note {
    padding: 9px 10px;
    font-size: 10px;
  }

  .note-data {
    top: 8px;
    left: -5px;
  }

  .note-income {
    right: -5px;
    bottom: 12px;
  }

  .feature-band {
    padding: 42px 18px 78px;
  }

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

  .section-heading h2,
  .screens-intro h2,
  .download-copy h2 {
    font-size: 36px;
  }

  .section-heading > p:last-child,
  .screens-intro > p,
  .download-copy > p {
    font-size: 14px;
  }

  .feature-item {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .feature-copy,
  .feature-data .feature-copy {
    order: 1;
    padding: 34px 26px 30px;
  }

  .feature-copy h3 {
    font-size: 28px;
  }

  .feature-copy > p {
    font-size: 14px;
  }

  .screen-crop,
  .feature-data .screen-crop {
    order: 2;
    min-height: 350px;
  }

  .screen-crop img {
    width: 330px;
  }

  .screens-section {
    display: block;
    min-height: auto;
    padding: 78px 18px 88px;
  }

  .screens-intro {
    max-width: none;
  }

  .screen-tabs {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .screen-stage {
    min-height: 610px;
    margin-top: 20px;
  }

  .gallery-phone {
    width: min(76vw, 290px);
  }

  .gallery-phone img {
    border-radius: 31px;
  }

  .screen-caption {
    right: 0;
    bottom: 14px;
    width: 180px;
  }

  .download-section {
    width: calc(100% - 36px);
    padding: 78px 0;
  }

  .download-icon {
    width: 74px;
    height: 74px;
    border-radius: 18px;
  }

  .download-options {
    gap: 10px;
  }

  .download-option {
    padding: 12px;
  }

  .download-option > div:last-child {
    display: block;
  }

  .download-option div:last-child span {
    display: block;
    margin-top: 4px;
  }

  .site-footer {
    padding: 0 18px;
  }

  .footer-main {
    display: block;
    padding: 32px 0 24px;
  }

  .site-footer nav {
    margin-top: 18px;
    gap: 10px 18px;
  }

  .mobile-download-bar {
    position: fixed;
    z-index: 120;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px 12px 16px;
    color: var(--white);
    background: rgba(23, 19, 31, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: 0 18px 42px rgba(23, 19, 31, 0.28);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-download-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-download-bar span {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .mobile-download-bar strong {
    font-size: 13px;
  }

  .mobile-download-bar small {
    margin-top: 2px;
    color: #bdb7c6;
    font-size: 10px;
  }

  .mobile-download-bar b {
    flex: 0 0 auto;
    padding: 10px 12px;
    color: var(--ink);
    background: var(--white);
    border-radius: 6px;
    font-size: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
