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

body {
    font-family: 'Courier New', monospace;
    background: #0a0a0a;
    color: #00ff00;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

.grid-box {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(0, 255, 0, 0.2);
    animation: float linear infinite;
    opacity: 0;
}

.grid-box.completed {
    background: rgba(0, 255, 0, 0.15);
    border-color: rgba(0, 255, 0, 0.4);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

@keyframes float {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) rotate(360deg);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.6), 0 0 30px rgba(0, 255, 0, 0.4);
    }
}

.grid-box.pulse {
    animation: float linear infinite, pulse 1s ease-in-out 3;
}

/* Content wrapper to sit above background */
.content-wrapper {
    position: relative;
    z-index: 1;
}

/* Navigation */
nav {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 2px solid #00ff00;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    backdrop-filter: blur(10px);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: #00ff00;
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
}

.nav-links a:hover {
    background: #00ff00;
    color: #000;
}

.btn-signup {
    background: #00ff00;
    color: #000;
    padding: 0.5rem 1.5rem;
    border: none;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-signup:hover {
    background: #000;
    color: #00ff00;
    border: 2px solid #00ff00;
}

/* Hero Section */
.hero {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(0, 26, 0, 0.95) 100%);
}

.ascii-logo {
    font-size: clamp(0.5rem, 2vw, 1rem);
    color: #00ff00;
    text-shadow: 0 0 20px #00ff00;
    white-space: pre;
    display: inline-block;
    margin: 2rem 0;
    line-height: 1.2;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00; }
    to { text-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00, 0 0 40px #00ff00; }
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin: 2rem 0;
    color: #00cc00;
}

.cta-primary {
    background: #00ff00;
    color: #000;
    padding: 1rem 3rem;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    margin-top: 2rem;
    transition: all 0.3s;
}

.cta-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #00ff00;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(10, 10, 10, 0.8);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.section-title::before,
.section-title::after {
    content: '>>> ';
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(0, 26, 0, 0.6);
    border: 2px solid #00ff00;
    padding: 2rem;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.3);
    background: rgba(0, 38, 0, 0.8);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #00ff00;
}

.feature-desc {
    color: #00cc00;
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 4rem 2rem;
    background: rgba(0, 26, 0, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    text-align: center;
    color: #00cc00;
    font-size: 1.1rem;
    line-height: 2;
}

/* Signup Section */
.signup-section {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 26, 0, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%);
}

.signup-form {
    max-width: 500px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.signup-form input {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff00;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

.signup-form input::placeholder {
    color: #006600;
}

.signup-form input:focus {
    outline: none;
    box-shadow: 0 0 15px #00ff00;
}

.signup-form button {
    padding: 1rem;
    background: #00ff00;
    color: #000;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    transition: all 0.3s;
}

.signup-form button:hover {
    background: #000;
    color: #00ff00;
    border: 2px solid #00ff00;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.95);
    border-top: 2px solid #00ff00;
    padding: 2rem;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: #00ff00;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 2rem;
    color: #006600;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        justify-content: center;
    }

    .ascii-logo {
        font-size: 0.4rem;
    }
}
