:root {
    --bg-light: #f8fafc;
    --text-light: #0f172a;
    --accent-light: #2563eb;
    --glass-light: rgba(255, 255, 255, 0.7);
    --border-light: rgba(0, 0, 0, 0.1);

    --bg-dark: #020617;
    --text-dark: #f8fafc;
    --accent-dark: #60a5fa;
    --glass-dark: rgba(15, 23, 42, 0.7);
    --border-dark: rgba(255, 255, 255, 0.1);

    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.5s ease, color 0.5s ease;
}

body.theme-light {
    background-color: var(--bg-light);
    color: var(--text-light);
}

body.theme-dark {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

#ai-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 0;
}

body.theme-light .overlay {
    background: radial-gradient(circle at center, transparent 0%, rgba(255, 255, 255, 0.2) 100%);
}

header {
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.text-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: inline-block;
}

.text-logo:hover {
    transform: scale(1.05);
}

#theme-toggle {
    background: var(--glass-light);
    border: 1px solid var(--border-light);
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.theme-dark #theme-toggle {
    background: var(--glass-dark);
    border: 1px solid var(--border-dark);
    color: white;
}

#theme-toggle svg {
    width: 24px;
    height: 24px;
}

.sun-icon {
    display: none;
}

.moon-icon {
    display: block;
}

body.theme-dark .sun-icon {
    display: block;
}

body.theme-dark .moon-icon {
    display: none;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    padding: 2rem;
}

.content {
    text-align: center;
    max-width: 800px;
    padding: 4rem;
    background: var(--glass-light);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.5s ease;
}

body.theme-dark .content {
    background: var(--glass-dark);
    border: 1px solid var(--border-dark);
}

.glitch-text {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.pulse {
    width: 8px;
    height: 8px;
    background: #6366f1;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.description {
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.7;
}

.email-capture {
    display: flex;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    max-width: 500px;
    margin: 0 auto;
}

body.theme-dark .email-capture {
    background: #0f172a;
    border: 1px solid var(--border-dark);
}

#email-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    color: inherit;
    font-family: inherit;
}

#email-input:focus {
    outline: none;
}

#notify-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

#notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.5;
    z-index: 10;
}

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

    .glitch-text {
        font-size: 3rem;
    }

    .content {
        padding: 2rem;
        margin: 1rem;
    }

    .email-capture {
        flex-direction: column;
        background: transparent;
        border: none;
    }

    #email-input {
        background: var(--glass-light);
        border-radius: 0.75rem;
        margin-bottom: 0.5rem;
        border: 1px solid var(--border-light);
    }

    body.theme-dark #email-input {
        background: var(--glass-dark);
        border: 1px solid var(--border-dark);
    }
}
