* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #07101f;
  --bg2: #0b1629;
  --card: rgba(13, 25, 46, 0.72);
  --card2: rgba(16, 31, 55, 0.82);
  --line: rgba(167, 199, 255, 0.16);
  --line2: rgba(255, 255, 255, 0.08);
  --text: #edf4ff;
  --muted: #9eacc2;
  --soft: #c7d7ee;
  --blue: #58a6ff;
  --cyan: #5de2ff;
  --green: #38d188;
  --purple: #9b7cff;
  --yellow: #ffd166;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 12%, rgba(88, 166, 255, 0.24), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(155, 124, 255, 0.18), transparent 24%),
    radial-gradient(circle at 55% 92%, rgba(93, 226, 255, 0.13), transparent 28%),
    linear-gradient(180deg, #07101f 0%, #091426 52%, #050912 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 75%);
}

.bg-windows {
  position: fixed;
  width: 420px;
  height: 420px;
  right: -90px;
  top: 82px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  opacity: 0.16;
  filter: blur(0.2px);
  transform: perspective(800px) rotateY(-20deg) rotateZ(-7deg);
  pointer-events: none;
}

.bg-windows span {
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(100, 180, 255, 0.34), rgba(68, 111, 255, 0.10)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(170, 210, 255, 0.10);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.035);
}

.app {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 28px 18px 24px;
  position: relative;
  z-index: 2;
}

.topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.marca {
  display: flex;
  align-items: center;
  gap: 12px;
}

.marca-icone {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(88, 166, 255, 0.24), rgba(93, 226, 255, 0.12));
  border: 1px solid var(--line);
  color: var(--cyan);
  box-shadow: 0 16px 40px rgba(88, 166, 255, 0.12);
}

.marca-mini {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.marca strong {
  font-size: 15px;
  font-weight: 600;
}

.status-online {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--soft);
  font-size: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.status-online span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(56, 209, 136, 0.85);
}

.hero {
  min-height: 250px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.hero-texto {
  max-width: 650px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(93, 226, 255, 0.22);
  background: rgba(93, 226, 255, 0.07);
  color: #bcefff;
  font-size: 12px;
  letter-spacing: 0.45px;
  margin-bottom: 16px;
}

.tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(93, 226, 255, 0.75);
}

h1 {
  max-width: 640px;
  font-size: clamp(36px, 6vw, 74px);
  line-height: 0.92;
  letter-spacing: -3.2px;
  font-weight: 650;
  margin-bottom: 18px;
}

.subtitulo {
  max-width: 590px;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.62;
}

.selos {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.selos span {
  color: #dbe9ff;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.045);
}

.painel-mini {
  background:
    linear-gradient(180deg, rgba(20, 39, 70, 0.82), rgba(10, 20, 38, 0.78));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(18px);
}

.painel-titulo {
  color: var(--cyan);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 14px;
}

.mini-linha {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line2);
  color: var(--muted);
  font-size: 13px;
}

.mini-linha:last-child {
  border-bottom: 0;
}

.mini-linha strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.grade-principal {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.78fr);
  gap: 20px;
  align-items: start;
}

.card,
.resultado,
.bloco-info {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.card,
.resultado {
  padding: 22px;
}

.card-cabecalho,
.resultado-topo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.etapa {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 6px;
}

.card h2,
.resultado h2 {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 620;
}

.card-icone {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(93, 226, 255, 0.08);
  border: 1px solid rgba(93, 226, 255, 0.16);
  font-size: 22px;
}

.opcoes {
  display: grid;
  gap: 10px;
}

label {
  display: grid;
  grid-template-columns: 18px 38px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line2);
  cursor: pointer;
  transition: 0.18s ease;
}

label:hover {
  transform: translateY(-1px);
  background: rgba(88, 166, 255, 0.105);
  border-color: rgba(88, 166, 255, 0.26);
}

label:has(input:checked) {
  background:
    linear-gradient(135deg, rgba(88, 166, 255, 0.20), rgba(93, 226, 255, 0.08));
  border-color: rgba(93, 226, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
}

input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.item-icone {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line2);
  color: #d8e9ff;
  font-size: 14px;
  font-weight: 700;
}

.item-texto {
  display: grid;
  gap: 3px;
}

.item-texto strong {
  font-size: 14px;
  font-weight: 620;
  color: #f4f8ff;
}

.item-texto small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

button,
.whatsapp {
  width: 100%;
  border: 0;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, #1677ff, #5de2ff);
  color: #06101f;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.2px;
  text-transform: lowercase;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(22, 119, 255, 0.28);
  transition: 0.18s ease;
}

button:hover,
.whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 58px rgba(22, 119, 255, 0.38);
}

.aviso-baixo {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 12px;
  text-align: center;
}

.resultado {
  position: sticky;
  top: 18px;
  background: var(--card2);
}

.escondido {
  display: none;
}

.nivel {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.11);
  color: #ffe1a2;
  border: 1px solid rgba(255, 209, 102, 0.18);
  font-size: 12px;
  font-weight: 650;
}

#textoResultado {
  color: var(--soft);
  line-height: 1.62;
  font-size: 14px;
  margin-top: 12px;
}

.caixa-dica,
.caixa-alerta {
  margin-top: 16px;
  padding: 15px;
  border-radius: 18px;
}

.caixa-dica {
  background: rgba(88, 166, 255, 0.09);
  border: 1px solid rgba(88, 166, 255, 0.18);
}

.caixa-alerta {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line2);
}

.caixa-dica h3,
.caixa-alerta strong {
  display: block;
  color: #ffffff;
  font-size: 13px;
  margin-bottom: 8px;
}

.caixa-dica p,
.caixa-alerta p {
  color: var(--soft);
  line-height: 1.54;
  font-size: 13px;
}

.whatsapp {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #04140b;
  background: linear-gradient(135deg, #38d188, #8dffcb);
  box-shadow: 0 18px 48px rgba(56, 209, 136, 0.22);
}

.bloco-info {
  margin-top: 20px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bloco-info div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line2);
}

.bloco-info span {
  display: block;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
}

.bloco-info p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

footer {
  text-align: center;
  margin-top: 24px;
  color: #7e8ca3;
  font-size: 12px;
}

footer p {
  margin-bottom: 5px;
}

footer span {
  color: #a9cfff;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .painel-mini {
    max-width: 420px;
  }

  .grade-principal {
    grid-template-columns: 1fr;
  }

  .resultado {
    position: static;
  }

  .bloco-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .app {
    padding: 20px 14px;
  }

  .topo {
    align-items: flex-start;
  }

  .status-online {
    display: none;
  }

  h1 {
    font-size: 40px;
    letter-spacing: -2px;
  }

  .subtitulo {
    font-size: 14px;
  }

  .card,
  .resultado {
    padding: 16px;
    border-radius: 22px;
  }

  label {
    grid-template-columns: 17px 34px 1fr;
    gap: 10px;
    padding: 11px;
  }

  .item-icone {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 12px;
  }

  .item-texto strong {
    font-size: 13px;
  }

  .item-texto small {
    font-size: 11px;
  }

  .bg-windows {
    width: 260px;
    height: 260px;
    right: -110px;
    top: 90px;
    gap: 10px;
  }
}
