/* Lead Magnet Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-container {
    position: relative;
    width: 700px;
    max-width: 90%;
    background: #F9F5F0;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    border: 2px solid #E6B800;
}

.popup-image {
    width: 40%;
    background: linear-gradient(135deg, #B69BE8 0%, #5D4777 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.popup-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.popup-content {
    width: 60%;
    padding: 30px;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 25px;
    height: 25px;
    background: #E6B800;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

.popup-header {
    margin-bottom: 20px;
}

.popup-title {
    color: #B69BE8;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.popup-subtitle {
    color: #E6B800;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.popup-description {
    color: #333333;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.popup-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    color: #B69BE8;
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #B69BE8;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #E6B800;
    box-shadow: 0 0 0 2px rgba(230, 184, 0, 0.2);
}

.form-button {
    background: #E6B800;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-button:hover {
    background: #d6ac00;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    font-size: 12px;
    color: #777;
}

.privacy-note svg {
    margin-right: 5px;
    width: 12px;
    height: 12px;
}

/* Sidebar Opt-in Styles */
.sidebar-optin {
    background: linear-gradient(135deg, #B69BE8 0%, #5D4777 100%);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-optin-title {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.sidebar-optin-description {
    color: white;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    opacity: 0.9;
}

.sidebar-optin-form {
    display: flex;
    flex-direction: column;
}

.sidebar-form-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 10px;
    color: white;
    transition: all 0.3s ease;
}

.sidebar-form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.sidebar-form-input:focus {
    outline: none;
    border-color: #E6B800;
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-form-button {
    background: #E6B800;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sidebar-form-button:hover {
    background: #d6ac00;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .popup-container {
        flex-direction: column;
        width: 90%;
        max-width: 400px;
    }
    
    .popup-image, .popup-content {
        width: 100%;
    }
    
    .popup-image {
        padding: 15px 15px 0 15px;
    }
}
