@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&display=swap');

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

:root {
    --primary: #00ff00;
    --secondary: #ff00ff;
    --tertiary: #00ffff;
    --bg: #000000;
    --text: #00ff00;
    --text-secondary: #888888;
    --border: rgba(0, 255, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Mono', monospace;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ANIMATED STARS BACKGROUND */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.stars::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 255, 0, 0.2), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 60px 70px, rgba(0, 255, 0, 0.15), rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 50px 50px, rgba(0, 255, 0, 0.1), rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 130px 80px, rgba(0, 255, 0, 0.2), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 90px 10px, rgba(0, 255, 0, 0.15), rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 5s ease-in-out infinite;
}

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

/* HEADER */
.header {
    padding: 60px 20px 40px;
    text-align: center;
    border-bottom: 2px solid var(--border);
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.logo {
    width: 60px;
    height: 60px;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(0, 255, 0, 0.5));
    animation: float 3s ease-in-out infinite;
}

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

.title {
    font-size: 3em;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.7), 
                 0 0 40px rgba(0, 255, 0, 0.3);
    color: var(--primary);
}

.tagline {
    font-size: 0.9em;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-top: 10px;
}

/* MAIN CONTENT */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* HERO SECTION */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.2em;
    color: var(--secondary);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
    letter-spacing: 1px;
}

.hero-text {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.8;
}

.visualization {
    position: relative;
    height: 300px;
    border: 2px solid var(--border);
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.05) 0%, rgba(0, 255, 255, 0.05) 100%);
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.grid {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(0, 255, 0, 0.1) 25%, rgba(0, 255, 0, 0.1) 26%, transparent 27%, transparent 74%, rgba(0, 255, 0, 0.1) 75%, rgba(0, 255, 0, 0.1) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 255, 0, 0.1) 25%, rgba(0, 255, 0, 0.1) 26%, transparent 27%, transparent 74%, rgba(0, 255, 0, 0.1) 75%, rgba(0, 255, 0, 0.1) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 100px;
    padding: 60px 0;
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
}

.feature {
    padding: 30px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.02) 0%, rgba(0, 255, 255, 0.02) 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature:hover {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.05) 0%, rgba(0, 255, 255, 0.05) 100%);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    transform: translateY(-5px);
}

.feature:hover::before {
    left: 100%;
}

.feature-icon {
    font-size: 2em;
    color: var(--secondary);
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.feature h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: var(--primary);
}

.feature p {
    font-size: 0.9em;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* SIGNUP SECTION */
.signup {
    text-align: center;
    padding: 80px 40px;
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.05) 0%, rgba(0, 255, 255, 0.05) 100%);
    margin-bottom: 100px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.signup-title {
    font-size: 2.2em;
    margin-bottom: 40px;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    letter-spacing: 2px;
}

.form {
    max-width: 500px;
    margin: 0 auto 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 15px;
    background-color: rgba(0, 255, 0, 0.05);
    border: 2px solid var(--border);
    color: var(--primary);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.95em;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.form-input::placeholder {
    color: var(--text-secondary);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.form-input option {
    background-color: var(--bg);
    color: var(--primary);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary), var(--tertiary));
    border: 2px solid var(--primary);
    color: var(--bg);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 255, 0, 0.6), 
                0 0 20px rgba(0, 255, 255, 0.4);
    filter: brightness(1.1);
}

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

.form-note {
    font-size: 0.85em;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* STATS SECTION */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 100px;
    padding: 60px 0;
    border-top: 2px solid var(--border);
}

.stat {
    text-align: center;
    padding: 30px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.02) 0%, rgba(255, 0, 255, 0.02) 100%);
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--tertiary);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.stat-label {
    font-size: 0.95em;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* FOOTER */
.footer {
    padding: 40px 20px;
    border-top: 2px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85em;
}

.footer p {
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-size: 0.9em;
}

.footer-links a:hover {
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .title {
        font-size: 2em;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 1.8em;
    }

    .visualization {
        height: 250px;
    }

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

    .signup {
        padding: 40px 20px;
    }

    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.5em;
    }

    .hero-title {
        font-size: 1.4em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .signup-title {
        font-size: 1.6em;
    }
}
