/* Waitlist Modal Styles */
.waitlist-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.waitlist-modal-overlay.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.waitlist-modal-overlay.animate-in {
    opacity: 1;
}

.waitlist-modal-container {
    position: relative;
    max-width: 500px;
    width: 90%;
    background: var(--card-background);
    border-radius: 20px;
    padding: 2.5rem;
    color: var(--text-color);
    backdrop-filter: var(--card-blur);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

.waitlist-modal-overlay.animate-in .waitlist-modal-container {
    transform: scale(1);
    opacity: 1;
}

.waitlist-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 0.7;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waitlist-modal-close:hover {
    transform: scale(1.1);
    opacity: 1;
}

.waitlist-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.waitlist-modal-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin: 0 0 1rem 0;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.waitlist-modal-subtitle {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--secondary-text-color);
    margin: 0;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.waitlist-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.waitlist-form-label {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: var(--text-color);
}

.waitlist-form-input,
.waitlist-form-textarea {
    font-family: var(--font-secondary);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.waitlist-form-input:focus,
.waitlist-form-textarea:focus {
    outline: none;
    border-color: #4a76ef;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(74, 118, 239, 0.3);
}

.waitlist-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.waitlist-benefits {
    padding: 1rem;
    background: rgba(74, 118, 239, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(74, 118, 239, 0.2);
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--text-color);
}

.benefits-list li svg {
    flex-shrink: 0;
    color: #4a76ef;
}

.benefits-list li span {
    line-height: 1.4;
}

.waitlist-submit-btn {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.waitlist-submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(74, 118, 239, 0.6);
}

.waitlist-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: scale(1);
}

.waitlist-success-message {
    display: none;
    text-align: center;
    padding: 2rem;
}

.waitlist-success-message.show {
    display: block;
}

.waitlist-success-message h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.waitlist-success-message p {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--secondary-text-color);
    margin: 0;
}

/* Light theme adjustments */
[data-theme="light"] .waitlist-modal-container {
    background: var(--card-background);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .waitlist-form-input,
[data-theme="light"] .waitlist-form-textarea {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.15);
    color: #333;
}

[data-theme="light"] .waitlist-form-input::placeholder,
[data-theme="light"] .waitlist-form-textarea::placeholder {
    color: #999;
}

[data-theme="light"] .waitlist-form-input:focus,
[data-theme="light"] .waitlist-form-textarea:focus {
    background: rgba(255, 255, 255, 1);
    border-color: #4a76ef;
}

[data-theme="light"] .waitlist-benefits {
    background: rgba(74, 118, 239, 0.08);
    border-color: rgba(74, 118, 239, 0.25);
}

[data-theme="light"] .benefits-list li {
    color: #555;
}

/* Responsive design */
@media (max-width: 768px) {
    .waitlist-modal-container {
        width: 95%;
        padding: 2rem 1.5rem;
    }
    
    .waitlist-modal-title {
        font-size: 1.5rem;
    }
    
    .waitlist-modal-subtitle {
        font-size: 0.9rem;
    }
}
