:root {
    --neon-green: #00ff41;
    --bright-green: #39ff14;
    --dark-green: #00cc33;
    --matrix-green: #0f0;
    --black: #000000;
    --dark-bg: #0a0a0a;
    --card-bg: #111111;
    --text-primary: #00ff41;
    --text-secondary: #88ff88;
    --text-muted: #44aa44;
}

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

body {
    font-family: 'Bruno Ace SC', monospace;
    background-color: var(--black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Faulty Terminal Background */
#terminal-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--neon-green);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    height: 50px;
    filter: drop-shadow(0 0 10px var(--neon-green));
    border-radius: 15px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--bright-green);
    text-shadow: 0 0 10px var(--bright-green);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-green);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 50px;
}

.hero-content {
    animation: fadeIn 1s ease-in;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 30px var(--neon-green));
    animation: pulse 3s infinite;
    border-radius: 20px;
}

@keyframes pulse {
    0%, 100% {
        filter: drop-shadow(0 0 30px var(--neon-green));
    }
    50% {
        filter: drop-shadow(0 0 50px var(--bright-green));
    }
}

/* Glitch Effect */
.glitch {
    font-family: 'Rubik Glitch', cursive;
    font-size: 4rem;
    font-weight: 400;
    text-transform: uppercase;
    position: relative;
    color: var(--neon-green);
    text-shadow: 0 0 20px var(--neon-green);
    animation: glitch 5s infinite;
}

@keyframes glitch {
    0%, 90%, 100% {
        transform: translate(0);
    }
    92% {
        transform: translate(-2px, 2px);
    }
    94% {
        transform: translate(2px, -2px);
    }
    96% {
        transform: translate(-2px, -2px);
    }
}

.tagline {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin: 1rem 0;
    font-style: italic;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border: 2px solid var(--neon-green);
    background: transparent;
    color: var(--neon-green);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Bruno Ace SC', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--neon-green);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: var(--black);
    box-shadow: 0 0 20px var(--neon-green);
}

.btn-primary {
    background: var(--neon-green);
    color: var(--black);
}

.btn-primary::before {
    background: transparent;
}

.btn-primary:hover {
    background: transparent;
    color: var(--neon-green);
}

/* Sections */
section {
    padding: 80px 20px;
    position: relative;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--neon-green);
    text-transform: uppercase;
    text-shadow: 0 0 20px var(--neon-green);
}

/* About Section */
.about {
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-bg) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: var(--card-bg);
    border: 2px solid var(--dark-green);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.about-card:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
    transform: translateY(-10px);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    color: var(--bright-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-card p {
    color: var(--text-secondary);
}

/* Features Section */
.features {
    background: var(--dark-bg);
}

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

.feature-item {
    background: var(--card-bg);
    border: 2px solid var(--dark-green);
    padding: 2rem;
    padding-top: 4rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.feature-item:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

.feature-number {
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 2.5rem;
    color: var(--dark-green);
    font-weight: bold;
    opacity: 0.3;
}

.feature-item h3 {
    color: var(--bright-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Specs Section */
.specs {
    background: var(--black);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.spec-card {
    background: var(--card-bg);
    border: 2px solid var(--dark-green);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.spec-card:hover {
    border-color: var(--neon-green);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.spec-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.spec-value {
    color: var(--bright-green);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Download Section */
.download {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--black) 100%);
}

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

.download-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.platform-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.platform-btn {
    background: var(--card-bg);
    border: 2px solid var(--dark-green);
    padding: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 150px;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.platform-btn:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
    transform: translateY(-10px);
}

.platform-icon {
    font-size: 3rem;
}

.platform-name {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.compile-section {
    background: var(--card-bg);
    border: 2px solid var(--dark-green);
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 15px;
}

.compile-section h3 {
    color: var(--bright-green);
    margin-bottom: 1rem;
}

.compile-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.code-block {
    background: var(--black);
    border: 1px solid var(--neon-green);
    padding: 1.5rem;
    margin-top: 1rem;
    overflow-x: auto;
    border-radius: 10px;
}

.code-block code {
    color: var(--neon-green);
    font-family: 'Bruno Ace SC', monospace;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--black);
    border-top: 2px solid var(--neon-green);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: var(--bright-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--bright-green);
    text-shadow: 0 0 10px var(--bright-green);
}

.tagline-small {
    font-style: italic;
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-green);
    color: var(--text-muted);
}

.genesis-quote {
    font-style: italic;
    margin-top: 0.5rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 2px solid var(--neon-green);
    padding: 8px;
    cursor: pointer;
    border-radius: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--neon-green);
    transition: all 0.3s ease;
}

.nav-toggle:hover span {
    background: var(--bright-green);
    box-shadow: 0 0 10px var(--bright-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(0, 0, 0, 0.98);
        border-top: 2px solid var(--neon-green);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-menu.active {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--dark-green);
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
    }
    
    .hero {
        padding: 80px 15px 40px;
    }
    
    .glitch {
        font-size: 2rem;
        text-shadow: 0 0 15px var(--neon-green);
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .hero-logo {
        max-width: 250px;
    }
    
    .nav-logo {
        height: 40px;
    }
    
    section {
        padding: 50px 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .about-card h3 {
        font-size: 1.2rem;
    }
    
    .about-card p {
        font-size: 0.95rem;
    }
    
    .card-icon {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
        padding-top: 3.5rem;
    }
    
    .feature-item h3 {
        font-size: 1.1rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .feature-number {
        font-size: 2rem;
        top: 0.5rem;
        left: 0.8rem;
    }
    
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .spec-card {
        padding: 1rem;
    }
    
    .spec-label {
        font-size: 0.75rem;
    }
    
    .spec-value {
        font-size: 1.1rem;
    }
    
    .platform-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .platform-btn {
        padding: 1.5rem;
        width: 100%;
    }
    
    .platform-icon {
        font-size: 2.5rem;
    }
    
    .platform-name {
        font-size: 1rem;
    }
    
    .compile-section {
        padding: 1.5rem;
    }
    
    .compile-section h3 {
        font-size: 1.2rem;
    }
    
    .compile-section p {
        font-size: 0.9rem;
    }
    
    .code-block {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .glitch {
        font-size: 1.6rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .subtitle {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }
}
