/* Download Page Styles */

.download-hero {
  margin-top: 80px;
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.05));
}

.download-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.download-hero-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.download-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

/* Requirements Card */
.requirements-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.requirements-card h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.req-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.req-label {
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.req-value {
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
  min-width: 0;
}

/* Download Card */
.download-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(6, 182, 212, 0.05));
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.download-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.download-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.download-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.btn-download {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
}

.download-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Formats Card */
.formats-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.formats-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.formats-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.format-tag {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid var(--border);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--primary);
}

/* Instruction Card */
.instruction-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.instruction-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.instruction-list {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.instruction-list li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.instruction-note {
  background: rgba(245, 158, 11, 0.1);
  border-left: 3px solid var(--warning);
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* FAQ Card */
.faq-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.faq-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.faq-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-question {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.3rem;
  cursor: pointer;
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .download-container {
    padding: 1rem;
  }
  
  .requirements-grid {
    grid-template-columns: 1fr;
  }
  
  .req-item {
    flex-direction: column;
  }
  
  .btn-download {
    width: 100%;
    text-align: center;
  }
}
/* ===== Platform download blocks (Windows / Linux) ===== */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.platform-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.platform-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.platform-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(6,182,212,0.15));
  flex-shrink: 0;
}
.platform-icon.linux { background: linear-gradient(135deg, rgba(245,158,11,0.16), rgba(234,179,8,0.12)); }
.platform-head h3 { font-size: 1.4rem; margin-bottom: 0.2rem; }
.platform-tag { font-size: 0.8rem; color: var(--text-muted); }
.platform-req { list-style: none; margin: 0 0 1.4rem; flex: 1; padding: 0; }
.platform-req li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.platform-req li:last-child { border-bottom: none; }
.platform-req li span { color: var(--text-muted); flex-shrink: 0; }
.platform-req li b { color: var(--text-primary); font-weight: 600; text-align: right; }
.platform-dl {
  display: flex; align-items: center; gap: 0.8rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; text-decoration: none; border-radius: 12px; padding: 0.9rem 1.1rem;
  box-shadow: 0 8px 24px rgba(14,165,233,0.25); transition: transform 0.25s, box-shadow 0.25s;
}
.platform-dl:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(14,165,233,0.35); }
.platform-dl .dl-ico { font-size: 1.3rem; }
.platform-dl .dl-text { display: flex; flex-direction: column; line-height: 1.25; }
.platform-dl .dl-text b { font-size: 1rem; }
.platform-dl .dl-text small { font-size: 0.78rem; opacity: 0.9; }
.platform-hint { margin-top: 0.9rem; font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* inline code chips (install steps, FAQ, hints) */
code {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.08rem 0.4rem;
  font-size: 0.85em;
  color: var(--text-secondary);
  font-family: 'Consolas', 'Menlo', monospace;
}

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