:root {
    --bg-dark: #050505;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --accent-glow: rgba(138, 43, 226, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background mesh animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.15) 0%, transparent 40%);
    filter: blur(80px);
    animation: backgroundPulse 15s ease-in-out infinite alternate;
}

@keyframes backgroundPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.2); opacity: 1; }
}

.container {
    max-width: 1200px;
    width: 90%;
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.logo-container {
    margin-bottom: 3rem;
}

.logo {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.3));
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3.5rem 2.5rem;
    border-radius: 2rem;
    max-width: 550px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.glass-card h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.glass-card p {
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.waitlist-form .form-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

input[type="email"] {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

input[type="email"]:focus {
    border-color: #a855f7;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(124, 58, 237, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 1.2rem;
}

.success { color: #4ade80; }
.error { color: #f87171; }

footer {
    margin-top: 5rem;
    color: #444;
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .waitlist-form .form-group {
        flex-direction: column;
    }
    
    .btn-primary {
        width: 100%;
    }
    
    .glass-card {
        padding: 2rem 1.5rem;
    }
}
