/* ═══════════════════════════════════════════════════════════════
   DOCS CSS — TAG IT NETWORK DOCUMENTATION STYLES
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   DOCS LANDING PAGE STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Hero Section */
.docs-hero {
    padding: 120px 0 60px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.03) 0%, transparent 100%);
}

.docs-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

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

/* Search Box */
.docs-search {
    max-width: 500px;
    margin: 2rem auto 0;
    position: relative;
}

.docs-search input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: var(--neutral-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.docs-search input:focus {
    outline: none;
    border-color: var(--electric-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.docs-search input::placeholder {
    color: var(--muted-gray);
}

.docs-search svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--muted-gray);
}

.docs-search-shortcut {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.25rem 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--muted-gray);
    font-family: 'JetBrains Mono', monospace;
}

/* Testnet Notice Box */
.docs-notice {
    max-width: 600px;
    margin: 3.5rem auto 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.08) 0%, rgba(255, 152, 0, 0.05) 100%);
    border: 1px solid rgba(255, 193, 7, 0.25);
    border-left: 3px solid #FFC107;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
}

.docs-notice-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    line-height: 1.4;
}

.docs-notice-content {
    flex: 1;
}

.docs-notice-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFC107;
    margin: 0 0 0.35rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.docs-notice-content p {
    font-size: 0.875rem;
    color: var(--muted-gray);
    margin: 0;
    line-height: 1.5;
}

.docs-notice-content strong {
    color: var(--neutral-white);
    font-weight: 600;
}

.docs-notice-content a {
    color: var(--electric-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.docs-notice-content a:hover {
    color: #00FF88;
    text-decoration: underline;
}

/* Responsive Notice */
@media (max-width: 480px) {
    .docs-notice {
        padding: 0.875rem 1rem;
    }
    
    .docs-notice-content p {
        font-size: 0.8rem;
    }
}

/* Documentation Grid */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0 4rem;
}

/* Documentation Cards */
.docs-card {
    background: rgba(0, 212, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.docs-card:hover {
    border-color: var(--electric-blue);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1);
}

.docs-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--electric-blue), var(--circuit-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.docs-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--deep-carbon);
}

.docs-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--neutral-white);
}

