/* ═══════════════════════════════════════════════════════════
   AXON Documentation — Design System
   Shared across all pages
   ═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ─── DESIGN TOKENS ─── */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1424;
  --bg-tertiary: #141b2d;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-code: #0d1117;
  --bg-hover: rgba(255, 255, 255, 0.05);

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 212, 255, 0.3);

  --text-primary: #e8eaf0;
  --text-secondary: #9ca3b4;
  --text-muted: #636e82;
  --text-code: #e0e6f0;

  --accent-cyan: #00d4ff;
  --accent-violet: #7b2ff7;
  --accent-gradient: linear-gradient(135deg, #00d4ff, #7b2ff7);
  --accent-gradient-h: linear-gradient(90deg, #00d4ff, #7b2ff7);

  --syn-keyword: #00d4ff;
  --syn-type: #ff9f43;
  --syn-operator: #2ed573;
  --syn-string: #ffa502;
  --syn-number: #e056fd;
  --syn-comment: #636e72;
  --syn-paren: #b2bec3;

  --sidebar-width: 260px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.1);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: rgba(0, 212, 255, 0.25);
  color: #fff;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ═══════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════ */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: rgba(10, 14, 26, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-glass);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-slow);
  overflow: hidden;
}

.sidebar-header {
  padding: 24px 20px 16px;
  border-bottom: 1px solid var(--border-glass);
  flex-shrink: 0;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.sidebar-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.sidebar-logo-text {
  display: flex;
  flex-direction: column;
}

.sidebar-logo-text strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-logo-text span {
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-weight: 500;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}

.sidebar-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 16px 20px 6px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
}

.sidebar-link:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.sidebar-link.active {
  color: var(--accent-cyan);
  border-left-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
}

.sidebar-link .icon {
  font-size: 15px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-glass);
  flex-shrink: 0;
}

.sidebar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.sidebar-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ═══════════════════════════════════════════════
   HAMBURGER / MOBILE
   ═══════════════════════════════════════════════ */
.hamburger {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(10, 14, 26, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all var(--transition-base);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 90;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.overlay.active { opacity: 1; }

/* ═══════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════ */
.main {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 48px 100px;
}

/* ═══════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════ */
h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

h1 .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-primary);
}

h2 .section-icon { margin-right: 10px; font-size: 22px; }

h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-top: 20px;
  margin-bottom: 8px;
}

p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-size: 14.5px;
}

strong { color: var(--text-primary); font-weight: 600; }

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: #33ddff; text-decoration: underline; }

ul, ol { margin-bottom: 16px; padding-left: 24px; }
li {
  color: var(--text-secondary);
  font-size: 14.5px;
  margin-bottom: 5px;
}
li::marker { color: var(--accent-cyan); }

