/* ==========================================================================
   V2Ray测评 — download.css
   下载页专属样式
   ========================================================================== */

/* Hero 区 */
.dl-hero {
  padding-top: 72px;
  padding-bottom: 56px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.dl-hero__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.dl-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg-panel2);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.dl-hero__eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.dl-hero__desc {
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text-muted);
}

.dl-hero__desc strong {
  color: var(--text);
  font-weight: 700;
}

.dl-hero__facts {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dl-hero__facts span {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* 下载区 */
.dl-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.dl-section--panel {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dl-section__title {
  margin-bottom: 28px;
}

/* 下载卡片网格 */
.dl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* 卡片头：图标与名称同行 */
.dl-card__head {
  align-items: center;
}

.dl-card__head img {
  flex-shrink: 0;
}

/* 主按钮视觉加重 */
.dl-card__actions .btn--primary,
.dl-card__actions .btn--ghost {
  min-height: 48px;
}

.dl-card__actions .btn--primary {
  flex: 1 1 auto;
}

/* 次级入口（Linux arm64） */
.dl-card__alt {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

.dl-card__alt a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: color 0.12s ease;
}

.dl-card__alt a:hover {
  color: var(--ink);
  text-decoration-color: var(--honey);
}

/* 系统要求 */
.sys-req {
  margin-top: 28px;
  background: var(--bg-panel2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sys-req h3 {
  font-size: 16px;
  margin-bottom: 14px;
}

.sys-req .data-table {
  margin: 0;
  border: none;
}

.sys-req .data-table th,
.sys-req .data-table td {
  padding: 10px 14px;
  font-size: 13.5px;
}

/* FAQ 区 */
.dl-faq {
  max-width: 820px;
  margin: 0 auto;
}

/* 选型区 */
.dl-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .dl-guide-grid {
    grid-template-columns: 1fr;
  }

  .dl-hero {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .dl-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}