/* APP 下载页 */
.download-main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

.download-section {
  position: relative;
  min-height: calc(100vh - 80px);
  padding: 3rem 5%;
  overflow: hidden;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 35%, #90caf9 70%, #e1f5fe 100%);
}

.download-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.download-bg-shapes::before,
.download-bg-shapes::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(33, 150, 243, 0.12);
}

.download-bg-shapes::before {
  width:  min(60vw, 520px);
  height: min(60vw, 520px);
  top: -15%;
  right: -10%;
}

.download-bg-shapes::after {
  width:  min(40vw, 320px);
  height: min(40vw, 320px);
  bottom: -5%;
  right: 5%;
  background: rgba(25, 118, 210, 0.1);
}

.download-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 80px - 6rem);
}

/* 左侧区域 */
.download-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.download-headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1565c0;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}

.download-line1,
.download-line2 {
  display: block;
}

.download-qr-wrap {
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(21, 101, 192, 0.15);
}

.download-qr {
  display: block;
  width:  clamp(180px, 22vw, 240px);
  height: clamp(180px, 22vw, 240px);
  object-fit: contain;
}

.download-hint {
  font-size: 0.95rem;
  color: #455a64;
  margin: 0;
}

/* 右侧区域 */
.download-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.download-phone-wrap {
  position: relative;
  max-width: 100%;
}

.download-phone-img {
  max-width: 100%;
  width:  clamp(280px, 40vw, 380px);
  height: auto;
  object-fit: contain;
  display: block;
}

/* 导航在当前页高亮 */
.nav-links a.active {
  color: #1565c0;
  font-weight: 600;
}

@media (max-width: 768px) {
  .download-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .download-left {
    align-items: center;
    text-align: center;
  }

  .download-headline {
    text-align: center;
  }

  .download-qr-wrap {
    margin: 0 auto;
  }

  .download-phone-img {
    margin: 0 auto;
  }
}
