/* ============================================================================
   VARIABLES.CSS — Careeraa Design Tokens
   ============================================================================
   Single source of truth for all design decisions. Every visual property
   flows from these tokens, ensuring consistency across the entire site.
   
   Token naming convention:
     --color-{category}-{variant}
     --text-{size}
     --space-{multiplier}
     --radius-{size}
     --shadow-{size}
     --glass-{property}
     --ease-{name}
     --transition-{speed}
     --z-{layer}
   ============================================================================ */

:root {

  /* --------------------------------------------------------------------------
     COLORS — Brand Palette
     --------------------------------------------------------------------------
     Primary blue conveys trust & professionalism.
     Orange accent drives action & energy.
     Emerald provides positive/success signals.
     -------------------------------------------------------------------------- */

  /* Primary — Trust Blue */
  --color-primary:            #0262D3;
  --color-primary-dark:       #0150A8;
  --color-primary-light:      #3B8AE8;
  --color-primary-50:         rgba(2, 98, 211, 0.05);
  --color-primary-100:        rgba(2, 98, 211, 0.1);
  --color-primary-200:        rgba(2, 98, 211, 0.2);

  /* Accent — Energy Orange */
  --color-accent-orange:       #F97316;
  --color-accent-orange-dark:  #EA6A10;
  --color-accent-orange-light: #FB923C;

  /* Accent — Success Emerald */
  --color-accent-emerald:       #0F9D8A;
  --color-accent-emerald-dark:  #0C8172;
  --color-accent-emerald-light: #14B8A6;

  /* Backgrounds */
  --color-bg-white:            #FFFFFF;
  --color-bg-secondary:        #F8FAFC;
  --color-bg-dark:             #0F172A;
  --color-bg-dark-secondary:   #1E293B;

  /* Text */
  --color-text-dark:           #0F172A;
  --color-text-body:           #334155;
  --color-text-muted:          #64748B;
  --color-text-light:          #94A3B8;
  --color-text-white:          #FFFFFF;

  /* Borders */
  --color-border:              #E2E8F0;
  --color-border-light:        #F1F5F9;


  /* --------------------------------------------------------------------------
     GRADIENTS
     --------------------------------------------------------------------------
     Multi-stop gradients for hero backgrounds, cards, and glow effects.
     -------------------------------------------------------------------------- */

  --gradient-primary:  linear-gradient(135deg, #0262D3, #0F9D8A);
  --gradient-hero:     linear-gradient(135deg,
                         rgba(2, 98, 211, 0.08),
                         rgba(15, 157, 138, 0.05),
                         rgba(249, 115, 22, 0.03));
  --gradient-dark:     linear-gradient(135deg, #0F172A, #1E293B);
  --gradient-card:     linear-gradient(135deg,
                         rgba(255, 255, 255, 0.9),
                         rgba(255, 255, 255, 0.6));
  --gradient-glow:     radial-gradient(600px circle,
                         rgba(2, 98, 211, 0.15),
                         transparent 40%);


  /* --------------------------------------------------------------------------
     TYPOGRAPHY
     --------------------------------------------------------------------------
     Plus Jakarta Sans for headings (geometric, modern).
     Inter for body text (highly legible at all sizes).
     Fluid type scale using clamp() for seamless responsiveness.
     -------------------------------------------------------------------------- */

  --font-heading:      'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body:         'Inter', system-ui, -apple-system, sans-serif;

  /* Fluid type scale */
  --text-display:      clamp(2.5rem, 5vw, 4.5rem);
  --text-h1:           clamp(2rem, 4vw, 3.5rem);
  --text-h2:           clamp(1.75rem, 3vw, 2.75rem);
  --text-h3:           clamp(1.25rem, 2vw, 1.5rem);
  --text-h4:           1.25rem;
  --text-body:         1rem;
  --text-body-lg:      1.125rem;
  --text-small:        0.875rem;
  --text-xs:           0.75rem;

  /* Line heights */
  --leading-tight:     1.2;
  --leading-normal:    1.6;
  --leading-relaxed:   1.8;

  /* Letter spacing */
  --tracking-tight:    -0.02em;
  --tracking-normal:   0;
  --tracking-wide:     0.02em;


  /* --------------------------------------------------------------------------
     SPACING — 8px Base Grid
     --------------------------------------------------------------------------
     Consistent spatial rhythm based on an 8px unit.
     Named by their rem multiplier for quick mental math.
     -------------------------------------------------------------------------- */

  --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 */


  /* --------------------------------------------------------------------------
     BORDER RADIUS
     --------------------------------------------------------------------------
     From subtle rounding to fully circular — consistent across components.
     -------------------------------------------------------------------------- */

  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --radius-2xl:   32px;
  --radius-full:  9999px;


  /* --------------------------------------------------------------------------
     SHADOWS
     --------------------------------------------------------------------------
     Multi-layered shadows for realistic depth. Colored glows for emphasis.
     -------------------------------------------------------------------------- */

  /* Elevation shadows */
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md:   0 4px 6px -1px rgba(0, 0, 0, 0.07),
                 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg:   0 10px 15px -3px rgba(0, 0, 0, 0.08),
                 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl:   0 20px 25px -5px rgba(0, 0, 0, 0.08),
                 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --shadow-2xl:  0 25px 50px -12px rgba(0, 0, 0, 0.15);

  /* Colored glow shadows */
  --shadow-glow-blue:    0 0 30px rgba(2, 98, 211, 0.3);
  --shadow-glow-orange:  0 0 30px rgba(249, 115, 22, 0.3);
  --shadow-glow-emerald: 0 0 30px rgba(15, 157, 138, 0.3);


  /* --------------------------------------------------------------------------
     GLASS MORPHISM
     --------------------------------------------------------------------------
     Frosted glass aesthetic for overlays, navbars, and floating cards.
     -------------------------------------------------------------------------- */

  --glass-bg:          rgba(255, 255, 255, 0.7);
  --glass-bg-strong:   rgba(255, 255, 255, 0.85);
  --glass-bg-dark:     rgba(15, 23, 42, 0.8);
  --glass-border:      rgba(255, 255, 255, 0.2);
  --glass-blur:        blur(20px);


  /* --------------------------------------------------------------------------
     TRANSITIONS & EASING
     --------------------------------------------------------------------------
     Perceptually smooth easing curves. Named speeds for consistency.
     -------------------------------------------------------------------------- */

  /* Custom easing curves */
  --ease-out-expo:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart:     cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-cubic:  cubic-bezier(0.65, 0, 0.35, 1);

  /* Transition presets (speed + easing) */
  --transition-fast:    150ms var(--ease-out-expo);
  --transition-normal:  300ms var(--ease-out-expo);
  --transition-slow:    500ms var(--ease-out-expo);
  --transition-slower:  700ms var(--ease-out-expo);


  /* --------------------------------------------------------------------------
     Z-INDEX SCALE
     --------------------------------------------------------------------------
     Predictable stacking order. Never use magic numbers.
     -------------------------------------------------------------------------- */

  --z-base:      1;
  --z-dropdown:  100;
  --z-sticky:    200;
  --z-overlay:   300;
  --z-modal:     400;
  --z-toast:     500;
}
