/* ─── TOP ROMANIA DESIGN TOKENS ─── */

:root {
  /* ── Colors — Navy & Gold palette ── */
  --navy-900: #0A1A30;
  --navy-800: #0F2440;
  --navy-700: #1B3A5C;
  --navy-600: #2C5F8A;
  --navy-500: #3A7AB5;
  --navy-400: #6A9FC8;
  --navy-300: #9ABFDD;
  --navy-200: #C5D9EC;
  --navy-100: #E8F0F8;
  --navy-50: #F4F8FC;

  /* ── Colors — Green accent (DR Cash) ── */
  --green-900: #1A2A1E;
  --green-800: #2D4A35;
  --green-700: #3D6B47;
  --green-600: #4C8E59;
  --green-500: #5FB06B;
  --green-400: #82C48B;
  --green-300: #A5D8AC;
  --green-200: #C8EBCD;
  --green-100: #E5F5E8;
  --green-50: #F2FAF4;

  /* ── Colors — Gold accent ── */
  --gold-600: #C49020;
  --gold-500: #E8A838;
  --gold-400: #F5C842;
  --gold-300: #F8D96A;
  --gold-200: #FBE99A;
  --gold-100: #FEF3CC;

  /* ── Colors — Romanian flag ── */
  --ro-blue: #003580;
  --ro-yellow: #FFCD00;
  --ro-red: #CE1126;

  /* ── Colors — Neutral ── */
  --white: #FFFFFF;
  --gray-50: #F8F9FB;
  --gray-100: #F0F2F5;
  --gray-200: #E2E5EA;
  --gray-300: #C5CAD4;
  --gray-400: #9CA3AF;
  --gray-500: #7A8A9A;
  --gray-600: #4B5A6A;
  --gray-700: #2E3B4A;
  --gray-800: #1A2533;
  --gray-900: #0F1722;

  /* ── Semantic colors ── */
  --color-success: #16A34A;
  --color-warning: #CA8A04;
  --color-error: #DC2626;
  --color-info: #0891B2;

  /* ── Text ── */
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-400);
  --text-on-dark: var(--white);
  --text-on-dark-muted: var(--navy-300);
  --text-on-gold: var(--navy-900);

  /* ── Backgrounds ── */
  --bg-primary: var(--white);
  --bg-secondary: var(--gray-50);
  --bg-dark: var(--navy-900);
  --bg-dark-alt: var(--navy-800);
  --bg-gold-subtle: var(--gold-100);

  /* ── Typography 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: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* ── Font families ── */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-display: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* ── Font weights ── */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --font-black: 900;

  /* ── Spacing scale (8-point grid) ── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* ── Shadows ── */
  --shadow-xs: 0 1px 2px rgba(10, 26, 48, 0.05);
  --shadow-sm: 0 2px 8px rgba(10, 26, 48, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 26, 48, 0.08);
  --shadow-lg: 0 20px 60px rgba(10, 26, 48, 0.12);
  --shadow-xl: 0 30px 80px rgba(10, 26, 48, 0.16);
  --shadow-gold: 0 4px 20px rgba(232, 168, 56, 0.25);

  /* ── Border radius ── */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* ── Motion ── */
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Layout ── */
  --container-max: 1200px;
  --container-narrow: 900px;
  --header-height: 72px;

  /* ── Z-index ── */
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-cookie: 400;
  --z-skip: 1000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: var(--gray-900);
    --bg-secondary: var(--navy-900);
    --text-primary: var(--gray-100);
    --text-secondary: var(--gray-300);
  }
}
