/**
 * QVG Capital Design Tokens
 * Premium Investment Firm Aesthetic - Ophiram-Inspired
 */

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;700&family=Open+Sans:wght@400;600;700&family=Montserrat:wght@400;600&family=Lato:wght@400;600&display=swap');

:root {
  /* ============================================
     Premium Color Palette
     ============================================ */

  /* Core Brand Colors */
  /* Primary Navy (PMS 533) */
  --color-navy: #1F2A44;
  /* Deep Navy (PMS 532) */
  --color-navy-deep: #172033;
  /* Calculated lighter variation of PMS 533 */
  --color-navy-light: #2d4166;

  /* Secondary Teal (PMS 563) */
  --color-teal: #6BBBAE;
  /* Calculated darker variation */
  --color-teal-dark: #5aa599;
  /* Calculated lighter variation */
  --color-teal-light: #7fc9be;

  /* Secondary Gray (PMS 421) */
  --color-gray: #B2B4B2;

  /* Legacy colors - No longer part of brand guidelines, kept for backward compatibility only */
  /* --color-cream: #F7F3ED; */
  /* --color-cream-light: #FCFAF7; */
  /* --color-cream-dark: #EDE8E0; */
  /* --color-sand: #DDD5C8; */

  /* Text Colors */
  --color-text-dark: #1a2332;
  --color-text: #35404b;
  --color-text-muted: #6b7280;
  --color-text-light: #ffffff;
  --color-text-cream: rgba(255, 255, 255, 0.85);

  /* Backgrounds */
  --color-bg-white: #ffffff;
  --color-bg-light: #f9fafb;
  /* --color-bg-cream: #F7F3ED; */ /* No longer part of brand guidelines */
  --color-bg-dark: #1a2332;
  --color-bg-navy: #0f1825;

  /* Borders & Lines */
  --color-border: rgba(26, 35, 50, 0.1);
  --color-border-dark: rgba(255, 255, 255, 0.1);
  /* --color-border-cream: rgba(212, 196, 173, 0.5); */ /* No longer part of brand guidelines */

  /* State Colors */
  --color-success: #10b981;
  --color-error: #ef4444;
  --color-warning: #f59e0b;

  /* Legacy mappings */
  --color-primary: var(--color-navy);
  --color-accent: var(--color-teal);
  --color-background: var(--color-bg-white);
  --color-background-alt: #f9fafb;
  --color-primary-hover: var(--color-navy-deep);
  --color-accent-hover: var(--color-teal-dark);

  /* ============================================
     Premium Typography
     ============================================ */

  /* Font Families */
  --font-display: 'Josefin Sans', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: var(--font-display);

  /* Font Sizes - Refined Scale */
  --font-size-xs: 0.75rem;     /* 12px */
  --font-size-sm: 0.875rem;    /* 14px */
  --font-size-base: 1rem;      /* 16px */
  --font-size-md: 1.125rem;    /* 18px */
  --font-size-lg: 1.25rem;     /* 20px */
  --font-size-xl: 1.5rem;      /* 24px */
  --font-size-2xl: 2rem;       /* 32px */
  --font-size-3xl: 2.5rem;     /* 40px */
  --font-size-4xl: 3.5rem;     /* 56px */
  --font-size-5xl: 4.5rem;     /* 72px */
  --font-size-hero: 6rem;      /* 96px */

  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Line Heights */
  --line-height-tight: 1.1;
  --line-height-snug: 1.25;
  --line-height-base: 1.6;
  --line-height-relaxed: 1.75;

  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;
  --tracking-widest: 0.2em;
  /* Brand guideline letter-spacing for headings (80 = 0.08em) */
  --tracking-brand: 0.08em;

  /* ============================================
     Spacing System
     ============================================ */
  --spacing-xs: 0.5rem;        /* 8px */
  --spacing-sm: 1rem;          /* 16px */
  --spacing-md: 1.5rem;        /* 24px */
  --spacing-lg: 2.5rem;        /* 40px */
  --spacing-xl: 4rem;          /* 64px */
  --spacing-2xl: 6rem;         /* 96px */
  --spacing-3xl: 8rem;         /* 128px */
  --spacing-4xl: 12rem;        /* 192px */

  /* ============================================
     Layout
     ============================================ */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-max: 1400px;
  --container-padding: 2rem;

  /* Header Height */
  --header-height: 80px;
  --ticker-height: 40px;

  /* ============================================
     Border Radius
     ============================================ */
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* ============================================
     Shadows - Premium Depth
     ============================================ */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px rgba(107, 187, 174, 0.15);

  /* ============================================
     Transitions - Refined Easing
     ============================================ */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);

  --transition-fast: 0.15s var(--ease-out-quart);
  --transition-base: 0.3s var(--ease-out-quart);
  --transition-slow: 0.5s var(--ease-out-expo);
  --transition-slower: 0.8s var(--ease-out-expo);

  /* ============================================
     Z-Index Scale
     ============================================ */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-header: 300;
  --z-overlay: 400;
  --z-modal: 500;
  --z-toast: 600;
}
