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

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--bz-text-primary);
    background: var(--bz-docs-bg);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Design System Variables */
:root {
    --bz-docs-bg: #0f172a;
    --bz-docs-bg-secondary: #1e293b;
    --bz-orb-purple: rgba(139, 92, 246, 0.25);
    --bz-orb-cyan: rgba(34, 211, 238, 0.2);
    --bz-orb-pink: rgba(236, 72, 153, 0.15);
    --bz-orb-size: 500px;
    --bz-orb-blur: 100px;
    --bz-sidebar-width: 280px;
    --bz-header-height: 64px;
    --bz-content-max-width: 1200px;
    --bz-text-primary: rgba(255, 255, 255, 0.95);
    --bz-text-secondary: rgba(255, 255, 255, 0.7);
    --bz-text-muted: rgba(255, 255, 255, 0.5);
    --bz-text-disabled: rgba(255, 255, 255, 0.3);
    --bz-accent-purple: #8b5cf6;
    --bz-accent-cyan: #22d3ee;
    --bz-accent-blue: #3b82f6;
    --bz-accent-pink: #ec4899;
    --bz-gradient-brand: linear-gradient(135deg, var(--bz-accent-purple), var(--bz-accent-cyan));
    --bz-gradient-purple-pink: linear-gradient(135deg, var(--bz-accent-purple), var(--bz-accent-pink));
    --bz-glow-purple: 0 0 30px rgba(139, 92, 246, 0.4);
    --bz-glow-cyan: 0 0 30px rgba(34, 211, 238, 0.4);
    --bz-glow-brand: 0 0 40px rgba(139, 92, 246, 0.3), 0 0 80px rgba(34, 211, 238, 0.2);
    --bz-hover-bg: rgba(255, 255, 255, 0.05);
    --bz-active-bg: rgba(139, 92, 246, 0.15);
    --bz-focus-ring: 0 0 0 2px rgba(139, 92, 246, 0.5);
    --bz-code-bg: rgba(0, 0, 0, 0.4);
    --bz-code-border: rgba(255, 255, 255, 0.1);
    --bz-code-text: #e2e8f0;
    --bz-scrollbar-width: 8px;
    --bz-scrollbar-track: rgba(255, 255, 255, 0.05);
    --bz-scrollbar-thumb: rgba(255, 255, 255, 0.2);
    --bz-scrollbar-thumb-hover: rgba(255, 255, 255, 0.3);
    --bz-border-radius: 12px;
    --bz-padding: 24px;
    --bzc-glass-bg: rgba(15, 15, 15, 0.6);
    --bzc-glass-border: rgba(255, 255, 255, 0.15);
    --bzc-glass-blur: 12px;
    --bzc-glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Animated Orbs Background */
.bz-orbs-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.bz-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(var(--bz-orb-blur));
    opacity: 0.8;
    animation: bz-orb-float 20s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

.bz-orb--purple {
    width: var(--bz-orb-size);
    height: var(--bz-orb-size);
    background: var(--bz-orb-purple);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.bz-orb--cyan {
    width: calc(var(--bz-orb-size) * 0.8);
    height: calc(var(--bz-orb-size) * 0.8);
    background: var(--bz-orb-cyan);
    top: 50%;
    right: -10%;
    animation-delay: -7s;
    animation-duration: 25s;
}

.bz-orb--pink {
    width: calc(var(--bz-orb-size) * 0.6);
    height: calc(var(--bz-orb-size) * 0.6);
    background: var(--bz-orb-pink);
    bottom: -5%;
    left: 30%;
    animation-delay: -14s;
    animation-duration: 30s;
}

@keyframes bz-orb-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: var(--bz-scrollbar-width);
    height: var(--bz-scrollbar-width);
}

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

::-webkit-scrollbar-thumb {
    background: var(--bz-scrollbar-thumb);
    border-radius: 4px;
}

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

* {
    scrollbar-width: thin;
    scrollbar-color: var(--bz-scrollbar-thumb) var(--bz-scrollbar-track);
}

/* Base Elements */
a {
    color: var(--bz-accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--bz-accent-purple);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--bz-text-primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    color: var(--bz-text-secondary);
    margin-bottom: 1rem;
}

code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.875em;
    padding: 0.2em 0.4em;
    background: var(--bz-code-bg);
    border-radius: 4px;
    color: var(--bz-accent-cyan);
}

