:root {
    --bg-dark: #050505;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent: #00ffcc;
    --accent-glow: rgba(0, 255, 204, 0.4);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Grotesk', monospace;
}

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

body {
    background: linear-gradient(135deg, rgba(70, 238, 221, 0.08) 0%, rgba(144, 82, 208, 0.08) 100%), var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Base Styles */
h1,
h2,
h3 {
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: -0.05em;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Background Canvas */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, var(--bg-dark) 100%);
}

/* Layout */
.content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header & Logo */
.header {
    width: 100%;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5em 1em;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    margin-bottom: 2rem;
    color: var(--accent);
    background: rgba(0, 255, 204, 0.05);
    box-shadow: 0 0 15px var(--accent-glow);
    animation: pulseBadge 3s infinite alternate ease-in-out;
}

.glitch {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    background: transparent;
    overflow: hidden;
    clip-path: inset(100% 0 0 0);
}

.glitch::before {
    left: 3px;
    text-shadow: -2px 0 #00ffcc;
    animation: glitch-bot 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -3px;
    text-shadow: -2px 0 #ff00ea;
    animation: glitch-top 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-bot {

    0%,
    80% {
        clip-path: inset(100% 0 0 0);
    }

    82% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-2px, 1px);
    }

    84% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(2px, -1px);
    }

    86% {
        clip-path: inset(40% 0 50% 0);
        transform: translate(-2px, 2px);
    }

    88% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, -2px);
    }

    90% {
        clip-path: inset(10% 0 70% 0);
        transform: translate(-1px, 1px);
    }

    92% {
        clip-path: inset(30% 0 50% 0);
        transform: translate(1px, -1px);
    }

    94%,
    100% {
        clip-path: inset(100% 0 0 0);
    }
}

@keyframes glitch-top {

    0%,
    75% {
        clip-path: inset(100% 0 0 0);
    }

    77% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(2px, -1px);
    }

    79% {
        clip-path: inset(30% 0 20% 0);
        transform: translate(-2px, 1px);
    }

    81% {
        clip-path: inset(70% 0 10% 0);
        transform: translate(2px, 2px);
    }

    83% {
        clip-path: inset(20% 0 50% 0);
        transform: translate(-2px, -2px);
    }

    85% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(1px, 1px);
    }

    87% {
        clip-path: inset(5% 0 80% 0);
        transform: translate(-1px, -1px);
    }

    89%,
    100% {
        clip-path: inset(100% 0 0 0);
    }
}

.subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: #a0a0a0;
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Launch Status */
.launch-status {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
    animation: pulse 1.5s infinite ease-in-out alternate;
}

/* Notify Form */
.notify-form {
    width: 100%;
    max-width: 500px;
    position: relative;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
}

.input-group input::placeholder {
    color: #555;
    transition: color 0.3s ease;
}

.input-group:focus-within input::placeholder {
    color: #888;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-dark);
    border: none;
    border-radius: 8px;
    padding: 0 1.5rem;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

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

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.form-message {
    position: absolute;
    bottom: -2rem;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-message.success {
    color: var(--accent);
    opacity: 1;
    transform: translateY(0);
}

.form-message.error {
    color: #ff3366;
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    width: 100%;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: #444;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

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

@keyframes pulseBadge {
    0% {
        box-shadow: 0 0 5px var(--accent-glow);
    }

    100% {
        box-shadow: 0 0 20px var(--accent-glow);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 1.5rem;
    }

    .input-group {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        background: transparent;
        border: none;
        backdrop-filter: none;
    }

    .input-group input {
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border-color);
        border-radius: 8px;
    }

    .btn-primary {
        padding: 1rem;
        justify-content: center;
        width: 100%;
    }
}