/**
 * Design System Variables
 * VerbaCall Landing Theme
 */

:root {
    /* ========================================
       COLORS
       ======================================== */

    /* Primary Colors */
    --color-primary: #5FC2E4;
    --color-primary-dark: #4AACCE;
    --color-primary-light: #7FCFEA;

    /* Dark Colors */
    --color-dark: #110229;
    --color-near-black: #000318;
    --color-black: #000000;

    /* Light Colors */
    --color-white: #FFFFFF;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;

    /* Text Colors */
    --color-text-muted: #828282;
    --color-text-light: #6B7280;

    /* Accent Colors */
    --color-accent: #5FC2E4;

    /* Functional Colors */
    --color-border: rgba(0, 0, 0, 0.1);
    --color-border-light: rgba(0, 0, 0, 0.05);
    --color-bg-overlay: rgba(0, 0, 0, 0.02);
    --color-bg-dark-overlay: rgba(0, 0, 0, 0.7);

    /* ========================================
       TYPOGRAPHY
       ======================================== */

    /* Font Families */
    --font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Font Sizes */
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 2rem;        /* 32px */
    --font-size-4xl: 3rem;        /* 48px */
    --font-size-5xl: 4rem;        /* 64px */

    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Line Heights */
    --line-height-tight: 1.1;
    --line-height-snug: 1.2;
    --line-height-normal: 1.3;
    --line-height-relaxed: 1.5;
    --line-height-loose: 1.7;

    /* ========================================
       SPACING
       ======================================== */

    --space-xs: 0.25rem;    /* 4px */
    --space-sm: 0.5rem;     /* 8px */
    --space-md: 0.75rem;    /* 12px */
    --space-base: 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: 7.5rem;    /* 120px */

    /* ========================================
       LAYOUT
       ======================================== */

    --max-width: 1440px;
    --content-width: 1392px;
    --side-padding: 1.5rem;        /* 24px */
    --side-padding-mobile: 1rem;   /* 16px */

    /* ========================================
       BORDERS
       ======================================== */

    --border-width: 1px;
    --border-width-thick: 3px;

    --radius-sm: 0.5rem;    /* 8px */
    --radius-md: 0.75rem;   /* 12px */
    --radius-lg: 1rem;      /* 16px */
    --radius-xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;

    /* ========================================
       SHADOWS
       ======================================== */

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.12);
    --shadow-2xl: 0 24px 48px rgba(0, 0, 0, 0.15);

    /* Glow Effects */
    --glow-teal: 0 0 10px rgba(95, 194, 228, 0.5);
    --glow-teal-hover: 0 0 20px rgba(95, 194, 228, 0.8);

    /* ========================================
       ANIMATIONS
       ======================================== */

    /* Duration */
    --duration-fast: 150ms;
    --duration-base: 200ms;
    --duration-slow: 300ms;
    --duration-slower: 500ms;
    --duration-slowest: 1000ms;

    /* Easing Functions */
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

    /* ========================================
       Z-INDEX SCALE
       ======================================== */

    --z-background: -1;
    --z-base: 0;
    --z-elevated: 10;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-toast: 500;

    /* ========================================
       BREAKPOINTS (for JS usage)
       ======================================== */

    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1440px;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 1023px) {
    :root {
        /* Adjust font sizes for tablet */
        --font-size-5xl: 3.5rem;  /* 56px */
        --font-size-4xl: 2.5rem;  /* 40px */
    }
}

@media (max-width: 767px) {
    :root {
        /* Adjust spacing for tablet portrait */
        --space-2xl: 2rem;        /* 32px */
        --space-3xl: 2.5rem;      /* 40px */
        --space-4xl: 3rem;        /* 48px */
        --space-5xl: 4rem;        /* 64px */

        /* Adjust font sizes for mobile */
        --font-size-5xl: 2.5rem;  /* 40px */
        --font-size-4xl: 2rem;    /* 32px */
        --font-size-3xl: 1.75rem; /* 28px */
    }
}

@media (max-width: 639px) {
    :root {
        /* Mobile adjustments */
        --side-padding: var(--side-padding-mobile);

        --font-size-5xl: 2.25rem; /* 36px */
        --font-size-4xl: 1.75rem; /* 28px */
    }
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    :root {
        --duration-fast: 0ms;
        --duration-base: 0ms;
        --duration-slow: 0ms;
        --duration-slower: 0ms;
        --duration-slowest: 0ms;
    }
}
