:root {
  --primary: #2563eb;       /* royal blue Gyanogram */

  --primary-light: #dbeafe; /* azul clarito */
  --accent: #facc15;        /* amarillo detalle */
  --bg: #f3f4f6;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
}

/* Fondo y tipografía igual que el quiz */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, var(--primary-light), #eff6ff);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* Tarjeta principal de precios (como el container del quiz) */
.pricing-section {
  width: 100%;
  max-width: 980px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  padding: 26px 20px 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .pricing-section {
    padding: 30px 32px 36px;
  }
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  margin: 0;
  color: var(--primary);
}

.pricing-title {
  font-size: 2rem;
  margin: 4px 0 6px;
  font-weight: 800;
  color: var(--text-main);
}

.pricing-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Pastillita "Para estudiantes de prepa" */
.pricing-switch {
  margin-top: 16px;
  background: var(--primary-light);
  border-radius: 999px;
  padding: 4px 14px;
  display: inline-flex;
}

.switch-btn {
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 0;
}


/* Grid de planes */

.pricing-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

/* Tarjetas de cada plan */

.plan-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 20px 18px 22px;
  text-align: left;
  color: var(--text-main);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-card--featured {
  border: 2px solid var(--primary);
  transform: translateY(-4px);
}

@media (min-width: 768px) {
  .plan-card--featured {
    padding-top: 26px;
  }
}

.plan-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.plan-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 6px;
}

.plan-price {
  font-size: 1.9rem;
  margin: 0;
  font-weight: 800;
}

.plan-period {
  margin: 2px 0 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-desc {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Lista de features */

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--text-main);
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 6px;
}

.plan-features li::before {
  content: "✓";
  font-size: 0.8rem;
  margin-top: 2px;
  color: var(--primary);
}

/* Botones flotantes */

.plan-cta {
  margin-top: auto;
  border-radius: 999px;
  border: none;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--primary);
  color: #ffffff;
  transition: background 0.2s, transform 0.1s, box-shadow 0.1s;
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.35);
}

/* Hover general para todos los botones */
.plan-cta:hover {
  background: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(30, 64, 175, 0.38);
}

.plan-cta:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(30, 64, 175, 0.4);
}

/* Variantes, pero manteniendo el efecto flotante */

.plan-cta--ghost {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

.plan-cta--ghost:hover {
  background: var(--primary-light);
}

.plan-cta--outline {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

.plan-cta--outline:hover {
  background: var(--primary-light);
}
