/* ============= VARIABLES ============= */
:root {
  --bg:        #07070F;
  --surf:      #0D0D1C;
  --surf2:     #131325;
  --surf3:     #1A1A30;
  --purple:    #7C3AED;
  --purple-l:  #A78BFA;
  --purple-d:  #5B21B6;
  --gold:      #F59E0B;
  --green:     #10B981;
  --red:       #EF4444;
  --text:      #F0EFFF;
  --muted:     #8A8FB0;
  --border:    rgba(124,58,237,0.18);
  --radius:    14px;
  --container: 1100px;
}

/* ============= RESET / BASE ============= */
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) {
  .container { padding: 0 16px; }
}

/* ============= TOPBAR ============= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,7,15,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
}
.brand__shield {
  color: var(--gold);
  font-size: 18px;
}
.topbar__nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}
.topbar__nav a:hover { color: var(--text); }
.topbar__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.4);
  color: var(--green);
  padding: 6px 12px;
  border-radius: 999px;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 8px var(--green);
}

@media (max-width: 720px) {
  .topbar__nav { display: none; }
}
@media (max-width: 560px) {
  .topbar { height: 56px; }
  .topbar__inner { height: 56px; gap: 8px; }
  .brand__name {
    font-size: 13px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand__shield { font-size: 16px; }
  .user-chip { max-width: 180px; padding: 4px 10px 4px 4px; }
  .user-chip__name {
    max-width: 90px;
    font-size: 12px;
  }
  .topbar__user .btn--sm { padding: 6px 10px; font-size: 12px; }
}

/* ============= HERO ============= */
.hero {
  padding: 80px 0 60px;
}
@media (max-width: 560px) {
  .hero { padding: 40px 0 32px; }
  .hero__title { font-size: 32px; }
  .hero__subtitle { font-size: 15px; margin-bottom: 28px; }
  .hero__badge { font-size: 11px; margin-bottom: 16px; padding: 5px 11px; }
}
.hero__inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.35);
  color: var(--gold);
  border-radius: 999px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero__title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hl {
  color: var(--purple-l);
  text-shadow: 0 0 30px rgba(167,139,250,0.4);
}
.hero__subtitle {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 36px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 680px;
  margin: 40px auto 0;
}
.stat {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 8px;
}
.stat__num {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--purple-l);
  line-height: 1;
}
.stat__lbl {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 6px;
}

@media (max-width: 520px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
  .stat { padding: 14px 8px; }
  .stat__num { font-size: 24px; }
  .stat__lbl { font-size: 11px; }
}

/* ============= PANEL CENTRAL ============= */
.panel {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 40px;
  box-shadow:
    0 0 60px rgba(124,58,237,0.08),
    0 20px 40px rgba(0,0,0,0.4);
  text-align: left;
  max-width: 760px;
  margin: 0 auto;
}
.panel__state { animation: fadeIn 0.35s ease-out; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.panel__title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.panel__lead {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 28px;
}
.panel__hint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 600px) {
  .panel { padding: 24px 20px; border-radius: 16px; }
  .panel__title { font-size: 22px; }
  .panel__lead { font-size: 15px; margin-bottom: 22px; }
}
@media (max-width: 420px) {
  .panel { padding: 20px 16px; }
  .btn--xl { padding: 14px 24px; font-size: 14px; min-width: 0; width: 100%; }
}

/* state HOME centered button */
.panel__state[data-state="home"] { text-align: center; }

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.15s;
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn:not(:disabled):hover { transform: translateY(-1px); }
.btn:not(:disabled):active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  color: white;
  box-shadow: 0 0 28px rgba(124,58,237,0.32);
}
.btn--primary:not(:disabled):hover {
  box-shadow: 0 0 38px rgba(124,58,237,0.5);
}
.btn--ghost {
  background: var(--surf2);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn--ghost:hover { background: var(--surf3); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold), #D97706);
  color: #1a1100;
  box-shadow: 0 0 28px rgba(245,158,11,0.28);
}
.btn--xl { padding: 18px 32px; font-size: 16px; min-width: 280px; }
.btn--full { width: 100%; }

