/*
 * ============================================================
 *  DESIGN TOKENS  —  css/tokens.css
 *  Single source of truth for all design decisions.
 * ============================================================
 */

:root {

  /* ── Primary Palette (warm indigo-purple — calm, trustworthy) ── */
  --color-primary:        #5B3EA8;
  --color-primary-light:  #7B5EC4;
  --color-primary-dark:   #3D2878;
  --color-primary-xlight: #EDE8FF;
  --color-primary-glass:  rgba(91, 62, 168, 0.10);
  --color-primary-glow:   rgba(91, 62, 168, 0.25);

  /* ── Accent (warm amber — hope, optimism) ── */
  --color-accent:         #F59E0B;
  --color-accent-light:   #FCD34D;
  --color-accent-glass:   rgba(245, 158, 11, 0.20);

  /* ── Journey Tier Palette (Bronze → Silver → Gold → Diamond) ── */
  --color-bronze:         #D97757;   /* L0 — warm copper */
  --color-bronze-dark:    #C46040;
  --color-bronze-bg:      #FFF0EB;
  --color-bronze-text:    #B55333;

  --color-silver:         #94A3B8;   /* L1 — cool slate */
  --color-silver-dark:    #64748B;
  --color-silver-bg:      #F1F5F9;
  --color-silver-text:    #475569;

  --color-gold:           #F59E0B;   /* L2 — warm amber (reuses --color-accent) */
  --color-gold-dark:      #D97706;
  --color-gold-text:      #B45309;

  --color-diamond:        #0D9488;   /* L3 — teal (reuses --color-teal) */
  --color-diamond-dark:   #0F766E;

  /* ── Teal (growth, clarity) ── */
  --color-teal:           #0D9488;
  --color-teal-light:     #5EEAD4;
  --color-teal-xlight:    #CCFBF1;

  /* ── Coral (warmth, compassion) ── */
  --color-coral:          #F87171;
  --color-coral-light:    #FECACA;

  /* ── Neutrals ── */
  --color-dark:           #1A1535;   /* rich deep navy-purple — footer/dark sections */
  --color-dark-mid:       #2D2550;
  --color-dark-text:      #A89FC2;
  --color-dark-border:    rgba(255, 255, 255, 0.08);
  --color-dark-card:      rgba(255, 255, 255, 0.04);

  --color-bg-page:        #FFFFFF;
  --color-bg-soft:        #FAF8FF;   /* barely-there lavender for alt sections */
  --color-bg-warm:        #FFFBF0;   /* warm cream for variety */

  --color-border:         #E8E3F4;   /* soft border for cards */

  --color-text-dark:      #1A1535;
  --color-text-mid:       #4B4272;
  --color-text-light:     #8B80A8;
  --color-white:          #FFFFFF;

  /* ── Brand Utility Colors ── */
  --color-whatsapp:       #1EBE5D;   /* WhatsApp green CTA */

  /* ── Gradients ── */
  --gradient-hero:     linear-gradient(135deg, #FAF8FF 0%, #EDE8FF 55%, #D8F5F3 100%);
  --gradient-primary:  linear-gradient(135deg, #5B3EA8, #7B5EC4);
  --gradient-cta:      linear-gradient(135deg, #3D2878 0%, #5B3EA8 50%, #0D9488 100%);
  --gradient-testi:    linear-gradient(160deg, #FAF8FF 0%, #EDE8FF 100%);
  --gradient-service:  linear-gradient(135deg, #F0ECFF 0%, #E8F9F7 100%);
  --gradient-insta:    linear-gradient(135deg, #833AB4, #C13584, #FD1D1D, #FCAF45);

  /* Card accent gradients */
  --gradient-card-1:  linear-gradient(135deg, #C4B5FD, #7C3AED);
  --gradient-card-2:  linear-gradient(135deg, #5EEAD4, #0D9488);
  --gradient-card-3:  linear-gradient(135deg, #FCD34D, #F59E0B);
  --gradient-card-4:  linear-gradient(135deg, #FCA5A5, #EF4444);

  /* ── Typography ── */
  --font-body:        'Inter', 'Nunito', sans-serif;
  --font-heading:     'DM Serif Display', 'Playfair Display', serif;

  /* Scale (Major Third — 1.25) */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-md:    1.0625rem;  /* 17px */
  --text-lg:    1.125rem;   /* 18px */
  --text-xl:    1.25rem;    /* 20px */
  --text-2xl:   1.375rem;   /* 22px */
  --text-3xl:   1.5rem;     /* 24px */
  --text-4xl:   2.25rem;    /* 36px */
  --text-5xl:   2.75rem;    /* 44px */
  --text-6xl:   3.25rem;    /* 52px */

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

  --leading-tight:   1.15;
  --leading-snug:    1.25;
  --leading-normal:  1.6;
  --leading-relaxed: 1.75;

  /* ── Spacing (8px grid) ── */
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   20px;
  --space-6:   24px;
  --space-7:   28px;
  --space-8:   32px;
  --space-10:  40px;
  --space-12:  48px;
  --space-14:  56px;
  --space-16:  64px;
  --space-20:  80px;
  --space-24:  96px;

  /* ── Border Radius ── */
  --radius-sm:   6px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-2xl:  36px;
  --radius-full: 9999px;

  /* ── Shadows (ambient + directional layers) ── */
  --shadow-xs:     0 1px 3px rgba(26,21,53,0.08), 0 1px 2px rgba(26,21,53,0.06);
  --shadow-sm:     0 2px 8px rgba(91,62,168,0.08), 0 1px 3px rgba(91,62,168,0.06);
  --shadow-card:   0 4px 16px rgba(91,62,168,0.10), 0 1px 4px rgba(91,62,168,0.06);
  --shadow-card-hover: 0 12px 32px rgba(91,62,168,0.18), 0 4px 12px rgba(91,62,168,0.10);
  --shadow-btn:    0 4px 14px rgba(91,62,168,0.35);
  --shadow-accent: 0 4px 14px rgba(245,158,11,0.30);
  --shadow-glow:   0 0 40px rgba(91,62,168,0.20);
  --shadow-white:  0 8px 32px rgba(26,21,53,0.18);

  /* ── Transitions ── */
  --transition-fast:   0.15s ease;
  --transition-base:   0.25s ease;
  --transition-slow:   0.35s ease;
  --transition-expand: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Animation Durations ── */
  --anim-reveal:   0.6s;
  --anim-stagger:  0.1s;   /* delay increment between staggered items */

  /* ── Layout ── */
  --nav-height:      72px;
  --section-pad-x:   6%;
  --section-pad-y:   88px;
  --content-max-w:   1200px;
}
