/* Waitlist Page Styles */

.waitlist-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    position: relative;
}

.waitlist-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--accent-olive-light) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.waitlist-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--accent-blue-light) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite 4s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.waitlist-container {
    position: relative;
    z-index: 1;
    max-width: 500px;
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

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

.waitlist-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.waitlist-subtitle {
    font-size: 1rem;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* Alert Box */
.alert-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-box.hidden {
    display: none;
}

.alert-box.info {
    background: var(--accent-blue-light);
    border: 1px solid var(--accent-blue);
}

.alert-box.success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid var(--success);
}

.alert-box.warning {
    background: rgba(255, 152, 0, 0.15);
    border: 1px solid var(--warning);
}

.alert-box.error {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid var(--error);
}

.alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-message {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
}

/* Form Styles */
.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: 'Arimo', sans-serif;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 2px solid var(--border-secondary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--border-accent);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent-blue-light);
}

.form-group input::placeholder {
    color: var(--text-tertiary);
}

/* Submit Button */
.btn-submit {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Arimo', sans-serif;
    color: var(--btn-primary-text);
    background: var(--btn-primary-bg);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover:not(:disabled) {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loader {
    display: inline-block;
}

.btn-loader.hidden {
    display: none;
}

/* Spinner Animation */
.spinner {
    width: 20px;
    height: 20px;
    animation: rotate 1s linear infinite;
}

.spinner-path {
    stroke: currentColor;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Privacy Notice */
.privacy-notice {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: 1.5rem;
    line-height: 1.5;
}

/* Back Link */
.back-link {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
}

.back-link a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-accent);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.back-link a:hover {
    background: var(--bg-hover);
    border-color: var(--border-accent);
    transform: translateX(-3px);
    box-shadow: var(--shadow-md);
}

/* Theme Toggle (inherited from main page) */
.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    z-index: 1000;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    fill: var(--text-accent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .waitlist-container {
        padding: 2rem 1.5rem;
    }

    .waitlist-title {
        font-size: 2rem;
    }

    .back-link {
        top: 1rem;
        left: 1rem;
    }

    .theme-toggle {
        top: 1rem;
        right: 1rem;
    }

    .back-link a {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .waitlist-section {
        padding: 1rem;
    }

    .waitlist-container {
        padding: 1.5rem;
    }

    .waitlist-title {
        font-size: 1.75rem;
    }
}
