/* ==========================================
   SECCIÓN BOT IA - ESTILOS MEJORADOS
   ========================================== */

.bot-ia-section {
    margin: 50px 0 20px;
    padding: 44px 28px 34px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* ==========================================
   HEADER
   ========================================== */
.bot-ia-header {
    text-align: center;
    margin-bottom: 32px;
}

.bot-ia-header .bot-badge-header {
    display: inline-block;
    background: rgba(241, 90, 36, 0.10);
    color: #f15a24;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    border: 1px solid rgba(241, 90, 36, 0.12);
}

.bot-ia-header h2 {
    font-size: 2rem;
    color: #0d2319;
    font-weight: 700;
    margin-bottom: 6px;
}

.bot-ia-header h2 i {
    color: #f15a24;
    margin-right: 10px;
}

.bot-ia-header .subtitle {
    color: #657786;
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.bot-ia-header .subtitle strong {
    color: #f15a24;
    font-weight: 600;
}

/* ==========================================
   GRID DE BOTS - 4 COLUMNAS
   ========================================== */
.bot-ia-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 32px;
}

/* ==========================================
   TARJETA DE BOT
   ========================================== */
.bot-ia-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 18px 18px;
    text-align: center;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
}

.bot-ia-card:hover {
    transform: translateY(-4px);
    border-color: #f15a24;
    box-shadow: 0 8px 28px rgba(241, 90, 36, 0.08);
}

.bot-ia-card .bot-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0d2319;
    margin: 0 0 2px 0;
}

.bot-ia-card .bot-sub {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

.bot-ia-card .bot-price {
    margin: 10px 0 12px;
    padding: 10px 0;
    border-top: 1px solid #f0f2f5;
    border-bottom: 1px solid #f0f2f5;
}

.bot-ia-card .bot-currency {
    font-size: 0.8rem;
    color: #657786;
    font-weight: 600;
    vertical-align: top;
    display: inline-block;
    margin-top: 2px;
}

.bot-ia-card .bot-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #0d2319;
    letter-spacing: -0.5px;
}

.bot-ia-card .bot-period {
    font-size: 0.8rem;
    color: #657786;
    font-weight: 400;
}

.bot-ia-card .bot-features {
    margin-top: 12px;
    text-align: left;
}

.bot-ia-card .bot-features .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #475569;
    padding: 4px 0;
}

.bot-ia-card .bot-features .feature-item i {
    color: #f15a24;
    font-size: 14px;
    width: 18px;
    text-align: center;
}

.bot-ia-card .bot-features .feature-item.highlight {
    background: #fef5ee;
    border-radius: 8px;
    padding: 4px 12px;
    margin-top: 4px;
    font-weight: 500;
    color: #f15a24;
    font-size: 0.78rem;
}

.bot-ia-card .bot-features .feature-item.highlight i {
    color: #f15a24;
}

/* ==========================================
   PLAN + BOT = TOTAL
   ========================================== */
.bot-ia-total-section {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #eef2f6;
}

.bot-ia-total-section .section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}

.bot-ia-total-section .section-label span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bot-ia-total-section .section-label .line {
    width: 35px;
    height: 1px;
    background: #d0d5dc;
}

.bot-ia-total-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================
   CARDS DE TOTALES - RECTANGULARES CON FONDO AZUL OSCURO
   ========================================== */
.bot-ia-total-card {
    background: #0d131a;
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid #1a2632;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    min-height: 100px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.bot-ia-total-card:hover {
    transform: translateY(-4px);
    border-color: #f15a24;
    box-shadow: 0 8px 28px rgba(241, 90, 36, 0.12);
    background: #121a24;
}

.bot-ia-total-card .example-badge {
    display: inline-block;
    background: rgba(241, 90, 36, 0.15);
    color: #f15a24;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 2px 14px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    border: 1px solid rgba(241, 90, 36, 0.08);
}

.bot-ia-total-card .plan-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
}

.bot-ia-total-card .plan-detail {
    font-size: 0.75rem;
    color: #8a9bb5;
    margin: 3px 0 5px;
}

.bot-ia-total-card .plan-detail .plus {
    color: #f15a24;
    font-weight: 600;
    margin: 0 4px;
}

.bot-ia-total-card .total-price {
    font-weight: 800;
    font-size: 1.3rem;
    color: #f15a24;
}

.bot-ia-total-card .total-price span {
    font-weight: 400;
    font-size: 0.7rem;
    color: #8a9bb5;
}

/* ==========================================
   CONVERSACIONES ADICIONALES
   ========================================== */
.bot-ia-extras {
    text-align: center;
    padding: 18px 0 0;
    border-top: 1px solid #eef2f6;
    margin-top: 22px;
}

.bot-ia-extras .extra-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0d2319;
}

.bot-ia-extras .extra-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #f15a24;
}

.bot-ia-extras .extra-price span {
    font-size: 0.75rem;
    font-weight: 400;
    color: #94a3b8;
}

