:root {
    --bg-dark: #0a0a0f;
    --bg-card: #13131f;
    --primary: #00f3ff; /* Cyan */
    --secondary: #bd00ff; /* Purple */
    --text-main: #ffffff;
    --text-muted: #8892b0;
    --accent: #2bff88; /* Green for terminal */
    --font-main: 'Inter', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo .dot {
    color: var(--primary);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    color: white !important;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 5% 60px 5%;
    background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, var(--bg-dark) 70%);
}

.hero-content {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1.glitch {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-main);
    text-shadow: 2px 2px var(--secondary), -2px -2px var(--primary);
}

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

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* TERMINAL PREVIEW */
.terminal-preview {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: left;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.terminal-header {
    background: #1a1a1a;
    padding: 0.5rem 1rem;
    display: flex;
    gap: 0.5rem;
}

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

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-code);
    font-size: 0.9rem;
    color: #e0e0e0;
}

.prompt { color: var(--accent); margin-right: 0.5rem; }
.output { color: var(--text-muted); margin-top: 0.5rem; display: block; }

.highlight {
    color: var(--primary);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

/* FEATURES GRID */
.features {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
}

.icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* COMMUNITY SECTION */
.community {
    padding: 5rem 5%;
    text-align: center;
    background: linear-gradient(to top, #0a0a0f, #13131f);
}

.community-content {
    max-width: 1000px;
    margin: 0 auto;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.count {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
}

.label {
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

/* FOOTER */
footer {
    padding: 5rem 5%;
    text-align: center;
    background: #050508;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto; /* Fix drifting to left */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.footer-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.download-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.socials {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.socials a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: 0.3s;
}

.socials a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-top: 2rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    
    .nav-links {
        display: none; /* Mobile menu hidden for simplicity */
    }
    
    h1.glitch {
        font-size: 2.5rem;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .stats {
        gap: 2rem;
    }
}
