/* ==================== PROFESSIONAL TYPOGRAPHY ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Typography Scale */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    /* 12px */
    --font-size-sm: 0.875rem;
    /* 14px */
    --font-size-base: 1rem;
    /* 16px */
    --font-size-lg: 1.125rem;
    /* 18px */
    --font-size-xl: 1.25rem;
    /* 20px */
    --font-size-2xl: 1.5rem;
    /* 24px */
    --font-size-3xl: 1.875rem;
    /* 30px */
    --font-size-4xl: 2.25rem;
    /* 36px */
    --font-size-5xl: 3rem;
    /* 48px */
    --font-size-6xl: 3.75rem;
    /* 60px */

    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* Spacing Scale (8px base) */
    --space-1: 0.5rem;
    /* 8px */
    --space-2: 1rem;
    /* 16px */
    --space-3: 1.5rem;
    /* 24px */
    --space-4: 2rem;
    /* 32px */
    --space-5: 2.5rem;
    /* 40px */
    --space-6: 3rem;
    /* 48px */
    --space-8: 4rem;
    /* 64px */
    --space-10: 5rem;
    /* 80px */
    --space-12: 6rem;
    /* 96px */

    /* Refined Colors - Professional Palette */
    --color-primary: #2563eb;
    --color-primary-dark: #1e40af;
    --color-primary-light: #3b82f6;

    --color-accent: #06b6d4;
    --color-success: #10b981;
    --color-warning: #f59e0b;

    /* Dark Theme */
    --bg-dark-primary: #0a0a0a;
    --bg-dark-secondary: #141414;
    --bg-dark-tertiary: #1f1f1f;
    --bg-dark-elevated: #2a2a2a;

    --text-dark-primary: #ffffff;
    --text-dark-secondary: #e5e5e5;
    --text-dark-muted: #a3a3a3;

    /* Light Theme */
    --bg-light-primary: #ffffff;
    --bg-light-secondary: #f8f9fa;
    --bg-light-tertiary: #f1f3f5;
    --bg-light-elevated: #ffffff;

    --text-light-primary: #171717;
    --text-light-secondary: #404040;
    --text-light-muted: #737373;

    /* Shadows - Subtle and Professional */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.18);

    /* Border Radius */
    --radius-sm: 0.375rem;
    /* 6px */
    --radius-md: 0.5rem;
    /* 8px */
    --radius-lg: 0.75rem;
    /* 12px */
    --radius-xl: 1rem;
    /* 16px */

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== BASE TYPOGRAPHY ==================== */
body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    font-weight: var(--font-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.02em;
    margin: 0;
}

h1 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-extrabold);
    letter-spacing: -0.03em;
}

h2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-bold);
}

h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-semibold);
}

h4 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-semibold);
}

p {
    margin: 0;
    line-height: var(--line-height-relaxed);
}

/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

/* ==================== RESPONSIVE TYPOGRAPHY ==================== */
@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.25rem;
        /* 36px on mobile */
        --font-size-4xl: 1.875rem;
        /* 30px on mobile */
        --font-size-3xl: 1.5rem;
        /* 24px on mobile */
    }
}