/* Waitlist Modal Styles */
.waitlist-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.waitlist-modal.active {
    opacity: 1;
}

.waitlist-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.waitlist-modal-content {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.waitlist-modal.active .waitlist-modal-content {
    transform: translateY(0);
}

.waitlist-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 0, 255, 0.1);
    border: none;
    color: #2d2d2d;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.waitlist-close:hover {
    background: rgba(255, 0, 255, 0.2);
    transform: rotate(90deg);
}

.waitlist-header {
    text-align: center;
    margin-bottom: 30px;
}

.waitlist-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ff00ff, #cc00cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.waitlist-header h2 {
    color: #2d2d2d;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    font-family: 'Unbounded', sans-serif;
}

.waitlist-header p {
    color: rgba(45, 45, 45, 0.7);
    font-size: 16px;
    margin: 0;
}

.waitlist-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #2d2d2d;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group label i {
    color: #ff00ff;
    margin-right: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 2px solid rgba(255, 0, 255, 0.3);
    border-radius: 10px;
    color: #2d2d2d;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff00ff;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(45, 45, 45, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    margin-top: 30px;
}

.btn-submit {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ff00ff, #cc00cc);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(255, 0, 255, 0.3);
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 0, 255, 0.5);
}

.btn-submit:active:not(:disabled) {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-note {
    text-align: center;
    color: rgba(45, 45, 45, 0.6);
    font-size: 13px;
    margin-top: 15px;
}

.form-note i {
    color: #4CAF50;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: white;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.success-message h3 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.success-message p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
    margin: 10px 0;
}

.success-details {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    font-size: 14px;
}

.success-details small {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
}

.btn-close-success {
    margin-top: 20px;
    padding: 12px 40px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .waitlist-modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .waitlist-header h2 {
        font-size: 24px;
    }

    .waitlist-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
}

/* Scrollbar Styling for Modal */
.waitlist-modal-content::-webkit-scrollbar {
    width: 8px;
}

.waitlist-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.waitlist-modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 0, 255, 0.5);
    border-radius: 10px;
}

.waitlist-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 0, 255, 0.7);
}