pre {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.875rem;
    line-height: 1.7;
    padding: 1.25rem;
    background: var(--bz-code-bg);
    border: 1px solid var(--bz-code-border);
    border-radius: var(--bz-border-radius);
    overflow-x: auto;
    color: var(--bz-code-text);
}

pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* Lists */
ul,
ol {
    margin-bottom: 1rem;
}

ul.bz-list,
ol.bz-list {
    list-style-position: outside;
    list-style-type: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

ul.bz-list li,
ol.bz-list li {
    color: var(--bz-text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.7;
    padding-left: 0.5rem;
}

ul.bz-list li::marker,
ol.bz-list li::marker {
    color: var(--bz-accent-purple);
}

ul.bz-feature-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

ul.bz-feature-list li {
    color: var(--bz-text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.7;
    padding-left: 2rem;
    position: relative;
}

ul.bz-feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bz-accent-purple);
    font-weight: 700;
    font-size: 1.125rem;
}

/* Glass Components */
.bz-glass {
    background: var(--bzc-glass-bg);
    backdrop-filter: blur(var(--bzc-glass-blur));
    -webkit-backdrop-filter: blur(var(--bzc-glass-blur));
    border: 1px solid var(--bzc-glass-border);
    border-radius: var(--bz-border-radius);
    box-shadow: var(--bzc-glass-shadow);
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.bz-glass--highlight {
    position: relative;
}

.bz-glass--highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    pointer-events: none;
}

/* Sidebar */
.bz-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--bz-sidebar-width);
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--bzc-glass-border);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.bz-sidebar__header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

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

.bz-sidebar__logo-img {
    width: 40px;
    height: 40px;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.bz-sidebar__logo:hover .bz-sidebar__logo-img {
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.6));
    transform: scale(1.05);
}

.bz-sidebar__logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--bz-gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bz-sidebar__nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
}

.bz-sidebar__group {
    margin-bottom: 0.5rem;
}

.bz-sidebar__group-title {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bz-text-muted);
}

.bz-sidebar__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1.5rem;
    color: var(--bz-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    position: relative;
}

.bz-sidebar__link:hover {
    color: var(--bz-text-primary);
    background: var(--bz-hover-bg);
    padding-left: 1.75rem;
}

.bz-sidebar__link--active {
    color: var(--bz-accent-purple);
    background: var(--bz-active-bg);
}

.bz-sidebar__link--active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: var(--bz-gradient-brand);
    border-radius: 0 3px 3px 0;
}

.bz-sidebar__link-icon {
    font-size: 1.125rem;
    width: 24px;
    text-align: center;
}

.bz-sidebar__link-badge {
    margin-left: auto;
    padding: 2px 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--bz-gradient-brand);
    border-radius: 10px;
    color: white;
}

.bz-sidebar__footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.bz-sidebar__external {
    display: flex;
    gap: 0.75rem;
}

.bz-sidebar__external-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--bz-text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 1;
}

.bz-sidebar__external-link:hover {
    color: var(--bz-text-primary);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--bz-accent-purple);
    box-shadow: var(--bz-glow-purple);
}

/* Main Content Area */
.bz-main {
    margin-left: var(--bz-sidebar-width);
    min-height: 100vh;
    padding: 2rem;
    -webkit-overflow-scrolling: touch;
}

.bz-main__content {
    max-width: var(--bz-content-max-width);
    margin: 0 auto;
}

/* Doc Sections */
.bz-doc-section {
    background: var(--bzc-glass-bg);
    backdrop-filter: blur(var(--bzc-glass-blur));
    -webkit-backdrop-filter: blur(var(--bzc-glass-blur));
    border: 1px solid var(--bzc-glass-border);
    border-radius: var(--bz-border-radius);
    padding: var(--bz-padding);
    margin-bottom: 1.5rem;
    position: relative;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    isolation: isolate;
}

.bz-doc-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
}

.bz-doc-section__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bz-doc-section__title-icon {
    color: var(--bz-accent-purple);
}

.bz-doc-section__content {
    overflow: visible;
}

.bz-doc-section__content ul.bz-list,
.bz-doc-section__content ol.bz-list {
    list-style-position: outside;
    list-style-type: disc;
    margin: 1rem 0 1rem 16px;
    padding-left: 12px;
}

.bz-doc-section__content ul.bz-list li,
.bz-doc-section__content ol.bz-list li {
    color: var(--bz-text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.7;
    padding-left: 8px;
}

.bz-doc-section__content ul.bz-list li::marker,
.bz-doc-section__content ol.bz-list li::marker {
    color: var(--bz-accent-purple);
}

/* SVG Icons */
.bz-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    color: var(--bz-accent-purple);
}

