/* 网页版专用下载页 */

.download-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.download-web-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 7px 11px;
  border: 1px solid rgba(63, 157, 196, 0.35);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(63, 157, 196, 0.08);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.download-web-badge .dot,
.download-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 224, 168, 0.1);
}

.download-hero {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(63, 157, 196, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(600px 300px at 88% -10%, rgba(63, 157, 196, 0.22), transparent 65%),
    radial-gradient(420px 260px at 0% 120%, rgba(0, 60, 91, 0.55), transparent 70%),
    linear-gradient(135deg, rgba(12, 28, 40, 0.96), rgba(6, 15, 22, 0.96));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 24px 64px rgba(0, 10, 20, 0.34);
}

.download-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -150px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(63, 157, 196, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.download-hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 26px;
}

.download-icon-wrap {
  flex: none;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(63, 157, 196, 0.38);
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.13), transparent 48%),
    linear-gradient(145deg, rgba(0, 60, 91, 0.6), rgba(3, 13, 20, 0.8));
  box-shadow:
    0 18px 42px rgba(0, 20, 34, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.download-icon-wrap img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.download-hero-copy {
  min-width: 0;
  flex: 1;
}

.download-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.download-kicker svg {
  width: 15px;
  height: 15px;
}

.download-hero-title {
  margin: 9px 0 7px;
  color: var(--text);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.download-hero-lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.download-btn {
  min-height: 44px;
  padding: 0 20px;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(0, 60, 91, 0.42);
}

.download-btn svg,
.download-copy svg {
  width: 17px;
  height: 17px;
}

.download-btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
}

.download-copy {
  min-height: 44px;
  gap: 8px;
}

.download-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  line-height: 1.45;
}

.download-status.is-ready {
  border-color: rgba(47, 224, 168, 0.25);
  color: #bff6e4;
  background: rgba(47, 224, 168, 0.07);
}

.download-status.is-error {
  border-color: rgba(255, 92, 138, 0.3);
  color: #ffc0d2;
  background: rgba(255, 92, 138, 0.07);
}

.download-status.is-loading {
  color: var(--dim);
}

.download-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(63, 157, 196, 0.16);
}

.download-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding-left: 14px;
  border-left: 2px solid rgba(63, 157, 196, 0.38);
}

.download-metric span {
  color: var(--dim);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-metric strong {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
}

.download-card {
  padding: 22px;
}

.download-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.download-step {
  display: grid;
  grid-template-columns: 40px 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 12px;
  transition: background 0.16s ease;
}

.download-step:hover {
  background: rgba(63, 157, 196, 0.07);
}

.download-step-no {
  color: rgba(63, 157, 196, 0.55);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.download-step-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(63, 157, 196, 0.25);
  border-radius: 11px;
  color: var(--cyan);
  background: rgba(63, 157, 196, 0.09);
}

.download-step-icon svg {
  width: 18px;
  height: 18px;
}

.download-step-copy strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.download-step-copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.download-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.download-req-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-req-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.download-req-row svg {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--cyan);
}

.download-notes {
  padding: 18px 20px;
  border: 1px solid rgba(63, 157, 196, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(9, 24, 34, 0.82), rgba(5, 13, 19, 0.82));
}

.download-note-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.download-note-title svg {
  width: 17px;
  height: 17px;
  color: var(--cyan);
}

.download-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.download-notes p + p {
  margin-top: 8px;
}

.download-foot {
  margin: 2px 0 0;
  color: var(--dim);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1050px) {
  .download-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .download-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .download-hero {
    padding: 22px;
  }
  .download-hero-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .download-icon-wrap {
    width: 76px;
    height: 76px;
    border-radius: 19px;
  }
  .download-icon-wrap img {
    width: 56px;
    height: 56px;
  }
  .download-metrics {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .download-side {
    display: flex;
  }
  .download-step {
    grid-template-columns: 32px 38px minmax(0, 1fr);
    padding: 12px 8px;
  }
  .download-web-badge {
    display: none;
  }
}
