:root {
    /* Dark theme - Tailwind Zinc palette */
    --primary: #f97316;                  /* Orange 500 accent */
    --primary-dark: #ea580c;             /* Orange 600 */
    --bg: #09090b;                       /* Zinc 950 */
    --bg-card: #18181b;                  /* Zinc 900 */
    --text: #fafafa;                     /* Zinc 50 */
    --text-muted: #a1a1aa;               /* Zinc 400 */
    --border: #27272a;                   /* Zinc 800 */
    --green: #22c55e;
    --blue: #3b82f6;
    --purple: #a855f7;
    --orange: #f97316;
    --red: #ef4444;
    --cyan: #06b6d4;
    --pink: #ec4899;
    --yellow: #eab308;
}

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

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

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

/* Header */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    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-size: 0.95rem;
    transition: color 0.2s;
}

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

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

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

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

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

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

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

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

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

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

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 0;
    margin-top: 40px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Page Header */
.page-header {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #d0d6e3;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
}

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

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 60px;
    color: #d0d6e3;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #d0d6e3;
}

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

/* Workflow */
.workflow {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.workflow h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 60px;
    color: #d0d6e3;
}

.code-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    overflow-x: auto;
    max-width: 700px;
    margin: 0 auto;
}

.code-block pre {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

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

.code-block .command {
    color: var(--primary);
}

/* Install */
.install {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.install h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #d0d6e3;
}

.install p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.install-code {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 24px;
    display: inline-block;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 1rem;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 1.75rem;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    color: #d0d6e3;
}

.content-section h3 {
    font-size: 1.25rem;
    margin: 32px 0 16px;
    color: #d0d6e3;
}

/* Agent/Command Cards - List Layout */
.card-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 24px;
    transition: border-color 0.2s;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
}

.card:hover {
    border-color: var(--text-muted);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.card-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #d0d6e3;
}

.card-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.badge-opus {
    background: rgba(168, 85, 247, 0.2);
    color: var(--purple);
}

.badge-sonnet {
    background: rgba(59, 130, 246, 0.2);
    color: var(--blue);
}

.badge-workflow {
    background: rgba(34, 197, 94, 0.2);
    color: var(--green);
}

.badge-quality {
    background: rgba(249, 115, 22, 0.2);
    color: var(--orange);
}

.badge-utility {
    background: rgba(6, 182, 212, 0.2);
    color: var(--cyan);
}

.card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Color indicators for agents */
.color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.color-purple { background: var(--purple); }
.color-blue { background: var(--blue); }
.color-green { background: var(--green); }
.color-orange { background: var(--orange); }
.color-red { background: var(--red); }
.color-cyan { background: var(--cyan); }
.color-pink { background: var(--pink); }
.color-yellow { background: var(--yellow); }
.color-magenta { background: #d946ef; }

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    font-size: 0.95rem;
}

.data-table code {
    background: var(--bg-card);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.85rem;
    color: var(--primary);
}

/* Info boxes */
.info-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    margin: 24px 0;
}

.info-box h4 {
    margin-bottom: 12px;
    font-size: 1rem;
    color: #d0d6e3;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-box li::before {
    content: "→";
    margin-right: 8px;
    color: var(--primary);
}

/* File tree */
.file-tree {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    overflow-x: auto;
}

.file-tree .folder {
    color: var(--primary);
}

.file-tree .file {
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

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

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

    .page-header h1 {
        font-size: 2rem;
    }

    .stats {
        flex-direction: column;
        gap: 32px;
    }

    .nav-links {
        display: none;
    }

    .card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .card-header {
        min-width: auto;
    }

    .card-meta {
        white-space: normal;
    }

    .data-table {
        font-size: 0.85rem;
    }

    .data-table th,
    .data-table td {
        padding: 8px 12px;
    }
}
