/* ===================================================================
   AFRIGEN DESIGN SYSTEM — CINEMATIC LUXURY WORKSPACE
   Balanced Palette:
   - Midnight navy:         #111827
   - Deep slate:            #182233
   - Elevated surface:      #202B3B
   - Warm ivory:            #F5F1E8
   - Muted text:            #A5AFBF
   - Refined champagne gold:#D6AD65
   - Soft amber:            #E8A83E
   - Muted teal:            #48A99A
   - Subtle borders:        #354154
   =================================================================== */

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

:root {
    /* Color Palette */
    --af-navy: #111827;
    --af-slate: #182233;
    --af-surface: #202B3B;
    --af-surface-hover: #263346;
    --af-surface-elevated: #28374B;
    
    /* Legacy aliases mapped to new palette */
    --af-obsidian: #111827;
    --af-charcoal: #182233;
    
    /* Champagne Gold (Selective & Premium) */
    --af-gold: #D6AD65;
    --af-gold-hover: #E2BD78;
    --af-gold-muted: rgba(214, 173, 101, 0.12);
    --af-gold-border: rgba(214, 173, 101, 0.35);

    /* Functional Accents */
    --af-amber: #E8A83E;
    --af-amber-muted: rgba(232, 168, 62, 0.12);
    --af-amber-border: rgba(232, 168, 62, 0.3);

    --af-teal: #48A99A;
    --af-teal-muted: rgba(72, 169, 154, 0.12);
    --af-teal-border: rgba(72, 169, 154, 0.3);

    --af-blue: #3B82F6;
    --af-blue-muted: rgba(59, 130, 246, 0.12);

    /* Typography Colors */
    --af-ivory: #F5F1E8;
    --af-white: #F5F1E8;
    --af-text-primary: #F5F1E8;
    --af-text-secondary: #A5AFBF;
    --af-text-muted: #8591A5;

    /* Borders */
    --af-border: #354154;
    --af-border-light: #44536A;
    --af-border-focus: #D6AD65;

    --af-success: #10B981;
    --af-danger: #EF4444;
    --af-warning: #E8A83E;
    --af-info: #48A99A;

    /* Typography */
    --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 10px 28px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 20px rgba(214, 173, 101, 0.18);

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

    /* Layout Spacing */
    --sidebar-width: 250px;
    --header-height: 60px;
    --mobile-nav-height: 64px;
}

/* Global Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    background-color: var(--af-navy);
    color: var(--af-text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .heading-font {
    font-family: var(--font-heading);
    color: var(--af-white);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 0;
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.25; }
h3 { font-size: 1.5rem; line-height: 1.3; }
h4 { font-size: 1.25rem; line-height: 1.4; }
h5 { font-size: 1.1rem; line-height: 1.4; }
h6 { font-size: 0.95rem; line-height: 1.4; }

p {
    margin-bottom: 1rem;
    color: var(--af-text-secondary);
}

a {
    color: var(--af-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--af-gold-hover);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--af-obsidian);
}

::-webkit-scrollbar-thumb {
    background: var(--af-border);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--af-border-light);
}

/* Text selections */
::selection {
    background-color: var(--af-gold);
    color: var(--af-obsidian);
}

