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

:root {
    --primary: #62d4d4;
    --secondary: #70b894;
    --accent: #b8f4c8;
    --dark: #3c3c50;
    --darker: #2a2a38;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--darker);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated Grid Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.grid-background canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 50% 50%, transparent 0%, var(--darker) 70%),
        radial-gradient(ellipse at 20% 20%, rgba(112, 184, 148, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(98, 212, 212, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 50%;
    animation: float 15s infinite;
    opacity: 0;
}

@keyframes float {
    0%, 100% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

/* Main Content */
.container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Logo */
.logo {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    letter-spacing: 0.5em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4rem;
    text-transform: uppercase;
    position: relative;
}

.logo::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-50%) scale(1.2);
    }
}

/* Main Heading */
.hero {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-family: 'Space Mono', monospace;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s infinite;
    background-size: 200% 200%;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero .tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero .cryptic {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--primary);
    opacity: 0.7;
    letter-spacing: 0.2em;
    margin-bottom: 4rem;
}

/* Email Form */
.notify-form {
    display: flex;
    gap: 0;
    max-width: 500px;
    width: 100%;
    margin-top: 2rem;
    position: relative;
}

.notify-form::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 8px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.6;
    }
}

.notify-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: rgba(10, 10, 15, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-radius: 6px 0 0 6px;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.notify-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.notify-form input[type="email"]:focus {
    border-color: var(--primary);
    background: rgba(98, 212, 212, 0.08);
}

.notify-form button {
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 0 6px 6px 0;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.notify-form button:hover {
    transform: translateX(2px);
    box-shadow: 0 0 30px rgba(98, 212, 212, 0.5);
}

.notify-form button::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.notify-form button:hover::after {
    transform: translateX(4px);
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 1.5rem;
    color: var(--primary);
    font-family: 'Space Mono', monospace;
    animation: fadeIn 0.5s ease;
}

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

/* Neural Network Lines */
.neural-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    pointer-events: none;
    opacity: 0.3;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.2em;
    z-index: 10;
}

/* Status Indicator */
.status {
    position: fixed;
    top: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
    z-index: 10;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #b8f4c8;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(184, 244, 200, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(184, 244, 200, 0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .notify-form {
        flex-direction: column;
        gap: 1rem;
    }

    .notify-form input[type="email"],
    .notify-form button {
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .notify-form input[type="email"] {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .logo {
        font-size: 0.8rem;
    }

    .status {
        top: 1rem;
        right: 1rem;
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--primary);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0%, 100% {
        clip: rect(42px, 9999px, 44px, 0);
    }
    25% {
        clip: rect(12px, 9999px, 59px, 0);
    }
    50% {
        clip: rect(48px, 9999px, 29px, 0);
    }
    75% {
        clip: rect(89px, 9999px, 92px, 0);
    }
}

@keyframes glitch-anim-2 {
    0%, 100% {
        clip: rect(65px, 9999px, 119px, 0);
    }
    25% {
        clip: rect(79px, 9999px, 19px, 0);
    }
    50% {
        clip: rect(68px, 9999px, 11px, 0);
    }
    75% {
        clip: rect(95px, 9999px, 53px, 0);
    }
}
