/* Waltzing Documentation Website - Modern Design System */

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
    /* Colors - Light Mode */
    --background: 0 0% 100%;
    --foreground: 240 10% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 240 10% 3.9%;
    --muted: 240 4.8% 95.9%;
    --muted-foreground: 240 3.8% 46.1%;
    --border: 240 5.9% 90%;
    --primary: 262 83% 58%;
    --primary-foreground: 0 0% 100%;
    --secondary: 240 4.8% 95.9%;
    --secondary-foreground: 240 5.9% 10%;
    --accent: 262 83% 58%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 84% 60%;
    --ring: 262 83% 58%;

    /* Waltzing Brand Colors */
    --waltzing-purple: #8b5cf6;
    --waltzing-purple-dark: #7c3aed;
    --waltzing-teal: #14b8a6;
    --waltzing-amber: #f59e0b;

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;

    /* Spacing */
    --radius: 0.5rem;
    --max-width: 1200px;
}

/* Dark Mode */
.dark,
[data-theme="dark"] {
    --background: 240 10% 3.9%;
    --foreground: 0 0% 98%;
    --card: 240 10% 3.9%;
    --card-foreground: 0 0% 98%;
    --muted: 240 3.7% 15.9%;
    --muted-foreground: 240 5% 64.9%;
    --border: 240 3.7% 15.9%;
    --primary: 262 83% 58%;
    --primary-foreground: 0 0% 100%;
    --secondary: 240 3.7% 15.9%;
    --secondary-foreground: 0 0% 98%;
}

/* Auto dark mode based on system preference */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --background: 240 10% 3.9%;
        --foreground: 0 0% 98%;
        --card: 240 10% 3.9%;
        --card-foreground: 0 0% 98%;
        --muted: 240 3.7% 15.9%;
        --muted-foreground: 240 5% 64.9%;
        --border: 240 3.7% 15.9%;
        --primary: 262 83% 58%;
        --primary-foreground: 0 0% 100%;
        --secondary: 240 3.7% 15.9%;
        --secondary-foreground: 0 0% 98%;
    }
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: hsl(var(--foreground));
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    color: hsl(var(--muted-foreground));
}

a {
    color: hsl(var(--primary));
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--waltzing-purple-dark);
}

code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background: hsl(var(--muted));
    padding: 0.2em 0.4em;
    border-radius: 4px;
    color: hsl(var(--foreground));
}

pre {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.7;
    background: hsl(var(--muted));
    padding: 1.25rem;
    border-radius: var(--radius);
    overflow-x: auto;
    border: 1px solid hsl(var(--border));
}

pre code {
    background: none;
    padding: 0;
    font-size: inherit;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: hsl(var(--background) / 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsl(var(--border));
}

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

.nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav .logo:hover {
    color: hsl(var(--foreground));
}

.nav .logo::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--waltzing-purple), var(--waltzing-teal));
    border-radius: 6px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

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

/* ============================================
   Container
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 5rem 1.5rem;
    text-align: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--waltzing-purple), var(--waltzing-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .tagline {
    font-size: 1.5rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero .description {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: var(--waltzing-purple-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

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

.btn-secondary:hover {
    background: hsl(var(--muted));
    color: hsl(var(--foreground));
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Feature Cards
   ============================================ */
.features {
    padding: 4rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) * 2);
    padding: 2rem;
    transition: all 0.2s ease;
}

.feature:hover {
    border-color: hsl(var(--primary) / 0.3);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.feature-icon.purple { background: rgba(139, 92, 246, 0.1); }
.feature-icon.teal { background: rgba(20, 184, 166, 0.1); }
.feature-icon.amber { background: rgba(245, 158, 11, 0.1); }

.feature h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   Quick Start Section
   ============================================ */
.quick-start {
    background: hsl(var(--muted));
    padding: 4rem 1.5rem;
    margin: 2rem 0;
}

.quick-start h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.install-command {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}

.install-command code {
    flex: 1;
    font-size: 0.9rem;
    background: none;
    padding: 0;
}

.copy-btn {
    padding: 0.5rem 1rem;
    background: hsl(var(--primary));
    color: white;
    border: none;
    border-radius: calc(var(--radius) - 2px);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--waltzing-purple-dark);
}