/* ============= SETUP ============= */
.setup__row { margin-bottom: 24px; }
.setup__label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.temas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.tema {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  background: var(--surf2);
  border: 1.5px solid var(--surf3);
  border-radius: 12px;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.tema:hover { border-color: rgba(124,58,237,0.4); }
.tema.tema--on {
  border-color: var(--purple);
  background: rgba(124,58,237,0.1);
}
.tema__icon { font-size: 22px; }
.tema__body { flex: 1; }
.tema__name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 15px;
}
.tema__count { font-size: 12px; color: var(--muted); margin-top: 2px; }

.cantidades {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  padding: 12px 18px;
  background: var(--surf2);
  border: 1.5px solid var(--surf3);
  border-radius: 999px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 14px;
  position: relative;
}
.chip:hover { border-color: rgba(124,58,237,0.4); }
.chip.chip--on {
  border-color: var(--purple);
  background: rgba(124,58,237,0.12);
}
.chip[data-locked="true"]::before {
  content: "🔒";
  margin-right: 6px;
  font-size: 12px;
}

.setup__actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 28px;
}

@media (max-width: 540px) {
  .temas { grid-template-columns: 1fr; }
  .setup__actions { flex-direction: column-reverse; }
  .setup__actions .btn { width: 100%; }
}

/* ============= QUIZ ============= */
.quiz__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.quiz__count {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.quiz__timer {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--surf2);
}
.quiz__timer.timer--warn { color: var(--gold); }
.quiz__timer.timer--danger {
  color: var(--red);
  animation: blink 0.8s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.quiz__progress {
  width: 100%;
  height: 3px;
  background: var(--surf3);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 28px;
}
.quiz__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--purple-l));
  width: 0%;
  transition: width 0.4s ease;
}

.quiz__tema {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--purple-l);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.quiz__question {
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 32px;
}

.quiz__answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.ans {
  padding: 24px 20px;
  background: var(--surf2);
  border: 2px solid var(--surf3);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
}
.ans:hover:not(:disabled) {
  border-color: var(--purple-l);
  background: rgba(124,58,237,0.08);
}
.ans:disabled { cursor: default; }
.ans__letter {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
}
.ans__word {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--muted);
}
.ans--v .ans__letter { color: var(--green); }
.ans--f .ans__letter { color: var(--red); }

.ans.ans--correct {
  background: rgba(16,185,129,0.15);
  border-color: var(--green);
}
.ans.ans--wrong {
  background: rgba(239,68,68,0.15);
  border-color: var(--red);
  opacity: 0.7;
}

.quiz__feedback {
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.quiz__feedback.fb--ok {
  background: rgba(16,185,129,0.1);
  border-left: 3px solid var(--green);
}
.quiz__feedback.fb--no {
  background: rgba(239,68,68,0.1);
  border-left: 3px solid var(--red);
}
.quiz__feedback strong { font-weight: 700; }
.quiz__feedback .ref {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  font-style: italic;
}

.quiz__actions { text-align: right; }
.quiz__actions .btn { min-width: 200px; }

@media (max-width: 480px) {
  .quiz__question { font-size: 17px; line-height: 1.4; margin-bottom: 24px; }
  .ans { padding: 22px 12px; }
  .ans__letter { font-size: 36px; }
  .ans__word { font-size: 12px; }
  .quiz__answers { gap: 10px; }
  .quiz__actions { text-align: center; }
  .quiz__actions .btn { width: 100%; min-width: 0; }
  .quiz__feedback { font-size: 14px; padding: 14px 16px; }
}

/* ============= PAYWALL ============= */
.panel__state[data-state="paywall"] { text-align: center; }
.paywall__badge {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.4);
  color: var(--gold);
  border-radius: 999px;
  margin-bottom: 18px;
}
.paywall__pricebox {
  padding: 28px;
  background: var(--surf2);
  border-radius: 16px;
  border: 1px solid var(--border);
  margin: 28px 0;
  text-align: center;
}
.paywall__price {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  gap: 4px;
}
.paywall__currency {
  font-size: 24px;
  color: var(--purple-l);
}
.paywall__amount {
  font-size: 56px;
  line-height: 1;
  color: white;
}
.paywall__pesos {
  font-size: 16px;
  color: var(--muted);
  margin-left: 4px;
}
.paywall__priceLine {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.paywall__priceLine.discount-applied {
  color: var(--green);
  font-weight: 600;
}
.paywall__priceLine .price-strike {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 400;
  margin-right: 6px;
}

.paywall__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  font-size: 12px;
  color: var(--muted);
}
.paywall__divider::before,
.paywall__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--surf3);
}
.paywall__features {
  list-style: none;
  text-align: left;
  margin-top: 28px;
  padding: 22px;
  background: var(--surf2);
  border-radius: 12px;
  font-size: 14px;
}
.paywall__features li {
  padding: 6px 0;
  color: var(--text);
}
.paywall__features li::first-letter { color: var(--green); font-weight: bold; }

