/* Waitlist Modal and Form Styles */
.waitlist-modal {
    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;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.waitlist-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    animation: modal-appear 0.4s forwards;
}

@keyframes modal-appear {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #777;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #333;
}

.waitlist-heading {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.8rem;
}

.waitlist-subheading {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #666;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.waitlist-form input[type="email"] {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
    transition: border-color 0.2s;
}

.waitlist-form input[type="email"]:focus {
    outline: none;
    border-color: #7683F9;
    box-shadow: 0 0 0 2px rgba(118, 131, 249, 0.2);
}

.waitlist-form button {
    padding: 12px 15px;
    background: linear-gradient(135deg, #7683F9, #5D6CE1);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.waitlist-form button:hover {
    background: linear-gradient(135deg, #5D6CE1, #4B57CF);
    transform: translateY(-2px);
}

.waitlist-form button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.waitlist-result {
    margin-top: 15px;
    font-size: 0.9rem;
    transition: opacity 0.5s;
}

.success-message {
    color: #2ecc71;
}

.error-message {
    color: #e74c3c;
}

/* Waiting list button styles (replaces download buttons) */
.waitlist-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #7683F9, #5D6CE1);
    color: white;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.waitlist-button:hover {
    background: linear-gradient(135deg, #5D6CE1, #4B57CF);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 108, 225, 0.3);
}

.waitlist-button svg {
    margin-right: 8px;
}

body.modal-open {
    overflow: hidden;
}

/* Responsive styles */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .waitlist-heading {
        font-size: 1.5rem;
    }
}

/* Updated CTA button style to match waitlist buttons */
.cta-button.waitlist-button {
    background: linear-gradient(135deg, #7683F9, #5D6CE1);
    color: white;
}