/* Buttons */
.bz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.bz-btn--primary {
    background: var(--bz-gradient-brand);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.bz-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.4);
}

.bz-btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--bz-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.bz-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--bz-accent-purple);
}

.bz-btn--ghost {
    background: transparent;
    color: var(--bz-text-secondary);
}

.bz-btn--ghost:hover {
    color: var(--bz-text-primary);
    background: var(--bz-hover-bg);
}

/* Badges */
.bz-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bz-text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bz-badge--purple {
    background: rgba(139, 92, 246, 0.2);
    color: var(--bz-accent-purple);
    border-color: rgba(139, 92, 246, 0.3);
}

.bz-badge--cyan {
    background: rgba(34, 211, 238, 0.2);
    color: var(--bz-accent-cyan);
    border-color: rgba(34, 211, 238, 0.3);
}

.bz-badge--new {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
    color: white;
    border: none;
    animation: bz-badge-pulse 2s ease-in-out infinite;
}

@keyframes bz-badge-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(139, 92, 246, 0);
    }
}

/* Code Blocks */
.bz-code-block {
    position: relative;
    margin: 1rem 0;
}

.bz-code-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--bz-code-border);
    border-bottom: none;
    border-radius: var(--bz-border-radius) var(--bz-border-radius) 0 0;
}

.bz-code-block__lang {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--bz-text-muted);
}

.bz-code-block__copy {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 4px;
    color: var(--bz-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.bz-code-block__copy:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--bz-text-primary);
}

.bz-code-block pre {
    margin: 0;
    border-radius: 0 0 var(--bz-border-radius) var(--bz-border-radius);
}

/* API Tables */
.bz-api-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    margin: 1.5rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    position: relative;
}

.bz-api-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.bz-api-table th,
.bz-api-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}

