/* ==========================================================================
   Google Fonts Import
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ==========================================================================
   CSS Variables (Design System)
   ========================================================================== */
:root {
    /* Brand Colors */
    --color-primary-accent: #BB86FC;
    --color-bg-base: #121112;
    --color-bg-surface: #1E1E1E;
    --color-text-primary: #E0E0E0;
    --color-text-secondary: #A0A0A0;
    --color-border-subtle: #333333;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Layout & Spacing */
    --container-max-width: 1200px;
    --spacing-unit: 1rem;
    --header-height: 80px;

    /* Transitions */
    --transition-speed: 0.3s;
}

/* ==========================================================================
   CSS Resets & Base Styles
   ========================================================================== */

/* Universal box-sizing so padding/border never push elements outside
   their declared width. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Responsive media — images, video and embeds must never be wider
   than their container on any screen size. */
img,
video,
canvas,
iframe,
embed,
object {
    max-width: 100%;
}

/* Pre / code blocks scroll internally rather than expanding the page. */
pre {
    overflow-x: auto;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #FFFFFF;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: var(--spacing-unit);
}

a {
    color: var(--color-primary-accent);
    text-decoration: none;
    transition: opacity var(--transition-speed) ease;
}

a:hover {
    opacity: 0.8;
}

ul,
ol {
    list-style: none;
}

/* ==========================================================================
   Global Utilities
   ========================================================================== */


.btn-primary {
    display: inline-block;
    background-color: var(--color-primary-accent);
    color: #000000;
    /* High contrast black text on light purple */
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(187, 134, 252, 0.3);
    opacity: 1;
    /* override default a:hover opacity */
    color: #000000;
}

.mono-text {
    font-family: var(--font-mono);
    font-size: 0.9em;
}

