:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --ink: #064098;
  --muted: #5b7ba8;
  --panel: rgba(255, 255, 255, 0.97);
  --ios-start: #39a9ff;
  --ios-end: #006df5;
  --android-start: #5ce36c;
  --android-end: #17bf46;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #eaf5ff;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.95), rgba(224, 241, 255, 0.35) 34%, rgba(23, 139, 244, 0.2) 100%),
    #eaf5ff;
  color: var(--ink);
}

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

.landing {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 0;
}

.poster {
  position: relative;
  width: 100%;
  max-width: 540px;
  min-height: 100svh;
  aspect-ratio: 864 / 1821;
  overflow: hidden;
  isolation: isolate;
  background: url("./背景.jpg") center top / cover no-repeat;
  box-shadow: 0 30px 70px rgba(10, 91, 174, 0.24);
}

.poster::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 117, 255, 0.05) 100%);
  pointer-events: none;
}

.brand {
  position: absolute;
  top: clamp(34px, 6.8%, 78px);
  left: 50%;
  width: 73.5%;
  max-width: 398px;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 10px 16px rgba(28, 98, 185, 0.08));
}

.features {
  position: absolute;
  top: clamp(274px, 33.1%, 362px);
  left: 50%;
  width: 72%;
  max-width: 389px;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 12px 22px rgba(23, 117, 218, 0.1));
}

.download-panel {
  position: absolute;
  left: 8.7%;
  right: 8.7%;
  bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(17px, 5.4vw, 30px) clamp(18px, 5vw, 34px) clamp(16px, 4.8vw, 28px);
  border-radius: clamp(18px, 4.6vw, 28px);
  background: var(--panel);
  box-shadow:
    0 18px 38px rgba(10, 88, 178, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.download-title {
  width: min(74%, 258px);
  height: auto;
  margin-bottom: clamp(13px, 3.6vw, 22px);
}

.download-actions {
  width: 100%;
  display: grid;
  gap: clamp(12px, 3.4vw, 20px);
}

.download-button {
  position: relative;
  display: grid;
  grid-template-columns: clamp(47px, 13vw, 66px) minmax(0, 1fr) clamp(40px, 11vw, 56px);
  align-items: center;
  min-height: clamp(69px, 18.2vw, 93px);
  padding: clamp(8px, 2.5vw, 13px) clamp(12px, 3.3vw, 20px);
  border-radius: clamp(17px, 4.4vw, 26px);
  color: #fff;
  box-shadow:
    0 10px 22px rgba(0, 114, 245, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
  touch-action: manipulation;
}

.download-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
}

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

.download-button:focus-visible {
  outline: 3px solid rgba(255, 139, 67, 0.7);
  outline-offset: 4px;
}

.download-button-ios {
  background: linear-gradient(135deg, var(--ios-start) 0%, var(--ios-end) 62%, #0058d7 100%);
}

.download-button-android {
  background: linear-gradient(135deg, var(--android-start) 0%, var(--android-end) 68%, #0ca437 100%);
  box-shadow:
    0 10px 22px rgba(22, 188, 72, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.platform-icon {
  position: relative;
  display: grid;
  width: clamp(47px, 13vw, 66px);
  aspect-ratio: 1;
  place-items: center;
}

.platform-icon-bg,
.platform-icon-mark {
  position: absolute;
  max-width: 100%;
  height: auto;
}

.platform-icon-bg {
  width: 100%;
}

.platform-icon-mark {
  width: 66%;
  filter: drop-shadow(0 3px 5px rgba(0, 72, 160, 0.14));
}

.download-copy {
  min-width: 0;
  padding-inline: clamp(9px, 2.6vw, 16px);
  line-height: 1.25;
}

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

.download-copy strong {
  font-size: clamp(18px, 4.7vw, 27px);
  font-weight: 700;
  letter-spacing: 0;
}

.download-copy small {
  margin-top: clamp(4px, 1.3vw, 7px);
  font-size: clamp(12px, 3.1vw, 17px);
  font-weight: 500;
  opacity: 0.86;
}

.download-arrow {
  display: grid;
  width: clamp(40px, 11vw, 56px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: end;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 4px 10px rgba(0, 72, 160, 0.12),
    inset 0 -1px 0 rgba(6, 64, 152, 0.08);
}

.download-arrow img {
  width: 42%;
  height: auto;
}

.trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.8vw, 10px);
  width: 100%;
  margin: clamp(14px, 4vw, 24px) 0 0;
  color: var(--muted);
  font-size: clamp(12px, 3.2vw, 16px);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.trust-shield {
  display: inline-grid;
  width: clamp(17px, 4.4vw, 22px);
  aspect-ratio: 1;
  place-items: center;
  color: #6a86ba;
  flex: 0 0 auto;
}

.trust-shield svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 360px) {
  .download-panel {
    left: 7%;
    right: 7%;
    padding-inline: 15px;
  }

  .download-copy strong {
    font-size: 17px;
  }

  .download-copy small {
    font-size: 11px;
  }

  .trust-line {
    font-size: 11px;
  }
}

@media (min-width: 760px) {
  .poster {
    border-radius: 32px;
  }

  .landing {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-button {
    transition: none;
  }

  .download-button:hover,
  .download-button:active {
    transform: none;
  }
}