.bz-api-table th {
    font-weight: 600;
    color: var(--bz-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.bz-api-table td {
    color: var(--bz-text-secondary);
}

.bz-api-table th:nth-child(1),
.bz-api-table td:nth-child(1) {
    width: 20%;
    min-width: 140px;
}

.bz-api-table th:nth-child(2),
.bz-api-table td:nth-child(2) {
    width: 18%;
    min-width: 120px;
}

.bz-api-table th:nth-child(3),
.bz-api-table td:nth-child(3) {
    width: 15%;
    min-width: 100px;
}

.bz-api-table th:nth-child(4),
.bz-api-table td:nth-child(4) {
    width: 47%;
    word-wrap: break-word;
    word-break: break-word;
}

.bz-api-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.bz-api-table__param {
    font-family: 'JetBrains Mono', monospace;
    color: var(--bz-accent-cyan);
}

.bz-api-table__type {
    font-family: 'JetBrains Mono', monospace;
    color: var(--bz-accent-purple);
    font-size: 0.8125rem;
}

.bz-api-table__default {
    font-family: 'JetBrains Mono', monospace;
    color: var(--bz-text-muted);
    font-size: 0.8125rem;
}

/* Mobile Toggle Button */
.bz-mobile-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    padding: 0.75rem;
    background: var(--bzc-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bzc-glass-border);
    border-radius: 8px;
    color: var(--bz-text-primary);
    cursor: pointer;
    will-change: transform;
    transform: translateZ(0);
}

/* Sidebar Overlay */
.bz-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bz-sidebar-overlay--visible {
    opacity: 1;
}

/* Tap Highlight Removal */
[class*="bz"] {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Tablet Responsive (991px) */
@media (max-width: 991px) {
    :root {
        --bz-sidebar-width: 260px;
    }

    .bz-main {
        padding: 1.5rem;
    }
}

/* Mobile Responsive (768px) */
@media (max-width: 768px) {
    :root {
        --bz-orb-size: 300px;
        --bz-orb-blur: 60px;
        --bzc-glass-blur: 8px;
    }

    .bz-orbs-container {
        display: none;
    }

    .bz-demo__stage {
        position: relative;
    }

    .bz-demo__stage::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        height: 120%;
        background: radial-gradient(ellipse at center,
                rgba(139, 92, 246, 0.15) 0%,
                rgba(34, 211, 238, 0.08) 40%,
                transparent 70%);
        pointer-events: none;
        z-index: -1;
    }

    .bz-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(15, 23, 42, 0.95);
    }

    .bz-sidebar-overlay {
        display: block;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(0, 0, 0, 0.7);
    }

    .bz-sidebar {
        transform: translateX(-100%);
        width: 85%;
        max-width: 320px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(15, 23, 42, 0.98);
    }

    .bz-sidebar--open {
        transform: translateX(0);
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    }

    .bz-main {
        margin-left: 0;
        padding: 4.5rem 1rem 1.5rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.125rem;
    }

    .bz-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
        width: 100%;
    }

    .bz-flex {
        flex-direction: column;
    }

    .bz-gap-2 {
        gap: 0.75rem;
    }

    .bz-glass {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(15, 23, 42, 0.95);
    }

    .bz-doc-section {
        padding: 1.25rem 1rem;
        margin-bottom: 1rem;
        border-radius: 10px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(15, 15, 15, 0.95);
    }

    .bz-doc-section__title {
        font-size: 1.125rem;
    }

    .bz-doc-section__content ul.bz-list,
    .bz-doc-section__content ol.bz-list {
        margin-left: 8px;
        padding-left: 12px;
    }

    .bz-doc-section__content ul.bz-list li,
    .bz-doc-section__content ol.bz-list li {
        padding-left: 4px;
        font-size: 0.9375rem;
    }

    .bz-sidebar__external {
        flex-direction: column;
    }

    /* API Table Card Layout */
    .bz-api-table-wrapper {
        overflow-x: visible;
    }

    .bz-api-table {
        min-width: unset;
        width: 100%;
    }

    .bz-api-table thead {
        display: none;
    }

    .bz-api-table tbody {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .bz-api-table tr {
        display: flex;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 1rem;
        gap: 0.5rem;
    }

    .bz-api-table tr:hover td {
        background: transparent;
    }

    .bz-api-table td {
        display: block;
        padding: 0.375rem 0;
        border: none;
        text-align: left;
        font-size: 0.875rem;
        width: 100%;
        min-width: unset;
    }

    .bz-api-table td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        font-size: 0.6875rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--bz-text-muted);
        margin-bottom: 0.25rem;
    }

    .bz-api-table td:first-child {
        padding-bottom: 0.625rem;
        margin-bottom: 0.375rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .bz-api-table td:first-child::before {
        display: none;
    }

    .bz-api-table td:first-child code {
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--bz-accent-cyan);
    }

    .bz-api-table td:last-child {
        padding-bottom: 0;
    }

    .bz-api-table td:last-child::before {
        display: none;
    }

    .bz-api-table td code {
        font-size: 0.8125rem;
        word-wrap: break-word;
    }

    .bz-code-block pre {
        padding: 1rem;
        font-size: 0.75rem;
    }

    .bz-code-block__header {
        padding: 0.5rem 0.75rem;
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
    .bz-main {
        padding: 4rem 0.75rem 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    .bz-doc-section {
        padding: 1rem 0.875rem;
    }

    .bz-doc-section__title {
        font-size: 1rem;
        gap: 0.5rem;
    }

    p {
        font-size: 0.9375rem;
    }

    .bz-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .bz-badge {
        font-size: 0.6875rem;
        padding: 0.2rem 0.5rem;
    }

    code {
        font-size: 0.8125em;
        padding: 0.15em 0.3em;
    }

    .bz-api-table tr {
        padding: 0.875rem;
    }

    .bz-api-table__param {
        font-size: 0.875rem;
    }

    .bz-api-table__type,
    .bz-api-table__default {
        font-size: 0.75rem;
    }
}

/* Blazor Specific */
#app {
    min-height: 100vh;
}

.loading-progress,
.loading-progress-text {
    display: none !important;
}

