:root {
  color-scheme: light dark;
  --page: #f7fbff;
  --page-2: #eaf5ff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-soft: rgba(239, 247, 255, 0.72);
  --glass-border: rgba(148, 178, 214, 0.32);
  --glass-highlight: rgba(255, 255, 255, 0.72);
  --ink: #0f2039;
  --muted: #53657b;
  --muted-2: #718198;
  --accent: #1574f5;
  --accent-deep: #0f57b7;
  --accent-soft: rgba(21, 116, 245, 0.12);
  --line: rgba(97, 129, 165, 0.2);
  --shadow: 0 28px 88px rgba(25, 69, 125, 0.16);
  --shadow-soft: 0 18px 48px rgba(25, 69, 125, 0.11);
  --radius-panel: 0.5rem;
  --radius-control: 0.75rem;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(145deg, var(--page) 0%, var(--page-2) 52%, #f8fbff 100%);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans SC",
    system-ui,
    sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(100deg, rgba(21, 116, 245, 0.08), transparent 28%, rgba(128, 218, 255, 0.12) 72%, transparent),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.22) 0, rgba(255, 255, 255, 0.22) 1px, transparent 1px, transparent 18px);
  opacity: 0.72;
  pointer-events: none;
}

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

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

.page-shell {
  width: min(calc(100% - 1.5rem), 70rem);
  margin: 0 auto;
  padding: max(0.9rem, env(safe-area-inset-top)) 0 1rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.46)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(170%) contrast(1.03);
  -webkit-backdrop-filter: blur(28px) saturate(170%) contrast(1.03);
}

.hero-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0) 32%),
    linear-gradient(180deg, rgba(21, 116, 245, 0.1), transparent 44%);
  pointer-events: none;
}

.hero-card::after {
  position: absolute;
  inset: 1px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: calc(var(--radius-panel) - 1px);
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

a.brand-mark {
  text-decoration: none;
}

.brand-mark img {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.64rem;
  box-shadow: 0 0.75rem 1.6rem rgba(21, 116, 245, 0.16);
}

.topbar-nav {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.topbar-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.44rem 0.68rem;
}

.topbar-nav a:hover,
.topbar-nav a:focus-visible {
  border-color: rgba(21, 116, 245, 0.18);
  background: var(--accent-soft);
  color: var(--accent-deep);
  outline: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(17rem, 0.82fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 5vw, 4.6rem);
}

.hero-copy {
  max-width: 34rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 5.8rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 span {
  display: block;
}

.lead {
  max-width: 31rem;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.actions {
  margin-top: 1.8rem;
}

.download-form {
  display: grid;
  width: min(100%, 24rem);
  justify-items: stretch;
}

.primary-button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: var(--radius-control);
  padding: 0.98rem 1.2rem;
  background:
    linear-gradient(135deg, rgba(61, 156, 255, 0.98), rgba(13, 83, 190, 0.98)),
    var(--accent);
  color: #ffffff;
  box-shadow: 0 1rem 2.4rem rgba(21, 116, 245, 0.24);
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  box-shadow: 0 1.15rem 2.7rem rgba(21, 116, 245, 0.31);
  outline: none;
}

.primary-button:active {
  transform: translateY(1px) scale(0.99);
}

.hero-visual {
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  padding: 1rem;
}

.icon-stage {
  position: relative;
  display: grid;
  width: min(100%, 20rem);
  aspect-ratio: 1;
  place-items: center;
}

.icon-stage::before,
.icon-stage::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.icon-stage::before {
  inset: 7%;
  border: 1px solid rgba(21, 116, 245, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.icon-stage::after {
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.56);
  transform: rotate(-18deg);
}

.phone-shadow {
  position: absolute;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: rgba(21, 116, 245, 0.18);
  filter: blur(30px);
  transform: translateY(1.2rem);
}

.icon-stage img {
  position: relative;
  z-index: 1;
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 1.7rem 2.7rem rgba(21, 81, 160, 0.22));
}

.visual-note {
  max-width: 18rem;
  margin: 0;
  color: var(--muted-2);
  font-size: 0.88rem;
  line-height: 1.7;
  text-align: center;
}

.feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 0.75rem;
  padding: 0 1rem 1rem;
}

.feature-card {
  display: grid;
  gap: 0.35rem;
  min-height: 7.6rem;
  align-content: end;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-panel);
  padding: 1rem;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.38)),
    var(--surface-soft);
  box-shadow: var(--shadow-soft);
}

.feature-card-wide {
  background:
    linear-gradient(135deg, rgba(21, 116, 245, 0.12), rgba(255, 255, 255, 0.48)),
    var(--surface-soft);
}

.feature-card strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.feature-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.download-body {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
}

.download-nav {
  display: flex;
  width: min(calc(100% - 3rem), 70rem);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 auto;
  padding: max(1.05rem, env(safe-area-inset-top)) 0 0.9rem;
}

