:root {
    /* Core Color Palette - Corporate White */
    --bg-main: #FFFFFF;
    --bg-darker: #F8FAFC;
    --bg-surface: #FFFFFF;
    
    /* Semantic Colors - KOBC Identity */
    --primary: #004b9e;          /* KOBC Deep Blue */
    --primary-variant: #003366;  /* Deeper Blue */
    --secondary: #6366F1;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    
    /* Trend Colors (Stock/Index Style - Adjusted for Light) */
    --color-up: #E11D48;
    --color-down: #2563EB;
    --color-neutral: #64748B;
    
    /* Text Palette - High Contrast */
    --text-main: #0F172A;        /* Slate 900 */
    --text-secondary: #475569;   /* Slate 600 */
    --text-muted: #94A3B8;       /* Slate 400 */
    --text-dim: #CBD5E1;         /* Slate 300 */
    
    /* Refined Shadow/Border System (Replaces Glassmorphism) */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-bg-thick: #FFFFFF;
    --glass-border: #E2E8F0;
    --glass-border-bright: #CBD5E1;
    --glass-blur: blur(8px);
    --glass-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --inner-glow: none;
    
    /* Spacing & Radius System */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Z-Index System */
    --z-modal: 1000;
    --z-overlay: 900;
    --z-dropdown: 800;
    --z-sticky: 700;
}

* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--glass-border) transparent;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-main);
    margin: 0;
    font-family: 'Pretendard JP', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
