/* ═══════════════════════════════════════════════════════════════════════════════
   INDEX V4 - CORRECCIONES COMPLETAS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════════
   1. CÓMO FUNCIONA - Rediseño completo
   ═══════════════════════════════════════════════════════════════════════════════ */
.how-it-works {
    padding: 5rem 5% !important;
    background: linear-gradient(180deg, rgba(5, 10, 48, 0.95), rgba(5, 10, 48, 1)) !important;
}

.steps-container {
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 1.5rem !important;
    max-width: 1100px !important;
    margin: 3rem auto 2rem !important;
    flex-wrap: wrap !important;
}

.step-card {
    flex: 1 !important;
    min-width: 280px !important;
    max-width: 340px !important;
    background: rgba(5, 10, 48, 0.8) !important;
    border: 1px solid rgba(35, 61, 255, 0.3) !important;
    border-radius: 20px !important;
    padding: 2rem 1.5rem !important;
    text-align: center !important;
    position: relative !important;
    transition: all 0.3s ease !important;
}

.step-card:hover {
    border-color: rgba(0, 212, 255, 0.6) !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15) !important;
}

.step-number {
    position: absolute !important;
    top: -18px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    background: linear-gradient(135deg, #00d4ff, #233dff) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4) !important;
}

.step-icon {
    width: 80px !important;
    height: 80px !important;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(35, 61, 255, 0.15)) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 1rem auto 1.5rem !important;
}

.step-icon i {
    font-size: 2rem !important;
    color: #00d4ff !important;
}

.step-card h3 {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 0.75rem !important;
}

.step-card p {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.6 !important;
}

.step-connector {
    display: none !important;
}

.how-cta {
    text-align: center !important;
    margin-top: 2rem !important;
}

.btn-how {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 1rem 2.5rem !important;
    background: linear-gradient(135deg, #00d4ff, #233dff) !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3) !important;
}

.btn-how:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   2. BOTONES TOGGLE - Lado a lado, estilo moderno
   ═══════════════════════════════════════════════════════════════════════════════ */
.promo-toggle {
    display: inline-flex !important;
    flex-direction: row !important;
    background: rgba(5, 10, 48, 0.9) !important;
    border: 2px solid rgba(35, 61, 255, 0.3) !important;
    border-radius: 50px !important;
    padding: 6px !important;
    gap: 0 !important;
    margin: 2rem auto !important;
}

.toggle-promo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.9rem 2rem !important;
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.toggle-promo:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

.toggle-promo.active {
    background: linear-gradient(135deg, #00d4ff, #233dff) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4) !important;
}

.toggle-promo i {
    font-size: 0.9rem !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   3. BANNER ANÁLISIS CV - Más atractivo
   ═══════════════════════════════════════════════════════════════════════════════ */
.promo-free {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 10, 48, 0.95)) !important;
    border: 2px solid rgba(16, 185, 129, 0.4) !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    margin-top: 2rem !important;
    position: relative !important;
    overflow: hidden !important;
}

.promo-free::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #10b981, #34d399, #10b981) !important;
}

.free-content {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

.free-icon {
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1)) !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.free-icon i {
    font-size: 2rem !important;
    color: #10b981 !important;
}

.free-info {
    flex: 1 !important;
    min-width: 250px !important;
}

.free-info h4 {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 0.5rem !important;
}

.free-info h4::before {
    content: '🎁 ' !important;
}

.free-info p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
}

.free-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 1rem 2rem !important;
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3) !important;
    white-space: nowrap !important;
}

.free-btn:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   4. FAQ - FUNCIONAMIENTO CORRECTO
   ═══════════════════════════════════════════════════════════════════════════════ */
.faq-section {
    padding: 5rem 5% !important;
    background: linear-gradient(180deg, rgba(5, 10, 48, 0.98), rgba(5, 10, 48, 1)) !important;
}

.faq-container {
    max-width: 800px !important;
    margin: 0 auto !important;
}

.faq-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(35, 61, 255, 0.25) !important;
    border-radius: 12px !important;
    overflow: visible !important;
    transition: all 0.3s ease !important;
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.4) !important;
}

.faq-item.active {
    border-color: #00d4ff !important;
    background: rgba(0, 212, 255, 0.05) !important;
}

.faq-question {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1.25rem 1.5rem !important;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    outline: none !important;
}

.faq-question:focus {
    outline: none !important;
}

.faq-question span {
    flex: 1 !important;
    padding-right: 1rem !important;
}

.faq-question i,
.faq-icon {
    color: #00d4ff !important;
    font-size: 1rem !important;
    transition: transform 0.3s ease !important;
    flex-shrink: 0 !important;
}

.faq-item.active .faq-question i,
.faq-item.active .faq-icon {
    transform: rotate(180deg) !important;
}

.faq-answer {
    display: none !important;
    padding: 0 1.5rem 1.25rem !important;
}

.faq-item.active .faq-answer {
    display: block !important;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

.faq-answer strong {
    color: #00d4ff !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .step-card {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .promo-toggle {
        flex-direction: row !important;
        width: auto !important;
    }
    
    .toggle-promo {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.85rem !important;
    }
    
    .free-content {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .free-info {
        text-align: center !important;
    }
}
