/* ============================================
   loctree Landing Page — Base Styles
   v0.5.2 | Developed with 💀 (c)2025
   ============================================ */

:root {
    /* Vista Galaxy Black Steel Palette */
    --bg-deep: #0a0a0e;
    --bg-surface: #14171c;
    --bg-elevated: #191d22;

    /* Legacy aliases for compatibility */
    --bg-black: var(--bg-deep);
    --bg-dark: var(--bg-surface);
    --bg-mid: var(--bg-elevated);

    --text-primary: #e5ecf5;
    --text-secondary: #b2c0d4;
    --text-tertiary: #8897ad;

    /* Legacy aliases for compatibility */
    --text-bright: var(--text-primary);
    --text-dim: var(--text-secondary);
    --text-muted: var(--text-tertiary);

    --accent: #a3b8c7;

    --border: rgba(114, 124, 139, 0.18);
    --border-strong: rgba(114, 124, 139, 0.28);

    /* Legacy aliases for compatibility */
    --border-subtle: var(--border);
    --border-visible: var(--border-strong);

    /* Radius scale */
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 6px;

    /* Spacing scale */
    --gap-section: 24px;
    --gap-component: 16px;
    --gap-element: 8px;

    /* Dimensions */
    --sidebar-width: 280px;
    --header-height: 68px;

    /* Typography */
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-sans: 'Inter', system-ui, sans-serif;

    /* Spacing */
    --container-max: 1000px;
    --section-padding: clamp(40px, 8vw, 80px);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-mono);
    background: var(--bg-black);
    color: var(--text-bright);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-eyebrow {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-bright);
}

.section-description {
    font-size: 14px;
    color: var(--text-dim);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--text-bright);
    color: var(--bg-black);
}

.btn-primary:hover {
    background: #fff;
}

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

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

.copy-btn {
    margin-top: 16px;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--text-dim);
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    border-color: var(--text-bright);
    color: var(--text-bright);
}

/* Selection */
::selection {
    background: rgba(168, 168, 168, 0.3);
    color: var(--text-bright);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-dim);
}

/* Focus states */
.btn:focus-visible,
.copy-btn:focus-visible,
.nav-link:focus-visible {
    outline: 1px solid var(--text-dim);
    outline-offset: 2px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes blink-cursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.blink {
    animation: blink-cursor 1.2s step-end infinite;
    color: var(--text-bright);
}
/* ============================================
   Navigation — Minimal
   Developed with 💀 (c)2025
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    overflow: hidden;
}

.nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-bright);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-version {
    font-size: 10px;
    color: var(--text-dim);
    padding: 2px 6px;
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 6px 12px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--text-bright);
}

.nav-cta {
    padding: 6px 16px;
    background: var(--text-bright);
    color: var(--bg-black);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: #fff;
}

.nav-cta.active {
    background: transparent;
    color: var(--text-bright);
    border: 1px solid var(--text-dim);
}

/* Language Switcher */
.lang-switcher {
    background: transparent;
    border: 1px solid var(--border-visible);
    color: var(--text-dim);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-mono);
}

.lang-switcher:hover {
    color: var(--text-bright);
    border-color: var(--accent);
}

/* Theme Switcher */
.theme-switcher-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.theme-switcher {
    background: transparent;
    border: 1px solid var(--border-visible);
    color: var(--text-dim);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}

.theme-switcher:hover {
    color: var(--text-bright);
    border-color: var(--text-dim);
}

.theme-tooltip {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    padding: 10px 14px;
    background: var(--bg-mid);
    border: 1px solid var(--border-visible);
    color: var(--text-dim);
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 100;
    pointer-events: none;
}

.theme-switcher-wrapper:hover .theme-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Light Mode */
body.light-mode {
    --bg-deep: #f5f7fa;
    --bg-surface: #ffffff;
    --bg-elevated: #fafbfc;
    --bg-black: var(--bg-deep);
    --bg-dark: var(--bg-surface);
    --bg-mid: var(--bg-elevated);

    --text-primary: #1a1f26;
    --text-secondary: #4a5568;
    --text-tertiary: #718096;
    --text-bright: var(--text-primary);
    --text-dim: var(--text-secondary);
    --text-muted: var(--text-tertiary);

    --accent: #3182ce;

    --border: rgba(0, 0, 0, 0.1);
    --border-strong: rgba(0, 0, 0, 0.15);
    --border-subtle: var(--border);
    --border-visible: var(--border-strong);
}

