/* Lead Popup Overlay */
.lead-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lead-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Popup Container */
.lead-popup-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: popupSlideIn 0.4s ease-out;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Close Button */
.lead-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lead-popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* Popup Content */
.lead-popup-content {
    text-align: center;
}

.lead-popup-title {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.lead-popup-subtitle {
    color: #b8b8d1;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Form Styles */
.lead-popup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lead-popup-input {
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.lead-popup-input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.08);
}

.lead-popup-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.lead-popup-button {
    padding: 16px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.lead-popup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.lead-popup-guarantee {
    color: #b8b8d1;
    font-size: 14px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lead-popup-container {
        padding: 30px 20px;
        width: 95%;
    }
    
    .lead-popup-title {
        font-size: 26px;
    }
    
    .lead-popup-subtitle {
        font-size: 14px;
    }
    
    .lead-popup-input {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .lead-popup-button {
        padding: 14px 24px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .lead-popup-container {
        padding: 25px 15px;
    }
    
    .lead-popup-title {
        font-size: 22px;
    }
    
    .lead-popup-close {
        font-size: 28px;
        width: 35px;
        height: 35px;
    }
}
