/* ============================================
   DESIGN TOKENS – EcomNivo
   ============================================ */

:root {
  /* ── Colors ── */
  --color-primary:        #0A1628;
  --color-primary-light:  #1B3A5C;
  --color-primary-mid:    #132D4A;
  --color-secondary:      #2D3436;
  --color-accent:         #00B4D8;
  --color-accent-hover:   #48CAE4;
  --color-accent-glow:    rgba(0, 180, 216, 0.25);
  --color-success:        #00C9A7;
  --color-success-hover:  #00E4BE;

  --color-bg-light:       #F8F9FA;
  --color-bg-dark:        #060D1B;
  --color-bg-section:     #F0F4F8;
  --color-bg-card:        rgba(255, 255, 255, 0.08);
  --color-bg-glass:       rgba(255, 255, 255, 0.05);

  --color-text-primary:   #1A1A2E;
  --color-text-secondary: #6C757D;
  --color-text-light:     #94A3B8;
  --color-text-white:     #FFFFFF;
  --color-text-on-dark:   #E2E8F0;

  --color-white:          #FFFFFF;
  --color-border:         #E2E8F0;
  --color-border-light:   rgba(255, 255, 255, 0.1);
  --color-border-dark:    rgba(0, 0, 0, 0.08);

  /* Gradients */
  --gradient-hero:        linear-gradient(135deg, #0A1628 0%, #1B3A5C 50%, #0D2137 100%);
  --gradient-accent:      linear-gradient(135deg, #00B4D8 0%, #00C9A7 100%);
  --gradient-card:        linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
  --gradient-cta:         linear-gradient(135deg, #00B4D8 0%, #0090B0 100%);
  --gradient-dark:        linear-gradient(180deg, #0A1628 0%, #060D1B 100%);
  --gradient-section:     linear-gradient(180deg, #F8F9FA 0%, #E8EEF4 100%);
  --gradient-overlay:     linear-gradient(180deg, rgba(10,22,40,0) 0%, rgba(10,22,40,0.8) 100%);

  /* ── Typography ── */
  --font-primary:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent:     'Space Grotesk', 'Inter', sans-serif;

  --fs-display:      clamp(2.5rem, 5vw, 4rem);
  --fs-h1:           clamp(2rem, 4vw, 3rem);
  --fs-h2:           clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3:           clamp(1.25rem, 2.5vw, 1.5rem);
  --fs-h4:           clamp(1.1rem, 2vw, 1.25rem);
  --fs-body:         1rem;
  --fs-body-lg:      1.125rem;
  --fs-small:        0.875rem;
  --fs-xs:           0.75rem;
  --fs-label:        0.8125rem;

  --fw-regular:      400;
  --fw-medium:       500;
  --fw-semibold:     600;
  --fw-bold:         700;

  --lh-tight:        1.2;
  --lh-normal:       1.6;
  --lh-relaxed:      1.8;

  --ls-tight:       -0.02em;
  --ls-normal:       0;
  --ls-wide:         0.05em;
  --ls-wider:        0.1em;

  /* ── Spacing ── */
  --space-2xs:       0.25rem;   /* 4px */
  --space-xs:        0.5rem;    /* 8px */
  --space-sm:        0.75rem;   /* 12px */
  --space-md:        1rem;      /* 16px */
  --space-lg:        1.5rem;    /* 24px */
  --space-xl:        2rem;      /* 32px */
  --space-2xl:       3rem;      /* 48px */
  --space-3xl:       4rem;      /* 64px */
  --space-4xl:       6rem;      /* 96px */
  --space-5xl:       8rem;      /* 128px */

  --container-max:   1200px;
  --container-lg:    1400px;
  --container-sm:    900px;

  /* ── Borders ── */
  --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;

  /* ── Shadows ── */
  --shadow-sm:       0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md:       0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg:       0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl:       0 20px 50px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-glow:     0 0 30px rgba(0, 180, 216, 0.2);
  --shadow-card:     0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.1);

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

  /* ── Z-index ── */
  --z-dropdown:      100;
  --z-sticky:        200;
  --z-fixed:         300;
  --z-overlay:       400;
  --z-modal:         500;
  --z-toast:         600;

  /* ── Misc ── */
  --glass-blur:      20px;
  --glass-bg:        rgba(255, 255, 255, 0.08);
  --glass-border:    rgba(255, 255, 255, 0.12);
  --header-height:   80px;
}
