/* Venshack Docs - Shared Styles (Light Theme) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

:root {
 /* Venshack Brand Colors */
 --brand-50: #ecfdf5;
 --brand-100: #d1fae5;
 --brand-200: #a7f3d0;
 --brand-400: #34d399;
 --brand-500: #10b981;
 --brand-600: #059669;
 --brand-700: #047857;

 /* Slate Scale */
 --slate-50: #f8fafc;
 --slate-100: #f1f5f9;
 --slate-200: #e2e8f0;
 --slate-300: #cbd5e1;
 --slate-400: #94a3b8;
 --slate-500: #64748b;
 --slate-600: #475569;
 --slate-700: #334155;
 --slate-800: #1e293b;
 --slate-900: #0f172a;

 /* Functional */
 --success: #10b981;
 --warning: #f59e0b;
 --error: #ef4444;
 --info: #3b82f6;
}

body {
 font-family:
  'Inter',
  -apple-system,
  BlinkMacSystemFont,
  'Segoe UI',
  Roboto,
  sans-serif;
 background: #ffffff;
 color: var(--slate-900);
 line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
 font-family: 'Outfit', 'Inter', sans-serif;
 color: var(--slate-900);
}

/* Header */
.header {
 background: #ffffff;
 border-bottom: 1px solid var(--slate-200);
 padding: 1rem 2rem;
 display: flex;
 align-items: center;
 justify-content: space-between;
 position: sticky;
 top: 0;
 z-index: 100;
}

.logo {
 font-family: 'Outfit', sans-serif;
 font-size: 1.25rem;
 font-weight: 700;
 color: var(--slate-900);
 text-decoration: none;
 display: flex;
 align-items: center;
 gap: 0.5rem;
}

.logo span {
 color: var(--brand-600);
}

.nav {
 display: flex;
 gap: 2rem;
}

.nav a {
 color: var(--slate-500);
 text-decoration: none;
 font-size: 0.9rem;
 font-weight: 500;
 transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
 color: var(--slate-900);
}

/* Layout */
.layout {
 display: flex;
 max-width: 1400px;
 margin: 0 auto;
}

.sidebar {
 width: 250px;
 padding: 2rem 1rem;
 border-right: 1px solid var(--slate-200);
 position: sticky;
 top: 60px;
 height: calc(100vh - 60px);
 overflow-y: auto;
 background: var(--slate-50);
}

.sidebar h4 {
 color: var(--slate-400);
 font-size: 0.7rem;
 text-transform: uppercase;
 letter-spacing: 0.1em;
 font-weight: 700;
 margin: 1.5rem 0 0.75rem;
}

.sidebar h4:first-child {
 margin-top: 0;
}

.sidebar a {
 display: block;
 color: var(--slate-600);
 text-decoration: none;
 padding: 0.5rem 0.75rem;
 border-radius: 8px;
 font-size: 0.9rem;
 font-weight: 500;
 transition: all 0.2s;
}

.sidebar a:hover {
 color: var(--slate-900);
 background: #ffffff;
}

.sidebar a.active {
 color: var(--brand-700);
 background: var(--brand-50);
}

/* Content */
.content {
 flex: 1;
 padding: 2.5rem 3rem;
 max-width: 900px;
}

.content h1 {
 font-size: 2.5rem;
 font-weight: 800;
 margin-bottom: 0.5rem;
 color: var(--slate-900);
}

.content h2 {
 font-size: 1.5rem;
 font-weight: 700;
 margin: 2.5rem 0 1rem;
 padding-top: 1.5rem;
 border-top: 1px solid var(--slate-200);
 color: var(--slate-900);
}

.content h3 {
 font-size: 1.25rem;
 font-weight: 600;
 margin: 2rem 0 0.75rem;
 color: var(--slate-900);
}

.content p {
 margin: 1rem 0;
 color: var(--slate-600);
}

.content strong {
 color: var(--slate-900);
 font-weight: 600;
}