/* full-width ghost buttons spacing in paywall */
.panel__state[data-state="paywall"] .btn--full + .btn--full {
  margin-top: 8px;
}

/* ============= RESULTS ============= */
.results__head { text-align: center; margin-bottom: 32px; }
.results__pct {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -3px;
}
.results__pct.pct--ok {
  color: var(--green);
  text-shadow: 0 0 40px rgba(16,185,129,0.3);
}
.results__pct.pct--fail {
  color: var(--red);
  text-shadow: 0 0 40px rgba(239,68,68,0.3);
}
.results__detail {
  font-size: 16px;
  color: var(--muted);
  margin-top: 8px;
}
.results__badge {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
}
.results__badge.badge--ok {
  background: rgba(16,185,129,0.15);
  color: var(--green);
  border: 1px solid var(--green);
}
.results__badge.badge--fail {
  background: rgba(239,68,68,0.15);
  color: var(--red);
  border: 1px solid var(--red);
}
.results__note { font-size: 12px; color: var(--muted); margin-top: 10px; }

.results__byTema {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.tema-row {
  background: var(--surf2);
  border-radius: 10px;
  padding: 12px 14px;
  border-left: 3px solid var(--surf3);
}
.tema-row__name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.tema-row__score {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-top: 4px;
}
.tema-row.row--ok { border-left-color: var(--green); }
.tema-row.row--ok .tema-row__score { color: var(--green); }
.tema-row.row--fail { border-left-color: var(--red); }
.tema-row.row--fail .tema-row__score { color: var(--red); }

.results__review {
  background: var(--surf2);
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.results__review summary {
  padding: 16px 18px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 15px;
  user-select: none;
}
.results__review summary:hover { color: var(--purple-l); }
.results__review[open] summary { border-bottom: 1px solid var(--border); }
.review-item {
  padding: 16px 18px;
  border-bottom: 1px solid var(--surf3);
}
.review-item:last-child { border: 0; }
.review-item__q { font-size: 15px; margin-bottom: 10px; }
.review-item__row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 4px;
}
.review-item__row .lbl {
  color: var(--muted);
  width: 90px;
  flex-shrink: 0;
}
.review-item__row .val.ok { color: var(--green); font-weight: 600; }
.review-item__row .val.no { color: var(--red); font-weight: 600; }
.review-item__exp {
  font-size: 13px;
  color: var(--muted);
  background: var(--bg);
  padding: 10px 12px;
  border-radius: 8px;
  margin-top: 10px;
  line-height: 1.5;
}

.results__actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.results__actions .btn { flex: 1; }

@media (max-width: 480px) {
  .results__pct { font-size: 72px; }
  .results__actions { flex-direction: column-reverse; }
}

/* ============= TESTIMONIOS ============= */
@media (max-width: 560px) {
  .testimonios { padding: 56px 0 !important; }
  .testi-cta { padding: 16px 18px; }
  .testi-cta__icon { font-size: 26px; }
  .testi-cta__title { font-size: 17px; }
  .testi-cta__text { font-size: 13px; }
}

.testimonios {
  padding: 80px 0;
  background:
    linear-gradient(180deg, transparent, rgba(124,58,237,0.04), transparent);
}
.section__title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.3px;
  text-align: center;
  margin-bottom: 8px;
}
.section__sub {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 48px;
}
@media (max-width: 560px) {
  .section__sub { font-size: 14px; margin-bottom: 28px; padding: 0 8px; }
}
/* CTA dejar testimonio */
.testi-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(124,58,237,0.08));
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.testi-cta__icon {
  font-size: 32px;
  flex-shrink: 0;
}
.testi-cta__body { flex: 1; min-width: 200px; }
.testi-cta__title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 4px;
}
.testi-cta__text {
  color: var(--muted);
  font-size: 14px;
}
.testi-cta .btn { flex-shrink: 0; }

