/* ══════════════════════════════════════════════════════════════════
   VERTICAL: LA MEJOR ALTERNATIVA A ALEGRA EN COLOMBIA (/alternativa-alegra)
   Estilos dedicados - Clean Code Architecture
   Paleta: Jeloda Emerald (#10b981), Cyan Speed (#06b6d4), Purple Contrast (#8b5cf6), Dark Tech (#090e15)
   ══════════════════════════════════════════════════════════════════ */

:root {
  --alegra-bg: #090e15;
  --alegra-card: #0e1724;
  --alegra-card-hover: #142234;
  --alegra-border: #1b293c;
  --alegra-border-highlight: #10b981;
  --alegra-emerald: #10b981;
  --alegra-emerald-light: #34d399;
  --alegra-cyan: #06b6d4;
  --alegra-purple: #8b5cf6;
  --alegra-text-main: #f8fafc;
  --alegra-text-muted: #94a3b8;
}

/* Badge Neon Superior */
.badge-alegra-neon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Tipografía Hero */
.alegra-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .alegra-hero-title {
    font-size: 2rem;
  }
}

.text-alegra-gradient {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-emerald {
  color: #10b981 !important;
}

.text-cyan {
  color: #06b6d4 !important;
}

/* Botones de Acción */
.btn-alegra-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.btn-alegra-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
  filter: brightness(1.08);
}

.btn-alegra-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0 !important;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.btn-alegra-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Tarjeta Mockup Hero (Diferencia de Factura Mensual) */
.alegra-compare-card {
  background: radial-gradient(circle at top, #132232 0%, #0c141d 100%);
  border: 2px solid #10b981;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.2);
  position: relative;
  overflow: hidden;
}

.alegra-compare-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #10b981, #06b6d4, #10b981);
}

.compare-tag-alegra {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.compare-tag-jeloda {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Caja Answer First (AEO / GEO Standard) */
.answer-first-box {
  background: rgba(14, 23, 36, 0.85);
  border-left: 4px solid #10b981;
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.answer-first-box p {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.answer-first-box strong {
  color: #34d399;
}

/* Calculadora TCO de Ahorro */
.tco-calculator-box {
  background: var(--alegra-card);
  border: 1px solid var(--alegra-border);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.slider-custom {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #233549;
  outline: none;
  margin: 14px 0;
}

.slider-custom::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  transition: transform 0.15s ease;
}

.slider-custom::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.cost-comparison-result {
  background: #0a111a;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #1f2f42;
}

.savings-highlight-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

/* Tabla Comparativa Punto por Punto */
.alegra-versus-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--alegra-card);
  border: 1px solid var(--alegra-border);
  border-radius: 14px;
  overflow: hidden;
}

.alegra-versus-table th {
  background: #141f2d;
  padding: 18px 20px;
  font-size: 0.98rem;
  color: #ffffff;
  border-bottom: 1px solid var(--alegra-border);
}

.alegra-versus-table th.jeloda-col {
  background: #08291f;
  color: #34d399;
  border-left: 2px solid #10b981;
  border-right: 2px solid #10b981;
}

.alegra-versus-table td {
  padding: 16px 20px;
  font-size: 0.92rem;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.alegra-versus-table td.jeloda-col {
  background: rgba(16, 185, 129, 0.04);
  border-left: 2px solid #10b981;
  border-right: 2px solid #10b981;
  font-weight: 600;
  color: #ffffff;
}

.alegra-versus-table tr:last-child td {
  border-bottom: none;
}

/* Pasos de Migración */
.migration-step-card {
  background: var(--alegra-card);
  border: 1px solid var(--alegra-border);
  border-radius: 14px;
  padding: 22px;
  text-align: left;
  transition: all 0.25s ease;
  height: 100%;
}

.migration-step-card:hover {
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

.step-number-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* FAQ Accordion */
.faq-alegra-item {
  background: var(--alegra-card);
  border: 1px solid var(--alegra-border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-alegra-item.active {
  border-color: #10b981;
}

.faq-alegra-header {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-alegra-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0;
}

.faq-alegra-icon {
  color: #10b981;
  transition: transform 0.3s ease;
}

.faq-alegra-item.active .faq-alegra-icon {
  transform: rotate(180deg);
}

.faq-alegra-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.65;
  padding: 0 22px;
}

.faq-alegra-item.active .faq-alegra-body {
  max-height: 350px;
  padding: 16px 22px 20px 22px;
}