.bot-ia-extras .extra-note {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* ==========================================
   EMPTY STATE
   ========================================== */
.bot-ia-empty {
    text-align: center;
    padding: 30px 20px;
    color: #94a3b8;
    grid-column: 1 / -1;
}

.bot-ia-empty i {
    font-size: 40px;
    opacity: 0.2;
    display: block;
    margin-bottom: 8px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .bot-ia-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bot-ia-total-grid {
        max-width: 600px;
        gap: 16px;
    }
    .bot-ia-total-card {
        min-height: 85px;
        padding: 16px 18px;
    }
}

@media (max-width: 768px) {
    .bot-ia-section {
        padding: 24px 16px 20px;
        margin: 30px 0 15px;
    }
    
    .bot-ia-header h2 {
        font-size: 1.5rem;
    }
    
    .bot-ia-header .subtitle {
        font-size: 0.9rem;
    }
    
    .bot-ia-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    
    .bot-ia-total-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 420px;
        gap: 14px;
    }
    
    .bot-ia-total-card {
        min-height: 75px;
        padding: 14px 16px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 2px;
    }
    
    .bot-ia-total-card .plan-name {
        font-size: 0.85rem;
        width: 100%;
    }
    
    .bot-ia-total-card .plan-detail {
        font-size: 0.7rem;
        width: 100%;
    }
    
    .bot-ia-total-card .total-price {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .bot-ia-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin: 0 auto 16px;
    }
    
    .bot-ia-total-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
    }
    
    .bot-ia-header h2 {
        font-size: 1.3rem;
    }
    
    .bot-ia-card .bot-amount {
        font-size: 1.7rem;
    }
    
    .bot-ia-card .bot-name {
        font-size: 1rem;
    }
    
    .bot-ia-total-card {
        min-height: 65px;
        padding: 12px 14px;
    }
    
    .bot-ia-total-card .total-price {
        font-size: 1rem;
    }
    
    .bot-ia-extras .extra-price {
        font-size: 1.2rem;
    }
}

/*precios-tabla*/
/* ==========================================
   PRECIOS - MARKET IA
   Estilos para la sección de precios
   ========================================== */

:root {
    --primary-orange: #f15a24;
    --primary-dark: #d94814;
    --primary-light: #fdf2ec;
    --bg-dark: #0d131a;
    --bg-card: #ffffff;
    --text-dark: #0d2319;
    --text-gray: #657786;
    --text-light: #94a3b8;
    --border-light: #eef2f6;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    --radius: 20px;
    --radius-sm: 12px;
}

/* ==========================================
   CONTENEDOR PRINCIPAL
   ========================================== */
.precios-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 110px 24px 70px;
}

/* ==========================================
   HEADER
   ========================================== */
.precios-header {
    text-align: center;
    margin: 0 auto 42px;
    padding-top: 10px;
    max-width: 800px;
}

.precios-header h2 {
    font-size: 2.4rem;
    color: #0d2319;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.precios-header p {
    color: #657786;
    font-size: 1.05rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* ==========================================
   TOGGLE MENSUAL / ANUAL
   ========================================== */
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-weight: 600;
    font-size: 0.95rem;
}

.toggle-label {
    color: #94a3b8;
    transition: color 0.3s;
    cursor: default;
}

.toggle-label.active {
    color: #0d2319;
}

.discount-badge-toggle {
    background: #e2f5ed;
    color: #107c41;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    margin-left: 4px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d0d5dc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #f15a24;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* ==========================================
   TODOS LOS PLANES INCLUYEN
   ========================================== */
.common-features {
    background: #f8f9fc;
    border-radius: var(--radius-sm);
    padding: 24px 32px;
    margin: 0 auto 40px;
    max-width: 1100px;
    border: 1px solid #eef2f6;
}

.common-features .common-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 14px;
}

.common-features .common-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 20px;
}

.common-features .common-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #0d2319;
    padding: 4px 0;
}

.common-features .common-item i {
    color: #f15a24;
    font-size: 14px;
    width: 18px;
    text-align: center;
}

/* ==========================================
   GRID DE TARJETAS - 3 COLUMNAS
   ========================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 auto 40px;
    max-width: 1200px;
    align-items: stretch;
}

/* ==========================================
   TARJETA DE PLAN
   ========================================== */
.pricing-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    position: relative;
}

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

