/* ═══════════════════════════════════════════════════════════════════════════════
   FINAL V5 - CÓMO FUNCIONA + FAQ DESDE CERO
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════════
   CÓMO FUNCIONA - NUEVO DISEÑO SIN CORTES
   ═══════════════════════════════════════════════════════════════════════════════ */
.how-it-works-new {
    padding: 5rem 5% !important;
    background: linear-gradient(180deg, #050a30, #0a0f3a) !important;
    overflow: visible !important;
}

.how-it-works-new .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.steps-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin: 3rem auto 2rem !important;
    flex-wrap: wrap !important;
}

.step-item {
    flex: 0 0 300px !important;
    max-width: 320px !important;
    background: rgba(10, 15, 58, 0.9) !important;
    border: 1px solid rgba(35, 61, 255, 0.3) !important;
    border-radius: 20px !important;
    padding: 2.5rem 1.5rem 2rem !important;
    text-align: center !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    margin-top: 20px !important;
}

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

.step-num {
    position: absolute !important;
    top: -20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 40px !important;
    height: 40px !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: 1.1rem !important;
    color: #fff !important;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.5) !important;
    z-index: 10 !important;
}

.step-content {
    padding-top: 0.5rem !important;
}

.step-icon-wrap {
    width: 80px !important;
    height: 80px !important;
    background: rgba(0, 212, 255, 0.1) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1.5rem !important;
    border: 2px solid rgba(0, 212, 255, 0.2) !important;
}

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

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

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

.step-arrow {
    color: rgba(0, 212, 255, 0.5) !important;
    font-size: 1.5rem !important;
    padding: 0 0.5rem !important;
}

.how-cta {
    text-align: center !important;
    margin-top: 2.5rem !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 25px rgba(0, 212, 255, 0.3) !important;
}

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

@media (max-width: 992px) {
    .step-arrow {
        display: none !important;
    }
    
    .steps-row {
        flex-direction: column !important;
        gap: 2.5rem !important;
    }
    
    .step-item {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FAQ - USANDO <details> NATIVO (100% FUNCIONAL)
   ═══════════════════════════════════════════════════════════════════════════════ */
.faq-new {
    padding: 5rem 5% !important;
    background: linear-gradient(180deg, #0a0f3a, #050a30) !important;
}

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

.faq-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin: 2.5rem 0 !important;
}

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

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

.faq-details[open] {
    border-color: #00d4ff !important;
    background: rgba(0, 212, 255, 0.05) !important;
}

.faq-summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1.25rem 1.5rem !important;
    cursor: pointer !important;
    list-style: none !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.faq-summary::-webkit-details-marker {
    display: none !important;
}

.faq-summary::marker {
    display: none !important;
}

.faq-summary:hover {
    background: rgba(35, 61, 255, 0.1) !important;
}

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

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

.faq-details[open] .faq-summary i {
    transform: rotate(45deg) !important;
}

.faq-content {
    padding: 0 1.5rem 1.25rem !important;
    animation: fadeIn 0.3s ease !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

.faq-cta {
    text-align: center !important;
    margin-top: 2rem !important;
    padding-top: 2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.faq-cta p {
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 1rem !important;
}

.btn-faq {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 1rem 2rem !important;
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3) !important;
}

.btn-faq:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4) !important;
}

/* Ocultar estilos viejos que puedan conflictuar */
.how-it-works,
.faq-section {
    display: none !important;
}