hr {
  border: none;
  height: 1px;
  background: var(--border-glass);
  margin: 40px 0;
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero-tagline {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.badge:hover {
  border-color: var(--border-accent);
  background: rgba(0, 212, 255, 0.05);
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

.badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.badge .badge-dot.cyan { background: var(--accent-cyan); }
.badge .badge-dot.violet { background: var(--accent-violet); }
.badge .badge-dot.orange { background: #ff9f43; }
.badge .badge-dot.green { background: #2ed573; }

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 212, 255, 0.35);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  border-color: var(--border-accent);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ═══════════════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.feature-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: rgba(0, 212, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.feature-card .feature-icon {
  font-size: 22px;
  margin-bottom: 8px;
  display: block;
}

.feature-card h4 {
  font-size: 14px;
  color: var(--text-primary);
  margin: 0 0 4px;
  font-weight: 600;
}

.feature-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   ARCHITECTURE DIAGRAM
   ═══════════════════════════════════════════════ */
.arch-diagram {
  background: var(--bg-code);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  overflow-x: auto;
  margin: 20px 0;
  white-space: pre;
}

.arch-diagram .hl-cyan { color: var(--accent-cyan); }
.arch-diagram .hl-violet { color: var(--accent-violet); }
.arch-diagram .hl-orange { color: #ff9f43; }
.arch-diagram .hl-green { color: #2ed573; }
.arch-diagram .hl-muted { color: var(--text-muted); }

/* ═══════════════════════════════════════════════
   CODE BLOCKS
   ═══════════════════════════════════════════════ */
.code-block-wrapper {
  position: relative;
  margin: 14px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.code-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-glass);
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.code-block {
  background: var(--bg-code);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-code);
  position: relative;
}

.code-block-wrapper .code-block {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: none;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 11px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 5;
}

.copy-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--text-primary); }
.copy-btn.copied { color: #2ed573; border-color: rgba(46, 213, 115, 0.3); }

pre { margin: 0; }

code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

p code, li code, td code, h3 code, h4 code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 12.5px;
  color: var(--accent-cyan);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Syntax highlighting */
.syn-kw { color: var(--syn-keyword); }
.syn-ty { color: var(--syn-type); }
.syn-op { color: var(--syn-operator); }
.syn-str { color: var(--syn-string); }
.syn-num { color: var(--syn-number); }
.syn-cmt { color: var(--syn-comment); font-style: italic; }
.syn-paren { color: var(--syn-paren); }

/* ═══════════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════════ */
.table-wrapper {
  overflow-x: auto;
  margin: 14px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

thead th {
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-glass);
}

tbody td {
  padding: 9px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.015); }
tbody tr:hover { background: rgba(0, 212, 255, 0.03); }
tbody tr:last-child td { border-bottom: none; }
td code { color: var(--syn-keyword) !important; }

/* ═══════════════════════════════════════════════
   TABS
   ═══════════════════════════════════════════════ */
.tabs-container {
  margin: 16px 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  background: var(--bg-card);
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
}

.tab-btn {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition-fast);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tab-btn:hover { color: var(--text-secondary); }

.tab-btn.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
}

.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content .code-block { border: none; border-radius: 0; margin: 0; }

/* ═══════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.stat-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

.stat-card:hover {
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.stat-card .stat-icon { font-size: 22px; margin-bottom: 6px; }

.stat-card .stat-value {
  font-size: 26px;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2px;
}

.stat-card .stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════
   CALLOUT
   ═══════════════════════════════════════════════ */
.callout {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin: 14px 0;
  font-size: 13.5px;
}

.callout.info {
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  color: var(--text-secondary);
}

.callout.warning {
  background: rgba(255, 159, 67, 0.06);
  border: 1px solid rgba(255, 159, 67, 0.15);
  color: #ff9f43;
}

.callout.critical {
  background: rgba(255, 71, 87, 0.06);
  border: 1px solid rgba(255, 71, 87, 0.15);
  color: #ff4757;
}

.callout.success {
  background: rgba(46, 213, 115, 0.06);
  border: 1px solid rgba(46, 213, 115, 0.15);
  color: #2ed573;
}

.callout strong { display: block; margin-bottom: 4px; }

/* ═══════════════════════════════════════════════
   REFERENCE GRID (quick ref cards)
   ═══════════════════════════════════════════════ */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.ref-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
}

.ref-card h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.ref-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 12.5px;
}

.ref-item span { color: var(--text-muted); }
.ref-item code {
  font-size: 11.5px !important;
  padding: 1px 6px !important;
}

/* ═══════════════════════════════════════════════
   ANTI-PATTERN / EXAMPLE CARDS
   ═══════════════════════════════════════════════ */
.anti-pattern {
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin: 14px 0;
  overflow: hidden;
}

.anti-pattern-header {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #ff4757;
  background: rgba(255, 71, 87, 0.06);
  border-bottom: 1px solid var(--border-glass);
}

.anti-pattern-body { padding: 12px 16px; }

.label-wrong {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ff4757;
  margin-bottom: 4px;
}

.label-correct {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #2ed573;
  margin: 10px 0 4px;
}

/* ═══════════════════════════════════════════════
   PIPELINE STATUS
   ═══════════════════════════════════════════════ */
.pipeline-status {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pipeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pipeline-badge.passing {
  background: rgba(46, 213, 115, 0.1);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.2);
}

.pipeline-badge .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}

.pipeline-info {
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid var(--border-glass);
  text-align: center;
}

.site-footer p {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   SECTION TRANSITIONS
   ═══════════════════════════════════════════════ */
.section {
  padding-top: 24px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   BACKGROUND EFFECTS
   ═══════════════════════════════════════════════ */
.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.04;
  pointer-events: none;
  z-index: -1;
}

.bg-glow-1 {
  background: var(--accent-cyan);
  top: -200px;
  right: -200px;
}

.bg-glow-2 {
  background: var(--accent-violet);
  bottom: -200px;
  left: -100px;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .main {
    margin-left: 0;
  }

  .content-wrapper {
    padding: 72px 24px 80px;
  }

  h1 { font-size: 30px; }
  h2 { font-size: 22px; }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .content-wrapper {
    padding: 72px 16px 60px;
  }

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