.code-example {
    max-width: 700px;
    margin: 2rem auto;
}

.code-example h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

/* ============================================
   Integrations
   ============================================ */
.integrations {
    padding: 4rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.integrations h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

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

.integration {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    transition: all 0.2s;
}

.integration:hover {
    border-color: hsl(var(--primary));
    transform: translateY(-2px);
}

.integration-name {
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.integration-desc {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* ============================================
   Documentation Styles
   ============================================ */
.docs-index {
    padding: 3rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.docs-section {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.5rem;
}

.docs-section h2 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: hsl(var(--primary));
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.docs-section li {
    margin: 0.5rem 0;
}

.docs-section a {
    color: hsl(var(--muted-foreground));
    transition: color 0.2s;
}

.docs-section a:hover {
    color: hsl(var(--foreground));
}

.docs-page {
    padding: 3rem 1.5rem;
    max-width: 850px;
    margin: 0 auto;
}

.docs-page h1 {
    margin-bottom: 0.5rem;
}

.docs-page h1 + p {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.docs-page section {
    margin: 3rem 0;
}

.docs-page h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid hsl(var(--border));
}

.docs-page h3 {
    margin: 1.5rem 0 0.75rem;
}

.docs-page p {
    margin-bottom: 1rem;
}

.docs-page ul, .docs-page ol {
    margin: 1rem 0 1rem 1.5rem;
    color: hsl(var(--muted-foreground));
}

.docs-page li {
    margin: 0.5rem 0;
}

.docs-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid hsl(var(--border));
}

.docs-pagination a {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.docs-pagination .label {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Warning / Note Boxes
   ============================================ */
.warning, .note {
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: var(--radius);
    border-left: 4px solid;
}

.warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--waltzing-amber);
}

.note {
    background: rgba(20, 184, 166, 0.1);
    border-color: var(--waltzing-teal);
}

/* ============================================
   Downloads Page
   ============================================ */
.page-header {
    text-align: center;
    padding: 3rem 1.5rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.125rem;
}

.install-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.install-options {
    text-align: center;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

.tools-section {
    padding: 2rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.tools-section h2 {
    margin-bottom: 1.5rem;
}

.tool-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.tool-card h3 {
    font-family: var(--font-mono);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.tool-desc {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.tool-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.download-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: hsl(var(--muted));
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.875rem;
    color: hsl(var(--foreground));
    transition: all 0.2s;
}

.download-link:hover {
    background: hsl(var(--primary));
    color: white;
}

/* ============================================
   Tables
   ============================================ */
.options-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.options-table th,
.options-table td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid hsl(var(--border));
}

.options-table th {
    background: hsl(var(--muted));
    font-weight: 600;
    color: hsl(var(--foreground));
}

.options-table td {
    color: hsl(var(--muted-foreground));
}

.options-table code {
    font-size: 0.8rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: hsl(var(--muted));
    border-top: 1px solid hsl(var(--border));
    margin-top: auto;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
}

.footer-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.footer-section p {
    font-size: 0.875rem;
}

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

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

.footer-section a {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: hsl(var(--foreground));
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem;
    border-top: 1px solid hsl(var(--border));
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
}

/* ============================================
   Error Page
   ============================================ */
.error-page {
    text-align: center;
    padding: 6rem 1.5rem;
}

.error-page h1 {
    font-size: 8rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--waltzing-purple), var(--waltzing-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.error-page p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .nav nav {
        padding: 0.75rem 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1.125rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .docs-nav {
        grid-template-columns: 1fr;
    }

    .docs-pagination {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================
   Prose / Documentation Content
   ============================================ */
.prose {
    color: hsl(var(--muted-foreground));
    line-height: 1.75;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
    color: hsl(var(--foreground));
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h1 { font-size: 2.25rem; margin-top: 0; }
.prose h2 { font-size: 1.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid hsl(var(--border)); }
.prose h3 { font-size: 1.25rem; }

.prose p {
    margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.prose li {
    margin: 0.5rem 0;
}

.prose strong {
    color: hsl(var(--foreground));
    font-weight: 600;
}

.prose a {
    color: hsl(var(--primary));
    text-decoration: underline;
    text-decoration-color: hsl(var(--primary) / 0.3);
    text-underline-offset: 2px;
}

.prose a:hover {
    text-decoration-color: hsl(var(--primary));
}

/* Code blocks in prose */
.prose pre {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.7;
}

.prose pre code {
    background: none;
    padding: 0;
    font-size: inherit;
    color: hsl(var(--foreground));
}

.prose code {
    background: hsl(var(--muted));
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.875em;
    color: var(--waltzing-purple);
    font-weight: 500;
}

/* Code block with filename header */
.code-block {
    margin: 1.5rem 0;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    overflow: hidden;
}

.code-block-header {
    background: hsl(var(--muted));
    padding: 0.5rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: hsl(var(--muted-foreground));
    border-bottom: 1px solid hsl(var(--border));
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-block pre {
    margin: 0;
    border: none;
    border-radius: 0;
}

/* Syntax highlighting */
.token-keyword { color: var(--waltzing-purple); font-weight: 500; }
.token-string { color: var(--waltzing-teal); }
.token-comment { color: hsl(var(--muted-foreground)); font-style: italic; }
.token-function { color: #3b82f6; }
.token-variable { color: hsl(var(--foreground)); }
.token-type { color: var(--waltzing-amber); }

/* Callouts / Admonitions */
.callout {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    border-left: 4px solid;
}

.callout-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.callout p:last-child {
    margin-bottom: 0;
}

.callout-note {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}
.callout-note .callout-title { color: #3b82f6; }

.callout-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--waltzing-amber);
}
.callout-warning .callout-title { color: var(--waltzing-amber); }

.callout-tip {
    background: rgba(20, 184, 166, 0.1);
    border-color: var(--waltzing-teal);
}
.callout-tip .callout-title { color: var(--waltzing-teal); }

.callout-important {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--waltzing-purple);
}
.callout-important .callout-title { color: var(--waltzing-purple); }

/* Tables in prose */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

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

.prose th {
    background: hsl(var(--muted));
    font-weight: 600;
    color: hsl(var(--foreground));
}

.prose td {
    color: hsl(var(--muted-foreground));
}

.prose td code {
    font-size: 0.8rem;
}

/* Example comparison boxes */
.example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.example-box {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    overflow: hidden;
}

.example-box-header {
    background: hsl(var(--muted));
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: hsl(var(--foreground));
    border-bottom: 1px solid hsl(var(--border));
}

.example-box pre {
    margin: 0;
    border: none;
    border-radius: 0;
}

/* Sidebar navigation for docs */
.docs-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.docs-sidebar {
    position: sticky;
    top: 5rem;
    height: fit-content;
}

.docs-sidebar nav {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1rem;
}

.docs-sidebar h3 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.75rem;
    margin-top: 1.25rem;
}

.docs-sidebar h3:first-child {
    margin-top: 0;
}

.docs-sidebar ul {
    list-style: none;
}

.docs-sidebar li {
    margin: 0.25rem 0;
}

.docs-sidebar a {
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    border-radius: calc(var(--radius) - 2px);
    transition: all 0.15s;
}

.docs-sidebar a:hover {
    background: hsl(var(--muted));
    color: hsl(var(--foreground));
}

.docs-sidebar a.active {
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    font-weight: 500;
}

.docs-content {
    min-width: 0;
}

@media (max-width: 900px) {
    .docs-layout {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: static;
    }
}

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

.hero, .features, .quick-start, .integrations {
    animation: fadeIn 0.5s ease-out;
}
