/* ============================================
   ELVIQA — Design Tokens
   Edit colors, fonts, spacing here only.
   All other files reference these variables.
   ============================================ */

:root {
  /* Brand Colors */
  --color-accent:        #0A5FFF;
  --color-accent-hover:  #0047CC;
  --color-accent-soft:   #EBF0FF;

  /* Light Mode Surface */
  --color-bg:            #FAFAF8;
  --color-bg-card:       #FFFFFF;
  --color-bg-subtle:     #F2F2EF;

  /* Text */
  --color-text-primary:  #111110;
  --color-text-secondary:#5C5C57;
  --color-text-muted:    #9B9B96;

  /* Borders */
  --color-border:        #E4E4E0;
  --color-border-strong: #CBCBC6;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-arabic:  'Cairo', 'Noto Sans Arabic', sans-serif;

  /* Spacing Scale */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.05);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --container-max: 1120px;
  --nav-height: 68px;
}

/* Dark Mode Overrides */
[data-theme="dark"] {
  --color-bg:            #111110;
  --color-bg-card:       #1C1C1A;
  --color-bg-subtle:     #222220;

  --color-text-primary:  #F5F5F3;
  --color-text-secondary:#A8A8A3;
  --color-text-muted:    #6B6B66;

  --color-border:        #2E2E2B;
  --color-border-strong: #3D3D3A;

  --color-accent-soft:   #0A1A3A;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.45);
}

/* Arabic / RTL Mode */
[lang="ar"] {
  --font-body: var(--font-arabic);
  direction: rtl;
}
