/**
 * CSS Variables for tradingtechnology.net
 * Design Reference: fxify.com - Dark trading theme
 * Color Palette: Dark (#0a0c0f), Teal (#1DAA91), White text
 */

:root {
    /* Primary Colors - Teal/Mint (fxify accent) */
    --color-primary: #1DAA91;
    --color-primary-dark: #158A75;
    --color-primary-light: #25C9AC;
    --color-primary-rgb: 29, 170, 145;

    /* Secondary Colors - Dark bg */
    --color-secondary: #1DAA91;
    --color-secondary-dark: #158A75;
    --color-secondary-light: #25C9AC;
    --color-secondary-rgb: 29, 170, 145;

    /* Accent Colors - Bright teal */
    --color-accent: #20BDA0;
    --color-accent-dark: #178A73;
    --color-accent-light: #3DD9BC;
    --color-accent-rgb: 32, 189, 160;

    /* Background Colors - Dark theme */
    --color-bg: #0e1115;
    --color-bg-dark: #080a0d;
    --color-bg-light: #161b22;
    --color-bg-card: #141820;
    --color-bg-header: rgba(10, 12, 15, 0.97);
    --color-bg-footer: #080a0d;
    --color-bg-section-alt: #0a0d10;

    /* Text Colors */
    --color-text: #e2e8f0;
    --color-text-light: #94a3b8;
    --color-text-muted: #64748b;
    --color-text-white: #ffffff;
    --color-text-on-primary: #ffffff;
    --color-text-on-secondary: #ffffff;

    /* Semantic Colors */
    --color-success: #1DAA91;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    --color-info: #3b82f6;

    /* Border Colors */
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-light: rgba(255, 255, 255, 0.05);
    --color-border-accent: rgba(29, 170, 145, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, #0a0c0f 0%, #111418 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    --gradient-hero: linear-gradient(180deg, #0a0c0f 0%, #0e1115 100%);
    --gradient-card-hover: linear-gradient(135deg, rgba(29, 170, 145, 0.08) 0%, rgba(29, 170, 145, 0.02) 100%);
    --gradient-teal-glow: radial-gradient(ellipse at center, rgba(29, 170, 145, 0.15) 0%, transparent 70%);

    /* Typography */
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: var(--font-main);
    --font-mono: "SF Mono", Monaco, "Cascadia Code", "Segoe UI Mono", monospace;

    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.4vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);

    /* Line Heights */
    --leading-tight: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;

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

    /* Spacing Scale */
    --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;

    /* Border 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.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow-primary: 0 0 30px rgba(29, 170, 145, 0.3);
    --shadow-glow-accent: 0 0 20px rgba(29, 170, 145, 0.4);
    --shadow-teal: 0 4px 20px rgba(29, 170, 145, 0.25);

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

    /* Layout */
    --container-max: 1200px;
    --container-padding: 1.5rem;
    --header-height: 72px;
    --footer-min-height: 200px;

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

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