@media (max-width: 560px) {
  .testi-cta { text-align: center; flex-direction: column; }
  .testi-cta__body { min-width: 0; }
  .testi-cta .btn { width: 100%; }
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.testi {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.testi__stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.testi__text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
}
.testi__text::before { content: "“"; color: var(--purple-l); font-size: 22px; font-weight: bold; margin-right: 3px; }
.testi__text::after { content: "”"; color: var(--purple-l); font-size: 22px; font-weight: bold; margin-left: 3px; }
.testi__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--surf3);
}
.testi__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  display: grid;
  place-items: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
}
.testi__name { font-size: 14px; font-weight: 600; }
.testi__where { font-size: 12px; color: var(--muted); }

/* ============= BENEFICIOS ============= */
@media (max-width: 560px) {
  .beneficios { padding: 56px 0; }
  .ben-badge { font-size: 11px; padding: 5px 11px; margin-bottom: 14px; }
  .ben-grid { gap: 12px; }
  .ben-card { padding: 20px 18px; }
  .ben-card__title { font-size: 17px; }
  .ben-card__text { font-size: 14px; }
  .ben-cta { margin-top: 32px; }
}

.beneficios {
  padding: 80px 0;
  text-align: center;
}
.ben-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.4);
  color: var(--green);
  border-radius: 999px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.beneficios .section__sub {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Estadísticas destacadas */
.ben-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 880px;
  margin: 0 auto 56px;
}
.ben-stat {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 16px;
}
.ben-stat__num {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--purple-l);
  line-height: 1;
  letter-spacing: -1px;
}
.ben-stat__lbl {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 8px;
}

@media (max-width: 720px) {
  .ben-stats { grid-template-columns: repeat(2, 1fr); }
  .ben-stat__num { font-size: 28px; }
}