body.light-mode .terminal {
    background: #1a1a1a;
}

body.light-mode .terminal * {
    color: #e8e8e8 !important;
}

body.light-mode .nav-cta {
    background: #1a1a1a;
    color: #f5f5f5;
}

body.light-mode .nav-cta:hover {
    background: #000;
}

/* Nav Drawer Overlay */
.nav-drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid var(--border-visible);
    z-index: 99;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-drawer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 24px;
}

.drawer-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border: 1px solid var(--border-visible);
    background: var(--bg-dark);
    max-width: 400px;
}

.drawer-tab {
    flex: 1;
    padding: 10px 20px;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.drawer-tab:first-child {
    border-right: 1px solid var(--border-subtle);
}

.drawer-tab:hover {
    color: var(--text-bright);
}

.drawer-tab.active {
    color: var(--text-bright);
    background: var(--bg-mid);
}

.drawer-tab.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--text-bright);
}

.drawer-content {
    max-width: 700px;
}

/* Hamburger menu button */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-line.open:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-line.open:nth-child(2) {
    opacity: 0;
}

.hamburger-line.open:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg-black);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border-subtle);
        z-index: 1000;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-cta {
        width: 100%;
        text-align: center;
    }

    .lang-switcher,
    .theme-switcher-wrapper {
        align-self: flex-start;
    }
}
/* ============================================
   Hero Section
   Developed with 💀 (c)2025
   ============================================ */

/* Agent Hero */
.agent-hero {
    padding-top: 80px;
    padding-bottom: 40px;
    background: var(--bg-black);
    border-bottom: 1px solid var(--border-subtle);
}

.agent-hero-inner {
    max-width: 700px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.agent-hero-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-dim);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hero Tabs */
.hero-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border: 1px solid var(--border-visible);
    background: var(--bg-dark);
}

.hero-tab {
    flex: 1;
    padding: 12px 24px;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.hero-tab:first-child {
    border-right: 1px solid var(--border-subtle);
}

.hero-tab:hover {
    color: var(--text-bright);
    background: rgba(168, 168, 168, 0.05);
}

.hero-tab.active {
    color: var(--text-bright);
    background: var(--bg-mid);
    text-shadow: 0 0 4px rgba(168, 168, 168, 0.3);
}

.hero-tab.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--text-bright);
}

/* Install Hero Box (FOR HUMANS) */
.install-hero-box {
    text-align: center;
}

.code-block-with-copy {
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    border: 1px solid var(--border-visible);
    margin-bottom: 16px;
}

.code-block-content {
    flex: 1;
    padding: 16px 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-bright);
    text-align: left;
    overflow-x: auto;
}

.code-copy-btn {
    padding: 16px 20px;
    background: var(--bg-mid);
    border: none;
    border-left: 1px solid var(--border-subtle);
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
}

.code-copy-btn:hover {
    color: var(--text-bright);
    background: rgba(168, 168, 168, 0.1);
}

.prompt-cta {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

.prompt-cta-dim {
    color: var(--text-muted);
}

.prompt-link {
    background: none;
    border: none;
    color: var(--text-bright);
    font-family: var(--font-mono);
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.prompt-link:hover {
    color: #fff;
}

/* Prompt Box (FOR AI AGENTS) */
.prompt-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prompt-box-inner {
    position: relative;
    background: var(--bg-dark);
    border: 1px solid var(--border-visible);
}

.prompt-content {
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-bright);
    padding: 20px;
    padding-right: 70px;
    white-space: pre-wrap;
    margin: 0;
    max-height: 400px;
    overflow-y: auto;
}

.prompt-copy-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    background: var(--bg-mid);
    border: 1px solid var(--border-subtle);
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
}

.prompt-copy-btn:hover {
    color: var(--text-bright);
    border-color: var(--text-dim);
}

.prompt-expand-btn {
    align-self: flex-start;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 11px;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.2s;
}

.prompt-expand-btn:hover {
    color: var(--text-dim);
}

.agent-hero-prompt {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-bright);
    background: var(--bg-dark);
    border: 1px solid var(--border-visible);
    padding: 24px;
    white-space: pre-wrap;
    overflow-x: auto;
    text-shadow: 0 0 2px rgba(168, 168, 168, 0.3);
}

