/* ELITESTREAM — VARIABLES CSS */

:root {

    /* ######################################################
        1. BRAND COLORS — NE CHANGENT PAS SELON LE THÈME
       ###################################################### */
    --es-primary: #635bff;
    --es-primary-hover: #756eff;
    --es-primary-active: #544cd9;
    --es-primary-subtle: rgba(99, 91, 255, 0.12);

    --es-secondary: #18bff2;
    --es-secondary-subtle: rgba(24, 191, 242, 0.12);

    --es-whatsapp: #25d366;
    --es-whatsapp-subtle: rgba(37, 211, 102, 0.12);

    /* #####################################################
        2. DARK THEME — PAR DÉFAUT
       ##################################################### */
    --es-bg: #070a12;
    --es-bg-secondary: #0b0e16;
    --es-bg-card-pricing: #141A21;

    --es-surface: #111827;
    --es-surface-hover: #181b24;
    --es-surface-elevated: #1e2230;

    --es-text: #ffffff;
    --es-text-secondary: #aab2c0;
    --es-text-muted: #646973;

    --es-border-subtle: rgba(255, 255, 255, 0.08);
    --es-border: rgba(255, 255, 255, 0.14);
    --es-border-primary: rgba(99, 91, 255, 0.1);

    /* #####################################################
        3. TYPOGRAPHY
      ##################################################### */
    
    --es-font-heading: "Sora", sans-serif;
    --es-font-body: "Inter", sans-serif;

    /* Font sizes */
    --es-fs-xs: 0.75rem;      /* 12px */
    --es-fs-sm: 0.875rem;     /* 14px */
    --es-fs-base: 1rem;       /* 16px */
    --es-fs-lg: 1.125rem;     /* 18px */
    --es-fs-xl: 1.5rem;       /* 24px */
    --es-fs-2xl: 2.25rem;     /* 36px */
    --es-fs-3xl: 2.5rem;      /* 40px */
    --es-fs-display: 3.5rem;  /* 56px */

    /* Font weights */
    --es-fw-regular: 400;
    --es-fw-medium: 500;
    --es-fw-semibold: 600;
    --es-fw-bold: 700;
    --es-fw-extrabold: 800;

    /* Line heights */
    --es-lh-tight: 1.1;
    --es-lh-heading: 1.25;
    --es-lh-body: 1.6;

    /* Letter spacing */
    --es-tracking-tight: -0.025em;
    --es-tracking-normal: 0;
    --es-tracking-wide: 0.05em;

    /* #####################################################
        4. SPACING SYSTEM
       ##################################################### */
    --es-space-1: 0.25rem;  /* 4px */
    --es-space-2: 0.5rem;   /* 8px */
    --es-space-3: 0.75rem;  /* 12px */
    --es-space-4: 1rem;     /* 16px */
    --es-space-5: 1.25rem;  /* 20px */
    --es-space-6: 1.5rem;   /* 24px */
    --es-space-7: 2rem;     /* 32px */
    --es-space-8: 2.5rem;   /* 40px */
    --es-space-9: 3rem;     /* 48px */
    --es-space-10: 4rem;    /* 64px */
    --es-space-11: 5rem;    /* 80px */
    --es-space-12: 6rem;    /* 96px */
    --es-space-13: 8rem;    /* 128px */

    /* ####################################################
        5. BORDERS
      #################################################### */
    --es-border-thin: 1px;
    --es-border-thick: 2px;

    /* ###################################################
        6. SHADOWS & GLOWS
       ################################################### */
    --es-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --es-shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.45);
    --es-shadow-elevated: 0 12px 32px -4px rgba(0, 0, 0, 0.6);
    --es-glow-primary: 0 0 24px rgba(99, 91, 255, 0.25);
    --es-glow-primary-strong: 0 0 36px rgba(99, 91, 255, 0.4);
    --es-glow-secondary: 0 0 24px rgba(24, 191, 242, 0.2);

    /* ###################################################
        7. BORDER RADIUS
       ################################################### */
    --es-radius-xs: 6px;
    --es-radius-sm: 8px;
    --es-radius-md: 10px;
    --es-radius-lg: 16px;
    --es-radius-xl: 24px;
    --es-radius-pill: 9999px;

    /* #################################################
        8. TRANSITIONS
      ################################################## */
    --es-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --es-transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --es-transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

    /* #################################################
        9. LAYOUT
       ################################################# */
    --es-container-max: 1200px;
    --es-header-height: 76px;
    --es-section-padding-y: 80px;
    --es-grid-gap: 24px;
    --es-button-height: 46px;
    --es-hero-content-max: 720px;
}

/* ELITESTREAM — LIGHT THEME */
[data-theme="light"] {

    /* ###########################################
        1. BACKGROUNDS
       ########################################### */
    --es-bg: #f7f8fc;
    --es-bg-secondary: #f1f3f8;
    --es-surface: #f1f3f8;
    --es-surface-hover: #f4f5fa;
    --es-surface-elevated: #ffffff;
    --es-bg-card-pricing: #f1f3f8;

    /* ###########################################
        2. TEXT COLORS
       ########################################### */
    --es-text: #0b0e16;
    --es-text-secondary: #5f6673;
    --es-text-muted: #8a919d;

    /* ###########################################
        3. BORDERS
       ########################################### */
    --es-border-subtle: rgba(11, 14, 22, 0.07);
    --es-border: rgba(11, 14, 22, 0.12);
    --es-border-primary:rgba(99, 91, 255, 0.28);

    /* ###########################################
        4. OVERLAYS
       ########################################### */
    --es-overlay:rgba(255, 255, 255, 0.78);

    /* ###########################################
        5. SHADOWS
        Light theme requires softer shadows
       ########################################### */
    --es-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --es-shadow-card: 0 8px 24px rgba(15, 23, 42, 0.08);
    --es-shadow-elevated: 0 16px 40px rgba(15, 23, 42, 0.12);

    /* ###########################################
        6. GLOWS
        More subtle than dark theme
       ########################################### */
    --es-glow-primary: 0 0 20px rgba(99, 91, 255, 0.14);
    --es-glow-primary-strong: 0 0 30px rgba(99, 91, 255, 0.20);
    --es-glow-secondary: 0 0 20px rgba(24, 191, 242, 0.12);
}