:root {
  --bg-0: #051327;
  --bg-1: #0a1c3e;
  --card: rgba(10, 26, 58, 0.92);
  --card-strong: rgba(12, 31, 68, 0.96);
  --stroke: rgba(74, 125, 255, 0.22);
  --text: #ffffff;
  --muted: #a8b3c7;
  --blue: #4a7dff;
  --blue-strong: #2f6bff;
}

body {
  color: var(--text);
}

a { text-decoration: none; }

.download-app {
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: 18px 20px 36px;
}

.hero,
.card-download {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 28px;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(10, 26, 58, 0.98), rgba(7, 20, 44, 0.96)),
    var(--card);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 58%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 125, 255, 0.18), transparent 66%);
  pointer-events: none;
}

.marca-chip,
.voltar-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.marca-chip,
.voltar-link {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  font-size: 15px;
  letter-spacing: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.hero-conteudo {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  margin: 14px 0 0;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 24ch;
}

.hero-subtitulo {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.58;
  color: var(--muted);
  max-width: 560px;
}

.hero-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.botao-primario,
.botao-secundario {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 700;
}

.botao-primario {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-strong), var(--blue));
  box-shadow:
    0 12px 28px rgba(47, 107, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.botao-secundario {
  color: var(--text);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
}

.hero-painel {
  min-height: 100%;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(74, 125, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(17, 38, 81, 0.86), rgba(8, 24, 52, 0.94)),
    var(--card-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-detalhes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  height: 100%;
}

.hero-detalhes .detalhe:nth-child(3) {
  grid-column: 1 / -1;
}

.detalhe {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.035);
}

.rotulo {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.detalhe strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.conteudo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 16px;
  margin-top: 16px;
}

.card-download {
  padding: 22px 24px;
  background:
    linear-gradient(180deg, rgba(11, 29, 63, 0.96), rgba(8, 22, 48, 0.96)),
    var(--card);
}

.card-download h2 {
  margin: 0 0 14px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.passos,
.changelog {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.suporte p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.suporte {
  grid-column: 1 / -1;
}

.suporte-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.suporte-topo h2 {
  margin: 0;
}

.suporte-conteudo {
  display: block;
}

.suporte-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  border: 1px solid rgba(74, 125, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(13, 31, 68, 0.92), rgba(8, 20, 44, 0.96));
  box-shadow:
    0 12px 26px rgba(8, 18, 42, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.suporte-icone svg {
  width: 42px;
  height: 42px;
  display: block;
  fill: none;
  stroke: url(#gradSuporte);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(74, 125, 255, 0.22));
}

.suporte-texto {
  max-width: 920px;
}

.suporte-painel {
  margin-top: 18px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(74, 125, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(14, 33, 71, 0.94), rgba(9, 24, 53, 0.96));
}

.suporte-chat-rotulo {
  display: block;
  margin-bottom: 12px;
  color: #dce8ff;
  font-size: 15px;
  font-weight: 700;
}

.suporte-textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  padding: 16px 18px;
  border: 1px solid rgba(74, 125, 255, 0.22);
  border-radius: 18px;
  background: rgba(6, 19, 39, 0.82);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  outline: none;
}

.suporte-textarea::placeholder {
  color: #97a7c2;
}

.suporte-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}

.suporte-botao-secundario,
.suporte-botao-primario {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
}

.suporte-botao-secundario {
  border: 1px solid rgba(74, 125, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.suporte-botao-primario {
  border: 1px solid rgba(74, 125, 255, 0.18);
  background: linear-gradient(135deg, var(--blue-strong), var(--blue));
  color: #fff;
}

@media (max-width: 1024px) {
  .download-app {
    width: min(100%, 980px);
  }

  .hero-grid,
  .conteudo-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .download-app {
    padding: 18px 14px 28px;
  }

  .hero,
  .card-download {
    border-radius: 22px;
  }

  .hero {
    padding: 22px;
  }

  .card-download {
    padding: 22px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .suporte-conteudo {
    display: block;
  }

  .suporte-icone {
    width: 70px;
    height: 70px;
  }

  .suporte-icone svg {
    width: 38px;
    height: 38px;
  }

  .hero-subtitulo,
  .passos,
  .changelog,
  .suporte p {
    font-size: 16px;
  }

  .suporte-acoes {
    justify-content: stretch;
  }

  .suporte-botao-secundario,
  .suporte-botao-primario {
    width: 100%;
  }

  .detalhe strong {
    font-size: 18px;
  }

  .hero-detalhes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
