/**
 * ============================================================================
 * CLICKMENU COMMERCIAL MARKETING LANDING PAGE EXTENSION STYLESHEET
 * ============================================================================
 * Estilos visuales complementarios para la landing page comercial de ClickMenu:
 * - Capa de video de fondo ambiental con degradado oscuro (Hero Video Overlay)
 * - Contenedor con scroll táctil suave para tabla comparativa de comisiones
 * - Acordeón interactivo para la sección de Preguntas Frecuentes (FAQ)
 * ============================================================================
 */

/* ─── Hero Video Ambient Background ─── */
.video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #000;
}

.video-bg-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: grayscale(0.5);
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.4) 50%, #000 100%);
}

/* ─── Comparison Table Responsive Container ─── */
.comparison-container {
    overflow-x: auto;
    padding: 40px;
    border-radius: 32px;
    -webkit-overflow-scrolling: touch;
}

.comparison-container::-webkit-scrollbar {
    height: 6px;
}

.comparison-container::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.3);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .comparison-container {
        padding: 20px 10px;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px !important;
        font-size: 0.85rem !important;
    }
    .comparison-table th {
        font-size: 0.75rem !important;
    }
}

/* ─── FAQ Accordion Styles ─── */
.faq-item {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
}

.faq-item:hover {
    border-color: var(--primary-glow);
    background: rgba(255, 255, 255, 0.05);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 30px;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 30px;
    opacity: 1;
}

.faq-chevron {
    transition: transform 0.3s ease;
    color: var(--primary);
}

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

/* ============================================================================
   💎 SISTEMA DE PRECIOS 4 PLANES (BRONCE, PLATA, ORO, DIAMANTE)
   ============================================================================ */
.container-pricing {
    max-width: 1340px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
    margin-top: 40px;
}

.pricing-plan-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 20px;
    border-radius: 24px;
    background: rgba(18, 18, 22, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.pricing-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Ribbons / Badges Superiores */
.plan-top-badge {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 11px;
    border-radius: 20px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
}

.pricing-plan-card > div,
.pricing-plan-card > a {
    position: relative;
    z-index: 2;
}

.badge-featured {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 30%, #cbd5e1 70%, #94a3b8 100%);
    color: #0f172a;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.35), 0 0 8px rgba(203, 213, 225, 0.5);
}

.badge-allinone {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #fff;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.35);
}

/* Estilos Temáticos por Plan */
/* 🥉 Bronce */
.plan-bronce {
    border-color: rgba(205, 127, 50, 0.3);
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.06) 0%, rgba(15, 15, 18, 0.8) 100%);
}
.plan-bronce:hover {
    border-color: #cd7f32;
    box-shadow: 0 16px 36px rgba(205, 127, 50, 0.18);
}

/* 🥈 Plata (Destacado y Brillante - Plata Real / Silver Chrome) */
.plan-plata.featured {
    border: 2px solid #e2e8f0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.18) 0%, rgba(203, 213, 225, 0.08) 35%, rgba(15, 17, 23, 0.95) 100%);
    box-shadow: 0 0 35px rgba(226, 232, 240, 0.28), 0 0 12px rgba(255, 255, 255, 0.2), 0 16px 40px rgba(0, 0, 0, 0.7);
    position: relative;
    transform: none;
}

/* Halo de resplandor plateado ambiental superior */
.plan-plata.featured::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 120px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.55) 0%, rgba(203, 213, 225, 0.2) 45%, transparent 75%);
    filter: blur(25px);
    pointer-events: none;
    z-index: 1;
}

.plan-plata.featured:hover {
    border-color: #ffffff;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.45), 0 0 20px rgba(226, 232, 240, 0.35), 0 24px 50px rgba(0, 0, 0, 0.85);
    transform: translateY(-8px);
}

/* 🥇 Oro */
.plan-oro {
    border-color: rgba(245, 158, 11, 0.5);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(15, 15, 18, 0.85) 100%);
}
.plan-oro:hover {
    border-color: #f59e0b;
    box-shadow: 0 20px 45px rgba(245, 158, 11, 0.3);
}
.plan-oro:hover {
    border-color: #f59e0b;
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.2);
}

