/* Glassmorphism Lead Capture Modal */
.lead-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lead-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lead-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.lead-modal-overlay.active .lead-card {
    transform: translateY(0);
}

.lead-card h2 {
    margin-bottom: 10px;
    font-size: 2rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lead-card p {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.lead-form-group {
    margin-bottom: 15px;
    position: relative;
    text-align: left;
}

.lead-form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.lead-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
    box-sizing: border-box;
}

.lead-input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
}

.lead-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-submit-lead {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.btn-submit-lead:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
}

.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.success-icon {
    font-size: 3rem;
    color: #55efc4;
    margin-bottom: 15px;
}

/* Fallback for darker backgrounds if needed */
body.modal-open {
    overflow: hidden;
}