:root {
    /* Colors */
    --bg-primary: #000433ff;
    --bg-secondary: #111727ff;
    --text-primary: #f8fafc;
    --text-secondary: #333a61;
    --accent-primary: #10b981;
    --accent-secondary: #34d399;
    --accent-glow: rgba(16, 185, 129, 0.15);
    
    /* Fonts */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Fira Code', 'Roboto Mono', monospace;
}

/* Base Styles */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    padding-top: 80px; /* Prevents navbar overlap */
}

/* Links */
a {
    color: var(--accent-primary);
}

a:hover {
    color: var(--accent-secondary);
}

/* Inline Code */
code {
    background: var(--bg-secondary);
    color: var(--accent-primary);
    font-family: var(--font-mono);
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

/* Code Blocks */
pre {
    background: var(--bg-secondary) !important;
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
}

pre code {
    background: transparent !important;
}

/* Syntax Highlighting */
.token.comment { color: #6b7280; }      /* Comments in all languages */
.token.keyword { color: var(--accent-primary); } /* Keywords: if, for, FROM, RUN */
.token.string { color: #fbbf24; }       /* Strings, text */
.token.function { color: #818cf8; }     /* Functions, commands */
.token.number { color: #34d399; }       /* Numbers, ports */
.token.operator { color: #93c5fd; }     /* Operators: =, +, | */
.token.punctuation { color: #cbd5e1; }  /* Brackets, commas */

/* Navbar */
.navbar {
    background: rgba(4, 10, 81, 0.9); /* Using your bg-primary with opacity */
    backdrop-filter: blur(10px);
}

/* Typography - Headings */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(to right, var(--text-secondary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; 
    margin-top: 2rem;
}

h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--bg-secondary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

/* Paragraphs */
p {
    margin-bottom: 1rem;
    color: var(--text-primary);
}