/* 💎 Diamante (Completo) */
.plan-diamante {
    border-color: rgba(56, 189, 248, 0.5);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.1) 0%, rgba(15, 15, 18, 0.9) 100%);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.15);
}
.plan-diamante:hover {
    border-color: #38bdf8;
    box-shadow: 0 20px 45px rgba(56, 189, 248, 0.3);
}

/* Encabezado del Plan */
.plan-header {
    margin-bottom: 16px;
}

.plan-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.plan-name {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.3px;
}

.plan-bronce .plan-name { color: #cd7f32; }
.plan-plata .plan-name { color: #e2e8f0; }
.plan-plata.featured .plan-name { color: #ffffff; text-shadow: 0 0 16px rgba(255, 255, 255, 0.7), 0 0 30px rgba(203, 213, 225, 0.5); }
.plan-oro .plan-name { color: #fbbf24; }
.plan-diamante .plan-name { color: #38bdf8; }

.plan-plata.featured .plan-price-dop .amount {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 35px rgba(203, 213, 225, 0.5);
}
.plan-plata.featured .plan-price-dop .currency {
    color: #cbd5e1;
}
.plan-plata.featured .plan-price-usd-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.plan-oro .plan-price-dop .amount {
    color: #fbbf24;
}



.plan-desc {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.45;
    min-height: 52px;
    margin: 0;
}

/* Bloque de Precios */
.plan-price-wrap {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 18px;
}

.plan-price-dop {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.plan-price-dop .currency {
    font-size: 0.95rem;
    font-weight: 700;
    color: #94a3b8;
}

.plan-price-dop .amount {
    font-size: 2.1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1;
}

.plan-price-dop .period {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.plan-price-usd-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    margin-top: 6px;
}

/* Lista de Características */
.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.plan-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.81rem;
    color: #cbd5e1;
    line-height: 1.38;
}

.plan-features-list li i.fa-check {
    color: #22c55e;
    font-size: 0.82rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.plan-features-list li i.fa-times {
    color: #ef4444;
    font-size: 0.82rem;
    margin-top: 2px;
    flex-shrink: 0;
    opacity: 0.65;
}

.plan-features-list li.feature-disabled {
    color: #64748b;
    text-decoration: line-through;
    opacity: 0.7;
}

.plan-features-list li b {
    color: #fff;
    font-weight: 700;
}

/* Botones CTA */
.btn-plan-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    box-sizing: border-box;
}

.btn-plan-bronce {
    background: rgba(205, 127, 50, 0.15);
    border: 1px solid rgba(205, 127, 50, 0.4);
    color: #fbbf24;
}
.btn-plan-bronce:hover {
    background: #cd7f32;
    color: #000;
    box-shadow: 0 8px 20px rgba(205, 127, 50, 0.35);
    transform: translateY(-2px);
}

.btn-plan-plata {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 35%, #cbd5e1 70%, #94a3b8 100%);
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}
.btn-plan-plata:hover {
    background: #ffffff;
    color: #000;
    box-shadow: 0 10px 28px rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
}

.btn-plan-oro {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    border: none;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}
.btn-plan-oro:hover {
    filter: brightness(1.15);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

.btn-plan-diamante {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #fff;
    box-shadow: 0 6px 18px rgba(56, 189, 248, 0.3);
}
.btn-plan-diamante:hover {
    filter: brightness(1.1);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.45);
    transform: translateY(-2px);
}

.pricing-footnote {
    text-align: center;
    font-size: 0.85rem;
    color: #ef4444;
    font-weight: 700;
    margin-top: 30px;
}

/* ─── MEDIA QUERIES RESPONSIVAS ─── */
/* Pantallas medianas y Tablets: 2 columnas x 2 filas (2x2) */
@media (max-width: 1024px) {
    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .plan-desc {
        min-height: auto;
    }
}

/* Smartphones y Móviles: 1 columna apilada (1x1) */
@media (max-width: 640px) {
    .pricing-grid-4 {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .pricing-plan-card {
        padding: 24px 18px;
    }
    .plan-price-dop .amount {
        font-size: 2rem;
    }
}