/* Cabecera */
.pricing-card .card-header {
    background: linear-gradient(135deg, #f7c09b 0%, #f39a5f 100%);
    padding: 16px 20px;
    text-align: center;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pricing-card .card-header h3 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

.pricing-card .card-header .badge-descuento {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 14px;
    border-radius: 12px;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

/* Badge "Más Popular" */
.pricing-card .popular-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: #f15a24;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(241, 90, 36, 0.25);
}

/* Contador de descuento */
.countdown-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 600;
    padding: 1px 10px;
    border-radius: 10px;
    margin-top: 2px;
    animation: pulse 2s infinite;
}

.countdown-badge.urgente {
    background: rgba(239, 68, 68, 0.4);
    animation: pulse-urgente 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes pulse-urgente {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

/* ==========================================
   PRECIO
   ========================================== */
.pricing-card .card-price {
    text-align: center;
    padding: 14px 16px 8px;
}

.pricing-card .card-price .currency {
    font-size: 0.8rem;
    color: #657786;
    font-weight: 600;
    vertical-align: top;
    display: inline-block;
    margin-top: 4px;
}

.pricing-card .card-price .price {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0d2319;
    transition: opacity 0.15s ease;
    letter-spacing: -0.5px;
}

.pricing-card .card-price .period {
    font-size: 0.8rem;
    color: #657786;
    font-weight: 400;
}

.pricing-card .card-price .original-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
    display: block;
    margin-top: 2px;
}

.pricing-card .card-price .discount-badge-price {
    display: inline-block;
    background: #ef4444;
    color: white;
    font-size: 0.6rem;
    padding: 2px 10px;
    border-radius: 10px;
    margin-left: 6px;
    font-weight: 600;
}

.pricing-card .plan-desc {
    text-align: center;
    color: #657786;
    font-size: 0.8rem;
    padding: 4px 16px 2px;
    font-style: italic;
    line-height: 1.4;
}

/* ==========================================
   DIVIDER
   ========================================== */
.pricing-card .divider {
    border: 0;
    border-top: 1px solid #eef2f6;
    margin: 8px 20px 10px;
}

/* ==========================================
   FUNCIONALIDADES Y BENEFICIOS - UNIFORMES
   ========================================== */
.pricing-card .feature-title {
    font-weight: 700;
    font-size: 0.7rem;
    padding: 0 20px;
    margin-bottom: 6px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.pricing-card .benefits-section {
    padding: 0 20px;
    margin: 0 0 10px;
}

.pricing-card .benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #333;
    padding: 4px 0;
    margin: 0;
    line-height: 1.3;
}

.pricing-card .benefit-item i {
    color: #f15a24;
    font-size: 12px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

/* ==========================================
   BOTÓN
   ========================================== */
.pricing-card .card-action {
    padding: 0 20px 16px;
    margin-top: auto;
}

.pricing-card .btn-plan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 30px;
    border: 1px solid #f3a46f;
    background-color: transparent;
    color: #0d2319;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.pricing-card .btn-plan:hover {
    background-color: #fdf2ec;
    border-color: #f15a24;
    transform: translateY(-2px);
}

/* ==========================================
   SECCIÓN DE INFORMACIÓN ADICIONAL - ESTILO AZUL OSCURO
   ========================================== */
.pricing-info-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.pricing-info-card {
    background: #0d131a;
    border-radius: var(--radius-sm);
    padding: 24px 20px;
    border: 1px solid #1a2632;
    transition: all 0.3s ease;
    text-align: center;
}

.pricing-info-card:hover {
    transform: translateY(-4px);
    border-color: #f15a24;
    box-shadow: 0 8px 28px rgba(241, 90, 36, 0.08);
    background: #121a24;
}

.pricing-info-card .info-icon {
    font-size: 28px;
    color: #f15a24;
    margin-bottom: 6px;
}

.pricing-info-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.pricing-info-card p {
    font-size: 0.8rem;
    color: #8a9bb5;
    line-height: 1.5;
    margin: 0;
}

.pricing-info-card .info-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f15a24;
    margin-top: 4px;
}

.pricing-info-card .info-price span {
    font-size: 0.7rem;
    font-weight: 400;
    color: #8a9bb5;
}

.pricing-info-card .info-note {
    font-size: 0.65rem;
    color: #6a7b95;
    margin-top: 4px;
}

/* ==========================================
   BARRA DE CONTACTO
   ========================================== */
.contact-bar {
    background-color: #0d131a;
    border-radius: var(--radius-sm);
    padding: 20px 28px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.btn-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f3a46f;
    color: #0d2319;
    text-decoration: none;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: #f15a24;
    color: #fff;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .common-features .common-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
    .pricing-info-section {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .precios-container {
        padding: 90px 16px 50px;
    }
    .precios-header h2 {
        font-size: 1.6rem;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .common-features {
        padding: 20px 16px;
    }
    .common-features .common-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px 12px;
    }
    .common-features .common-item {
        font-size: 0.72rem;
    }
    .pricing-info-section {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .contact-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 18px 20px;
    }
    .btn-contact {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .precios-header h2 {
        font-size: 1.3rem;
    }
    .toggle-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    .common-features .common-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card .card-price .price {
        font-size: 1.8rem;
    }
    .pricing-card .card-header h3 {
        font-size: 1rem;
    }
    .pricing-card .benefit-item {
        font-size: 0.75rem;
    }
}

