/* ========================================
   ARTICULATE ASIAN - L3 DESIGN SYSTEM
   CSS VARIABLES & RESET
   ======================================== */

:root {
    /* Primary - Deep Navy */
    --color-primary: #0f2342;
    --color-primary-light: #1a365d;
    --color-primary-rgb: 15, 35, 66;

    /* Accent - Terracotta */
    --color-accent: #c53030;
    --color-accent-light: #e53e3e;
    --color-accent-dark: #9b2c2c;
    --color-accent-rgb: 197, 48, 48;

    /* Secondary - Warm Gold */
    --color-gold: #d4a574;
    --color-gold-light: #e8c9a8;

    /* Neutrals */
    --color-background: #0a0f1a;
    --color-surface: #111827;
    --color-surface-light: #1f2937;
    --color-text: #f9fafb;
    --color-text-muted: #9ca3af;
    --color-text-light: #d1d5db;
    --color-border: rgba(255, 255, 255, 0.1);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0a0f1a 0%, #1a365d 50%, #0f2342 100%);
    --gradient-accent: linear-gradient(135deg, #c53030 0%, #9b2c2c 100%);
    --gradient-text: linear-gradient(90deg, #f9fafb 0%, #d4a574 50%, #f9fafb 100%);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(197, 48, 48, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* Layout */
    --max-width: 1400px;
    --container-padding: 2rem;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; }

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
}

.text-gradient {
    background: var(--gradient-text);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent { color: var(--color-gold); }
.text-muted { color: var(--color-text-muted); }

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}