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

:root {
    --purple: #6C3AED;
    --blue: #2563EB;
    --dark: #0B0F1A;
    --gray-100: #F3F4F6;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-800: #1F2937;
    --green: #10B981;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--gray-100);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Dot grid background */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Top center radial glow — very subtle */
.bg-glow::after {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(108, 58, 237, 0.08) 0%, rgba(37, 99, 235, 0.04) 40%, transparent 70%);
    pointer-events: none;
}

/* Header */
header {
    position: relative;
    z-index: 10;
    padding: 24px 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-dot {
    color: var(--purple);
}

/* Main */
main {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 80px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(108, 58, 237, 0.15);
    color: #A78BFA;
    border: 1px solid rgba(108, 58, 237, 0.3);
    margin-bottom: 24px;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--purple), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Waitlist form */
.waitlist-form {
    width: 100%;
    max-width: 460px;
    margin-bottom: 60px;
}

.input-group {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 6px;
    transition: border-color 0.2s;
}

.input-group:focus-within {
    border-color: rgba(108, 58, 237, 0.5);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--gray-100);
    font-family: inherit;
}

.input-group input::placeholder {
    color: var(--gray-500);
}

.input-group button {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--purple), var(--blue));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group button:hover {
    opacity: 0.9;
}

.input-group button:active {
    transform: scale(0.98);
}

.form-note {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 12px;
}

.form-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--green);
    animation: fadeUp 0.4s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 680px;
}

.feature {
    text-align: center;
    padding: 28px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s, background 0.3s;
}

.feature:hover {
    border-color: rgba(108, 58, 237, 0.3);
    background: rgba(108, 58, 237, 0.05);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(108, 58, 237, 0.2), rgba(37, 99, 235, 0.2));
    color: #A78BFA;
    margin-bottom: 16px;
}

.feature h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature p {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.5;
}

/* Footer */
footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 24px;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Responsive */
@media (max-width: 640px) {
    header {
        padding: 20px;
    }

    main {
        padding: 20px 20px 60px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .input-group {
        flex-direction: column;
    }

    .input-group button {
        justify-content: center;
    }
}
