/* ============================================
   HOW IT WORKS MODAL - PREMIUM STYLES
   ============================================ */

.how-it-works-content {
    max-width: 800px;
    padding: 48px 40px;
}

.modal-header-section {
    text-align: center;
    margin-bottom: 48px;
}

.modal-icon-large {
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--red-brand), var(--red-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(230, 57, 70, 0.3);
}

.modal-icon-large i {
    font-size: 40px;
    color: white;
}

.modal-header-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.modal-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Steps Container - 2 Column Grid */
.steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.step-card {
    position: relative;
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
    border-radius: 20px;
    padding: 32px 28px;
    border: 2px solid #E5E7EB;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--red-brand);
}

/* Last card spans full width if odd number */
.step-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
}

.step-number {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--red-brand), var(--red-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.35);
}

.step-icon {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.step-icon i {
    font-size: 28px;
    color: var(--red-brand);
}

.step-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Modal CTA Section */
.modal-cta-section {
    text-align: center;
    padding-top: 32px;
    border-top: 2px solid #E5E7EB;
}

.modal-cta-section .btn-primary-action {
    width: 100%;
    max-width: 500px;
    padding: 18px 40px;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
}

.modal-cta-section .btn-primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(230, 57, 70, 0.4);
}

.cta-note {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-note i {
    color: var(--green-brand);
    font-size: 18px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-card:last-child:nth-child(odd) {
        grid-column: 1;
        max-width: 100%;
    }

    .how-it-works-content {
        padding: 36px 28px;
    }

    .modal-header-section h2 {
        font-size: 26px;
    }

    .modal-icon-large {
        width: 72px;
        height: 72px;
    }

    .modal-icon-large i {
        font-size: 32px;
    }

    .step-card {
        padding: 24px 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
        top: 20px;
        right: 20px;
    }

    .step-icon {
        width: 56px;
        height: 56px;
    }

    .step-icon i {
        font-size: 24px;
    }

    .step-card h3 {
        font-size: 19px;
    }

    .step-card p {
        font-size: 14px;
    }

    .modal-cta-section .btn-primary-action {
        padding: 16px 32px;
        font-size: 16px;
    }
}