/* ==========================================================================
   DESIGN TOKENS & CSS VARIABLES
   Centraliza la paleta dark-tech, tipografía, espaciados y sombras.
   ========================================================================== */

:root {
  /* Paleta de fondos (Dark-Tech con alto contraste) */
  --bg-primary: #060913;
  --bg-secondary: #0b1121;
  --bg-surface: rgba(13, 20, 38, 0.84);
  --bg-surface-strong: rgba(15, 23, 42, 0.94);
  --bg-surface-hover: rgba(22, 33, 62, 0.92);
  --bg-glass: rgba(9, 14, 28, 0.78);

  /* Bordes sutiles */
  --border-subtle: rgba(148, 163, 184, 0.16);
  --border-accent: rgba(34, 211, 238, 0.4);
  --border-indigo: rgba(129, 140, 248, 0.4);

  /* Tipografía y contraste */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #060913;

  /* Colores de marca y acentos semánticos */
  --accent-cyan: #22d3ee;
  --accent-cyan-hover: #06b6d4;
  --accent-indigo: #818cf8;
  --accent-indigo-strong: #6366f1;
  --accent-n8n: #fb7185;
  --accent-whatsapp: #25d366;
  --accent-whatsapp-hover: #1ebe5b;
  --accent-success: #34d399;
  --accent-warning: #fbbf24;
  --accent-error: #f87171;

  /* Gradientes */
  --gradient-brand: linear-gradient(135deg, #22d3ee 0%, #818cf8 100%);
  --gradient-surface: linear-gradient(180deg, rgba(17, 25, 48, 0.85) 0%, rgba(10, 15, 30, 0.92) 100%);

  /* Tipografías */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Escala tipográfica fluida (Mobile First) */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: clamp(1.5rem, 2.5vw + 1rem, 2rem);
  --text-3xl: clamp(1.875rem, 3.5vw + 1rem, 2.75rem);
  --text-4xl: clamp(2.15rem, 4.5vw + 1rem, 3.6rem);

  /* Espaciados */
  --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-16: 4rem;
  --space-20: 5rem;

  /* Radios y sombras */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 14px rgba(2, 6, 23, 0.35);
  --shadow-md: 0 12px 32px rgba(2, 6, 23, 0.55);
  --shadow-glow-cyan: 0 0 28px rgba(34, 211, 238, 0.18);
  --shadow-glow-indigo: 0 0 28px rgba(129, 140, 248, 0.18);

  /* Contenedor y z-index */
  --container-max: 75rem; /* 1200px */
  --header-height: 4.5rem;
  --z-bg: -1;
  --z-base: 1;
  --z-header: 50;
  --z-drawer: 60;
  --z-floating: 40;

  /* Transiciones */
  --transition-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
