/**
 * Edge Opera Digital — Design Tokens
 * Website: https://edgeopera.com
 * Tagline: Innovating AI and Securing the Future
 */

:root {
  /* Brand Palette */
  --color-brand-primary: #0b1120;
  --color-brand-secondary: #0f172a;
  --color-brand-elevated: #1e293b;
  --color-brand-surface: #111827;

  /* Accent Colors */
  --color-accent-blue: #2563eb;
  --color-accent-blue-hover: #1d4ed8;
  --color-accent-blue-light: #3b82f6;
  --color-accent-blue-subtle: rgba(37, 99, 235, 0.12);
  --color-accent-blue-glow: rgba(59, 130, 246, 0.25);

  --color-accent-violet: #7c3aed;
  --color-accent-violet-light: #8b5cf6;
  --color-accent-violet-subtle: rgba(124, 58, 237, 0.12);

  --color-accent-teal: #0d9488;
  --color-accent-teal-light: #14b8a6;
  --color-accent-teal-subtle: rgba(13, 148, 136, 0.12);

  /* Light Canvas & Cards */
  --color-canvas-light: #f8fafc;
  --color-card-light: #ffffff;
  --color-card-subtle: #f1f5f9;

  /* Text Colors */
  --color-text-primary-dark: #f8fafc;
  --color-text-secondary-dark: #94a3b8;
  --color-text-muted-dark: #64748b;

  --color-text-primary-light: #0f172a;
  --color-text-secondary-light: #334155;
  --color-text-muted-light: #64748b;

  /* Borders & Dividers */
  --border-color-light: #e2e8f0;
  --border-color-dark: rgba(255, 255, 255, 0.1);
  --border-color-active: rgba(37, 99, 235, 0.5);

  /* Functional / Status */
  --color-success: #10b981;
  --color-success-bg: #ecfdf5;
  --color-warning: #f59e0b;
  --color-warning-bg: #fffbeb;
  --color-danger: #ef4444;
  --color-danger-bg: #fef2f2;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-arabic: "Segoe UI", "SF Arabic", "Tahoma", "Arial", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --font-size-xs: 0.75rem;     /* 12px */
  --font-size-sm: 0.875rem;    /* 14px */
  --font-size-base: 1rem;      /* 16px */
  --font-size-lg: 1.125rem;    /* 18px */
  --font-size-xl: 1.25rem;     /* 20px */
  --font-size-2xl: 1.5rem;     /* 24px */
  --font-size-3xl: 1.875rem;   /* 30px */
  --font-size-4xl: 2.25rem;    /* 36px */
  --font-size-5xl: 3rem;       /* 48px */
  --font-size-display: clamp(2.25rem, 4.5vw + 1rem, 3.75rem);

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --line-height-tight: 1.2;
  --line-height-snug: 1.35;
  --line-height-base: 1.6;
  --line-height-relaxed: 1.75;

  /* Spacing Scale */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* Radii */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-full: 9999px;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px -3px var(--color-accent-blue-glow);

  /* Containers & Layout */
  --container-max-width: 1240px;
  --container-narrow-width: 860px;
  --container-padding: 1.25rem;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-Index */
  --z-base: 1;
  --z-elevated: 10;
  --z-sticky: 100;
  --z-drawer: 200;
  --z-modal: 300;
}
