/* Sub Theme — Marketing site overrides (on top of Bootstrap + glassmorphism theme)
   These styles supplement Bootstrap for marketing-specific layouts.
   Glass effects applied to cards and panels to let the canvas show through. */

/* ===== HEADER ===== */

.navbar.sticky-top {
    height: auto;
    min-height: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Light mode: navbar toggler (hamburger) needs dark icon — glassmorphism theme
   sets --bs-navbar-color to white which makes the bi-list icon invisible on
   the light transparent navbar background. */
[data-bs-theme="light"] .navbar-toggler {
    color: rgba(0, 0, 0, 0.7);
}

[data-bs-theme="light"] .navbar-toggler:hover {
    color: rgba(0, 0, 0, 0.9);
}

/* ===== HERO ===== */

.hero {
    text-align: center;
    padding: 100px 24px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 .highlight { color: var(--bs-primary); }

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--bs-secondary-color);
    margin-bottom: 36px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SECTIONS ===== */

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--bs-secondary-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 1200px;
    margin: 0 auto;
    opacity: 1;
}

/* ===== FEATURE CARDS (glassmorphism) ===== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--bs-border-radius-lg);
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    border-color: var(--bs-primary);
    transform: translateY(-2px);
}

.feature-card .icon {
    font-size: 1.75rem;
    color: var(--bs-primary);
    margin-bottom: 14px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.feature-card.featured {
    border-color: rgba(129, 140, 248, 0.4) !important;
    background: rgba(99, 102, 241, 0.08) !important;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.12), 0 2px 8px rgba(0, 0, 0, 0.12);
}

.feature-card.featured:hover {
    border-color: rgba(129, 140, 248, 0.6) !important;
    box-shadow: 0 0 28px rgba(99, 102, 241, 0.2), 0 2px 8px rgba(0, 0, 0, 0.12);
}

.feature-card.featured .icon {
    color: #a5b4fc;
}

/* ===== PROBLEM / SOLUTION (glass panels) ===== */

