/* ========================================
   STEELNER INOVAHOUSE - DESIGN SYSTEM
   Premium Steel Frame Brand Identity
   ======================================== */

:root {
    /* ========== COLOR PALETTE ========== */
    /* Primary - Max. Blue Green (Manual da Marca) */
    --color-primary-50: #EDFAF9;
    --color-primary-100: #D0F4F2;
    --color-primary-200: #A1E9E5;
    --color-primary-300: #72DED8;
    --color-primary-400: #57CEC8;
    --color-primary-500: #3FC0B9; /* Main Brand */
    --color-primary-600: #2DA39C;
    --color-primary-700: #217A75;
    --color-primary-800: #16524E;
    --color-primary-900: #0B2927;

    /* Secondary - Yinmn Blue (Manual da Marca) */
    --color-secondary-50: #EEF1F5;
    --color-secondary-100: #D5DBE3;
    --color-secondary-200: #ABB7C7;
    --color-secondary-300: #8193AB;
    --color-secondary-400: #3A506B;
    --color-secondary-500: #2D3F54; /* Main Secondary */
    --color-secondary-600: #243343;
    --color-secondary-700: #1B2732;
    --color-secondary-800: #121B22;
    --color-secondary-900: #090D11;

    /* Neutral - Modern Grays */
    --color-neutral-50: #F8FAFC;
    --color-neutral-100: #F1F5F9;
    --color-neutral-200: #E2E8F0;
    --color-neutral-300: #CBD5E1;
    --color-neutral-400: #94A3B8;
    --color-neutral-500: #64748B;
    --color-neutral-600: #475569;
    --color-neutral-700: #334155;
    --color-neutral-800: #1E293B;
    --color-neutral-900: #0B132B; /* Space Cadet (Manual da Marca) */

    /* Success - Sustainability Green */
    --color-success-50: #ECFDF5;
    --color-success-500: #10B981;
    --color-success-700: #047857;

    /* Warning */
    --color-warning-50: #FFFBEB;
    --color-warning-500: #F59E0B;
    --color-warning-700: #B45309;

    /* Error */
    --color-error-50: #FEF2F2;
    --color-error-500: #EF4444;
    --color-error-700: #B91C1C;

    /* ========== GRADIENTS ========== */
    --gradient-primary: linear-gradient(135deg, #3FC0B9 0%, #57CEC8 100%);
    --gradient-secondary: linear-gradient(135deg, #2D3F54 0%, #3A506B 100%);
    --gradient-hero: linear-gradient(135deg, rgba(11, 19, 43, 0.95) 0%, rgba(45, 63, 84, 0.9) 50%, rgba(63, 192, 185, 0.15) 100%);
    --gradient-steel: linear-gradient(135deg, #2D3F54 0%, #3A506B 50%, #4A6078 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --gradient-shine: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);

    /* ========== TYPOGRAPHY ========== */
    /* Font Families (Manual da Marca 2023) */
    --font-display: 'Palanquin Dark', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);
    --text-3xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.25rem);
    --text-4xl: clamp(2.25rem, 1.9rem + 1.75vw, 3rem);
    --text-5xl: clamp(3rem, 2.5rem + 2.5vw, 3.75rem);
    --text-6xl: clamp(3.75rem, 3rem + 3.75vw, 4.5rem);

    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* Letter Spacing */
    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;

    /* ========== SPACING ========== */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    --space-32: 8rem;     /* 128px */
    --space-40: 10rem;    /* 160px */
    --space-48: 12rem;    /* 192px */

    /* ========== BORDER RADIUS ========== */
    --radius-none: 0;
    --radius-sm: 0.25rem;
    --radius-base: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-3xl: 3rem;
    --radius-full: 9999px;

    /* ========== SHADOWS ========== */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-2xl: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);

    /* Colored Shadows */
    --shadow-primary: 0 10px 40px -10px rgba(63, 192, 185, 0.4);
    --shadow-secondary: 0 10px 40px -10px rgba(45, 63, 84, 0.4);
    --shadow-steel: 0 10px 40px -10px rgba(45, 63, 84, 0.3);

    /* ========== TRANSITIONS ========== */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: 700ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Easing Curves */
    --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);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth: cubic-bezier(0.33, 1, 0.68, 1);

    /* ========== Z-INDEX SCALE ========== */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-cursor: 9999;

    /* ========== BREAKPOINTS (for JS) ========== */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;

    /* ========== EFFECTS ========== */
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-blur: blur(20px);

    /* Backdrop Filters */
    --backdrop-blur-sm: blur(4px);
    --backdrop-blur-base: blur(8px);
    --backdrop-blur-md: blur(12px);
    --backdrop-blur-lg: blur(16px);
    --backdrop-blur-xl: blur(24px);

    /* ========== CONTAINER ========== */
    --container-xs: 20rem;
    --container-sm: 24rem;
    --container-md: 28rem;
    --container-lg: 32rem;
    --container-xl: 36rem;
    --container-2xl: 42rem;
    --container-3xl: 48rem;
    --container-4xl: 56rem;
    --container-5xl: 64rem;
    --container-6xl: 72rem;
    --container-7xl: 80rem;
    --container-full: 100%;

    /* ========== CUSTOM PROPERTIES ========== */
    /* Steel Frame Brand */
    --steel-gradient: linear-gradient(135deg, #94A3B8 0%, #CBD5E1 50%, #E2E8F0 100%);
    --steel-shimmer: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.8) 50%, transparent 100%);

    /* Animation Delays */
    --delay-0: 0ms;
    --delay-100: 100ms;
    --delay-200: 200ms;
    --delay-300: 300ms;
    --delay-500: 500ms;
    --delay-700: 700ms;
    --delay-1000: 1000ms;
}

/* ========== DARK MODE VARIABLES ========== */
@media (prefers-color-scheme: dark) {
    :root {
        --glass-bg: rgba(0, 0, 0, 0.3);
        --glass-border: rgba(255, 255, 255, 0.1);
    }
}

/* ========== UTILITY CLASSES ========== */

/* Container */
.container-fluid {
    width: 100%;
    padding-right: var(--space-4);
    padding-left: var(--space-4);
    margin-right: auto;
    margin-left: auto;
}

.container {
    max-width: var(--container-7xl);
    padding-right: var(--space-4);
    padding-left: var(--space-4);
    margin-right: auto;
    margin-left: auto;
}

/* Glassmorphism Effect */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

/* Steel Gradient Text */
.steel-text {
    background: var(--steel-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient Text */
.gradient-text-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-secondary {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--steel-shimmer);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Text Sizes */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }
.text-6xl { font-size: var(--text-6xl); }

/* Font Weights */
.font-light { font-weight: var(--font-light); }
.font-regular { font-weight: var(--font-regular); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }
.font-extrabold { font-weight: var(--font-extrabold); }
.font-black { font-weight: var(--font-black); }