.download-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 950;
}

.download-brand img {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.72rem;
  box-shadow: 0 0.75rem 1.5rem rgba(21, 116, 245, 0.18);
}

.download-nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
}

.download-nav-links a {
  border-radius: 999px;
  padding: 0.48rem 0.76rem;
  transition: background 160ms ease, color 160ms ease;
}

.download-nav-links a:hover,
.download-nav-links a:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-deep);
  outline: none;
}

.download-shell {
  width: min(calc(100% - 3rem), 70rem);
  flex: 1;
  margin: 0 auto;
  padding: clamp(1.2rem, 4vw, 3.4rem) 0 clamp(2.2rem, 5vw, 4rem);
}

.download-hero {
  position: relative;
  display: grid;
  min-height: min(39rem, calc(100dvh - 13rem));
  grid-template-columns: minmax(0, 1.05fr) minmax(19rem, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.download-hero::before {
  position: absolute;
  top: 8%;
  right: 5%;
  width: min(42vw, 30rem);
  height: min(42vw, 30rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 116, 245, 0.18), transparent 68%);
  content: "";
  filter: blur(6px);
  pointer-events: none;
}

.download-copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.download-kicker {
  display: inline-flex;
  margin: 0 0 1.1rem;
  border: 1px solid rgba(21, 116, 245, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-deep);
  box-shadow: 0 0.7rem 1.8rem rgba(21, 116, 245, 0.08);
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1;
  padding: 0.62rem 0.86rem;
}

.download-copy h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 5.35rem);
  letter-spacing: 0;
  line-height: 1.05;
}

.download-status {
  position: relative;
  max-width: 33rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.78;
}

.download-status::before {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: #19b972;
  box-shadow: 0 0 0 0.35rem rgba(25, 185, 114, 0.12);
  content: "";
  vertical-align: 0.08rem;
}

