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

:root {
  --bg: #07070a;
  --bg-nav: rgba(7, 7, 10, 0.7);
  --bg-sidebar: rgba(10, 10, 14, 0.6);
  --bg-card: rgba(18, 18, 26, 0.4);
  --bg-card-hover: rgba(30, 30, 48, 0.6);
  --bg-code: #0a0d14;
  --border: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(88, 101, 242, 0.6);
  --text: #f0f0f5;
  --text-muted: #9ba1b0;
  --text-dim: #60667b;
  --accent: #5865F2;
  --accent-light: #949df5;
  --accent-glow: rgba(88, 101, 242, 0.2);
  --green: #57f287;
  --yellow: #fee75c;
  --red: #ed4245;
  --nav-h: 68px;
  --side-w: 280px;
  --toc-w: 240px;
  --content-max: 860px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --font-head: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 40px); overflow-x: hidden; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; position: relative; width: 100%; }
a { color: var(--accent-light); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: #fff; }
img { max-width: 100%; display: block; border-radius: var(--r-sm); }
hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); margin: 64px 0; }
::selection { background: rgba(88,101,242,0.4); color: #fff; }

/* ═══ Animated Background ══════════════════════════════ */
.ambient-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); width: 100%; height: 100%; }
.bg-orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15; animation: float 20s infinite alternate var(--ease); will-change: transform; }
.orb-1 { width: 500px; height: 500px; background: var(--accent); top: -10%; left: -5%; }
.orb-2 { width: 400px; height: 400px; background: #9b59b6; top: 40%; right: 0; animation-delay: -5s; animation-duration: 25s; opacity: 0.1; }
.orb-3 { width: 450px; height: 450px; background: var(--accent); bottom: -10%; left: 20%; animation-delay: -10s; opacity: 0.12; }

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(2%, 5%) scale(1.05); }
  100% { transform: translate(-2%, -3%) scale(0.95); }
}

/* ═══ Scrollbar ════════════════════════════════════════ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ═══ Navbar ═══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  height: var(--nav-h); background: var(--bg-nav);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-glass); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; max-width: 100vw; overflow: hidden;
}
.navbar-left { display: flex; align-items: center; gap: 12px; min-width: 0; overflow: hidden; }
.navbar-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.brand { display: flex; align-items: center; text-decoration: none; min-width: 0; overflow: hidden; }
.brand-logo { height: 36px; width: auto; object-fit: contain; border-radius: 6px; transition: transform 0.3s var(--ease); flex-shrink: 0; }
.brand-logo:hover { transform: scale(1.04); }
.version-badge { font-family: var(--mono); font-weight: 600; font-size: 0.72rem; color: var(--accent-light); background: var(--accent-glow); border: 1px solid rgba(88,101,242,0.3); padding: 3px 10px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }

.nav-icon-link {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r-sm);
  color: var(--text-muted); transition: all 0.2s var(--ease); flex-shrink: 0;
}
.nav-icon-link svg { width: 20px; height: 20px; }
.nav-icon-link:hover { color: #fff; background: rgba(255,255,255,0.08); }

.sidebar-toggle {
  display: none; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--text);
  cursor: pointer; width: 36px; height: 36px; border-radius: var(--r-sm); transition: background 0.2s; flex-shrink: 0;
}
.sidebar-toggle svg { width: 20px; height: 20px; }
.sidebar-toggle:hover { background: rgba(255,255,255,0.12); }

/* ═══ Layout ═══════════════════════════════════════════ */
.layout { display: flex; margin-top: var(--nav-h); min-height: calc(100vh - var(--nav-h)); }