#blazor-error-ui {
    background: rgba(220, 38, 38, 0.9);
    backdrop-filter: blur(12px);
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    display: none;
    left: 0;
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: white;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Utility Classes */
.bz-text-gradient {
    background: var(--bz-gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bz-text-center {
    text-align: center;
}

.bz-text-left {
    text-align: left;
}

.bz-text-right {
    text-align: right;
}

.bz-mt-1 {
    margin-top: 0.5rem;
}

.bz-mt-2 {
    margin-top: 1rem;
}

.bz-mt-3 {
    margin-top: 1.5rem;
}

.bz-mt-4 {
    margin-top: 2rem;
}

.bz-mb-1 {
    margin-bottom: 0.5rem;
}

.bz-mb-2 {
    margin-bottom: 1rem;
}

.bz-mb-3 {
    margin-bottom: 1.5rem;
}

.bz-mb-4 {
    margin-bottom: 2rem;
}

.bz-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bz-text-primary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, var(--bz-accent-purple), var(--bz-accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bz-flex {
    display: flex;
}

.bz-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.bz-gap-1 {
    gap: 0.5rem;
}

.bz-gap-2 {
    gap: 1rem;
}

.bz-gap-3 {
    gap: 1.5rem;
}

/* Theme Pills - Global */
.bz-theme-pills {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 0.375rem;
    margin-bottom: 2rem;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.bz-pill {
    background: transparent;
    border: 1px solid transparent;
    color: var(--bz-text-secondary, rgba(255, 255, 255, 0.6));
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bz-pill:hover {
    color: var(--bz-text-primary, rgba(255, 255, 255, 0.95));
    background: rgba(255, 255, 255, 0.05);
}

.bz-pill.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--bz-text-primary, rgba(255, 255, 255, 0.95));
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

/* Selected Title - Global */
.bz-selected-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--bz-accent-purple, #8b5cf6), var(--bz-accent-cyan, #22d3ee));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

/* Hero Section - Global */
.bz-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.bz-hero__content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.bz-hero__brand {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bz-text-muted, rgba(255, 255, 255, 0.5));
    margin-bottom: -0.5rem;
}

.bz-hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--bz-accent-purple, #8b5cf6), var(--bz-accent-cyan, #22d3ee));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bz-hero__subtitle {
    font-size: 1.25rem;
    color: var(--bz-text-secondary, rgba(255, 255, 255, 0.7));
    max-width: 500px;
    line-height: 1.6;
}

/* Theme Pills Mobile */
@media (max-width: 768px) {
    .bz-hero__title {
        font-size: 2rem;
    }

    .bz-hero__brand {
        font-size: 1rem;
    }

    .bz-hero__subtitle {
        font-size: 1rem;
    }

    .bz-theme-pills {
        border-radius: 16px;
        padding: 0.5rem;
    }

    .bz-pill {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
    }

    .bz-selected-title {
        font-size: 1.5rem;
    }
}

/* Install Box - Global */
.bz-install-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    position: relative;
    margin-top: 0.5rem;
    max-width: 100%;
    overflow-x: auto;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.bz-install-box__prompt {
    color: var(--bz-text-muted, rgba(255, 255, 255, 0.5));
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    flex-shrink: 0;
}

.bz-install-box__command {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9375rem;
    color: var(--bz-accent-cyan, #22d3ee);
    background: transparent;
    padding: 0;
    white-space: nowrap;
}

.bz-install-box__copy {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--bz-text-muted, rgba(255, 255, 255, 0.5));
    cursor: pointer;
    padding: 0.375rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.bz-install-box__copy:hover {
    color: var(--bz-text-primary, rgba(255, 255, 255, 0.95));
    background: rgba(255, 255, 255, 0.1);
}

.bz-install-box__tooltip {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: var(--bz-accent-purple, #8b5cf6);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    animation: bz-fadeInUp 0.2s ease;
}

@keyframes bz-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Install Box Mobile */
@media (max-width: 768px) {
    .bz-install-box {
        padding: 0.875rem 1rem;
        gap: 0.375rem;
    }

    .bz-install-box__prompt {
        font-size: 0.875rem;
    }

    .bz-install-box__command {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .bz-install-box {
        padding: 0.75rem 0.875rem;
        gap: 0.25rem;
    }

    .bz-install-box__prompt {
        display: block;
        font-size: 0.8125rem;
    }

    .bz-install-box__command {
        font-size: 0.6875rem;
    }

    .bz-install-box__copy {
        padding: 0.25rem;
    }

    .bz-install-box__copy svg {
        width: 16px;
        height: 16px;
    }
}

/* Hero Actions - Global */
.bz-hero__actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .bz-hero__actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }

    .bz-hero__actions .bz-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Bento presentation wrapper (Demo only) */

.bzb-presentation {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 100%;
}

.bzb-presentation__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
}

.bzb-presentation__title {
    font-size: 1.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.bzb-presentation__stage {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .bzb-presentation {
        padding: 2rem 1rem;
    }

    .bzb-presentation__title {
        font-size: 1.25rem;
    }

    .bzb-presentation__stage {
        padding: 1rem 0;
    }
}