/* Main Hero */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 500px;
    animation: fadeIn 0.6s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border: 1px solid var(--border-visible);
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--text-dim);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--text-bright);
    text-shadow: 0 0 4px rgba(168, 168, 168, 0.2);
}

.hero-title-accent {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.hero-description {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Terminal */
.hero-terminal {
    background: var(--bg-dark);
    border: 1px solid var(--border-visible);
    animation: fadeIn 0.8s ease;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-mid);
    border-bottom: 1px solid var(--border-subtle);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
}

.terminal-dot.red { background: #504040; }
.terminal-dot.yellow { background: #505040; }
.terminal-dot.green { background: #405040; }

.terminal-title {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-muted);
}

.terminal-body {
    padding: 20px;
    font-size: 12px;
    line-height: 1.8;
    min-height: 280px;
}

.terminal-line {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}

.terminal-prompt {
    color: var(--text-dim);
    user-select: none;
}

.terminal-command {
    color: var(--text-bright);
}

.terminal-output {
    color: var(--text-dim);
    margin-left: 16px;
}

.terminal-output.highlight {
    color: var(--text-bright);
}

.terminal-output.success {
    color: #808080;
}

.terminal-output.muted {
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
/* ============================================
   Features Section
   Developed with 💀 (c)2025
   ============================================ */

.features {
    padding: var(--section-padding) 0;
    border-top: 1px solid var(--border-subtle);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--border-subtle);
}

.feature-card {
    background: var(--bg-black);
    padding: 24px;
    transition: background 0.2s;
}

.feature-card:hover {
    background: var(--bg-dark);
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
    filter: grayscale(1) brightness(0.7);
}

.feature-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-bright);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-description {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

.feature-code-box {
    margin-top: 12px;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
}

.feature-code-text {
    flex: 1;
    padding: 8px 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dim);
    overflow-x: auto;
    white-space: nowrap;
}

.feature-copy-btn {
    padding: 8px 10px;
    background: transparent;
    border: none;
    border-left: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.feature-copy-btn:hover {
    color: var(--text-dim);
    background: rgba(168, 168, 168, 0.05);
}
/* ============================================
   Slice Demo Section
   Developed with 💀 (c)2025
   ============================================ */

.slice-demo {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.slice-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.slice-content {
    max-width: 400px;
}

.slice-visual {
    background: var(--bg-black);
    border: 1px solid var(--border-visible);
    padding: 20px;
}

.slice-layers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slice-layer {
    padding: 12px 16px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-dark);
}

.slice-layer.core {
    border-color: rgba(168, 168, 168, 0.3);
}

.slice-layer.deps {
    border-color: rgba(168, 168, 168, 0.2);
    margin-left: 16px;
}

.slice-layer.consumers {
    border-color: rgba(168, 168, 168, 0.15);
    margin-left: 32px;
}

.slice-layer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.slice-layer-title {
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-bright);
}

.slice-layer-stats {
    font-size: 10px;
    color: var(--text-muted);
}

.slice-layer-files {
    font-size: 12px;
    color: var(--text-dim);
}

.slice-layer-files div {
    padding: 2px 0;
}

.indent-1 { margin-left: 16px; }
.indent-2 { margin-left: 32px; }

@media (max-width: 900px) {
    .slice-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   Stack Detection Section
   Developed with 💀 (c)2025
   ============================================ */

.stack-detection {
    padding: var(--section-padding) 0;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    background: var(--border-subtle);
    margin-top: 32px;
}

.stack-card {
    background: var(--bg-black);
    padding: 20px;
    text-align: center;
    transition: background 0.2s;
}

.stack-card:hover {
    background: var(--bg-dark);
}

.stack-icon {
    font-size: 24px;
    margin-bottom: 12px;
    filter: grayscale(1) brightness(0.6);
}

.stack-name {
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    color: var(--text-bright);
}

.stack-marker {
    font-size: 10px;
    color: var(--text-muted);
}

.stack-ignores {
    font-size: 10px;
    color: var(--text-dim);
    margin-top: 8px;
}
/* ============================================
   Real World Results Section
   Developed with 💀 (c)2025
   ============================================ */

.real-world {
    padding: var(--section-padding) 0;
    background: var(--bg-black);
    border-top: 1px solid var(--border-subtle);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.result-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    padding: 24px 16px;
    text-align: center;
}

.result-card.highlight {
    border-color: var(--text-dim);
    background: var(--bg-mid);
}

.result-number {
    font-size: 48px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-bright);
    line-height: 1;
}

.result-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-bright);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-detail {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 4px;
}

.results-breakdown {
    margin-top: 48px;
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    padding: 32px;
}

.breakdown-title {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-bottom: 24px;
    text-align: center;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: var(--bg-black);
    border: 1px solid var(--border-subtle);
}

.breakdown-count {
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-mono);
}

