/* App 下载页 — 色调对齐首页 home-hero */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600;700;800&display=swap');

.page-app {
  --app-display: "Outfit", "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

.page-app .opc-main {
  padding: 0;
}

.app-page {
  position: relative;
  min-height: calc(100vh - var(--opc-top-h, 64px));
  padding: 100px 0 80px;
  overflow: hidden;
  color: #e8f1ff;
  background:
    radial-gradient(ellipse 72% 58% at 78% 18%, rgba(96, 165, 255, 0.5), transparent 58%),
    radial-gradient(ellipse 60% 48% at 14% 78%, rgba(56, 130, 246, 0.38), transparent 55%),
    radial-gradient(ellipse 48% 36% at 48% 100%, rgba(120, 180, 255, 0.22), transparent 60%),
    linear-gradient(160deg, #0b3d72 0%, #1254a0 42%, #1a5eb8 100%);
}

.app-page-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.app-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.app-orb-a {
  width: 260px;
  height: 260px;
  right: 10%;
  top: 8%;
  background: radial-gradient(circle, rgba(130, 195, 255, 0.55), transparent 68%);
  animation: appOrbPulse 5.5s ease-in-out infinite;
}
.app-orb-b {
  width: 200px;
  height: 200px;
  left: 6%;
  bottom: 16%;
  background: radial-gradient(circle, rgba(70, 145, 255, 0.45), transparent 68%);
  animation: appOrbPulse 6.8s 0.8s ease-in-out infinite;
}
@keyframes appOrbPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}

.app-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.app-hero {
  text-align: center;
  margin-bottom: 36px;
}

.app-kicker {
  margin: 0 0 10px;
  font-family: var(--app-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ec9ff;
}

.app-hero h1 {
  margin: 0;
  font-family: var(--app-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f5f9ff;
  line-height: 1.15;
  text-shadow: 0 0 40px rgba(100, 160, 255, 0.28);
}

.app-brand-grad {
  display: inline-block;
  background: linear-gradient(105deg, #9ec9ff 0%, #d6e8ff 48%, #6eb0ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.app-lead {
  margin: 12px 0 0;
  font-size: 15px;
  color: #c9dbf0;
  line-height: 1.6;
}

/* —— 手机：下载按钮 —— */
.app-mobile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
  margin: 0 auto;
}

.app-dl {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  text-decoration: none !important;
  color: #fff !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.app-dl:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.app-dl-android {
  background: linear-gradient(135deg, #3d9cfd, #2563eb);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
  border: 1px solid rgba(180, 220, 255, 0.28);
}

.app-dl-ios {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(180, 220, 255, 0.35);
  box-shadow: 0 12px 28px rgba(8, 40, 90, 0.28);
  backdrop-filter: blur(10px);
}

.app-dl.is-soft {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(180, 220, 255, 0.22);
  box-shadow: none;
  color: #e8f1ff !important;
}

.app-dl.is-soft .app-dl-text em { color: #9ec9ff; opacity: 0.9; }

.app-dl-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
}

.app-dl.is-soft .app-dl-icon {
  background: rgba(158, 201, 255, 0.16);
  color: #d6e8ff;
}

.app-dl-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.app-dl-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.app-dl-text em {
  font-style: normal;
  font-size: 12px;
  opacity: 0.82;
}

/* —— 电脑：扫码 —— */
.app-desktop {
  text-align: center;
}

.app-scan-lead {
  margin: 0 0 24px;
  font-size: 15px;
  color: #c9dbf0;
}

.app-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 28px 40px;
  justify-content: center;
}

.app-qr {
  margin: 0;
}

.app-qr-frame {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(180, 220, 255, 0.45);
  box-shadow:
    0 16px 40px rgba(8, 40, 90, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.app-qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

.app-qr-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #6b8ab0;
  line-height: 1.45;
  background:
    linear-gradient(135deg, rgba(47, 127, 255, 0.08), rgba(18, 84, 160, 0.04)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(100, 140, 190, 0.08) 8px,
      rgba(100, 140, 190, 0.08) 16px
    );
}

.app-qr-ph small {
  font-size: 10px;
  font-weight: 500;
  color: #94a8c4;
  max-width: 90%;
  word-break: break-all;
}

.app-qr figcaption {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-qr figcaption strong {
  font-size: 16px;
  font-weight: 700;
  color: #f5f9ff;
}

.app-qr figcaption span {
  font-size: 13px;
  color: #9ec9ff;
}

.app-tip {
  margin: 28px auto 0;
  max-width: 36em;
  font-size: 13px;
  color: rgba(201, 219, 240, 0.72);
  line-height: 1.55;
}

.app-tip code {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #d6e8ff;
}

@media (max-width: 560px) {
  .app-page { padding: 72px 0 56px; }
  .app-qr-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
