/* ========================================
   QuickQ v4 — 下载页样式（翡翠绿极速科技风）
   ======================================== */

.download-page {
  position: relative;
  padding: 140px 24px 100px;
  min-height: 100vh;
}
.dl-inner { max-width: 1120px; margin: 0 auto; }

/* ---- 页头 ---- */
.dl-header { text-align: center; margin-bottom: 64px; }

.dl-logo-ring {
  position: relative;
  width: 108px; height: 108px;
  margin: 0 auto 28px;
}
.dl-logo-ring > svg {
  width: 100%; height: 100%;
  animation: ringRotate 8s linear infinite;
}
@keyframes ringRotate { to { transform: rotate(360deg); } }
.dl-logo-core {
  position: absolute; inset: 18px;
  display: flex; align-items: center; justify-content: center;
}
.dl-logo-core svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 24px rgba(16,185,129,.4));
}

.dl-header h2 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.dl-header p { font-size: 16px; color: var(--text2); }

/* ---- 平台卡片 ---- */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}
.dl-card {
  position: relative;
  background: rgba(14,22,19,.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  text-align: center;
  transition: all var(--transition);
}
.dl-card:hover {
  border-color: rgba(16,185,129,.35);
  background: rgba(14,22,19,.8);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.dl-card.featured {
  background: linear-gradient(180deg, rgba(16,185,129,.08), rgba(34,211,238,.03));
  border-color: rgba(16,185,129,.4);
  box-shadow: 0 0 60px rgba(16,185,129,.1);
}
.dl-tag {
  position: absolute; top: 20px; right: 20px;
  font-size: 11px; font-weight: 700;
  background: var(--gradient);
  color: #fff;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}
.dl-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: var(--radius-lg);
  background: var(--primary-subtle);
  border: 1px solid rgba(16,185,129,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  transition: all var(--transition);
}
.dl-card:hover .dl-icon { box-shadow: 0 0 28px rgba(16,185,129,.3); }
.dl-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.dl-ver { font-size: 13px; color: var(--text3); display: block; margin-bottom: 20px; }

.dl-specs {
  text-align: left;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
}
.dl-spec {
  display: flex; justify-content: space-between;
  font-size: 13px;
  padding: 5px 0;
}
.dl-spec span { color: var(--text3); }
.dl-spec strong { font-weight: 600; color: var(--text2); }

.dl-btn { width: 100%; justify-content: center; margin-bottom: 14px; }
.dl-hash {
  display: block;
  font-size: 11px;
  color: var(--text3);
  word-break: break-all;
  line-height: 1.5;
}

/* ---- 安装指引 ---- */
.guide-section { margin-bottom: 64px; }
.guide-section .section-header { margin-bottom: 48px; }
.guide-row {
  display: flex; align-items: stretch; justify-content: center;
  gap: 20px;
}
.guide-step {
  flex: 1; max-width: 300px;
  text-align: center;
  padding: 32px 24px;
  background: rgba(14,22,19,.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.guide-step:hover {
  border-color: rgba(16,185,129,.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.gs-num {
  font-size: 36px; font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 12px;
}
.guide-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.guide-step p { font-size: 13px; color: var(--text2); line-height: 1.7; }
.guide-arr {
  display: flex; align-items: center;
  color: var(--text3);
  flex-shrink: 0;
}

/* ---- 返回 ---- */
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text2);
  text-decoration: none;
  transition: color var(--transition);
}
.back-link:hover { color: var(--primary); }

/* ---- 响应式 ---- */
@media (max-width: 860px) {
  .dl-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .guide-row { flex-direction: column; align-items: center; }
  .guide-arr { transform: rotate(90deg); }
  .guide-step { max-width: 100%; width: 100%; }
}