.breakdown-label {
    font-size: 12px;
    color: var(--text-bright);
    margin-top: 4px;
}

.breakdown-status {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    padding: 2px 8px;
    border: 1px solid currentColor;
}

.breakdown-item.keep .breakdown-status { color: #4ade80; }
.breakdown-item.wip .breakdown-status { color: #facc15; }
.breakdown-item.backend .breakdown-status { color: #60a5fa; }
.breakdown-item.dead .breakdown-status { color: #f87171; }

.breakdown-note {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-dim);
    font-style: italic;
}

@media (max-width: 800px) {
    .results-grid,
    .breakdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ============================================
   CLI Reference Section
   Developed with 💀 (c)2025
   ============================================ */

.cli-reference {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-subtle);
}

.cli-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.cli-group {
    background: var(--bg-black);
    border: 1px solid var(--border-subtle);
    padding: 20px;
}

.cli-group-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-bright);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
}

.cli-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.cli-item:last-child {
    margin-bottom: 0;
}

.cli-cmd {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-bright);
    background: var(--bg-dark);
    padding: 4px 8px;
    display: inline-block;
    border: 1px solid var(--border-subtle);
}

.cli-desc {
    font-size: 11px;
    color: var(--text-dim);
}
/* ============================================
   Install Section
   Developed with 💀 (c)2025
   ============================================ */

.install-section {
    padding: var(--section-padding) 0;
    border-top: 1px solid var(--border-subtle);
}

.install-box-simple {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.install-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.install-command-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border-visible);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.install-cmd {
    flex: 1;
    font-size: 12px;
    color: var(--text-bright);
    text-align: left;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}

.copy-btn-small {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border-visible);
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn-small:hover {
    border-color: var(--text-bright);
    color: var(--text-bright);
}

.install-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.install-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

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

.install-links .sep {
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .install-command-box {
        flex-direction: column;
        text-align: center;
    }

    .install-cmd {
        text-align: center;
    }
}
/* ============================================
   For AI Agents Section
   Developed with 💀 (c)2025
   ============================================ */

.for-agents {
    padding: var(--section-padding) 0;
    background: var(--bg-black);
    border-top: 1px solid var(--border-subtle);
}

.agents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
    align-items: stretch;
}

