/* Lead Capture Popup Styles */

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

.lead-popup.active {
    display: flex;
    opacity: 1;
}

/* Popup Container */
.popup-container {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease;
}

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

/* Close Button */
.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
    transform: rotate(90deg);
}

/* Popup Header */
.popup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    text-align: center;
    border-radius: 16px 16px 0 0;
    color: white;
}

.popup-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
}

.popup-header p {
    margin: 0;
    font-size: 16px;
    opacity: 0.95;
}

/* Popup Body */
.popup-body {
    padding: 40px 30px;
}

/* Benefits List */
.popup-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.popup-benefits li {
    padding: 12px 0;
    font-size: 15px;
    color: #555;
    display: flex;
    align-items: center;
}

.popup-benefits li:before {
    content: '✓';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 14px;
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.form-field label .required {
    color: #ef4444;
    margin-left: 4px;
}

.form-field input,
.form-field select {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-field input::placeholder {
    color: #9ca3af;
}

/* Submit Button */
.btn-submit-lead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

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

.btn-submit-lead:active {
    transform: translateY(0);
}

.btn-submit-lead:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Privacy Note */
.privacy-note {
    margin-top: 20px;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    line-height: 1.6;
}

.privacy-note a {
    color: #667eea;
    text-decoration: none;
}

.privacy-note a:hover {
    text-decoration: underline;
}

/* Gated Content Styles */
.gated-content {
    position: relative;
}

.gated-content.hidden {
    display: none !important;
}

.gated-overlay {
    position: relative;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 1) 100%
    );
    padding: 60px 20px 40px;
    text-align: center;
    margin-top: -100px;
    border-radius: 12px;
}

.gated-overlay h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #1f2937;
}

.gated-overlay p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 24px;
}

.btn-unlock-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-unlock-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .popup-container {
        width: 95%;
        margin: 20px;
    }

    .popup-header {
        padding: 30px 20px;
    }

    .popup-header h2 {
        font-size: 24px;
    }

    .popup-body {
        padding: 30px 20px;
    }

    .popup-benefits li {
        font-size: 14px;
    }
}

/* Notification Styles */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 20px;
    font-weight: bold;
}

.notification-message {
    flex: 1;
}
