:root {
  --brand-primary: #0B5FCC; /* Azul fuerte */
  --brand-primary-hover: #0A4CA6;
  --brand-dark: #1E293B; /* Casi negro para textos */
  --brand-accent: #C21F1A; /* Dorado/Amarillo para CTA */
  --brand-accent-hover: #A11916;
  --surface: #FFFFFF;
  --background: #F6F7F9; /* Un gris muy suave de fondo */
  --border: #CBD5E1;
  --danger-soft: #FEF2F2;
  --danger-text: #991B1B;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
  margin: 0;
  color: var(--brand-dark);
  background: var(--background);
}

h1, h2, h3 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.container {
  max-width: 680px; /* Un poco más estrecho para enfocar la vista */
  margin: 0 auto;
  padding: 0 20px;
}

.center { text-align: center; }
.stack > * + * { margin-top: var(--space, 1rem); }
.muted { color: #47536B; }
.small-text { font-size: 0.875rem; }

/* HERO */
.logo { max-width: 200px; height: auto; margin-bottom: 0.5rem; }
.hero {
  padding: 48px 0 32px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: 1.75rem; line-height: 1.1; font-weight: 800; }

/* CARD DESTACADA (EL TEST) */
.card-highlight {
  background: var(--surface);
  border: 2px solid var(--brand-primary);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.badge-urgent {
  background: var(--brand-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 8px;
}

/* BOTONES */
.btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  padding: 16px;
  border-radius: 12px;
  transition: all 0.2s ease;
  font-size: 1rem;
}

/* Botón CTA Principal (El del Test) */
.btn-cta {
  background: var(--brand-accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 6px -1px rgba(194, 31, 26, 0.3);
  margin-top: 12px;
}
.btn-cta:hover { background: var(--brand-accent-hover); transform: translateY(-2px); }

/* Animación de Pulso para el botón CTA */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(194, 31, 26, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(194, 31, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(194, 31, 26, 0); }
}
.pulse-animation { animation: pulse 2s infinite; }

/* Botones Secundarios */
.btn-primary {
  background: var(--surface);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary); /* Borde azul para destacar pero menos que el CTA */
}
.btn-primary:hover { background: #EFF6FF; }

/* Botones Terciarios */
.btn-outline {
  background: transparent;
  color: var(--brand-dark);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--brand-dark); background: white; }

/* Botón Fantasma (Libros) */
.btn-ghost {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 10px;
}
.btn-ghost:hover { color: var(--brand-primary); text-decoration: underline; }

/* SEPARADORES */
.separator {
  display: flex;
  align-items: center;
  text-align: center;
  color: #94A3B8;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 1.5rem 0 0.5rem;
}
.separator::before, .separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #E2E8F0;
}
.separator::before { margin-right: .5em; }
.separator::after { margin-left: .5em; }

footer { padding: 40px 0; }