.mistakes-panel,
.prompt-panel {
    background: var(--bg-dark);
    border: 1px solid var(--border-visible);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.panel-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-bright);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.mistake-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mistake-row {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.mistake-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.mistake-label {
    font-size: 11px;
    color: var(--text-dim);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mistake-wrong,
.mistake-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.mistake-wrong code,
.mistake-right code {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 8px;
    background: var(--bg-black);
    border: 1px solid var(--border-subtle);
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
}

.mistake-icon {
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.mistake-wrong .mistake-icon {
    color: #f87171;
}

.mistake-right .mistake-icon {
    color: #4ade80;
}

.mistake-wrong code {
    color: var(--text-muted);
    text-decoration: line-through;
}

.mistake-right code {
    color: var(--text-bright);
}

.prompt-container {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.prompt-text {
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.7;
    color: var(--text-bright);
    background: var(--bg-black);
    border: 1px solid var(--border-subtle);
    padding: 16px;
    padding-right: 80px;
    white-space: pre-wrap;
    flex: 1;
    min-height: 300px;
    overflow-y: auto;
    margin: 0;
}

.prompt-panel .prompt-copy-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    background: var(--bg-mid);
    border: 1px solid var(--border-subtle);
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
}

.prompt-panel .prompt-copy-btn:hover {
    color: var(--text-bright);
    border-color: var(--text-dim);
}

/* Quick Examples */
.quick-examples {
    margin-top: 48px;
}

.examples-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 20px;
    text-align: center;
}

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

.example-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    padding: 16px;
}

.example-task {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.example-cmd-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.example-cmd {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-bright);
    padding: 8px 12px;
    background: var(--bg-black);
    border: 1px solid var(--border-subtle);
    overflow-x: auto;
    white-space: nowrap;
}

.example-copy {
    padding: 8px 10px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.example-copy:hover {
    color: var(--text-dim);
    border-color: var(--text-dim);
}

@media (max-width: 900px) {
    .agents-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   Footer
   Developed with 💀 (c)2025
   ============================================ */

.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 24px;
    height: 24px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
}

.footer-title {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 16px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--text-dim);
}

.footer-copyright {
    font-size: 10px;
    color: var(--text-muted);
}

/* ============================================
   Blog Section
   Developed with 💀 (c)2025
   ============================================ */

.blog {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-subtle);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.blog-card {
    background: var(--bg-black);
    border: 1px solid var(--border-subtle);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.blog-card:hover {
    border-color: var(--text-dim);
    transform: translateY(-2px);
}

.blog-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.blog-tag {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 8px;
    border: 1px solid currentColor;
}

.tag-meta { color: #c084fc; }
.tag-tauri { color: #60a5fa; }
.tag-cycles { color: #f87171; }
.tag-contracts { color: #4ade80; }

.blog-meta {
    font-size: 10px;
    color: var(--text-muted);
}

.blog-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-subtitle {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.blog-cta {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.blog-card:hover .blog-cta {
    color: var(--text-bright);
}

.blog-cta .arrow {
    transition: transform 0.2s;
}

.blog-card:hover .blog-cta .arrow {
    transform: translateX(4px);
}

.blog-footer {
    margin-top: 32px;
    text-align: center;
}

.blog-note {
    font-size: 12px;
    color: var(--text-muted);
}

.blog-note a {
    color: var(--text-dim);
    text-decoration: underline;
    transition: color 0.2s;
}

.blog-note a:hover {
    color: var(--text-bright);
}

/* ============================================
   Page-level styles for subpages
   Developed with 💀 (c)2025
   ============================================ */

/* Page header (used on Features, Docs, Blog) */
.page-header {
    padding: 8rem 0 4rem;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-subtle);
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-bright);
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 600px;
}

/* 404 Not Found */
.not-found {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
}

.not-found h1 {
    font-size: 8rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 1rem;
    line-height: 1;
}

.not-found p {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

/* Active link styling for router */
.nav-link[aria-current="page"],
.nav-link.active {
    color: var(--text-bright);
}

/* Ensure main content has proper spacing */
main {
    padding-top: 60px;
    min-height: calc(100vh - 80px);
}

@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-description {
        font-size: 1rem;
    }

    .not-found h1 {
        font-size: 5rem;
    }
}

/* ============================================
   Manual / Documentation Styles
   ============================================ */

.manual {
    padding: var(--section-padding) 0;
}

.manual-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-subtle);
}

.manual-section:last-child {
    border-bottom: none;
}

.manual-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 1.5rem;
}

.manual-description {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.manual-description code {
    background: var(--bg-mid);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Install box */
.install-box {
    background: var(--bg-mid);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.install-cmd {
    font-size: 1.25rem;
    color: var(--text-bright);
    display: block;
    margin-bottom: 0.75rem;
}

.install-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.install-note code {
    color: var(--text-dim);
}

/* Quick steps */
.quick-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--bg-mid);
    border-radius: 8px;
    border-left: 3px solid var(--text-dim);
}

.step-num {
    width: 28px;
    height: 28px;
    background: var(--text-dim);
    color: var(--bg-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.step-content code {
    display: block;
    color: var(--text-bright);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* Concepts grid */
.concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.concept-card {
    background: var(--bg-mid);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.2s;
}

.concept-card:hover {
    border-color: var(--border-visible);
}

.concept-icon {
    width: 32px;
    height: 32px;
    background: var(--text-muted);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.concept-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
}

.concept-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.concept-cmd {
    display: block;
    background: var(--bg-dark);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Dashboard tabs */
.dashboard-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.dashboard-tab {
    background: var(--bg-mid);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 1rem 1.25rem;
}

.tab-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 0.35rem;
}

.tab-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* MCP setup */
.mcp-setup h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-bright);
    margin: 1.5rem 0 0.75rem;
}

.code-block {
    background: var(--bg-mid);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
}

.code-block pre {
    padding: 1rem 1.25rem;
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-dim);
    overflow-x: auto;
    line-height: 1.6;
}

.mcp-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.mcp-tool {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-mid);
    border-radius: 6px;
}

.mcp-tool code {
    color: var(--text-bright);
    font-size: 0.9rem;
    white-space: nowrap;
}

.mcp-tool span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* CI examples */
.ci-examples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.ci-example h3,
.ci-flags h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 1rem;
}

.flag-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.flag-item {
    display: flex;
    gap: 1rem;
    align-items: baseline;
    padding: 0.5rem 0;
}

.flag-item code {
    color: var(--text-bright);
    font-size: 0.9rem;
    min-width: 100px;
}

.flag-item span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Languages grid */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.lang-card {
    padding: 1rem 1.25rem;
    background: var(--bg-mid);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-weight: 500;
    color: var(--text-bright);
}

.lang-card span {
    display: block;
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.lang-card.full {
    border-left: 3px solid #4ade80;
}

.lang-card.partial {
    border-left: 3px solid #fbbf24;
}

@media (max-width: 768px) {
    .ci-examples {
        grid-template-columns: 1fr;
    }

    .concepts-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BLOG POST PAGE STYLES
   ============================================ */

/* Blog Section (on /blog page) */
.blog-section {
    padding: 4rem 0;
}

.blog-section-alt {
    background: var(--surface);
}

.blog-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-section-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.blog-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.blog-card-compact {
    padding: 1.25rem;
}

.blog-card-compact .blog-title {
    font-size: 1rem;
}

.blog-card-compact .blog-subtitle {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
}

.blog-cta-section {
    padding: 3rem 0;
    text-align: center;
}

/* Blog Post Page */
.blog-post-page {
    min-height: calc(100vh - 200px);
}

.blog-post-header {
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--border);
}

.back-link {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--accent);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-date,
.post-read-time {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.post-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* Blog Post Content */
.blog-post-content {
    padding: 3rem 0;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Markdown Body Styles */
.markdown-body {
    line-height: 1.75;
    color: var(--text);
}

.markdown-body h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.markdown-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
}

.markdown-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.markdown-body p {
    margin: 1rem 0;
}

.markdown-body ul,
.markdown-body ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.markdown-body li {
    margin: 0.5rem 0;
}

.markdown-body blockquote {
    border-left: 4px solid var(--accent);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--surface);
    border-radius: 0 8px 8px 0;
}

.markdown-body blockquote p {
    margin: 0;
    font-style: italic;
    color: var(--text-muted);
}

.markdown-body pre {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.markdown-body code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9em;
}

.markdown-body p code,
.markdown-body li code {
    background: var(--surface);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.875em;
}

.markdown-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.markdown-body th,
.markdown-body td {
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    text-align: left;
}

.markdown-body th {
    background: var(--surface);
    font-weight: 600;
}

.markdown-body tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

.markdown-body a {
    color: var(--accent);
    text-decoration: none;
}

.markdown-body a:hover {
    text-decoration: underline;
}

.markdown-body hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

.markdown-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Blog Post Footer */
.blog-post-footer {
    padding: 3rem 0 4rem;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.post-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.post-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Tag Colors */
.tag-cycles { background: #3b82f6; }
.tag-dead { background: #ef4444; }
.tag-meta { background: #8b5cf6; }
.tag-events { background: #06b6d4; }
.tag-rust { background: #f97316; }
.tag-tauri { background: #14b8a6; }
.tag-contracts { background: #eab308; color: #000; }
.tag-workflow { background: #6366f1; }
.tag-jsts { background: #3b82f6; }
.tag-python { background: #22c55e; }
.tag-go { background: #06b6d4; }
.tag-mixed { background: #a855f7; }

/* Responsive */
@media (max-width: 768px) {
    .post-title {
        font-size: 1.75rem;
    }

    .post-subtitle {
        font-size: 1rem;
    }

    .blog-post-header {
        padding: 2rem 0;
    }

    .post-actions {
        flex-direction: column;
    }
}
