/* How AutoClipz Works Modal Styling */
#howItWorksModal .modal-title {
    font-weight: 800;
    font-size: 2.5rem;
    margin: 0 auto;
    position: relative;
    padding: 0 2rem;
}

#howItWorksModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#howItWorksModal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#howItWorksModal .modal-title .how,
#howItWorksModal .modal-title .works {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

#howItWorksModal .modal-title .brand-text {
    font-weight: 800;
    color: #0057F6;
}

#howItWorksModal .modal-title .brand-highlight {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

#howItWorksModal .content-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Only the highlight text has a box, regular paragraphs are plain */
#howItWorksModal .content-text p {
    margin-bottom: 1.5rem;
    text-align: center;
}

#howItWorksModal .highlight-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #007bff;
    text-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    position: relative;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(0, 123, 255, 0.08);
    border: 2px solid rgba(0, 123, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#howItWorksModal .highlight-text::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.5), transparent);
    border-radius: 3px;
}

/* Style for the closing statement */
#howItWorksModal .closing-statement {
    color: #007bff;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

#howItWorksModal .action-button {
    padding: 12px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    transition: all 0.3s ease;
    margin: 1rem 0;
}

#howItWorksModal .action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.6);
    background: linear-gradient(135deg, #0066cc, #004494);
}

/* Fix fullscreen modal with centered content */
#howItWorksModal .modal-dialog {
    margin: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
}

#howItWorksModal .modal-content {
    min-height: 100vh;
    border: none;
    border-radius: 0;
}

#howItWorksModal .modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

#howItWorksModal .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#howItWorksModal .content-text {
    max-width: 800px;
    margin: 0 auto;
}

/* Mobile adjustments for How AutoClipz Works modal */
@media (max-width: 767px) {
    #howItWorksModal .modal-dialog {
        margin: 0;
        height: 100vh;
        max-height: 100vh;
    }
    
    #howItWorksModal .modal-content {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }
    
    #howItWorksModal .modal-header {
        flex-shrink: 0;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    #howItWorksModal .modal-body {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 1rem;
        display: block;
        -webkit-overflow-scrolling: touch;
    }
    
    #howItWorksModal .modal-footer {
        flex-shrink: 0;
        padding: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    #howItWorksModal .container {
        height: auto;
        display: block;
        padding: 0;
    }
    
    #howItWorksModal .content-text {
        max-width: none;
        margin: 0;
    }
    
    /* Compact mobile styling */
    #howItWorksModal .modal-title {
        font-size: 1.5rem;
    }
    
    #howItWorksModal .content-text p {
        margin-bottom: 1rem;
        font-size: 1rem;
        line-height: 1.5;
    }
    
    #howItWorksModal .highlight-text {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    #howItWorksModal .action-button {
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
    }
}
