/* ============================================
   MST Singapore — Design Tokens v3
   "Dark Luxe Tech" — Cinematic. Precise. Premium.
   ============================================ */

:root {
    /* Brand Palette — Cyan Spectrum */
    --cyan-50: #ecfeff;
    --cyan-100: #cffafe;
    --cyan-200: #a5f3fc;
    --cyan-300: #67e8f9;
    --cyan-400: #22d3ee;
    --cyan-500: #00D4FF;
    --cyan-600: #0099CC;
    --cyan-700: #0077B6;
    --cyan-800: #005f92;
    --cyan-900: #004a73;

    --color-primary: var(--cyan-500);
    --color-primary-dark: var(--cyan-700);
    --color-primary-light: var(--cyan-300);
    --color-accent: var(--cyan-400);
    --color-gradient: linear-gradient(135deg, var(--cyan-400), var(--cyan-700));
    --color-glow: rgba(0, 212, 255, 0.15);
    --color-glow-strong: rgba(0, 212, 255, 0.35);

    /* Platform accent colors */
    --color-blue: #38bdf8;
    --color-purple: #a78bfa;
    --color-amber: #fbbf24;
    --color-emerald: #34d399;
    --color-rose: #fb7185;

    /* Light Surface System */
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-dark: #0a0f1e;
    --color-bg-darker: #060a14;
    --color-surface: rgba(255, 255, 255, 0.8);
    --color-surface-raised: rgba(255, 255, 255, 0.95);
    --color-surface-solid: #ffffff;

    /* Text on light */
    --color-text: #0f172a;
    --color-text-secondary: #475569;
    --color-text-tertiary: #94a3b8;
    --color-text-inverse: #f1f5f9;

    /* Borders */
    --color-border: rgba(15, 23, 42, 0.07);
    --color-border-light: rgba(15, 23, 42, 0.03);
    --color-border-hover: rgba(0, 153, 204, 0.25);

    /* Typography — Plus Jakarta Sans */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Type Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.25rem;
    --text-6xl: 4rem;
    --text-7xl: 5rem;
    --text-hero: clamp(3rem, 8vw, 6rem);

    /* Leading */
    --leading-none: 1;
    --leading-tight: 1.1;
    --leading-snug: 1.25;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;

    /* Tracking */
    --tracking-tighter: -0.04em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.05em;
    --tracking-wider: 0.12em;
    --tracking-widest: 0.2em;

    /* Spacing (8px grid) */
    --space-px: 1px;
    --space-0: 0;
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 2.5rem;
    --space-6: 3rem;
    --space-8: 4rem;
    --space-10: 5rem;
    --space-12: 6rem;
    --space-16: 8rem;
    --space-20: 10rem;
    --space-24: 12rem;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    /* Shadows — tuned for light UI */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.1);
    --shadow-glow-sm: 0 0 20px rgba(0, 153, 204, 0.08);
    --shadow-glow: 0 0 40px rgba(0, 153, 204, 0.1);
    --shadow-glow-lg: 0 0 60px rgba(0, 153, 204, 0.15);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-light: rgba(255, 255, 255, 0.5);
    --glass-blur: blur(24px);
    --glass-border: 1px solid rgba(15, 23, 42, 0.06);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 150ms var(--ease-out);
    --transition-base: 300ms var(--ease-out);
    --transition-slow: 500ms var(--ease-out);
    --transition-slower: 800ms var(--ease-out);

    /* Layout */
    --container-max: 1200px;
    --container-wide: 1440px;
    --container-narrow: 720px;
    --header-height: 72px;

    /* Z-index */
    --z-bg: -1;
    --z-base: 0;
    --z-header: 100;
    --z-dropdown: 200;
    --z-mobile-menu: 300;
    --z-modal: 400;
}

/* Chinese font override */
html[lang="zh-CN"] {
    --font-sans: 'Noto Sans SC', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
    --font-display: 'Noto Sans SC', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
