/* ============================================================
   TOKENS.CSS — Silent Luxury Design Tokens
   Abogaland S.A.S.
   
   Paridad 1:1 con app/lib/core/constants/app_colors.dart
   y app/lib/core/theme/text_styles.dart
   ============================================================ */

:root {
  /* ── Colores ── */
  --color-bg: #0A0A0A;
  --color-surface: #141414;
  --color-surface-hover: #1A1A1A;
  --color-surface-elevated: #1E1E1E;
  --color-border: #2A2A2A;
  --color-border-subtle: #1F1F1F;

  --color-text-primary: #F5F5F5;
  --color-text-secondary: #A0A0A0;
  --color-text-muted: #666666;
  --color-text-inverse: #0A0A0A;

  --color-accent: #C9A96E;
  --color-accent-hover: #D4B97A;
  --color-accent-muted: rgba(201, 169, 110, 0.15);
  --color-accent-glow: rgba(201, 169, 110, 0.08);

  --color-success: #2ECC71;
  --color-warning: #F39C12;
  --color-danger: #E74C3C;
  --color-info: #5DADE2;

  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #C9A96E 0%, #D4B97A 100%);
  --gradient-surface: linear-gradient(180deg, #141414 0%, #0A0A0A 100%);
  --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(201, 169, 110, 0.06) 0%, transparent 60%);

  /* ── Tipografía ── */
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --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: 3rem;      /* 48px */
  --font-size-5xl: 3.5rem;    /* 56px */

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

  --line-height-tight: 1.2;
  --line-height-base: 1.6;
  --line-height-loose: 1.8;

  --letter-spacing-tight: -0.02em;
  --letter-spacing-base: 0;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-wider: 0.1em;

  /* ── Espaciado (8px grid) ── */
  --space-2xs: 2px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* ── Sombras ── */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(201, 169, 110, 0.15);

  /* ── Transiciones ── */
  --transition-fast: 150ms ease-out;
  --transition-base: 300ms ease-out;
  --transition-slow: 500ms ease-out;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Bordes ── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* ── Contenido ── */
  --content-max: 1200px;
  --content-narrow: 720px;
  --content-wide: 1440px;

  /* ── Z-index ── */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 50;
  --z-fixed: 100;
  --z-modal: 200;
  --z-toast: 300;
}