/* Grid de razones */
.ben-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto 48px;
  text-align: left;
}
.ben-card {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.15s ease, border-color 0.15s, box-shadow 0.2s;
}
.ben-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124,58,237,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.ben-card--featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(245,158,11,0.06), var(--surf));
  box-shadow: 0 0 30px rgba(245,158,11,0.1);
}
.ben-card--featured:hover { border-color: var(--gold); }
.ben-card__icon {
  font-size: 32px;
  margin-bottom: 12px;
  line-height: 1;
}
.ben-card__title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.ben-card__text {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* CTA final */
.ben-cta { margin-top: 48px; }
.ben-cta__line {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ============= FAQ ============= */
.faq { padding: 60px 0; }
@media (max-width: 560px) {
  .faq { padding: 40px 0; }
  .faq details { padding: 14px 16px; }
  .faq summary { font-size: 14px; padding-right: 24px; }
  .faq details p { font-size: 13px; line-height: 1.55; }
}
.faq details {
  max-width: 760px;
  margin: 0 auto 10px;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.faq summary {
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 16px;
  user-select: none;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 22px;
  color: var(--purple-l);
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ============= FOOTER ============= */
.footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.footer__brand {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.footer__contact a { color: var(--purple-l); }

/* ============= MODALES ============= */
.modal::backdrop {
  background: rgba(7,7,15,0.85);
  backdrop-filter: blur(4px);
}
.modal {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0;
  max-width: 420px;
  width: 90%;
  color: var(--text);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}
.modal[open] { animation: modalIn 0.25s ease-out; }
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.modal__form { padding: 28px; }
.modal__big { font-size: 60px; text-align: center; margin-bottom: 8px; }
.modal__title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 8px;
  text-align: center;
}
.modal__lead {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  margin-bottom: 18px;
}
.modal__input {
  width: 100%;
  padding: 12px 14px;
  background: var(--surf2);
  border: 1.5px solid var(--surf3);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  outline: none;
  margin-bottom: 14px;
}
.modal__input:focus { border-color: var(--purple); }
.modal__msg {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 14px;
}
.modal__msg.msg--ok {
  background: rgba(16,185,129,0.12);
  color: var(--green);
}
.modal__msg.msg--err {
  background: rgba(239,68,68,0.12);
  color: var(--red);
}
.modal__actions {
  display: flex;
  gap: 10px;
}
.modal__actions .btn { flex: 1; }

@media (max-width: 560px) {
  .modal { width: 92%; }
  .modal__form { padding: 22px 18px; }
  .modal__title { font-size: 20px; }
  .modal__big { font-size: 48px; }
  .modal__lead { font-size: 13px; }
  .field__input { font-size: 16px; padding: 12px 14px; }
  .star-picker button { padding: 6px 10px; font-size: 20px; }
}

.modal--wide { max-width: 540px; }
.modal--wide textarea.field__input {
  resize: vertical;
  min-height: 100px;
  font-family: 'Outfit', sans-serif;
  line-height: 1.5;
}
.field__counter {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  margin-top: 4px;
}

/* Star picker */
.star-picker {
  display: flex;
  gap: 6px;
}
.star-picker button {
  background: var(--surf2);
  border: 1.5px solid var(--surf3);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 22px;
  color: var(--surf3);
  cursor: pointer;
  transition: all 0.15s;
}
.star-picker button.on {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(245,158,11,0.1);
}

/* ============= USER CHIP + MENU (topbar) ============= */
.topbar__user { position: relative; }
.btn--sm { padding: 8px 14px; font-size: 13px; }

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  max-width: 220px;
  transition: background 0.15s;
}
.user-chip:hover { background: var(--surf3); }
.user-chip img,
.user-chip__init {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  flex-shrink: 0;
}
.user-chip__init {
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  display: grid;
  place-items: center;
}
.user-chip__name {
  font-size: 13px;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-chip__arrow { font-size: 10px; color: var(--muted); }

.user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 240px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 60;
}
.user-menu__head {
  padding: 10px 12px;
  border-bottom: 1px solid var(--surf3);
  margin-bottom: 6px;
}
.user-menu__name { font-weight: 600; font-size: 14px; }
.user-menu__email { font-size: 12px; color: var(--muted); margin-top: 2px; word-break: break-all; }
.user-menu__status {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 12px;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  display: inline-block;
}
.user-menu__status.status--active {
  background: rgba(16,185,129,0.12);
  color: var(--green);
}
.user-menu__status.status--pending_request {
  background: rgba(245,158,11,0.12);
  color: var(--gold);
}
.user-menu__status.status--rejected {
  background: rgba(239,68,68,0.12);
  color: var(--red);
}
.user-menu__status.status--trial {
  background: var(--surf2);
  color: var(--muted);
}
.user-menu a, .user-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  cursor: pointer;
  color: var(--text);
  text-decoration: none;
}
.user-menu a:hover, .user-menu button:hover { background: var(--surf2); }

/* ============= BOTÓN GOOGLE ============= */
.btn--google {
  background: linear-gradient(135deg, #4285F4, #2965d4) !important;
  box-shadow: 0 0 28px rgba(66,133,244,0.32) !important;
}
.btn--google svg { flex-shrink: 0; }

/* ============= FORM PERFIL ============= */
.profile-form { max-width: 420px; margin: 0 auto; }
.field { margin-bottom: 18px; text-align: left; }
.field__label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.field__input {
  width: 100%;
  padding: 14px 16px;
  background: var(--surf2);
  border: 1.5px solid var(--surf3);
  border-radius: 12px;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s;
}
.field__input:focus { border-color: var(--purple); }
.field__err {
  margin-top: 6px;
  font-size: 13px;
  color: var(--red);
}

/* ============= INFO BOX (datos en review) ============= */
.info-box {
  background: var(--surf2);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 20px 0;
  text-align: left;
}
.info-box__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
  font-size: 14px;
}
.info-box__row + .info-box__row { border-top: 1px solid var(--surf3); }
.info-box__row .lbl { color: var(--muted); }

/* ============= ACTIVATION (paywall con 2 opciones) ============= */
.panel__state[data-state="paywall"] { text-align: center; }

.activation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
  text-align: center;
}
.activation__card {
  background: var(--surf2);
  border: 1.5px solid var(--surf3);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.activation__card:hover { border-color: rgba(124,58,237,0.4); }
.activation__icon { font-size: 32px; margin-bottom: 4px; }
.activation__name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.activation__price {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--purple-l);
}
.activation__price span { font-size: 14px; color: var(--muted); }
.activation__features {
  list-style: none;
  text-align: left;
  font-size: 13px;
  margin: 12px 0;
  flex-grow: 1;
}
.activation__features li { padding: 4px 0; color: var(--text); }
.activation__features li::first-letter { color: var(--green); font-weight: bold; }
.activation__card .btn { margin-top: auto; }

@media (max-width: 600px) {
  .activation { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .activation__card { padding: 20px 18px; }
  .activation__price { font-size: 22px; }
}

/* ============= DEMO BANNER ============= */
.demo-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(245,158,11,0.08));
  border: 1px solid rgba(245,158,11,0.4);
  color: var(--gold);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  max-width: 90%;
  text-align: center;
}
.demo-banner a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 600;
  margin-left: 6px;
}
@media (max-width: 560px) {
  .demo-banner {
    position: static;
    transform: none;
    margin: 12px;
    border-radius: 12px;
    max-width: none;
    font-size: 12px;
    padding: 10px 14px;
  }
}

