/* lead-capture.css - Neo-Brutalist Lead Capture Flow */

#lead-capture-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease-out;
    overscroll-behavior: contain;
}

#lead-capture-modal-overlay.active {
    display: flex;
    opacity: 1;
}

#lead-capture-modal {
    background-color: #ffffff;
    border: 4px solid #000000;
    box-shadow: 12px 12px 0px 0px rgba(0, 0, 0, 1);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}

#lead-capture-modal-overlay.active #lead-capture-modal {
    transform: translateY(0) scale(1);
}

@media (max-width: 640px) {
    #lead-capture-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }
    #lead-capture-modal {
        max-width: 100%;
        border-bottom: none;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
    }
    #lead-capture-modal-overlay.active #lead-capture-modal {
        transform: translateY(0);
    }
}

.lc-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 2px solid transparent;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.lc-close-btn:hover {
    background: #f3f4f6;
    border-color: #000;
}

.lc-progress-container {
    width: 100%;
    height: 8px;
    background-color: #e5e7eb;
    border-bottom: 2px solid #000;
}

.lc-progress-bar {
    height: 100%;
    background-color: #FFD23F;
    width: 0%;
    transition: width 0.4s ease-out;
    border-right: 2px solid #000;
}

.lc-content-area {
    padding: 2rem 1.5rem;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.lc-step {
    display: none;
    flex-direction: column;
    width: 100%;
    animation: fadeInSlideUp 0.3s ease-out forwards;
}

.lc-step.active {
    display: flex;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lc-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.lc-question-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #000;
}

.lc-options-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lc-option-btn {
    width: 100%;
    text-align: left;
    padding: 1rem;
    background-color: #fff;
    border: 3px solid #000;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 4px 4px 0px 0px rgba(0,0,0,1);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.lc-option-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px 0px rgba(0,0,0,1);
    background-color: #FFD23F;
}

.lc-option-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px 0px rgba(0,0,0,1);
}

/* Form Styles */
.lc-form-group {
    margin-bottom: 1rem;
}

.lc-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    color: #111827;
}

.lc-input {
    width: 100%;
    padding: 0.75rem;
    border: 3px solid #000;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background-color: #fff;
    box-shadow: 3px 3px 0px 0px rgba(0,0,0,1);
    transition: box-shadow 0.2s ease;
}

.lc-input:focus {
    outline: none;
    box-shadow: 5px 5px 0px 0px rgba(0,0,0,1);
    border-color: #ea580c; /* Bodhi Orange */
}

.lc-submit-btn {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    background-color: #ea580c;
    color: #fff;
    border: 4px solid #000;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 6px 6px 0px 0px rgba(0,0,0,1);
    transition: all 0.2s ease;
}

.lc-submit-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px 0px rgba(0,0,0,1);
    background-color: #000;
    color: #FFD23F;
}

.lc-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: translate(0, 0);
    box-shadow: 4px 4px 0px 0px rgba(0,0,0,1);
}

.lc-error-text {
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
    display: none;
}

/* Success Step */
.lc-success-container {
    text-align: center;
    padding: 2rem 0;
}

.lc-success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
