/**
 * CSS Variables - propsoft.net
 * FXIFY-inspired teal palette: #1DAA91 on light backgrounds
 */

:root {
    /* ── Primary Brand: FXIFY Teal ── */
    --color-primary: #1DAA91;
    --color-primary-dark: #178a76;
    --color-primary-light: #3ec4ab;
    --color-primary-rgb: 29, 170, 145;

    /* ── Secondary ── */
    --color-secondary: #1DAA91;
    --color-secondary-dark: #178a76;
    --color-secondary-light: #3ec4ab;
    --color-secondary-rgb: 29, 170, 145;

    /* ── Accent ── */
    --color-accent: #1DAA91;
    --color-accent-dark: #178a76;
    --color-accent-light: #3ec4ab;
    --color-accent-rgb: 29, 170, 145;

    /* ── Background (Light mode) ── */
    --color-bg: #ffffff;
    --color-bg-dark: #0b0c10;
    --color-bg-light: #f5f6f8;
    --color-bg-card: #ffffff;
    --color-bg-header: rgba(11, 12, 16, 0.95);
    --color-bg-footer: #0b0c10;
    --color-bg-section-alt: #f5f6f8;

    /* ── Background (White mode sections) ── */
    --color-bg-white: #ffffff;
    --color-bg-offwhite: #f5f6f8;
    --color-bg-light-card: #ffffff;

    /* ── Border ── */
    --color-border: #e5e7eb;
    --color-border-light: #d1d5db;
    --color-border-white: #e5e7eb;

    /* ── Text (Light sections) ── */
    --color-text: #374151;
    --color-text-light: #6b7280;
    --color-text-muted: #9ca3af;
    --color-text-white: #ffffff;
    --color-text-on-primary: #ffffff;

    /* ── Text (Dark sections) ── */
    --color-text-dark: #0b0c10;
    --color-text-dark-light: #4b5563;
    --color-text-dark-muted: #9ca3af;

    /* ── Semantic ── */
    --color-success: #22c55e;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    --color-info: #1DAA91;

    /* ── Gradients ── */
    --gradient-primary: linear-gradient(135deg, #1DAA91 0%, #178a76 100%);
    --gradient-hero: linear-gradient(160deg, #0b0c10 0%, #0f1923 30%, #0d2520 60%, #0b0c10 100%);
    --gradient-hero-glow: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(29,170,145,0.15) 0%, transparent 70%);
    --gradient-dark-section: linear-gradient(180deg, #0b0c10 0%, #0f1a1e 50%, #0b0c10 100%);
    --gradient-cta: radial-gradient(ellipse at 50% 50%, rgba(29,170,145,0.12) 0%, transparent 60%), linear-gradient(180deg, #0b0c10 0%, #0d1a1e 100%);
    --gradient-card-hover: linear-gradient(135deg, rgba(29,170,145,0.05) 0%, rgba(29,170,145,0.02) 100%);

    /* ── Typography ── */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: var(--font-main);

    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
    --text-sm: clamp(0.8125rem, 0.78rem + 0.2vw, 0.875rem);
    --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
    --text-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
    --text-xl: clamp(1.1875rem, 1.1rem + 0.5vw, 1.375rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.625rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.25rem);

    --leading-tight: 1.15;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;

    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* ── Spacing ── */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* ── Radius ── */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* ── Shadows ── */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-card-hover: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 30px rgba(29,170,145,0.2);

    /* ── Transitions ── */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* ── Layout ── */
    --container-max: 1200px;
    --container-wide: 1400px;
    --container-padding: 1.5rem;
    --header-height: 72px;

    /* ── Z-Index ── */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;

    /* ── Carousel ── */
    --carousel-speed-row1: 240s;
    --carousel-speed-row2: 250s;
    --carousel-speed-row3: 260s;
}
