/* ============================================================
   WHATSAPP TOOL FIX BAND — DESIGN TOKENS v4.0
   LUMINOUS WHITE & INTERACTIVE AURA THEME
   ============================================================ */

:root {
  /* ── Brand Palette (Emerald, Cyan & Soft Aurora) ── */
  --brand-primary:         #059669;   /* Pure Emerald */
  --brand-primary-hover:   #047857;   /* Deep Emerald */
  --brand-primary-light:   #10b981;   /* Mint Glow */
  --brand-primary-glow:    rgba(5, 150, 105, 0.25);

  --brand-secondary:       #0284c7;   /* Sky Blue */
  --brand-secondary-hover: #0369a1;
  --brand-secondary-glow:  rgba(2, 132, 199, 0.20);

  --brand-accent:          #25D366;   /* WhatsApp Green */
  --brand-warning:         #d97706;   /* Amber */
  --brand-danger:          #dc2626;   /* Coral Red */
  --brand-purple:          #7c3aed;   /* Aurora Violet */

  /* ── Clean Soothing Pearl Surfaces (Non-Glaring) ── */
  --bg:                    #f8fafc;   /* Calm Soothing Off-White / Pearl */
  --bg-alt:                #ffffff;   /* Pure White Cards */
  --bg-elevated:           #f1f5f9;   /* Elevated Pearl Surface */
  --border:                rgba(5, 150, 105, 0.14); /* Subtle Mint Outline */
  --border-strong:         rgba(5, 150, 105, 0.28);
  --border-cyan:           rgba(2, 132, 199, 0.20);
  
  --text-primary:          #0f172a;   /* Rich Dark Slate (Peak Readability) */
  --text-secondary:        #475569;   /* Slate Gray */
  --text-muted:            #64748b;   /* Muted Slate */
  --text-inverse:          #ffffff;
  
  --glass-bg:              rgba(255, 255, 255, 0.85);
  --glass-border:          rgba(5, 150, 105, 0.15);
  --nav-bg:                rgba(255, 255, 255, 0.90);

  /* ── Typography (Cairo + JetBrains Mono) ── */
  --font-sans:     'Cairo', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', monospace;
  --font-display:  'Cairo', sans-serif;

  --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:      1.5rem;     /* 24px */
  --text-3xl:      1.875rem;   /* 30px */
  --text-4xl:      2.25rem;    /* 36px */
  --text-5xl:      3rem;       /* 48px */
  --text-6xl:      3.75rem;    /* 60px */
  --text-7xl:      4.5rem;     /* 72px */

  --weight-normal:    400;
  --weight-medium:    500;
  --weight-semibold:  600;
  --weight-bold:      700;
  --weight-extrabold: 800;
  --weight-black:     900;

  --leading-tight:    1.3;
  --leading-snug:     1.4;
  --leading-normal:   1.6;
  --leading-relaxed:  1.8;

  /* ── Spacing ─────────────────────────────────────────── */
  --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;
  --space-24:  6rem;
  --space-32:  8rem;

  /* ── Border Radius ───────────────────────────────────── */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-3xl:  2rem;
  --radius-full: 9999px;

  /* ── Soft Aurora Shadows & Glows ─────────────────────── */
  --shadow-sm:     0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-md:     0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-lg:     0 12px 32px rgba(5, 150, 105, 0.08);
  --shadow-xl:     0 20px 48px rgba(0, 0, 0, 0.08);
  --shadow-2xl:    0 30px 60px rgba(0, 0, 0, 0.10);
  --shadow-neon:   0 8px 24px rgba(5, 150, 105, 0.20);
  --shadow-cyan:   0 8px 24px rgba(2, 132, 199, 0.18);

  /* ── Transitions ─────────────────────────────────────── */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  --z-base:     0;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;

  /* ── Gradients ── */
  --gradient-brand:        linear-gradient(135deg, #059669 0%, #0d9488 50%, #0284c7 100%);
  --gradient-brand-soft:   linear-gradient(135deg, rgba(5, 150, 105, 0.10) 0%, rgba(2, 132, 199, 0.06) 100%);
  --gradient-hero:         radial-gradient(ellipse 80% 60% at 50% -10%, rgba(5, 150, 105, 0.08) 0%, transparent 70%);

  --container-xs:  480px;
  --container-sm:  640px;
  --container-md:  768px;
  --container-lg:  1024px;
  --container-xl:  1280px;
  --container-2xl: 1440px;
}

/* Soothing Non-Glaring White Theme across all environments */
[data-theme="dark"], [data-theme="light"], html, body {
  --bg:                  #f8fafc;
  --bg-alt:              #ffffff;
  --bg-elevated:         #f1f5f9;
  --border:              rgba(5, 150, 105, 0.14);
  --border-strong:       rgba(5, 150, 105, 0.28);
  --text-primary:        #0f172a;
  --text-secondary:      #475569;
  --text-muted:          #64748b;
  --text-inverse:        #ffffff;
  --glass-bg:            rgba(255, 255, 255, 0.85);
  --glass-border:        rgba(5, 150, 105, 0.15);
  --nav-bg:              rgba(255, 255, 255, 0.90);
}
