:root {
  --fundo: #0b0d17;
  --superficie: rgba(255, 255, 255, 0.04);
  --borda: rgba(255, 255, 255, 0.09);
  --texto: #e8eaf2;
  --suave: #9aa0b8;
  --roxo: #8b5cf6;
  --ciano: #22d3ee;
  --verde: #34d399;
  --ambar: #fbbf24;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { color-scheme: dark; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--fundo);
  color: var(--texto);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.glow-a { background: var(--roxo); top: -180px; left: -160px; }
.glow-b { background: var(--ciano); bottom: -220px; right: -180px; opacity: 0.22; }

.topo, main, .rodape { position: relative; z-index: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
}

.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--texto);
  text-decoration: none;
  font-size: 1.05rem;
}
.marca strong { color: var(--ciano); font-weight: 700; }

.selo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ambar);
  padding: 6px 14px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.08);
}
.pulso {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ambar);
  animation: pulso 1.8s ease-in-out infinite;
}
@keyframes pulso {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

main { flex: 1; padding-top: 48px; padding-bottom: 64px; }

.hero { max-width: 760px; }
.sobretitulo {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--suave);
  margin-bottom: 14px;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.destaque {
  background: linear-gradient(90deg, var(--roxo), var(--ciano));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { margin-top: 20px; font-size: 1.12rem; color: var(--suave); max-width: 620px; }

.prateleira {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.app {
  background: var(--superficie);
  border: 1px solid var(--borda);
  border-radius: 18px;
  padding: 18px;
}
.icone { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 16px; }
.i1 { background: linear-gradient(135deg, var(--roxo), #6366f1); }
.i2 { background: linear-gradient(135deg, var(--ciano), #3b82f6); }
.i3 { background: linear-gradient(135deg, var(--verde), #10b981); }
.i4 { background: linear-gradient(135deg, var(--ambar), #f97316); }
.linha {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.16) 50%, rgba(255,255,255,0.08) 100%);
  background-size: 200% 100%;
  animation: brilho 2.4s linear infinite;
}
.l1 { width: 75%; margin-bottom: 10px; }
.l2 { width: 45%; }
@keyframes brilho {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--superficie);
  border: 1px solid var(--borda);
  border-radius: 18px;
  padding: 24px;
}
.card h2 { font-size: 1.2rem; margin: 12px 0 8px; }
.card p { color: var(--suave); font-size: 0.96rem; }
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.tag-livre { color: var(--verde); background: rgba(52, 211, 153, 0.12); }
.tag-breve { color: var(--ambar); background: rgba(251, 191, 36, 0.12); }

.rodape {
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--borda);
  color: var(--suave);
  font-size: 0.85rem;
}

@media (max-width: 820px) {
  .prateleira { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .topo { flex-direction: column; gap: 14px; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .pulso, .linha { animation: none; }
}
