/* 客户端下载页 */
.page-download .download-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.download-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.download-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #0f172a;
}

.download-hero p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.download-note {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.9rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.platform-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem 1rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.platform-card__icon {
  font-size: 2rem;
  line-height: 1;
}

.platform-card h2 {
  margin: 0;
  font-size: 1.05rem;
}

.platform-card p {
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}

.platform-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-download--primary {
  background: #10b981;
  color: #fff;
}

.btn-download--ghost {
  background: #fff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.platform-card__file {
  margin: 0;
  font-size: 0.75rem;
  color: #94a3b8;
  word-break: break-all;
}

.platform-card--win { border-top: 3px solid #2563eb; }
.platform-card--mac { border-top: 3px solid #64748b; }
.platform-card--ipad { border-top: 3px solid #7c3aed; }

.tutorial-block {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.25rem 1rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.tutorial-block h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.tutorial-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tutorial-steps li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.step-badge {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-text strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #0f172a;
}

.step-text p {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}

.tutorial-diagram {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.78rem;
  line-height: 1.65;
  color: #334155;
}

@media (max-width: 800px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
}