.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.problem, .solution {
    padding: 32px;
    border-radius: var(--bs-border-radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.problem {
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.18);
}

.solution {
    background: rgba(34, 197, 94, 0.04);
    border: 1px solid rgba(34, 197, 94, 0.18);
}

.problem h3 { color: var(--bs-danger); }
.solution h3 { color: var(--bs-success); }

.problem h3, .solution h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.problem ul, .solution ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem li, .solution li {
    padding: 6px 0;
    color: var(--bs-secondary-color);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.problem li::before { content: "\2717"; color: var(--bs-danger); font-weight: bold; }
.solution li::before { content: "\2713"; color: var(--bs-success); font-weight: bold; }

/* ===== ARCHITECTURE DIAGRAM (glass panel) ===== */

.arch-diagram {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--bs-border-radius-lg);
    padding: 24px 24px 16px;
    text-align: center;
    margin-top: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.arch-diagram svg { max-width: 100%; height: auto; }

/* ===== VIBE CODING CALLOUT ===== */

.vibe-callout {
    background: rgba(234, 179, 8, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(234, 179, 8, 0.15);
    border-radius: var(--bs-border-radius-lg);
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.vibe-callout h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vibe-callout h2 i { color: var(--bs-warning); }

.vibe-callout > .vibe-callout-content > p {
    color: var(--bs-secondary-color);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 800px;
    margin-bottom: 16px;
}

.vibe-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 28px;
}

.vibe-them, .vibe-us {
    padding: 24px;
    border-radius: var(--bs-border-radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.vibe-them {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.vibe-us {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.vibe-them h4, .vibe-us h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vibe-them h4 { color: var(--bs-danger); }
.vibe-us h4 { color: var(--bs-success); }

.vibe-them ul, .vibe-us ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vibe-them li, .vibe-us li {
    padding: 5px 0;
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.vibe-them li::before { content: "\2717"; color: var(--bs-danger); font-weight: bold; }
.vibe-us li::before { content: "\2713"; color: var(--bs-success); font-weight: bold; }

/* ===== CANVAS SHOWCASE ===== */

.canvas-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.canvas-feature {
    background: rgba(139, 92, 246, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: var(--bs-border-radius-lg);
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: border-color 0.2s, transform 0.2s;
}

.canvas-feature:hover {
    border-color: rgba(139, 92, 246, 0.35);
    transform: translateY(-2px);
}

.canvas-feature-icon {
    font-size: 1.75rem;
    color: #a78bfa;
    margin-bottom: 14px;
}

.canvas-feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.canvas-feature p {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ===== DEPLOY FLOW ===== */

.deploy-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 24px;
}

.deploy-step {
    flex: 1;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--bs-border-radius-lg);
    padding: 28px 24px;
    text-align: center;
}

.deploy-step .deploy-icon {
    font-size: 2rem;
    color: var(--bs-primary);
    margin-bottom: 14px;
}

.deploy-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.deploy-step p {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.deploy-step code { font-size: 0.85rem; }

.deploy-arrow {
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 1.5rem;
    color: var(--bs-primary);
    margin-top: 50px;
    opacity: 0.5;
}

/* ===== AGENT CALLOUT (glass panel) ===== */

.agent-callout {
    background: rgba(99, 102, 241, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--bs-border-radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.agent-callout h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.agent-callout p {
    color: var(--bs-secondary-color);
    max-width: 600px;
    margin: 0 auto 24px;
}

/* ===== DOCS LAYOUT ===== */

.docs-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    display: flex;
    gap: 40px;
    min-height: calc(100vh - 120px);
}

.docs-sidebar {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    align-self: flex-start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.docs-sidebar h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bs-secondary-color);
    margin-bottom: 12px;
    padding-left: 12px;
}

.docs-sidebar ul {
    list-style: none;
    padding: 0;
}

.docs-sidebar li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
    border-radius: var(--bs-border-radius);
    transition: all 0.15s;
    border-left: 2px solid transparent;
    text-decoration: none;
}

.docs-sidebar li a:hover {
    color: var(--bs-body-color);
    background: rgba(255, 255, 255, 0.06);
}

.docs-sidebar li a.active {
    color: var(--bs-primary);
    background: rgba(99, 102, 241, 0.1);
    border-left-color: var(--bs-primary);
}

.docs-content {
    flex: 1;
    min-width: 0;
    max-width: 800px;
}

.docs-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 16px;
    padding-top: 16px;
}

.docs-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
}

.docs-content p {
    margin-bottom: 16px;
    color: var(--bs-secondary-color);
    line-height: 1.7;
}

.docs-content strong { color: var(--bs-body-color); }

.docs-content ul, .docs-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
    color: var(--bs-secondary-color);
}

.docs-content li { margin-bottom: 6px; line-height: 1.6; }

/* ===== CODE BLOCKS (glass) ===== */

pre {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--bs-border-radius);
    padding: 16px 20px;
    overflow-x: auto;
    margin-bottom: 20px;
    font-size: 0.875rem;
    line-height: 1.6;
}

p code, li code, td code {
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85em;
    color: var(--bs-primary);
}

pre code {
    background: none;
    padding: 0;
    border: none;
    border-radius: 0;
    color: var(--bs-body-color);
    font-size: inherit;
}

/* ===== TABLES (docs) ===== */

.docs-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.docs-content th, .docs-content td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-content th {
    color: var(--bs-body-color);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
}

.docs-content td { color: var(--bs-secondary-color); }

/* ===== CALLOUT BOXES (glass) ===== */

.callout {
    padding: 16px 20px;
    border-radius: var(--bs-border-radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.callout-warning {
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.2);
    color: var(--bs-warning);
}

.callout-info {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--bs-primary);
}

.callout-danger {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: var(--bs-danger);
}

.callout i { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

/* ===== FILE TREE ===== */

.file-tree {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--bs-border-radius);
    padding: 20px 24px;
    font-family: var(--bs-font-monospace);
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 20px;
    overflow-x: auto;
    color: var(--bs-secondary-color);
}

.file-tree .dir { color: var(--bs-primary); }
.file-tree .file { color: var(--bs-body-color); }
.file-tree .comment { color: var(--bs-secondary-color); }

/* ===== STEP LIST ===== */

.steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.steps li {
    counter-increment: step;
    padding: 12px 0 12px 48px;
    position: relative;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    margin-left: 16px;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: -16px;
    top: 12px;
    width: 30px;
    height: 30px;
    background: var(--bs-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.steps li:last-child { border-left-color: transparent; }

/* ===== SCREENSHOTS ===== */

.screenshot-frame {
    margin: 16px 0 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.screenshot-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-placeholder {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--bs-border-radius-lg);
    padding: 60px 24px;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--bs-secondary-color);
}

.screenshot-placeholder i { font-size: 2.5rem; opacity: 0.5; }
.screenshot-placeholder span { font-size: 0.85rem; font-style: italic; }

/* ===== LIGHT MODE OVERRIDES ===== */

/* --- Text colors (fix white-on-light readability) --- */

[data-bs-theme="light"] .hero .subtitle {
    color: #4b5563;
}

[data-bs-theme="light"] .section-header p {
    color: #4b5563;
}

[data-bs-theme="light"] .feature-card p {
    color: #4b5563;
}

[data-bs-theme="light"] .feature-card .icon {
    color: #4f46e5;
}

[data-bs-theme="light"] .feature-card.featured .icon {
    color: #6366f1;
}

[data-bs-theme="light"] .problem li,
[data-bs-theme="light"] .solution li {
    color: #374151;
}

[data-bs-theme="light"] .deploy-step p {
    color: #4b5563;
}

[data-bs-theme="light"] .deploy-step .deploy-icon {
    color: #4f46e5;
}

[data-bs-theme="light"] .deploy-arrow {
    color: #4f46e5;
}

[data-bs-theme="light"] .agent-callout p {
    color: #4b5563;
}

/* --- Backgrounds, borders, shadows --- */

[data-bs-theme="light"] .section-divider {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .feature-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-bs-theme="light"] .feature-card.featured {
    background: rgba(99, 102, 241, 0.06) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-bs-theme="light"] .problem {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.15);
}

[data-bs-theme="light"] .solution {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.15);
}

[data-bs-theme="light"] .arch-diagram {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .deploy-step {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-bs-theme="light"] .agent-callout {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.15);
}

/* --- Vibe callout (light mode) --- */

[data-bs-theme="light"] .vibe-callout {
    background: rgba(234, 179, 8, 0.06);
    border-color: rgba(234, 179, 8, 0.2);
}

[data-bs-theme="light"] .vibe-callout h2 {
    color: #1f2937;
}

[data-bs-theme="light"] .vibe-callout > .vibe-callout-content > p {
    color: #4b5563;
}

[data-bs-theme="light"] .vibe-them {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.2);
}

[data-bs-theme="light"] .vibe-us {
    background: rgba(34, 197, 94, 0.06);
    border-color: rgba(34, 197, 94, 0.2);
}

[data-bs-theme="light"] .vibe-them h4 { color: #dc2626; }
[data-bs-theme="light"] .vibe-us h4 { color: #16a34a; }

[data-bs-theme="light"] .vibe-them li,
[data-bs-theme="light"] .vibe-us li {
    color: #374151;
}

/* --- Canvas showcase (light mode) --- */

[data-bs-theme="light"] .canvas-feature {
    background: rgba(139, 92, 246, 0.06);
    border-color: rgba(139, 92, 246, 0.2);
}

[data-bs-theme="light"] .canvas-feature:hover {
    border-color: rgba(139, 92, 246, 0.4);
}

[data-bs-theme="light"] .canvas-feature h3 {
    color: #1f2937;
}

[data-bs-theme="light"] .canvas-feature p {
    color: #4b5563;
}

[data-bs-theme="light"] .canvas-feature-icon {
    color: #7c3aed;
}

/* --- Docs sidebar & content --- */

[data-bs-theme="light"] .docs-sidebar h4 {
    color: #6b7280;
}

[data-bs-theme="light"] .docs-sidebar li a {
    color: #4b5563;
}

[data-bs-theme="light"] .docs-sidebar li a:hover {
    color: #1f2937;
    background: rgba(0, 0, 0, 0.04);
}

[data-bs-theme="light"] .docs-sidebar li a.active {
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.08);
}

[data-bs-theme="light"] .docs-content h1 {
    border-bottom-color: rgba(0, 0, 0, 0.08);
    color: #111827;
}

[data-bs-theme="light"] .docs-content h2,
[data-bs-theme="light"] .docs-content h3 {
    color: #1f2937;
}

[data-bs-theme="light"] .docs-content p,
[data-bs-theme="light"] .docs-content li,
[data-bs-theme="light"] .docs-content td {
    color: #374151;
}

[data-bs-theme="light"] .docs-content strong {
    color: #111827;
}

[data-bs-theme="light"] .docs-content .lead {
    color: #4b5563;
}

[data-bs-theme="light"] .steps li strong {
    color: #111827;
}

[data-bs-theme="light"] .docs-content th {
    background: rgba(0, 0, 0, 0.05);
    color: #1f2937;
}

[data-bs-theme="light"] .docs-content th,
[data-bs-theme="light"] .docs-content td {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] pre {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] pre code {
    color: #1f2937;
}

[data-bs-theme="light"] p code,
[data-bs-theme="light"] li code,
[data-bs-theme="light"] td code {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #4f46e5;
}

/* --- Callout boxes --- */

[data-bs-theme="light"] .callout-warning {
    background: rgba(234, 179, 8, 0.06);
    border-color: rgba(234, 179, 8, 0.15);
    color: #92400e;
}

[data-bs-theme="light"] .callout-warning strong {
    color: #78350f;
}

[data-bs-theme="light"] .callout-info {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.15);
    color: #3730a3;
}

[data-bs-theme="light"] .callout-info strong {
    color: #312e81;
}

[data-bs-theme="light"] .callout-danger {
    background: rgba(239, 68, 68, 0.04);
    border-color: rgba(239, 68, 68, 0.1);
    color: #991b1b;
}

[data-bs-theme="light"] .callout-danger strong {
    color: #7f1d1d;
}

/* --- Screenshots & misc --- */

[data-bs-theme="light"] .screenshot-placeholder {
    color: #6b7280;
}

[data-bs-theme="light"] .file-tree {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: #4b5563;
}

[data-bs-theme="light"] .file-tree .dir { color: #4f46e5; }
[data-bs-theme="light"] .file-tree .file { color: #1f2937; }
[data-bs-theme="light"] .file-tree .comment { color: #6b7280; }

[data-bs-theme="light"] .steps li {
    border-left-color: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .screenshot-frame {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .screenshot-placeholder {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.12);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .hero { padding: 60px 20px 40px; }
    .hero h1 { font-size: 2rem; }
    .hero .subtitle { font-size: 1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .problem-solution { grid-template-columns: 1fr; gap: 20px; }
    .vibe-comparison { grid-template-columns: 1fr; }
    .vibe-callout { padding: 24px; }
    .canvas-showcase { grid-template-columns: 1fr; }
    .deploy-flow { flex-direction: column; align-items: center; }
    .deploy-step { max-width: 100%; width: 100%; }
    .deploy-arrow { transform: rotate(90deg); margin-top: 0; padding: 8px 0; }
    .docs-layout { flex-direction: column; gap: 24px; }
    .docs-sidebar {
        position: static;
        width: 100%;
        max-height: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 16px;
        margin-bottom: 8px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
