:root {
  --bg: #0f1115;
  --bg-tarjeta: #1a1d24;
  --texto: #e6e8eb;
  --texto-suave: #a0a4ab;
  --acento: #4f8cff;
  --acento-hover: #6aa1ff;
  --borde: #2a2e36;
}

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

html, body {
  background: var(--bg);
  color: var(--texto);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}

.contenedor {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px;
}

.titulo {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.intro {
  color: var(--texto-suave);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 60ch;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.tarjeta {
  background: var(--bg-tarjeta);
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.tarjeta:hover {
  transform: translateY(-2px);
  border-color: var(--acento);
}

.tarjeta h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.tarjeta p {
  color: var(--texto-suave);
  font-size: 0.95rem;
}

.contador-seccion {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--bg-tarjeta);
  border: 1px solid var(--borde);
  border-radius: 12px;
}

.boton-contador {
  background: var(--acento);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.boton-contador:hover {
  background: var(--acento-hover);
}

.boton-contador:active {
  transform: scale(0.97);
}

.contador-valor {
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
  .titulo {
    font-size: 1.8rem;
  }
  .contenedor {
    padding: 32px 16px;
  }
}