.content a {
 color: var(--brand-600);
 text-decoration: none;
}

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

/* Code */
code {
 font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
 background: var(--slate-100);
 color: var(--slate-800);
 padding: 0.2rem 0.4rem;
 border-radius: 4px;
 font-size: 0.85em;
}

pre {
 background: var(--slate-900);
 border-radius: 12px;
 padding: 1.25rem;
 overflow-x: auto;
 margin: 1rem 0;
 position: relative;
}

pre code {
 background: none;
 color: var(--slate-300);
 padding: 0;
 font-size: 0.85rem;
 line-height: 1.6;
}

.code-title {
 background: var(--slate-800);
 color: var(--slate-400);
 font-size: 0.75rem;
 font-weight: 500;
 padding: 0.5rem 1rem;
 border-radius: 12px 12px 0 0;
 margin-bottom: -1px;
 font-family: 'SF Mono', 'Fira Code', monospace;
}

.code-title + pre {
 border-radius: 0 0 12px 12px;
}

/* Tables */
table {
 width: 100%;
 border-collapse: collapse;
 margin: 1rem 0;
 border: 1px solid var(--slate-200);
 border-radius: 12px;
 overflow: hidden;
}

th,
td {
 text-align: left;
 padding: 0.875rem 1rem;
 border-bottom: 1px solid var(--slate-200);
}

th {
 background: var(--slate-50);
 font-weight: 600;
 color: var(--slate-700);
 font-size: 0.875rem;
}

td {
 color: var(--slate-600);
 font-size: 0.9rem;
}

tr:last-child td {
 border-bottom: none;
}

/* Alerts/Callouts */
.alert,
.callout {
 padding: 1rem 1.25rem;
 border-radius: 12px;
 margin: 1.5rem 0;
 border-left: 4px solid;
}

.alert-info,
.callout-info {
 background: rgba(59, 130, 246, 0.1);
 border-color: var(--info);
}

.alert-warning,
.callout-warning {
 background: rgba(245, 158, 11, 0.1);
 border-color: var(--warning);
}

.alert-success,
.callout-success {
 background: rgba(16, 185, 129, 0.1);
 border-color: var(--success);
}

.alert-error,
.callout-error {
 background: rgba(239, 68, 68, 0.1);
 border-color: var(--error);
}

.alert strong,
.callout strong {
 display: block;
 margin-bottom: 0.25rem;
 color: var(--slate-900);
}

.alert p,
.callout p {
 margin: 0;
 color: var(--slate-700);
}

/* Lead text */
.lead {
 font-size: 1.125rem;
 color: var(--slate-500);
 margin-bottom: 2rem;
}

/* Next steps */
.next-steps {
 background: var(--slate-50);
 border: 1px solid var(--slate-200);
 border-radius: 12px;
 padding: 1.5rem;
 margin-top: 3rem;
}

.next-steps h3 {
 font-size: 1rem;
 font-weight: 600;
 margin: 0 0 1rem;
 color: var(--slate-700);
}

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

.next-steps li {
 margin: 0.5rem 0;
}

.next-steps a {
 color: var(--brand-600);
 text-decoration: none;
 font-weight: 500;
}

.next-steps a:hover {
 text-decoration: underline;
}

/* Footer */
.footer {
 text-align: center;
 padding: 2rem;
 color: var(--slate-400);
 font-size: 0.9rem;
 border-top: 1px solid var(--slate-200);
 margin-top: 3rem;
}

.footer a {
 color: var(--brand-600);
 text-decoration: none;
}

/* Responsive */
@media (max-width: 900px) {
 .sidebar {
  display: none;
 }

 .content {
  padding: 1.5rem;
 }
}

@media (max-width: 768px) {
 .nav {
  gap: 1rem;
  font-size: 0.85rem;
 }
 .header {
  padding: 1rem;
 }
 .content h1 {
  font-size: 2rem;
 }
}
