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

:root {
    /* Brand Colors - Midnight & Ocean */
    --brand-dark: #0b1625;
    --brand-darker: #060d16;
    --brand-primary: #2563EB;
    --brand-primary-hover: #1d4ed8;
    --brand-accent: #0ea5e9;
    --brand-accent-hover: #0284c7;

    /* Backgrounds & Surfaces */
    --bg-page: #F6F8FA; /* Soft, breathable off-white */
    --bg-surface: #FFFFFF;
    --bg-surface-hover: #F8FAFC;
    --bg-glass: rgba(255, 255, 255, 0.75);
    
    /* Text Colors */
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-subtle: #94A3B8;
    --text-on-dark: #F8FAFC;

    /* Borders */
    --border-light: #E2E8F0;
    --border-medium: #CBD5E1;
    --border-focus: rgba(37, 99, 235, 0.4);

    /* Semantic Colors */
    --color-success: #10B981;
    --color-success-bg: #ECFDF5;
    --color-warning: #F59E0B;
    --color-warning-bg: #FFFBEB;
    --color-danger: #EF4444;
    --color-danger-bg: #FEF2F2;
    --color-info: #3B82F6;
    --color-info-bg: #EFF6FF;

    /* Shadows & Depth */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-card: 0 8px 30px rgba(11, 22, 37, 0.06);
    --shadow-glass: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 30px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* 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: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   Reset & Base Styles
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    font-size: 16px; /* Base 16px for better readability */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--brand-dark);
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

img, picture, svg, video {
    display: block;
    max-width: 100%;
}

/* Base utility padding/margin classes if needed */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

/* Global Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}
