/* ==========================================================================
   DatomIQ - Design System Variables
   Sistema de design com tema espacial/estelar
   ========================================================================== */

:root {
  /* ========================================
     CORES - Paleta Espacial
     ======================================== */

  /* Cores principais */
  --deep-space: #020024;           /* Background principal - Espaço profundo */
  --nebula-purple: #4B3B8B;        /* Gradientes, botões, highlights */
  --stardust-grey: #505050;        /* Textos secundários */
  --starlight-white: #FFFFFF;      /* Títulos e texto principal */

  /* Variações com transparência para glassmorphism */
  --deep-space-90: rgba(2, 0, 36, 0.9);
  --deep-space-80: rgba(2, 0, 36, 0.8);
  --deep-space-70: rgba(2, 0, 36, 0.7);
  --deep-space-50: rgba(2, 0, 36, 0.5);

  --nebula-purple-80: rgba(75, 59, 139, 0.8);
  --nebula-purple-60: rgba(75, 59, 139, 0.6);
  --nebula-purple-40: rgba(75, 59, 139, 0.4);
  --nebula-purple-20: rgba(75, 59, 139, 0.2);

  --starlight-white-90: rgba(255, 255, 255, 0.9);
  --starlight-white-80: rgba(255, 255, 255, 0.8);
  --starlight-white-60: rgba(255, 255, 255, 0.6);
  --starlight-white-40: rgba(255, 255, 255, 0.4);
  --starlight-white-20: rgba(255, 255, 255, 0.2);
  --starlight-white-10: rgba(255, 255, 255, 0.1);
  --starlight-white-05: rgba(255, 255, 255, 0.05);

  /* Cores de estado */
  --success-green: #4ADE80;
  --error-red: #F87171;
  --warning-yellow: #FBBF24;

  /* ========================================
     TIPOGRAFIA
     ======================================== */

  /* Famílias de fonte */
  --font-heading: 'Prompt', sans-serif;     /* Títulos e botões */
  --font-body: 'Montserrat', sans-serif;    /* Corpo do texto */

  /* Tamanhos fluidos com clamp() - Mobile first */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);      /* 12px - 14px */
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);        /* 14px - 16px */
  --text-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);    /* 16px - 18px */
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);         /* 18px - 20px */
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);        /* 20px - 24px */
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);         /* 24px - 32px */
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);     /* 30px - 40px */
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3rem);         /* 36px - 48px */
  --text-5xl: clamp(3rem, 2.25rem + 3.75vw, 4rem);           /* 48px - 64px */

  /* Pesos de fonte */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line heights */
  --leading-tight: 1.2;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Letter spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* ========================================
     ESPACAMENTO
     ======================================== */

  --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 */
  --space-32: 8rem;      /* 128px */

  /* Padding de seção responsivo */
  --section-padding-y: clamp(4rem, 8vw, 8rem);
  --section-padding-x: clamp(1rem, 5vw, 2rem);

  /* ========================================
     LAYOUT
     ======================================== */

  --container-max: 1200px;
  --container-narrow: 800px;
  --container-wide: 1400px;

  /* ========================================
     BORDAS E RADIUS
     ======================================== */

  --radius-sm: 0.25rem;    /* 4px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 1rem;       /* 16px */
  --radius-xl: 1.5rem;     /* 24px */
  --radius-2xl: 2rem;      /* 32px */
  --radius-full: 9999px;   /* Círculo */

  /* Bordas para glassmorphism */
  --border-glass: 1px solid var(--starlight-white-20);
  --border-glass-light: 1px solid var(--starlight-white-10);
  --border-glass-strong: 1px solid var(--starlight-white-40);

  /* ========================================
     SOMBRAS
     ======================================== */

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.25);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.3);

  /* Sombras com cor (glow effect) */
  --shadow-glow-purple: 0 0 30px var(--nebula-purple-40);
  --shadow-glow-white: 0 0 20px var(--starlight-white-20);

  /* ========================================
     GLASSMORPHISM
     ======================================== */

  --glass-blur: blur(16px);
  --glass-blur-strong: blur(24px);
  --glass-blur-light: blur(8px);

  --glass-bg: var(--starlight-white-05);
  --glass-bg-dark: var(--deep-space-70);
  --glass-bg-light: var(--starlight-white-10);

  /* ========================================
     TRANSICOES E ANIMACOES
     ======================================== */

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-slower: 500ms ease;

  /* Easing functions */
  --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-expo: cubic-bezier(0.95, 0.05, 0.795, 0.035);

  /* ========================================
     Z-INDEX
     ======================================== */

  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;

  /* ========================================
     GRADIENTES
     ======================================== */

  /* Gradiente principal do background */
  --gradient-space: linear-gradient(
    180deg,
    var(--deep-space) 0%,
    #0a0a2e 50%,
    var(--deep-space) 100%
  );

  /* Gradiente de nebulosa */
  --gradient-nebula: radial-gradient(
    ellipse at 50% 50%,
    var(--nebula-purple-40) 0%,
    transparent 70%
  );

  /* Gradiente para botões */
  --gradient-button: linear-gradient(
    135deg,
    var(--nebula-purple) 0%,
    #6B5BA8 100%
  );

  /* Gradiente para hover */
  --gradient-button-hover: linear-gradient(
    135deg,
    #5B4B9B 0%,
    #7B6BB8 100%
  );
}

/* ========================================
   MEDIA QUERIES - Breakpoints Reference
   ========================================

   Mobile:  < 768px  (default - mobile first)
   Tablet:  >= 768px
   Desktop: >= 1024px
   Large:   >= 1280px

   ======================================== */