/* ============= ADMIN PANEL ============= */
.admin-page { padding: 40px 0 80px; }
.admin-page h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  margin-bottom: 12px;
}
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  gap: 14px;
  flex-wrap: wrap;
}
.admin-tabs {
  display: flex;
  gap: 6px;
  background: var(--surf2);
  padding: 4px;
  border-radius: 12px;
}
.admin-tabs button {
  padding: 8px 18px;
  background: transparent;
  border: 0;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  border-radius: 8px;
  cursor: pointer;
}
.admin-tabs button.active {
  background: var(--purple);
  color: white;
}
.admin-count {
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  margin-left: 6px;
}

/* Wrapper para scroll horizontal en mobile */
#tabPending, #tabUsers, #tabWhitelist, #tabCupones, #tabTestimonios {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surf);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
  min-width: 640px;
}
.admin-table th,
.admin-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--surf3);
}
.admin-table th {
  background: var(--surf2);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover { background: rgba(124,58,237,0.05); }

.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.status-pill--pending { background: rgba(245,158,11,0.12); color: var(--gold); }
.status-pill--approved { background: rgba(16,185,129,0.12); color: var(--green); }
.status-pill--rejected { background: rgba(239,68,68,0.12); color: var(--red); }
.status-pill--active { background: rgba(16,185,129,0.12); color: var(--green); }
.status-pill--trial { background: var(--surf2); color: var(--muted); }
.status-pill--pending_request { background: rgba(245,158,11,0.12); color: var(--gold); }

.admin-actions { display: flex; gap: 6px; }
.btn--approve {
  background: rgba(16,185,129,0.15);
  color: var(--green);
  border: 1px solid var(--green);
  padding: 6px 10px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
}
.btn--reject {
  background: rgba(239,68,68,0.15);
  color: var(--red);
  border: 1px solid var(--red);
  padding: 6px 10px;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
}
.btn--approve:hover { background: rgba(16,185,129,0.25); }
.btn--reject:hover { background: rgba(239,68,68,0.25); }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--surf);
  border-radius: 12px;
  color: var(--muted);
}

.admin-deny {
  max-width: 480px;
  margin: 80px auto;
  padding: 40px;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
}
.admin-deny__icon { font-size: 56px; margin-bottom: 12px; }
.admin-deny h2 { font-family: 'Rajdhani', sans-serif; font-size: 24px; margin-bottom: 8px; }
.admin-deny p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }

@media (max-width: 720px) {
  .admin-table { font-size: 12px; }
  .admin-table th, .admin-table td { padding: 8px; }
  .admin-page h1 { font-size: 24px; }
  .admin-toolbar { flex-direction: column; align-items: stretch; }
  .admin-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .admin-tabs button { white-space: nowrap; flex-shrink: 0; }
  .admin-toolbar > div:last-child {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .admin-toolbar > div:last-child .btn { width: 100%; }
}
@media (max-width: 480px) {
  .admin-toolbar > div:last-child {
    grid-template-columns: 1fr;
  }
}
