:root {
  /* Brand Colors from AppTheme */
  --indigo: #6366f1;
  --emerald: #10b981;
  --rose: #f43f5e;
  
  /* Light Palette */
  --bg: #f1f5f9;
  --card: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --sidebar-bg: #ffffff;
  
  --primary: var(--indigo);
  --accent: var(--emerald);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --card: #1e293b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.05);
    --sidebar-bg: #0f172a;
  }
}

body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  padding: 2.5rem 2rem;
  position: sticky;
  top: 0;
  height: 100vh;
  box-sizing: border-box;
}

.sidebar h2 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.95rem;
  font-weight: 400;
}

.sidebar li a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.main {
  flex: 1;
  padding: 4rem 5rem;
  max-width: 900px;
}

.header {
  margin-bottom: 4rem;
}

.header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.content h1, .content h2, .content h3 {
  margin-top: 3rem;
  letter-spacing: -0.01em;
}

.content h2 {
  color: var(--primary);
  font-size: 1.75rem;
}

.content img {
  max-width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  margin: 2.5rem 0;
  border: 1px solid var(--border);
}

.card {
  background: var(--card);
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  border-color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

pre {
  background: var(--card);
  color: var(--text);
  padding: 1.5rem;
  border-radius: 16px;
  overflow-x: auto;
  border: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
}

blockquote {
  border-left: 4px solid var(--accent);
  margin-left: 0;
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--text-muted);
}
