:root {
    --bg-color: #0a0a0a;
    --text-color: #e5e5e5;
    --accent-color: #3b82f6; /* Blue */
    --accent-glow: rgba(59, 130, 246, 0.5);
    --secondary-color: #10b981; /* Green */
    --terminal-bg: #171717;
    --font-main: 'Inter', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
}

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

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

/* Background Effects */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1), transparent 60%);
    z-index: -2;
}

/* Container */
.container {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    z-index: 1;
}

/* Terminal Window */
.terminal-window {
    background: var(--terminal-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin: 0 auto 3rem;
    max-width: 500px;
    overflow: hidden;
    text-align: left;
    font-family: var(--font-code);
    transform: translateY(0);
    animation: float 6s ease-in-out infinite;
}

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

.terminal-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red { background: #ef4444; }
.yellow { background: #eab308; }
.green { background: #22c55e; }

.terminal-title {
    margin-left: auto;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.terminal-body {
    padding: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 8px;
}

.keyword { color: #c084fc; } /* Purple */
.variable { color: #60a5fa; } /* Blue */
.string { color: #4ade80; } /* Green */
.class-name { color: #fcd34d; } /* Yellow */
.function { color: #f472b6; } /* Pink */
.prompt { color: #9ca3af; margin-right: 8px; }

/* Typing Cursor */
.cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: var(--secondary-color);
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.subtitle {
    font-size: 1.25rem;
    color: #a1a1aa;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Form */
.notify-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto 3rem;
}

input[type="email"] {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

button {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    background: var(--accent-color);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--accent-glow);
}

/* Socials */
.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.social-icon {
    color: #71717a;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: white;
    transform: scale(1.1);
}

/* Glitch Animation */
.glitch {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    position: relative;
    color: white;
    text-shadow: 0 0 20px var(--accent-glow);
}

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

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(35px, 9999px, 11px, 0); }
    5% { clip: rect(88px, 9999px, 96px, 0); }
    10% { clip: rect(12px, 9999px, 78px, 0); }
    15% { clip: rect(64px, 9999px, 23px, 0); }
    20% { clip: rect(5px, 9999px, 59px, 0); }
    25% { clip: rect(92px, 9999px, 16px, 0); }
    30% { clip: rect(28px, 9999px, 84px, 0); }
    35% { clip: rect(57px, 9999px, 41px, 0); }
    40% { clip: rect(19px, 9999px, 67px, 0); }
    45% { clip: rect(73px, 9999px, 32px, 0); }
    50% { clip: rect(46px, 9999px, 95px, 0); }
    55% { clip: rect(8px, 9999px, 53px, 0); }
    60% { clip: rect(81px, 9999px, 26px, 0); }
    65% { clip: rect(39px, 9999px, 71px, 0); }
    70% { clip: rect(66px, 9999px, 14px, 0); }
    75% { clip: rect(22px, 9999px, 89px, 0); }
    80% { clip: rect(54px, 9999px, 47px, 0); }
    85% { clip: rect(97px, 9999px, 35px, 0); }
    90% { clip: rect(15px, 9999px, 62px, 0); }
    95% { clip: rect(76px, 9999px, 29px, 0); }
    100% { clip: rect(43px, 9999px, 82px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(15px, 9999px, 62px, 0); }
    5% { clip: rect(76px, 9999px, 29px, 0); }
    10% { clip: rect(43px, 9999px, 82px, 0); }
    15% { clip: rect(97px, 9999px, 35px, 0); }
    20% { clip: rect(54px, 9999px, 47px, 0); }
    25% { clip: rect(22px, 9999px, 89px, 0); }
    30% { clip: rect(66px, 9999px, 14px, 0); }
    35% { clip: rect(39px, 9999px, 71px, 0); }
    40% { clip: rect(81px, 9999px, 26px, 0); }
    45% { clip: rect(8px, 9999px, 53px, 0); }
    50% { clip: rect(46px, 9999px, 95px, 0); }
    55% { clip: rect(73px, 9999px, 32px, 0); }
    60% { clip: rect(19px, 9999px, 67px, 0); }
    65% { clip: rect(57px, 9999px, 41px, 0); }
    70% { clip: rect(28px, 9999px, 84px, 0); }
    75% { clip: rect(92px, 9999px, 16px, 0); }
    80% { clip: rect(5px, 9999px, 59px, 0); }
    85% { clip: rect(64px, 9999px, 23px, 0); }
    90% { clip: rect(12px, 9999px, 78px, 0); }
    95% { clip: rect(88px, 9999px, 96px, 0); }
    100% { clip: rect(35px, 9999px, 11px, 0); }
}

/* Scanline */
body::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.1)
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 10;
}

/* Responsive */
@media (max-width: 768px) {
    .glitch {
        font-size: 2.5rem;
    }
    
    .notify-form {
        flex-direction: column;
    }
    
    .terminal-window {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}