.download-primary {
  display: inline-flex;
  min-width: 13.5rem;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.85rem;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 0.95rem;
  background:
    linear-gradient(135deg, rgba(61, 156, 255, 0.98), rgba(13, 83, 190, 0.98)),
    var(--accent);
  color: #ffffff;
  box-shadow: 0 1rem 2.4rem rgba(21, 116, 245, 0.25);
  font-weight: 950;
  line-height: 1;
  padding: 0.98rem 1.5rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.download-primary:hover,
.download-primary:focus-visible {
  box-shadow: 0 1.15rem 2.7rem rgba(21, 116, 245, 0.32);
  outline: none;
}

.download-primary:active {
  transform: translateY(1px) scale(0.99);
}

.download-abi-links {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  margin-top: 1.05rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.download-abi-links a {
  min-width: 4.5rem;
  border-radius: 999px;
  padding: 0.28rem 0.56rem;
  color: var(--accent-deep);
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.download-abi-divider {
  flex: 0 0 auto;
  width: 1px;
  height: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(21, 116, 245, 0.28), transparent);
}

.download-abi-links a:hover,
.download-abi-links a:focus-visible {
  background: var(--accent-soft);
  outline: none;
}

.download-helper {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--muted-2);
  font-size: 0.85rem;
  line-height: 1.65;
}

.download-preview {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  margin: 0;
}

.download-phone-stack {
  position: relative;
  width: min(100%, 24rem);
  height: 31rem;
}

.download-phone-stack::before {
  position: absolute;
  inset: 20% 4% 3%;
  border-radius: 50%;
  background: rgba(21, 116, 245, 0.22);
  content: "";
  filter: blur(42px);
}

.download-phone-back,
.download-phone-front {
  position: absolute;
  display: block;
  height: auto;
  border-radius: 2rem;
  filter: drop-shadow(0 1.5rem 2.5rem rgba(15, 42, 92, 0.24));
}

.download-phone-back {
  top: 2.4rem;
  left: 0.7rem;
  width: 12.6rem;
  opacity: 0.72;
  transform: rotate(-7deg);
}

.download-phone-front {
  top: 0;
  right: 1.5rem;
  width: 15rem;
}

.download-app-badge {
  position: absolute;
  right: 0.4rem;
  bottom: 2.8rem;
  display: grid;
  width: 5.2rem;
  height: 5.2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1.15rem 2.5rem rgba(21, 116, 245, 0.18);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.download-app-badge img {
  width: 3.7rem;
  height: 3.7rem;
  object-fit: contain;
}

.download-preview p {
  max-width: 20rem;
  margin: 0.65rem 0 0;
  color: var(--muted-2);
  font-size: 0.9rem;
  line-height: 1.65;
  text-align: center;
}

.download-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.download-help-grid article {
  border: 1px solid rgba(151, 183, 220, 0.22);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 1rem 2.8rem rgba(25, 69, 125, 0.08);
  padding: 1.1rem 1.15rem;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.download-help-grid strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 950;
}

.download-help-grid span {
  display: block;
  margin-top: 0.38rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.site-footer {
  width: min(calc(100% - 1.5rem), 70rem);
  margin: 0 auto;
  padding: 0.95rem 1rem max(1rem, env(safe-area-inset-bottom));
  color: var(--muted-2);
  font-size: 0.78rem;
  line-height: 1.7;
  text-align: center;
}

.site-footer p {
  margin: 0.18rem 0;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent-deep);
  outline: none;
}

.download-footer {
  width: min(calc(100% - 3rem), 70rem);
  margin-top: auto;
  border-top: 1px solid rgba(97, 129, 165, 0.16);
  padding: 1.15rem 0 max(1.3rem, env(safe-area-inset-bottom));
  text-align: left;
}

.download-footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.download-footer-main nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
}

.download-footer > a {
  display: inline-block;
  margin-top: 0.62rem;
}

@media (prefers-reduced-motion: no-preference) {
  .icon-stage::after {
    animation: icon-breathe 8s ease-in-out infinite;
  }

  .hero-card {
    animation: card-rise 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

@keyframes icon-breathe {
  0%,
  100% {
    transform: rotate(-18deg) scale(1);
  }

  50% {
    transform: rotate(-11deg) scale(1.035);
  }
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #07101d;
    --page-2: #0b1f36;
    --surface: rgba(13, 26, 45, 0.72);
    --surface-strong: rgba(16, 32, 55, 0.92);
    --surface-soft: rgba(17, 39, 67, 0.74);
    --glass-border: rgba(155, 194, 240, 0.2);
    --glass-highlight: rgba(255, 255, 255, 0.18);
    --ink: #f2f7ff;
    --muted: #b8c7da;
    --muted-2: #8ea0b7;
    --accent: #5faaff;
    --accent-deep: #8cc4ff;
    --accent-soft: rgba(95, 170, 255, 0.16);
    --line: rgba(155, 194, 240, 0.16);
    --shadow: 0 28px 88px rgba(0, 0, 0, 0.38);
    --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.28);
  }

  html {
    background:
      linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 38%),
      linear-gradient(145deg, var(--page) 0%, var(--page-2) 56%, #07111f 100%);
  }

  .hero-card,
  .feature-card,
  .download-kicker,
  .download-help-grid article,
  .download-app-badge {
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
      var(--surface);
  }
}

@media (max-width: 54rem) {
  .download-nav,
  .download-shell,
  .download-footer {
    width: min(calc(100% - 2rem), 70rem);
  }

  .download-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 0.5rem;
    text-align: center;
  }

  .download-copy {
    max-width: none;
    justify-self: center;
  }

  .download-copy h1 {
    max-width: none;
  }

  .download-status {
    max-width: 34rem;
  }

  .download-abi-links {
    justify-content: center;
  }

  .download-help-grid {
    grid-template-columns: 1fr;
    margin-top: 1.6rem;
  }

  .download-footer-main {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .download-footer-main nav {
    justify-content: center;
  }

  .download-footer {
    text-align: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .hero-copy {
    max-width: none;
  }

  .download-form {
    width: 100%;
  }

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

@media (max-width: 36rem) {
  .page-shell {
    width: min(calc(100% - 1rem), 70rem);
  }

  .download-nav,
  .download-shell,
  .download-footer {
    width: min(calc(100% - 1rem), 70rem);
  }

  .download-nav {
    padding-top: max(0.8rem, env(safe-area-inset-top));
  }

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

  .download-brand img {
    width: 2rem;
    height: 2rem;
    border-radius: 0.62rem;
  }

  .download-nav-links {
    gap: 0.12rem;
    font-size: 0.78rem;
  }

  .download-nav-links a {
    padding: 0.42rem 0.5rem;
  }

  .download-shell {
    padding-top: 0.7rem;
  }

  .download-kicker {
    margin-bottom: 0.9rem;
    font-size: 0.76rem;
  }

  .download-copy h1 {
    font-size: clamp(2.3rem, 12vw, 3rem);
  }

  .download-status {
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .download-primary {
    width: 100%;
    min-width: 0;
  }

  .download-phone-stack {
    width: min(100%, 20rem);
    height: 25rem;
  }

  .download-phone-back {
    width: 10.2rem;
  }

  .download-phone-front {
    right: 1rem;
    width: 12.2rem;
  }

  .download-app-badge {
    right: 0.2rem;
    bottom: 2.2rem;
    width: 4.3rem;
    height: 4.3rem;
    border-radius: 1.1rem;
  }

  .download-app-badge img {
    width: 3rem;
    height: 3rem;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .topbar-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  h1 {
    font-size: clamp(2.72rem, 14vw, 3.5rem);
  }

  .hero-visual {
    padding: 0;
  }

  .icon-stage {
    width: min(100%, 16rem);
  }

  .site-footer {
    width: min(calc(100% - 1rem), 70rem);
  }
}