/* ═══ Left Sidebar ═════════════════════════════════════ */
.sidebar {
  position: fixed; top: var(--nav-h); left: 0; bottom: 0;
  width: var(--side-w); background: var(--bg-sidebar); 
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-glass);
  overflow-y: auto; padding: 32px 16px 32px 32px; z-index: 40;
  transition: transform 0.4s var(--ease);
}
.nav-group { list-style: none; margin-bottom: 28px; }
.nav-title { font-family: var(--font-head); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; color: var(--text-dim); padding: 0 12px; margin-bottom: 10px; }
.nav-link {
  display: block; padding: 8px 14px; border-radius: var(--r-sm);
  color: var(--text-muted); font-size: 0.92rem; font-weight: 500;
  transition: all 0.2s var(--ease); border-left: 3px solid transparent; margin-left: -3px;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-link.active { color: #fff; background: var(--accent-glow); border-left-color: var(--accent); font-weight: 600; text-shadow: 0 0 12px rgba(88,101,242,0.4); }

.sidebar-overlay { display: none; position: fixed; inset: 0; z-index: 35; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s ease; }
.sidebar-overlay.is-open { display: block; opacity: 1; }

/* ═══ Main Content ═════════════════════════════════════ */
.main-content {
  flex: 1; margin-left: var(--side-w); margin-right: var(--toc-w);
  padding: 56px 64px; min-width: 0;
}
.content-wrapper { max-width: var(--content-max); margin: 0 auto; }

.docs-section { margin-bottom: 64px; scroll-margin-top: calc(var(--nav-h) + 32px); }
.docs-section h2 { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; margin-bottom: 16px; }
.docs-section h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: #fff; margin: 36px 0 12px; }
.docs-section > p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 24px; line-height: 1.75; }

.fn-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 800; font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 0.08em; background: rgba(87,242,135,0.15); color: var(--green);
  padding: 4px 12px; border-radius: 20px; border: 1px solid rgba(87,242,135,0.3); margin-bottom: 16px;
}

