/* Baixar o app (baixar.js), a tela que só o site mostra. Veio da SPA antiga
   (thunderx-web/app/src/styles/extra.css, 2026-09-29) em 2026-10-01, quando a
   SPA saiu: o mesmo desenho (o canvas "Baixar o app — Thunder X"), com os
   botões e os cartões do design system daqui (.tx-btn, .cartao) no lugar dos
   da SPA. Plataforma e processador são grupos de rádio; o arquivo embaixo muda
   com eles. */

/* O cartão daqui já tem margem embaixo; dentro da grade quem espaça é o gap. */
.baixar-grade .cartao { margin-bottom: 0; }

.baixar-eyebrow {
  background: var(--tx-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  font-family: var(--tx-font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.baixar-versao {
  color: var(--tx-blue-bright);
  font-family: var(--tx-font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.28em;
  margin: 8px 0 0;
  text-transform: uppercase;
}
.baixar-grade {
  align-items: start;
  display: grid;
  gap: var(--tx-space-5);
  grid-template-columns: minmax(0, 1fr) 340px;
}
.baixar-principal { display: flex; flex-direction: column; gap: var(--tx-space-5); }
.baixar-lateral { display: flex; flex-direction: column; gap: var(--tx-space-5); }

.baixar-linha { align-items: center; display: flex; flex-wrap: wrap; gap: var(--tx-space-4); justify-content: space-between; }
.baixar-rotulo {
  color: var(--tx-text);
  font-family: var(--tx-font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0;
  text-transform: uppercase;
}
.baixar-rotulo-apagado { color: var(--tx-text-muted); font-size: 12px; }
.baixar-detectado { align-items: center; color: var(--tx-text-muted); display: inline-flex; font-size: 13px; gap: 8px; }
.baixar-ponto { background: #34d399; border-radius: 50%; box-shadow: 0 0 8px #34d399; height: 6px; width: 6px; }

.baixar-plataformas { display: grid; gap: var(--tx-space-3); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.baixar-plataforma {
  background: var(--tx-surface-2);
  border: 1px solid var(--tx-border);
  border-radius: 12px;
  color: var(--tx-text);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 172px;
  padding: var(--tx-space-5) 20px 20px;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.2s ease;
}
.baixar-plataforma:hover { border-color: var(--tx-border-strong); }
.baixar-plataforma.ativa {
  background: linear-gradient(135deg, rgba(61, 90, 254, 0.18) 0%, rgba(124, 58, 237, 0.18) 100%);
  border-color: var(--tx-blue-bright);
  box-shadow: 0 0 24px rgba(77, 124, 255, 0.28);
}
.baixar-plataforma:focus-visible,
.baixar-pilula:focus-visible,
.baixar-copiar:focus-visible { outline: 2px solid var(--tx-blue-bright); outline-offset: 2px; }
.baixar-plataforma-topo { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: auto; padding-bottom: var(--tx-space-4); }
.baixar-plataforma-nome {
  font-family: var(--tx-font-display);
  font-size: 26px;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.baixar-plataforma-sub { color: var(--tx-text-muted); font-size: 13px; }

.baixar-selo {
  align-items: center;
  background: var(--tx-gradient-soft);
  border: 1px solid var(--tx-border-strong);
  border-radius: var(--tx-radius-pill);
  color: var(--tx-blue-bright);
  display: inline-flex;
  font-family: var(--tx-font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  padding: 4px 10px;
  text-transform: uppercase;
}
.baixar-selo-cheio { background: var(--tx-gradient); border-color: transparent; box-shadow: var(--tx-glow); color: #fff; }
.baixar-selo-apagado { background: rgba(154, 163, 189, 0.1); border-color: transparent; color: var(--tx-text-muted); }

.baixar-archs { justify-content: flex-start; }
.baixar-pilulas { display: flex; flex-wrap: wrap; gap: var(--tx-space-2); }
.baixar-pilula {
  background: transparent;
  border: 1px solid var(--tx-border);
  border-radius: var(--tx-radius-pill);
  color: var(--tx-text-muted);
  cursor: pointer;
  font-family: var(--tx-font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 9px 16px;
}
.baixar-pilula:hover { color: var(--tx-text); }
.baixar-pilula.ativa { background: rgba(91, 127, 255, 0.16); border-color: var(--tx-blue-bright); color: var(--tx-text); }

.baixar-arquivo {
  align-items: center;
  background: var(--tx-surface-2);
  border: 1px solid var(--tx-border-strong);
  border-radius: 12px;
  display: flex;
  gap: var(--tx-space-5);
  justify-content: space-between;
  padding: var(--tx-space-5);
}
.baixar-arquivo-vazio { border-style: dashed; min-height: 96px; }
.baixar-arquivo-texto { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.baixar-arquivo-texto strong { font-family: var(--tx-font-ui); font-size: 18px; font-weight: 700; }
.baixar-tipo {
  color: var(--tx-blue-bright);
  font-family: var(--tx-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.baixar-nome { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.baixar-arquivo-acoes { align-items: stretch; display: flex; flex-direction: column; flex-shrink: 0; gap: var(--tx-space-2); }
.baixar-btn { text-decoration: none; white-space: nowrap; }
.baixar-copiar {
  background: none;
  border: none;
  color: var(--tx-text-muted);
  cursor: pointer;
  font-family: var(--tx-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px;
  text-transform: uppercase;
}
.baixar-copiar:hover { color: var(--tx-text); }

.baixar-divisor { background: var(--tx-border); height: 1px; }
.baixar-passos { display: grid; gap: var(--tx-space-4); grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.baixar-passo {
  background: rgba(16, 19, 31, 0.6);
  border: 1px solid var(--tx-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}
.baixar-passo-n {
  color: var(--tx-blue-bright);
  font-family: var(--tx-font-digital);
  font-size: 22px;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(91, 127, 255, 0.45);
}
.baixar-passo-titulo { font-family: var(--tx-font-ui); font-size: 16px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.baixar-passo-texto { color: var(--tx-text-muted); font-size: 14px; line-height: 1.5; }

.baixar-painel { display: flex; flex-direction: column; gap: 18px; padding: var(--tx-space-5); }
.baixar-motivo { display: flex; gap: 14px; }
.baixar-motivo svg { flex-shrink: 0; }
.baixar-motivo div { display: flex; flex-direction: column; gap: 4px; }
.baixar-motivo strong { font-family: var(--tx-font-ui); font-size: 16px; font-weight: 700; }
.baixar-motivo span { color: var(--tx-text-muted); font-size: 13px; line-height: 1.5; }
.baixar-requisitos { display: grid; font-size: 14px; gap: 12px 16px; grid-template-columns: auto 1fr; margin: 0; }
.baixar-requisitos dt { color: var(--tx-text-muted); }
.baixar-requisitos dd { margin: 0; text-align: right; }
.baixar-developer { border-style: dashed; gap: 12px; }

@media (max-width: 1100px) {
  .baixar-grade { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .baixar-plataformas,
  .baixar-passos { grid-template-columns: minmax(0, 1fr); }
  .baixar-plataforma { min-height: 0; }
  .baixar-arquivo { align-items: stretch; flex-direction: column; }
}

/* No celular não há o que instalar: a tela vira "mande o link para você". */
.baixar-celular { display: flex; flex-direction: column; gap: var(--tx-space-4); }
.baixar-celular-acoes { margin: 0; }
.baixar-celular-lista { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.baixar-celular-lista li {
  align-items: center;
  border: 1px solid var(--tx-border);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}
.baixar-celular-nome { font-family: var(--tx-font-ui); font-size: 16px; font-weight: 700; }
.baixar-developer-links { display: flex; flex-direction: column; gap: var(--tx-space-2); }
.baixar-developer-links .tx-btn { text-decoration: none; }
