@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* ==========================================================================
   YU BAZAAR DESIGN SYSTEM - CORE THEME & TOKENS
   Dual-Track Polarity (Cinematic Night & Transactional Cream/Mint)
   ========================================================================== */

:root {
  /* Surfaces & Canvases */
  --canvas-night: #000000;
  --canvas-night-elevated: #0a0a0a;
  --surface-elevated-dark: #1e2c31;
  --canvas-cream: #fbfbf5;
  --canvas-light: #ffffff;
  --canvas-card-cream: #f4f4ec;

  /* Lines & Dividers */
  --hairline-light: #e4e4e7;
  --hairline-dark: #1e2c31;
  --hairline-dark-trans: rgba(255, 255, 255, 0.12);

  /* Primary Brand & Accents */
  --primary-ink: #000000;
  --on-primary: #ffffff;
  --on-dark: #ffffff;
  --aloe-10: #c1fbd4;
  --aloe-20: #a3f7c0;
  --pistachio-10: #d4f9e0;
  --link-cool-1: #9dabad;
  --link-cool-2: #9797a2;
  --link-mint: #99b3ad;

  /* Neutral Shade Ladder */
  --shade-10: #fafafa;
  --shade-20: #f4f4f5;
  --shade-30: #d4d4d8;
  --shade-40: #a1a1aa;
  --shade-50: #71717a;
  --shade-60: #52525b;
  --shade-70: #3f3f46;
  --shade-80: #27272a;
  --shade-90: #18181b;

  /* Status Colors */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #3b82f6;

  /* Typography Scales */
  --font-family-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing Scale (8px base) */
  --spacing-xxs: 2px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 24px;
  --spacing-xxl: 32px;
  --spacing-huge: 64px;
  --spacing-mega: 96px;

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-pill: 9999px;

  /* Elevation & Shadows */
  --shadow-level-1: 0 1px 2px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.04);
  --shadow-level-2: 0 0 0 1px rgba(255,255,255,0.08), 0 1px 3px rgba(0,0,0,0.3), 0 5px 10px rgba(0,0,0,0.2);
  --shadow-level-3: 0 8px 8px rgba(0,0,0,0.03), 0 4px 4px rgba(0,0,0,0.03), 0 2px 2px rgba(0,0,0,0.03), 0 0 0 1px rgba(0,0,0,0.06);
  --shadow-level-4: 0 25px 50px -12px rgba(0,0,0,0.25);
  --shadow-card-hover: 0 16px 24px rgba(0,0,0,0.06), 0 6px 8px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.08);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family-body);
  color: var(--primary-ink);
  background-color: var(--canvas-cream);
  font-feature-settings: "ss03" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

/* Typographic Hierarchy Classes */
.display-xxl {
  font-family: var(--font-family-display);
  font-size: clamp(42px, 6vw, 96px);
  font-weight: 330;
  line-height: 1.05;
  letterSpacing: clamp(0.5px, 0.2vw, 2.4px);
  font-feature-settings: "ss03" 1;
}

.display-xl {
  font-family: var(--font-family-display);
  font-size: clamp(36px, 4.5vw, 70px);
  font-weight: 330;
  line-height: 1.08;
  letter-spacing: 0;
  font-feature-settings: "ss03" 1;
}

.display-lg {
  font-family: var(--font-family-display);
  font-size: clamp(32px, 3.5vw, 55px);
  font-weight: 330;
  line-height: 1.16;
  font-feature-settings: "ss03" 1;
}

.display-md {
  font-family: var(--font-family-display);
  font-size: clamp(26px, 2.5vw, 48px);
  font-weight: 330;
  line-height: 1.14;
  font-feature-settings: "ss03" 1;
}

.heading-xl {
  font-family: var(--font-family-display);
  font-size: 28px;
  font-weight: 550;
  line-height: 1.28;
  letter-spacing: 0.42px;
  font-feature-settings: "ss03" 1;
}

.heading-lg {
  font-family: var(--font-family-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.36px;
  font-feature-settings: "ss03" 1;
}

.heading-md {
  font-family: var(--font-family-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.3px;
  font-feature-settings: "ss03" 1;
}

.heading-sm {
  font-family: var(--font-family-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.72px;
  font-feature-settings: "ss03" 1;
}

.body-lg {
  font-size: 18px;
  font-weight: 420;
  line-height: 1.56;
}

.body-md {
  font-size: 16px;
  font-weight: 420;
  line-height: 1.5;
}

.body-strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.caption {
  font-size: 14px;
  font-weight: 450;
  line-height: 1.49;
  letter-spacing: 0.28px;
  color: var(--shade-50);
}

.micro {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.13px;
}

.eyebrow-cap {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.code-mono {
  font-family: var(--font-family-mono);
  font-size: 14px;
}