/* ═══ Hero Block ═══════════════════════════════════════ */
.hero-block { text-align: center; padding: 60px 0 64px; position: relative; }
.hero-logo { max-width: 320px; height: auto; margin: 0 auto 32px; filter: drop-shadow(0 20px 50px rgba(88,101,242,0.4)); animation: hero-float 6s ease-in-out infinite; }
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-title {
  font-family: var(--font-head); font-size: 3.5rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 10%, #d4dbff 50%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 0 0 40px rgba(88,101,242,0.2);
}
.hero-subtitle { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 32px; line-height: 1.7; }
.hero-badges { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-badges img { height: 24px; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

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

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 100px; font-family: var(--font-head);
  font-size: 0.95rem; font-weight: 700; border: none; cursor: pointer;
  transition: all 0.3s var(--ease); text-decoration: none; position: relative; overflow: hidden;
}
.btn-primary { 
  background: linear-gradient(135deg, #5865F2, #7289da); color: #fff; 
  box-shadow: 0 8px 24px rgba(88,101,242,0.3); border: 1px solid rgba(255,255,255,0.1); 
}
.btn-primary:before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent); transform: translateX(-100%); transition: transform 0.6s ease; }
.btn-primary:hover { box-shadow: 0 12px 32px rgba(88,101,242,0.5); transform: translateY(-2px); }
.btn-primary:hover:before { transform: translateX(100%); }
.btn-ghost { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

/* ═══ Feature Chips ════════════════════════════════════ */
.feature-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.feature-chip {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
  background: rgba(255,255,255,0.03); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 18px; border-radius: 30px; transition: all 0.25s var(--ease); box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.feature-chip:hover { border-color: var(--accent); color: #fff; background: rgba(88,101,242,0.1); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(88,101,242,0.2); }
.chip-icon { font-size: 1rem; }

/* ═══ Info Boxes ═══════════════════════════════════════ */
.info-box {
  display: flex; gap: 16px; padding: 22px 26px; border-radius: var(--r-md); margin-bottom: 32px; line-height: 1.6;
  background: linear-gradient(135deg, rgba(88,101,242,0.1) 0%, rgba(88,101,242,0.03) 100%);
  border: 1px solid rgba(88,101,242,0.3); box-shadow: 0 12px 32px rgba(0,0,0,0.15); backdrop-filter: blur(8px);
}
.info-warning { background: linear-gradient(135deg, rgba(254,231,92,0.08) 0%, rgba(254,231,92,0.02) 100%); border-color: rgba(254,231,92,0.3); }
.info-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.info-body strong { font-family: var(--font-head); color: #fff; font-size: 1.05rem; display: block; margin-bottom: 6px; }
.info-body p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ═══ Code Blocks ══════════════════════════════════════ */
.code-block {
  background: var(--bg-code); border: 1px solid var(--border-glass); box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  border-radius: var(--r-md); overflow: hidden; margin-bottom: 32px;
}
.code-header {
  display: flex; justify-content: space-between; align-items: center; padding: 0 20px; height: 48px;
  background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--border-glass);
}
.code-filename { font-family: var(--mono); font-size: 0.85rem; color: var(--text-dim); font-weight: 500; }
.code-tabs { display: flex; height: 100%; gap: 4px; padding-top: 6px; }
.code-tab {
  background: none; border: none; border-bottom: 2px solid transparent; color: var(--text-muted); font-family: var(--font-head);
  font-size: 0.85rem; padding: 0 16px; cursor: pointer; font-weight: 600; transition: all 0.2s var(--ease);
}
.code-tab:hover { color: var(--text); background: rgba(255,255,255,0.04); border-top-left-radius: 6px; border-top-right-radius: 6px; }
.code-tab.active { color: var(--accent-light); border-bottom-color: var(--accent); }

.copy-btn {
  display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: var(--text);
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  cursor: pointer; padding: 6px 12px; border-radius: var(--r-sm); transition: all 0.2s var(--ease);
}
.copy-btn:hover { color: #fff; background: var(--accent); border-color: var(--accent); }

.code-pane { display: none; margin: 0; padding: 24px; overflow-x: auto; font-family: var(--mono); font-size: 0.88rem; line-height: 1.7; color: #e6edf3; }
.code-pane.active { display: block; }
pre:not(.code-pane) { margin: 0; padding: 24px; overflow-x: auto; font-family: var(--mono); font-size: 0.88rem; line-height: 1.7; color: #e6edf3; }
pre code, .code-pane code { font-family: var(--mono); background: transparent; padding: 0; font-size: inherit; }
code:not(pre code) { font-family: var(--mono); background: rgba(255,255,255,0.08); padding: 3px 6px; border-radius: 4px; font-size: 0.85em; color: #fff; }

.kw { color: #ff7b72; } .fn { color: #d2a8ff; } .s { color: #a5d6ff; } .p { color: #79c0ff; } .n { color: #79c0ff; } .cm { color: #8b949e; font-style: italic; } .tp { color: #f2cc60; }

/* ═══ API Tables ═══════════════════════════════════════ */
.api-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 32px; font-size: 0.95rem; border: 1px solid var(--border-glass); border-radius: var(--r-md); overflow: hidden; }
.api-table th {
  text-align: left; padding: 16px 20px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--border-glass);
  color: #fff; font-family: var(--font-head); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
}
.api-table td { padding: 16px 20px; border-bottom: 1px solid var(--border-glass); color: var(--text-muted); vertical-align: top; background: rgba(0,0,0,0.2); }
.api-table tr:last-child td { border-bottom: none; }
.api-table td:first-child code { color: var(--accent-light); background: rgba(88,101,242,0.15); font-weight: 500; }

/* ═══ Showcase Grid ════════════════════════════════════ */
.showcase-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.showcase-card {
  background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: var(--r-md);
  overflow: hidden; cursor: zoom-in; transition: all 0.3s var(--ease);
  position: relative; backdrop-filter: blur(8px);
}
.showcase-card:before { content: ''; position: absolute; inset: 0; border-radius: var(--r-md); padding: 1px; background: linear-gradient(135deg, rgba(88,101,242,0.5), transparent); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.showcase-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.showcase-card:hover:before { opacity: 1; }
.showcase-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 0; transition: transform 0.5s ease; }
.showcase-card:hover img { transform: scale(1.05); }
.showcase-card span { display: block; padding: 14px; font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; color: #fff; text-align: center; border-top: 1px solid var(--border-glass); background: rgba(0,0,0,0.4); position: relative; z-index: 2; }

/* ═══ Browser Frame (Demo) ═════════════════════════════ */
.browser-frame { border: 1px solid var(--border-glass); border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(0,0,0,0.6); }
.browser-chrome { display: flex; align-items: center; gap: 16px; padding: 14px 20px; background: rgba(255,255,255,0.05); border-bottom: 1px solid var(--border-glass); backdrop-filter: blur(10px); }
.browser-dots { display: flex; gap: 8px; }
.browser-dots span { width: 12px; height: 12px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27c93f; }
.browser-url { flex: 1; text-align: center; font-family: var(--mono); font-size: 0.8rem; color: var(--text-dim); background: rgba(0,0,0,0.3); padding: 6px 16px; border-radius: 12px; }
.browser-external { color: var(--text-dim); display: flex; align-items: center; transition: color 0.2s; }
.browser-external:hover { color: #fff; }
.browser-body { position: relative; height: 600px; background: #313338; }
.demo-iframe { width: 100%; height: 100%; border: none; }
.demo-fallback { position: absolute; inset: 0; background: var(--bg); display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.demo-fallback h3 { font-family: var(--font-head); font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
.demo-fallback p { color: var(--text-muted); font-size: 1rem; }

/* ═══ Right Sidebar (TOC) ═════════════════════════════ */
.toc-sidebar { position: fixed; top: var(--nav-h); right: 0; bottom: 0; width: var(--toc-w); padding: 56px 32px; overflow-y: auto; z-index: 30; }
.toc-inner { border-left: 1px solid var(--border-glass); padding-left: 20px; }
.toc-heading { font-family: var(--font-head); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; color: var(--text-dim); margin-bottom: 16px; }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.toc-list a { color: var(--text-muted); font-size: 0.88rem; font-weight: 500; display: block; transition: all 0.2s; position: relative; }
.toc-list a:hover { color: #fff; transform: translateX(2px); }
.toc-list a.active { color: var(--accent-light); font-weight: 600; transform: translateX(4px); }
.toc-list a.active:before { content:''; position: absolute; left: -25px; top: 50%; transform: translateY(-50%); width: 3px; height: 16px; background: var(--accent); border-radius: 4px; }

/* ═══ Footer ═══════════════════════════════════════════ */
.docs-footer { border-top: 1px solid var(--border-glass); padding: 40px 0; margin-top: 64px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-inner p { color: var(--text-muted); font-size: 0.9rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.footer-links a:hover { color: #fff; }

/* ═══ Lightbox ═════════════════════════════════════════ */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 1000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(16px); cursor: zoom-out; animation: lb-in 0.3s cubic-bezier(0.2,0.8,0.2,1); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--r-md); box-shadow: 0 40px 100px rgba(0,0,0,0.8); cursor: default; }
.lightbox-close { position: absolute; top: 24px; right: 24px; background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); font-size: 1.6rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; backdrop-filter: blur(8px); }
.lightbox-close:hover { background: rgba(255,255,255,0.2); transform: scale(1.05); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* ═══ Responsive ═══════════════════════════════════════ */
@media (max-width: 1200px) {
  .toc-sidebar { display: none; }
  .main-content { margin-right: 0; }
}

@media (max-width: 860px) {
  :root { --nav-h: 56px; }
  .sidebar-toggle { display: flex; }
  .navbar { padding: 0 16px; }
  .navbar-left { gap: 10px; }
  .brand-logo { height: 32px; }
  .sidebar { transform: translateX(-100%); background: rgba(10,10,14,0.95); backdrop-filter: blur(30px); border-right: 1px solid var(--border-glass); box-shadow: 10px 0 40px rgba(0,0,0,0.8); width: 280px; }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar-overlay.is-open { display: block; opacity: 1; }
  .main-content { margin-left: 0; padding: 40px 20px; }
  .hero-title { font-size: 2.4rem; }
  .hero-logo { max-width: 220px; margin-bottom: 24px; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
  .feature-strip { gap: 8px; margin-bottom: 28px; }
  .feature-chip { font-size: 0.78rem; padding: 6px 12px; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .browser-body { height: 380px; }
  .api-table { font-size: 0.82rem; }
  .api-table th, .api-table td { padding: 10px 12px; }
  .docs-section h2 { font-size: 1.7rem; }
  .ambient-bg { opacity: 0.5; }
  .code-block { margin-bottom: 24px; }
  .code-header { padding: 0 14px; height: 42px; }
  .code-pane, pre:not(.code-pane) { padding: 16px; font-size: 0.82rem; }
  .info-box { padding: 16px 18px; flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  :root { --nav-h: 52px; }
  .navbar { padding: 0 12px; }
  .navbar-left { gap: 8px; }
  .navbar-right { gap: 2px; }
  .nav-icon-link { width: 32px; height: 32px; }
  .nav-icon-link svg { width: 18px; height: 18px; }
  .brand-logo { height: 28px; }
  .sidebar-toggle { width: 32px; height: 32px; }
  .sidebar-toggle svg { width: 18px; height: 18px; }
  .version-badge { display: none; }
  .main-content { padding: 28px 14px; }
  .hero-block { padding: 32px 0 40px; }
  .hero-title { font-size: 1.8rem; }
  .hero-logo { max-width: 180px; margin-bottom: 20px; }
  .hero-subtitle { font-size: 0.92rem; }
  .hero-badges { gap: 6px; margin-bottom: 24px; }
  .hero-badges img { height: 20px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .docs-section h2 { font-size: 1.45rem; }
  .docs-section h3 { font-size: 1.1rem; }
  .docs-section > p { font-size: 0.95rem; }
  .feature-chip { font-size: 0.72rem; padding: 5px 10px; }
  .bg-orb { filter: blur(80px); opacity: 0.08; }
  .browser-body { height: 300px; }
  .api-table { display: block; overflow-x: auto; }
  .code-pane, pre:not(.code-pane) { padding: 14px; font-size: 0.78rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