.docs-card p {
    color: var(--muted-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.docs-card-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.docs-card-links a {
    color: var(--electric-blue);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.docs-card-links a:hover {
    color: var(--circuit-green);
}

.docs-card-links a svg {
    width: 16px;
    height: 16px;
}

/* API Section */
.api-section {
    padding: 4rem 0;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.api-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Code Blocks */
.code-block {
    background: #0d1117;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    margin: 2rem 0;
}

.code-header {
    background: rgba(0, 212, 255, 0.1);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.code-header span {
    font-size: 0.85rem;
    color: var(--muted-gray);
}

.code-header button {
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--electric-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.code-header button:hover {
    background: rgba(0, 212, 255, 0.1);
}

.code-header button.copied {
    background: rgba(0, 255, 136, 0.2);
    border-color: var(--circuit-green);
    color: var(--circuit-green);
}

.code-content {
    padding: 1.5rem;
    overflow-x: auto;
}

.code-content pre {
    margin: 0;
    font-family: 'JetBrains Mono', 'Fira Code', 'Monaco', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e6edf3;
}

/* Syntax Highlighting */
.code-content .keyword { color: #ff7b72; }
.code-content .string { color: #a5d6ff; }
.code-content .comment { color: #8b949e; }
.code-content .function { color: #d2a8ff; }
.code-content .variable { color: #ffa657; }
.code-content .number { color: #79c0ff; }
.code-content .property { color: #7ee787; }

/* Resources Section */
.resources-section {
    padding: 4rem 0;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.resources-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.resource-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(0, 212, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.resource-item:hover {
    border-color: var(--electric-blue);
    background: rgba(0, 212, 255, 0.05);
}

.resource-item svg {
    width: 32px;
    height: 32px;
    color: var(--electric-blue);
    flex-shrink: 0;
}

.resource-item div h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--neutral-white);
}

.resource-item div p {
    font-size: 0.85rem;
    color: var(--muted-gray);
    margin: 0;
}

/* SDK Badges */
.sdk-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.sdk-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: var(--neutral-white);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sdk-badge:hover {
    border-color: var(--electric-blue);
    background: rgba(0, 212, 255, 0.1);
}

.sdk-badge svg {
    width: 20px;
    height: 20px;
}

/* CTA Section */
.docs-cta-section {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.docs-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.docs-cta-section p {
    color: var(--muted-gray);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.docs-cta-buttons a {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════════════════════
   DOCS PAGE STYLES — THREE-COLUMN LAYOUT
   ═══════════════════════════════════════════════════════════════ */

/* Main Layout */
.docs-layout {
    display: grid;
    grid-template-columns: 280px 1fr 240px;
    gap: 0;
    min-height: calc(100vh - 80px);
    padding-top: 80px;
}

/* Left Sidebar */
.docs-sidebar {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    background: rgba(0, 212, 255, 0.02);
    border-right: 1px solid rgba(0, 212, 255, 0.1);
    padding: 2rem 0;
}

.docs-sidebar::-webkit-scrollbar {
    width: 4px;
}

.docs-sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 4px;
}

.docs-sidebar-header {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    margin-bottom: 1rem;
}

.docs-sidebar-header a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--neutral-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.docs-sidebar-header svg {
    width: 20px;
    height: 20px;
    color: var(--electric-blue);
}

/* Sidebar Navigation */
.docs-nav-section {
    padding: 0 1rem;
    margin-bottom: 1.5rem;
}

.docs-nav-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-gray);
    padding: 0.5rem;
    margin-bottom: 0.25rem;
}

.docs-nav-link {
    display: block;
    padding: 0.5rem;
    color: var(--muted-gray);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.docs-nav-link:hover {
    color: var(--neutral-white);
    background: rgba(0, 212, 255, 0.05);
}

.docs-nav-link.active {
    color: var(--electric-blue);
    background: rgba(0, 212, 255, 0.1);
}

.docs-nav-link-nested {
    padding-left: 1.5rem;
    font-size: 0.85rem;
}

/* Main Content Area */
.docs-content {
    padding: 3rem;
    max-width: 900px;
}

.docs-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--muted-gray);
    margin-bottom: 1.5rem;
}

.docs-breadcrumb a {
    color: var(--muted-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.docs-breadcrumb a:hover {
    color: var(--electric-blue);
}

.docs-breadcrumb span {
    color: var(--electric-blue);
}

/* Content Typography */
.docs-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.docs-content h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.docs-content h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.docs-content h4 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.docs-content p {
    color: var(--muted-gray);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.docs-content a {
    color: var(--electric-blue);
    text-decoration: none;
}

.docs-content a:hover {
    text-decoration: underline;
}

.docs-content ul,
.docs-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--muted-gray);
}

.docs-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.docs-content strong {
    color: var(--neutral-white);
}

/* Inline Code */
.docs-content code:not(pre code) {
    background: rgba(0, 212, 255, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85em;
    color: var(--electric-blue);
}

/* Code Blocks in Docs */
.docs-content pre {
    background: #0d1117;
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 8px;
    padding: 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    position: relative;
}

.docs-content pre code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #e6edf3;
}

/* Copy Button for Code Blocks */
.code-copy-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.4rem 0.6rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 4px;
    color: var(--muted-gray);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
}

.docs-content pre:hover .code-copy-btn {
    opacity: 1;
}

.code-copy-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    color: var(--electric-blue);
}

.code-copy-btn.copied {
    background: rgba(0, 255, 136, 0.2);
    border-color: var(--circuit-green);
    color: var(--circuit-green);
}

/* Tables */
.docs-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.docs-content th,
.docs-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.docs-content th {
    background: rgba(0, 212, 255, 0.05);
    color: var(--neutral-white);
    font-weight: 600;
}

.docs-content td {
    color: var(--muted-gray);
}

.docs-content tr:hover td {
    background: rgba(0, 212, 255, 0.02);
}

/* Callout Boxes */
.docs-callout {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid;
}

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

.docs-callout-title svg {
    width: 18px;
    height: 18px;
}

.docs-callout p {
    margin: 0;
}

.docs-callout-info {
    background: rgba(0, 212, 255, 0.05);
    border-color: var(--electric-blue);
}

.docs-callout-info .docs-callout-title {
    color: var(--electric-blue);
}

.docs-callout-warning {
    background: rgba(255, 165, 2, 0.05);
    border-color: var(--warning-amber);
}

.docs-callout-warning .docs-callout-title {
    color: var(--warning-amber);
}

.docs-callout-danger {
    background: rgba(255, 71, 87, 0.05);
    border-color: var(--danger-red);
}

.docs-callout-danger .docs-callout-title {
    color: var(--danger-red);
}

.docs-callout-success {
    background: rgba(0, 255, 136, 0.05);
    border-color: var(--circuit-green);
}

.docs-callout-success .docs-callout-title {
    color: var(--circuit-green);
}

/* Right Sidebar — Table of Contents */
.docs-toc {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 2rem 1.5rem;
    border-left: 1px solid rgba(0, 212, 255, 0.1);
}

.docs-toc::-webkit-scrollbar {
    width: 4px;
}

.docs-toc::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 4px;
}

.docs-toc-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-gray);
    margin-bottom: 1rem;
}

.docs-toc-link {
    display: block;
    padding: 0.4rem 0;
    color: var(--muted-gray);
    text-decoration: none;
    font-size: 0.85rem;
    border-left: 2px solid transparent;
    padding-left: 1rem;
    margin-left: -1rem;
    transition: all 0.2s ease;
}

.docs-toc-link:hover {
    color: var(--neutral-white);
}

.docs-toc-link.active {
    color: var(--electric-blue);
    border-left-color: var(--electric-blue);
}

.docs-toc-link-h3 {
    padding-left: 1.75rem;
    margin-left: -1rem;
    font-size: 0.8rem;
}

/* Page Navigation */
.docs-page-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.docs-page-nav-item {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: rgba(0, 212, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.docs-page-nav-item:hover {
    border-color: var(--electric-blue);
    background: rgba(0, 212, 255, 0.05);
}

.docs-page-nav-item.prev {
    align-items: flex-start;
}

.docs-page-nav-item.next {
    align-items: flex-end;
    text-align: right;
}

.docs-page-nav-label {
    font-size: 0.75rem;
    color: var(--muted-gray);
    margin-bottom: 0.5rem;
}

.docs-page-nav-title {
    color: var(--electric-blue);
    font-weight: 600;
}

/* Edit Page Link */
.docs-edit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 0.5rem 1rem;
    color: var(--muted-gray);
    font-size: 0.85rem;
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.docs-edit-link:hover {
    color: var(--electric-blue);
    border-color: var(--electric-blue);
}

.docs-edit-link svg {
    width: 16px;
    height: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   SEARCH MODAL
   ═══════════════════════════════════════════════════════════════ */

.docs-search-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    background: rgba(10, 14, 20, 0.9);
    backdrop-filter: blur(4px);
}

.docs-search-modal.active {
    display: flex;
}

.docs-search-modal-content {
    width: 100%;
    max-width: 600px;
    background: var(--carbon-gray);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.docs-search-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.docs-search-modal-header svg {
    width: 20px;
    height: 20px;
    color: var(--muted-gray);
    flex-shrink: 0;
}

.docs-search-modal-header input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--neutral-white);
    font-size: 1rem;
    outline: none;
}

.docs-search-modal-header input::placeholder {
    color: var(--muted-gray);
}

.docs-search-modal-close {
    padding: 0.25rem 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 4px;
    color: var(--muted-gray);
    font-size: 0.75rem;
    cursor: pointer;
}

.docs-search-results {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
}

.docs-search-result {
    display: block;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.docs-search-result:hover,
.docs-search-result.selected {
    background: rgba(0, 212, 255, 0.1);
}

.docs-search-result-title {
    color: var(--neutral-white);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.docs-search-result-section {
    color: var(--muted-gray);
    font-size: 0.85rem;
}

.docs-search-result-highlight {
    background: rgba(0, 212, 255, 0.3);
    color: var(--neutral-white);
    padding: 0 0.25rem;
    border-radius: 2px;
}

.docs-search-empty {
    text-align: center;
    padding: 2rem;
    color: var(--muted-gray);
}

.docs-search-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    font-size: 0.75rem;
    color: var(--muted-gray);
}

.docs-search-footer kbd {
    padding: 0.2rem 0.4rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 4px;
    margin: 0 0.25rem;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE SIDEBAR
   ═══════════════════════════════════════════════════════════════ */

.docs-mobile-header {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--deep-carbon);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    padding: 1rem;
}

.docs-mobile-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: var(--neutral-white);
    font-size: 0.9rem;
    cursor: pointer;
}

.docs-mobile-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--electric-blue);
}

.docs-mobile-toggle-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.docs-mobile-toggle.active .docs-mobile-toggle-arrow {
    transform: rotate(180deg);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Large screens */
@media (max-width: 1280px) {
    .docs-toc {
        display: none;
    }

    .docs-layout {
        grid-template-columns: 280px 1fr;
    }
}

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

    .docs-sidebar {
        display: none;
        position: fixed;
        top: 140px;
        left: 0;
        right: 0;
        height: calc(100vh - 140px);
        z-index: 99;
        background: var(--deep-carbon);
    }

    .docs-sidebar.active {
        display: block;
    }

    .docs-mobile-header {
        display: block;
    }

    .docs-content {
        padding: 2rem 1.5rem;
        padding-top: calc(60px + 2rem);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .docs-hero {
        padding: 100px 0 40px;
    }

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

    .docs-hero p {
        font-size: 1rem;
    }

    .docs-grid {
        gap: 1rem;
        padding: 2rem 0;
    }

    .docs-card {
        padding: 1.5rem;
    }

    .sdk-badges {
        gap: 0.75rem;
    }

    .sdk-badge {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .docs-content {
        padding: 1.5rem 1rem;
        padding-top: calc(60px + 1.5rem);
    }

    .docs-content h1 {
        font-size: 1.75rem;
    }

    .docs-content h2 {
        font-size: 1.4rem;
        margin-top: 2rem;
    }

    .docs-content h3 {
        font-size: 1.15rem;
    }

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

    .docs-page-nav-item.next {
        align-items: flex-start;
        text-align: left;
    }

    .code-block {
        border-radius: 8px;
        margin: 1rem -1rem;
        border-left: none;
        border-right: none;
    }

    .docs-content pre {
        border-radius: 0;
        margin: 1rem -1rem;
        padding: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .docs-search-shortcut {
        display: none;
    }

    .docs-card-icon {
        width: 40px;
        height: 40px;
    }

    .docs-card-icon svg {
        width: 20px;
        height: 20px;
    }
}
