:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --bg: #0f0f0f;
    --bg-card: #1a1a1a;
    --bg-code: #0d0d0d;
    --text: #e5e5e5;
    --text-muted: #a3a3a3;
    --border: #262626;
    --accent: #22c55e;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 0;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero */
.hero {
    padding: 160px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
}

.hero-code {
    background: var(--bg-code);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.hero-code pre {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.hero-code .comment {
    color: var(--text-muted);
}

/* Features */
.features {
    padding: 80px 0;
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 48px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.2s;
}

.feature-card:hover {
    border-color: var(--primary);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Context Packs */
.context-packs {
    padding: 80px 0;
    background: var(--bg-card);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.code-example {
    background: var(--bg-code);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    max-width: 700px;
    margin: 0 auto 24px;
}

.code-example pre {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

.code-example .key {
    color: var(--primary);
}

.code-example .comment {
    color: var(--text-muted);
}

.pack-commands {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.pack-commands code {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

/* Install */
.install {
    padding: 80px 0;
}

.install h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 48px;
}

.install-steps {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-num {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 4px;
}

.step-content code {
    background: var(--bg-code);
    padding: 6px 12px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

.optional-setup {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.optional-setup h4 {
    margin-bottom: 16px;
}

.optional-setup pre {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

.optional-setup .comment {
    color: var(--text-muted);
}

/* MCP Section */
.mcp-section {
    padding: 80px 0;
    background: var(--bg-card);
    text-align: center;
}

.mcp-section h2 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.mcp-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 32px 0;
}

.tool {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

.mcp-command {
    background: var(--bg);
    border: 1px solid var(--primary);
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    display: inline-block;
}

/* Footer */
.footer {
    padding: 48px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

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

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .install-steps {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}
