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

.email-popup-modal.show {
    opacity: 1;
}

.email-popup-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.email-popup-modal.show .email-popup-content {
    transform: translateY(0) scale(1);
}

.email-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.email-popup-close:hover {
    background-color: #f5f5f5;
    color: #333;
}

.email-popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.email-popup-header h2 {
    font-family: "Satoshi", sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #000;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.email-popup-header p {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.email-popup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.email-popup-form input[type="email"] {
    padding: 16px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s ease;
    background: #fafafa;
}

.email-popup-form input[type="email"]:focus {
    border-color: #000;
    background: white;
}

.email-popup-form input[type="email"]::placeholder {
    color: #999;
}

.email-popup-submit {
    padding: 16px 24px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.email-popup-submit:hover {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.email-popup-submit:active {
    transform: translateY(0);
}

.email-popup-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.email-popup-disclaimer {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #888;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .email-popup-content {
        padding: 30px 24px;
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .email-popup-header h2 {
        font-size: 24px;
    }
    
    .email-popup-header p {
        font-size: 15px;
    }
    
    .email-popup-form input[type="email"],
    .email-popup-submit {
        padding: 14px 18px;
        font-size: 15px;
    }
    
    .email-popup-close {
        top: 15px;
        right: 15px;
        font-size: 24px;
        width: 36px;
        height: 36px;
    }
}

/* Animation for success state */
.email-popup-submit.success {
    background: #4CAF50 !important;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}