/*
 * CreativAI Main Website - Global Styles
 * Ocean Blue Theme - Professional & Modern
 * 
 * Performance-optimized, responsive design
 * with professional color palette and typography
 */

/* ========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ======================================== */

:root {
    /* Colors - Ocean Blue Theme */
    --primary-blue: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --primary-lighter: #7dd3fc;
    --primary-lightest: #f0f9ff;
    
    --secondary-navy: #1e293b;
    --secondary-slate: #334155;
    --secondary-gray: #64748b;
    --secondary-light: #94a3b8;
    --secondary-lighter: #cbd5e1;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --bg-dark: #0f172a;
    
    --text-dark: #1e293b;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --error: #ef4444;
    --error-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-code: 'Source Code Pro', 'SF Mono', Monaco, Consolas, monospace;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Font Sizes - Responsive Scale */
    --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: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-6xl: 3.75rem;   /* 60px */
    
    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
    
    /* Spacing Scale */
    --space-px: 1px;
    --space-0: 0;
    --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 */
    
    /* Layout */
    --container-xs: 20rem;      /* 320px */
    --container-sm: 24rem;      /* 384px */
    --container-md: 28rem;      /* 448px */
    --container-lg: 32rem;      /* 512px */
    --container-xl: 36rem;      /* 576px */
    --container-2xl: 42rem;     /* 672px */
    --container-3xl: 48rem;     /* 768px */
    --container-4xl: 56rem;     /* 896px */
    --container-5xl: 64rem;     /* 1024px */
    --container-6xl: 72rem;     /* 1152px */
    --container-7xl: 80rem;     /* 1280px */
    --container-full: 100%;
    
    --container-max: 1200px;
    --container-padding: var(--space-4);
    
    /* Border Radius */
    --border-radius-none: 0;
    --border-radius-sm: 0.125rem;   /* 2px */
    --border-radius: 0.25rem;       /* 4px */
    --border-radius-md: 0.375rem;   /* 6px */
    --border-radius-lg: 0.5rem;     /* 8px */
    --border-radius-xl: 0.75rem;    /* 12px */
    --border-radius-2xl: 1rem;      /* 16px */
    --border-radius-3xl: 1.5rem;    /* 24px */
    --border-radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Transitions */
    --transition-all: all 0.15s ease-in-out;
    --transition-colors: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    --transition-opacity: opacity 0.15s ease-in-out;
    --transition-shadow: box-shadow 0.15s ease-in-out;
    --transition-transform: transform 0.15s ease-in-out;
    
    /* Animation Durations */
    --duration-75: 75ms;
    --duration-100: 100ms;
    --duration-150: 150ms;
    --duration-200: 200ms;
    --duration-300: 300ms;
    --duration-500: 500ms;
    --duration-700: 700ms;
    --duration-1000: 1000ms;
    
    /* Animation Easings */
    --ease-linear: linear;
    --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-0: 0;
    --z-10: 10;
    --z-20: 20;
    --z-30: 30;
    --z-40: 40;
    --z-50: 50;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
    
    /* Breakpoints for JS */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

/* Modern CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--text-body);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Remove default button styles */
button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
}

/* Remove default link styles */
a {
    color: inherit;
    text-decoration: none;
}

/* Remove default list styles */
ul,
ol {
    list-style: none;
}

/* Remove default form styles */
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

/* Remove default table styles */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Remove default fieldset styles */
fieldset {
    border: none;
}

/* Remove default legend styles */
legend {
    padding: 0;
}

/* Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Remove built-in form typography styles */
input,
button,
textarea,
select {
    font: inherit;
}

/* Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
    hyphens: auto;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

.font-display {
    font-family: var(--font-display);
}

.font-body {
    font-family: var(--font-primary);
}

.font-mono {
    font-family: var(--font-code);
}

/* Headings */
h1, .h1 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-extrabold);
    line-height: var(--line-height-tight);
    color: var(--text-dark);
    margin-bottom: var(--space-6);
}

h2, .h2 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--text-dark);
    margin-bottom: var(--space-5);
}

h3, .h3 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-snug);
    color: var(--text-dark);
    margin-bottom: var(--space-4);
}

h4, .h4 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    color: var(--text-dark);
    margin-bottom: var(--space-3);
}

h5, .h5 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
    color: var(--text-dark);
    margin-bottom: var(--space-3);
}

h6, .h6 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-normal);
    color: var(--text-dark);
    margin-bottom: var(--space-2);
}

/* Text styles */
.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }
.text-4xl { font-size: var(--font-size-4xl); }
.text-5xl { font-size: var(--font-size-5xl); }
.text-6xl { font-size: var(--font-size-6xl); }

/* Font weights */
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }
.font-extrabold { font-weight: var(--font-weight-extrabold); }

/* Text colors */
.text-primary { color: var(--primary-blue); }
.text-primary-dark { color: var(--primary-dark); }
.text-dark { color: var(--text-dark); }
.text-body { color: var(--text-body); }
.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }
.text-white { color: var(--text-white); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-error { color: var(--error); }
.text-info { color: var(--info); }

/* Text alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* Line heights */
.leading-tight { line-height: var(--line-height-tight); }
.leading-snug { line-height: var(--line-height-snug); }
.leading-normal { line-height: var(--line-height-normal); }
.leading-relaxed { line-height: var(--line-height-relaxed); }
.leading-loose { line-height: var(--line-height-loose); }

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }
.container-xl { max-width: var(--container-xl); }
.container-2xl { max-width: var(--container-2xl); }
.container-3xl { max-width: var(--container-3xl); }
.container-4xl { max-width: var(--container-4xl); }
.container-5xl { max-width: var(--container-5xl); }
.container-6xl { max-width: var(--container-6xl); }
.container-7xl { max-width: var(--container-7xl); }
.container-full { max-width: var(--container-full); }

/* Section spacing */
.section {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
}

.section-lg {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
}

.section-xl {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
}

/* ========================================
   UTILITIES
   ======================================== */

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.inline-grid { display: inline-grid; }

/* Flexbox utilities */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

/* Grid utilities */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-10 { gap: var(--space-10); }
.gap-12 { gap: var(--space-12); }

/* Spacing utilities */
.m-0 { margin: var(--space-0); }
.m-1 { margin: var(--space-1); }
.m-2 { margin: var(--space-2); }
.m-3 { margin: var(--space-3); }
.m-4 { margin: var(--space-4); }
.m-5 { margin: var(--space-5); }
.m-6 { margin: var(--space-6); }
.m-8 { margin: var(--space-8); }
.m-10 { margin: var(--space-10); }
.m-12 { margin: var(--space-12); }
.m-16 { margin: var(--space-16); }
.m-20 { margin: var(--space-20); }
.m-24 { margin: var(--space-24); }
.m-auto { margin: auto; }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }

.mt-0 { margin-top: var(--space-0); }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mt-20 { margin-top: var(--space-20); }
.mt-24 { margin-top: var(--space-24); }

.mb-0 { margin-bottom: var(--space-0); }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }
.mb-20 { margin-bottom: var(--space-20); }
.mb-24 { margin-bottom: var(--space-24); }

.p-0 { padding: var(--space-0); }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.p-10 { padding: var(--space-10); }
.p-12 { padding: var(--space-12); }
.p-16 { padding: var(--space-16); }
.p-20 { padding: var(--space-20); }
.p-24 { padding: var(--space-24); }

.px-1 { padding-left: var(--space-1); padding-right: var(--space-1); }
.px-2 { padding-left: var(--space-2); padding-right: var(--space-2); }
.px-3 { padding-left: var(--space-3); padding-right: var(--space-3); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-5 { padding-left: var(--space-5); padding-right: var(--space-5); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.px-8 { padding-left: var(--space-8); padding-right: var(--space-8); }

.py-1 { padding-top: var(--space-1); padding-bottom: var(--space-1); }
.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-3 { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-5 { padding-top: var(--space-5); padding-bottom: var(--space-5); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }
.py-20 { padding-top: var(--space-20); padding-bottom: var(--space-20); }
.py-24 { padding-top: var(--space-24); padding-bottom: var(--space-24); }

/* Background colors */
.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }
.bg-gray { background-color: var(--bg-gray); }
.bg-dark { background-color: var(--bg-dark); }
.bg-primary { background-color: var(--primary-blue); }
.bg-primary-dark { background-color: var(--primary-dark); }
.bg-primary-light { background-color: var(--primary-light); }
.bg-primary-lightest { background-color: var(--primary-lightest); }

/* Border radius */
.rounded-none { border-radius: var(--border-radius-none); }
.rounded-sm { border-radius: var(--border-radius-sm); }
.rounded { border-radius: var(--border-radius); }
.rounded-md { border-radius: var(--border-radius-md); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-xl { border-radius: var(--border-radius-xl); }
.rounded-2xl { border-radius: var(--border-radius-2xl); }
.rounded-3xl { border-radius: var(--border-radius-3xl); }
.rounded-full { border-radius: var(--border-radius-full); }

/* Shadows */
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }
.shadow-inner { box-shadow: var(--shadow-inner); }

/* Transitions */
.transition-all { transition: var(--transition-all); }
.transition-colors { transition: var(--transition-colors); }
.transition-opacity { transition: var(--transition-opacity); }
.transition-shadow { transition: var(--transition-shadow); }
.transition-transform { transition: var(--transition-transform); }

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.focus\:sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Focus styles */
.focus-visible:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Hover effects */
.hover\:opacity-75:hover { opacity: 0.75; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:scale-105:hover { transform: scale(1.05); }

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

/* Optimize rendering performance */
* {
    -webkit-font-smoothing: antialiased;
}

/* Optimize images */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print styles */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    a,
    a:visited {
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    
    .no-print {
        display: none !important;
    }
}

/* ========================================
   IMAGE FALLBACKS & ERROR HANDLING
   ======================================== */

/* Hide broken images and show placeholder */
img {
    max-width: 100%;
    height: auto;
}

/* Placeholder for missing images */
img[src=""],
img:not([src]),
img[src*="placeholder"] {
    background-color: var(--bg-gray);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' fill='%23e2e8f0'/%3E%3Ctext x='20' y='22' font-family='Arial' font-size='10' fill='%2394a3b8' text-anchor='middle'%3EIMG%3C/text%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid var(--secondary-lighter);
    border-radius: 4px;
    min-height: 40px;
    min-width: 40px;
}

/* Client logos fallback */
.hero__logo {
    background-color: var(--bg-light);
    border: 1px solid var(--secondary-lighter);
    border-radius: 8px;
    padding: 8px 12px;
    min-height: 40px;
    min-width: 120px;
    object-fit: contain;
}

.hero__logo:not([src]),
.hero__logo[src=""] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'%3E%3Crect width='120' height='40' rx='8' fill='%23f8fafc'/%3E%3Ctext x='60' y='25' font-family='Arial' font-size='12' font-weight='600' fill='%2394a3b8' text-anchor='middle'%3ECLIENT%3C/text%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* ========================================
   COMPONENT STYLES
   ======================================== */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: var(--space-16) 0;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(2, 132, 199, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.hero__title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-extrabold);
    line-height: var(--line-height-tight);
    color: var(--text-dark);
    margin-bottom: var(--space-4);
}

.hero__title--gradient {
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #0ea5e9 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero__subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-body);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-6);
}

.hero__cta {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.hero__social-proof {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.hero__social-proof-text {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-4);
}

/* Hero Logos Infinite Carousel */
.hero__logos-carousel {
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        white 20px,
        white calc(100% - 20px),
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        white 20px,
        white calc(100% - 20px),
        transparent
    );
}

.hero__logos-track {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    white-space: nowrap;
    width: max-content;
}

.hero__logos {
    display: flex;
    gap: var(--space-4);
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image {
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background: white;
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.3s ease;
    border-radius: 15px;
}

.hero__image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
}

.hero__image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(14, 165, 233, 0.1), rgba(2, 132, 199, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.hero__image:hover::before {
    opacity: 1;
}

.hero__dashboard {
    max-width: 100%;
    height: auto;
    box-shadow: var(--shadow-2xl);
    border-radius: var(--border-radius-2xl);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    background: #f8fafc;
}

.hero__floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: var(--border-radius-xl);
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.floating-card--1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
    z-index: 11;
}

.floating-card--2 {
    bottom: 20%;
    right: -10%;
    animation-delay: 1.5s;
    z-index: 12;
}

.floating-card__icon {
    font-size: var(--font-size-2xl);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-lightest);
    border-radius: var(--border-radius-lg);
}

.floating-card__content h4 {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin: 0 0 var(--space-1) 0;
}

.floating-card__content p {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Stats Section */
.stats {
    background: var(--bg-white);
    padding: var(--space-16) 0;
    border-top: 1px solid var(--secondary-lighter);
    border-bottom: 1px solid var(--secondary-lighter);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
    text-align: center;
}

.stats__item {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.stats__number {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-blue);
    line-height: 1;
}

.stats__label {
    font-size: var(--font-size-base);
    color: var(--text-body);
    font-weight: var(--font-weight-medium);
}

/* Section Headers - Global Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-light));
    border-radius: 2px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: var(--space-4);
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
}

.section-title .text-gradient {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 50%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-weight: var(--font-weight-bold);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-body);
    max-width: 700px;
    margin: 0 auto;
    line-height: var(--line-height-relaxed);
    font-weight: var(--font-weight-medium);
    opacity: 0.9;
}

/* Features Section */
.features {
    background: var(--bg-light);
    padding: var(--space-16) 0;
}

.features__header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.features__title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: var(--space-4);
}

.features__subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.feature-card {
    background: white;
    padding: var(--space-8);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-all);
    border: 1px solid var(--secondary-lighter);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-4);
    border-radius: var(--border-radius-xl);
    background: var(--bg-light);
    border: 2px solid var(--primary-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card__icon img,
.feature-card__icon svg {
    width: 32px;
    height: 32px;
}

.feature-card__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-3);
}

.feature-card__description {
    font-size: var(--font-size-base);
    color: var(--text-body);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-4);
}

.feature-card__link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-2);
    color: var(--primary-blue);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: var(--transition-all);
}

.feature-card__link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.feature-card__link svg {
    transition: var(--transition-transform);
}

.feature-card__link:hover svg {
    transform: translateX(2px);
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-white);
    padding: var(--space-16) 0 0;
}

.testimonials__header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.testimonials__title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: var(--space-4);
}

.testimonials__subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
}

.testimonials__slider {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 40px;
    box-sizing: border-box;
}

.testimonials__track {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0);
    position: relative;
    left: 0;
    width: fit-content;
}

.testimonial-card {
    background: white;
    padding: var(--space-8);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--secondary-lighter);
    position: relative;
    flex: 0 0 600px;
    min-height: 300px;
    opacity: 0.3;
    transform: scale(0.9);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.testimonial-card.testimonial-card--active {
    opacity: 1 !important;
    transform: scale(1) !important;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15) !important;
    border-color: rgba(14, 165, 233, 0.2) !important;
    cursor: default !important;
    z-index: 2 !important;
}

.testimonial-card:not(.testimonial-card--active) {
    opacity: 0.3 !important;
    transform: scale(0.9) !important;
}

.testimonial-card:not(.testimonial-card--active):hover {
    opacity: 0.6 !important;
    transform: scale(0.95) !important;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-4);
    right: var(--space-6);
    font-size: var(--font-size-6xl);
    color: var(--primary-lightest);
    font-family: serif;
    line-height: 1;
}

.testimonial-card__quote {
    font-size: var(--font-size-lg);
    color: var(--text-body);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-card__footer {
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(14, 165, 233, 0.1);
}

.testimonial-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-full);
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-card:hover .testimonial-card__avatar {
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.testimonial-card__info h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin: 0 0 var(--space-1) 0;
}

.testimonial-card__info p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin: 0;
}

.testimonial-card__info {
    flex: 1;
    min-width: 0;
}

.testimonial-card__name {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-1);
    font-style: normal;
}

.testimonial-card__position {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: 2px;
    font-weight: var(--font-weight-medium);
}

.testimonial-card__company {
    font-size: var(--font-size-sm);
    color: var(--primary-blue);
    font-weight: var(--font-weight-medium);
}

.testimonial-card__rating {
    margin-top: var(--space-3);
    display: flex;
    gap: var(--space-1);
}

.testimonial-star {
    color: #d1d5db;
    transition: color 0.2s ease;
}

.testimonial-card--active .testimonial-star.testimonial-star--filled {
    color: #fbbf24;
}

/* Testimonials Navigation Buttons */
.testimonials__navigation {
    position: static;
    display: contents;
}

.testimonials__btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--primary-blue);
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.2);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.testimonials__btn:hover {
    background: var(--primary-blue);
    color: #ffffff;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 12px 35px rgba(14, 165, 233, 0.4);
}

.testimonials__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: translateY(-50%);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.testimonials__btn--prev {
    left: 20px;
}

.testimonials__btn--next {
    right: 20px;
}

.testimonials__btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    fill: currentColor;
}

.testimonials__btn:hover svg {
    transform: scale(1.2);
}

/* Mobile responsiveness for testimonials */
@media (max-width: 768px) {
    .testimonials__slider {
        padding: 0 30px;
    }
    
    .testimonial-card {
        flex: 0 0 400px;
    }
    
    .testimonials__btn--prev {
        left: 10px;
    }
    
    .testimonials__btn--next {
        right: 10px;
    }
    
    .testimonials__btn {
        width: 50px;
        height: 50px;
    }
    
    .testimonials__btn svg {
        width: 20px;
        height: 20px;
    }
    
    .testimonials__btn:hover {
        transform: translateY(-50%) scale(1.05);
    }
    
    .testimonials__btn:disabled {
        transform: translateY(-50%);
    }
    
    .hero__logos {
        gap: var(--space-2);
    }
    
    .hero__logo {
        min-width: 100px;
        min-height: 32px;
    }
}

/* Auto-rotation styles */
.testimonials__track {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    transition: transform 0.5s ease;
}

.testimonial-card {
    background: white;
    padding: var(--space-8);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--secondary-lighter);
    position: relative;
    flex: 0 0 600px;
    opacity: 0.3;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.testimonial-card.testimonial-card--active {
    opacity: 1 !important;
    transform: scale(1) !important;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15) !important;
    border-color: rgba(14, 165, 233, 0.2) !important;
    cursor: default !important;
    z-index: 2 !important;
}

.testimonial-card:not(.testimonial-card--active) {
    opacity: 0.3 !important;
    transform: scale(0.9) !important;
}

.testimonial-card:not(.testimonial-card--active):hover {
    opacity: 0.6 !important;
    transform: scale(0.95) !important;
}

/* Companies showcase section */
.testimonials__companies {
    margin-top: var(--space-16);
    padding: var(--space-12) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.testimonials__companies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-blue) 20%, 
        var(--primary-blue) 80%, 
        transparent 100%
    );
    opacity: 0.3;
}

.companies-showcase {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.companies-showcase__title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-8);
    position: relative;
    display: inline-block;
}

.companies-showcase__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.companies-showcase__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.companies-showcase__logos:hover {
    opacity: 1;
}

/* Companies Showcase Infinite Carousel */
.companies-showcase__carousel {
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        white 30px,
        white calc(100% - 30px),
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        white 30px,
        white calc(100% - 30px),
        transparent
    );
}

.companies-showcase__track {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    white-space: nowrap;
    width: max-content;
}

.company-logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.company-logo:hover {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

/* Responsive design for companies showcase */
@media (max-width: 768px) {
    .testimonials__companies {
        margin-top: var(--space-12);
        padding: var(--space-8) 0;
    }
    
    .companies-showcase__logos {
        gap: var(--space-6);
    }
    
    .company-logo {
        height: 32px;
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .companies-showcase__logos {
        gap: var(--space-4);
    }
    
    .company-logo {
        height: 28px;
        max-width: 80px;
    }
}

/* Section Headers Responsive */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: var(--space-12);
    }
    
    .section-header::before {
        width: 40px;
        height: 3px;
        top: -0.5rem;
    }
    
    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        margin-bottom: var(--space-3);
    }
    
    .section-subtitle {
        font-size: var(--font-size-base);
        padding: 0 var(--space-4);
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: var(--space-8);
    }
    
    .section-title {
        font-size: clamp(1.4rem, 6vw, 1.9rem);
        letter-spacing: -0.01em;
    }
    
    .section-subtitle {
        font-size: var(--font-size-sm);
        padding: 0 var(--space-2);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: var(--transition-all);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn--lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
}

.btn--primary {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn--ghost {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn--ghost:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   HEADER & NAVIGATION STYLES
   ======================================== */

/* Header */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--secondary-lighter);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0;
    min-height: 80px;
}

/* Logo */
.header__logo {
    flex-shrink: 0;
}

.logo {
    display: block;
    transition: var(--transition-opacity);
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Navigation */
.header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 var(--space-8);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--text-body);
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-colors);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-blue);
    background-color: var(--primary-lightest);
}

.nav-link--active {
    color: var(--primary-blue);
    background-color: var(--primary-lightest);
}

.nav-link__icon {
    transition: var(--transition-transform);
}

/* Dropdown */
.nav-item--dropdown:hover .nav-link__icon {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--secondary-lighter);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-all);
    z-index: var(--z-dropdown);
}

.nav-item--dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li {
    list-style: none;
}

.nav-dropdown__link {
    display: block;
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--text-body);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition-colors);
}

.nav-dropdown__link:hover {
    color: var(--primary-blue);
    background-color: var(--primary-lightest);
}

/* Header Actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-shrink: 0;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-switcher__toggle {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    background: transparent;
    border: 1px solid var(--secondary-lighter);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition-colors);
}

.language-switcher__toggle:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.language-switcher__current {
    font-weight: var(--font-weight-semibold);
}

.language-switcher__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--secondary-lighter);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-all);
    z-index: var(--z-dropdown);
}

.language-switcher:hover .language-switcher__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-switcher__dropdown li {
    list-style: none;
}

.language-switcher__link {
    display: block;
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--text-body);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition-colors);
}

.language-switcher__link:hover {
    color: var(--primary-blue);
    background-color: var(--primary-lightest);
}

.language-switcher__link--active {
    color: var(--primary-blue);
    background-color: var(--primary-lightest);
    font-weight: var(--font-weight-semibold);
}

/* Mobile Toggle */
.header__mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: var(--space-2);
    cursor: pointer;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 18px;
}

.hamburger__line {
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    border-radius: 1px;
    transition: var(--transition-all);
}

/* Mobile Navigation */
.header__mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-opacity);
}

.header__mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.header__mobile-nav {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: white;
    padding: var(--space-6);
    transform: translateX(100%);
    transition: var(--transition-transform);
    overflow-y: auto;
}

.header__mobile-overlay.active .header__mobile-nav {
    transform: translateX(0);
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--secondary-lighter);
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-colors);
}

.mobile-nav-link:hover {
    color: var(--primary-blue);
}

.mobile-nav-link--sub {
    padding-left: var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--text-body);
}

.mobile-nav-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav-item--expandable.expanded .mobile-nav-submenu {
    max-height: 200px;
}

.mobile-nav-actions {
    margin-top: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* Button variants for header */
.btn--sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
}

.btn--block {
    width: 100%;
    justify-content: center;
}

/* Responsive Header */
@media (max-width: 1024px) {
    .header__nav {
        display: none;
    }
    
    .header__mobile-toggle {
        display: block;
    }
    
    .header__actions {
        gap: var(--space-2);
    }
    
    .language-switcher__toggle {
        padding: var(--space-1) var(--space-2);
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 768px) {
    .header__content {
        padding: var(--space-3) 0;
        min-height: 60px;
    }
    
    .logo img {
        height: 32px;
    }
    
    .header__actions .btn {
        display: none;
    }
    
    .header__actions {
        gap: var(--space-2);
    }
}

/* ========================================
   PROCESS TIMELINE STYLES
   ======================================== */

/* Modern Process Timeline */
.how-it-works {
    padding: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
}

.how-it-works .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

.process-timeline {
    position: relative;
    margin: 5rem auto 0;
    padding-left: 10rem;
    width: 80%;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 9rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 2px;
    z-index: 1;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.process-step {
    position: relative;
    margin-bottom: 6rem;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0.2s; }
.process-step:nth-child(2) { animation-delay: 0.4s; }
.process-step:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-step__visual {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    margin-left: -10rem;
}

.process-step__icon {
    width: 120px;
    height: 120px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 0 6px rgba(14, 165, 233, 0.1),
        0 12px 40px rgba(14, 165, 233, 0.25);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid #ffffff;
}

.process-step__icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.process-step:hover .process-step__icon::before {
    opacity: 1;
}

.process-step__icon img {
    width: 80px;
    height: 80px;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.process-step:hover .process-step__icon {
    transform: scale(1.05);
    box-shadow: 
        0 0 0 6px rgba(14, 165, 233, 0.2),
        0 20px 60px rgba(14, 165, 233, 0.4);
}

.process-step:hover .process-step__icon img {
    transform: scale(1.1);
}

.process-step__number {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border: 4px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: #ffffff;
    z-index: 4;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.process-step__content {
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(14, 165, 233, 0.05);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    min-height: 200px;
    border: 2px solid rgba(14, 165, 233, 0.05);
}

.process-step__content::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: -12px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 2px solid rgba(14, 165, 233, 0.1);
    transform: rotate(45deg);
    z-index: -1;
}

.process-step:hover .process-step__content {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.2);
}

.process-step__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.process-step__description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.process-step__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
    color: var(--primary-blue);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--border-radius-xl);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    border: 1px solid rgba(14, 165, 233, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    will-change: transform, box-shadow;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
    cursor: pointer;
}

.feature-tag:hover {
    background: var(--primary-blue);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.2);
}

.process-connector {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 120px;
    background: linear-gradient(180deg, #0ea5e9 0%, rgba(14, 165, 233, 0.3) 50%, transparent 100%);
    z-index: 1;
    border-radius: 2px;
}

.process-connector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #0ea5e9;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.process-connector::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: rgba(14, 165, 233, 0.5);
    border-radius: 50%;
}

.process-step:last-child .process-connector {
    display: none;
}

/* CTA Section with dark background matching Solutions hero */
.process-cta {
    background: linear-gradient(135deg, #0ea5e9 0%, #1e293b 100%) !important;
    padding: var(--space-12);
    margin-top: var(--space-16);
    text-align: center;
    border: 1px solid var(--primary-lighter);
    position: relative;
    overflow: hidden;
    animation: processCTASlideUp 0.8s ease-out;
    box-shadow: var(--shadow-lg);
    color: white !important;
}

/* Specific selector for home page CTA with highest priority */
.page-home .process-cta {
    background: linear-gradient(135deg, #0ea5e9 0%, #1e293b 100%) !important;
    color: white !important;
}

.page-home .process-cta * {
    color: white !important;
}

.process-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes processCTASlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-cta__content h3 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: white;
    margin-bottom: var(--space-4);
    animation: processCTASlideUp 0.8s ease-out 0.2s both;
    position: relative;
}

.process-cta__content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    border-radius: 2px;
    animation: processCTAUnderline 2s ease-in-out infinite;
}

@keyframes processCTAUnderline {
    0%, 100% { 
        width: 50px;
        opacity: 0.8;
    }
    50% { 
        width: 70px;
        opacity: 1;
    }
}

.process-cta__content p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: processCTASlideUp 0.8s ease-out 0.4s both;
}

.process-cta__actions {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
    animation: processCTASlideUp 0.8s ease-out 0.6s both;
}

.process-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--border-radius-full);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    will-change: transform, box-shadow;
}

.process-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.process-cta .btn:hover::before {
    left: 100%;
}

.process-cta .btn--primary {
    background: var(--primary-blue);
    color: var(--text-white);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
}

.process-cta .btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.25);
    animation-play-state: paused;
}

.process-cta .btn--outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.process-cta .btn--outline:hover {
    background: var(--primary-blue);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.2);
    animation-play-state: paused;
}

/* CTA Section - Professional Design */
.cta {
    background: linear-gradient(135deg, #0ea5e9 0%, #1e293b 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: white;
}

.cta__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.cta__subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.cta__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.cta__actions .btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.cta__actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta__actions .btn:hover::before {
    left: 100%;
}

.cta__actions .btn--primary {
    background: #ffffff;
    color: #1e40af;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta__actions .btn--primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.cta__actions .btn--ghost {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0,  0.1);
}

.cta__actions .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta__note {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.cta__note p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer - Professional Design */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 50px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

/* Main Footer Content */
.footer__main {
    margin-bottom: 60px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    align-items: start;
}

/* Brand Section */
.footer__logo {
    flex-shrink: 0;
    margin-bottom: 24px;
}

.footer__logo .logo {
    display: block;
    transition: var(--transition-opacity);
}

.footer__logo .logo:hover {
    opacity: 0.8;
}

.footer__logo img {
    height: 40px;
    width: auto;
}

.footer__description {
    font-size: 1rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 32px;
    max-width: 320px;
}

/* Social Links */
.footer__social {
    display: flex;
    gap: 16px;
}

.footer__social-link {
    width: 44px;
    height: 44px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Footer Columns */
.footer__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #1e40af);
    border-radius: 1px;
}

.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 12px;
}

.footer__link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer__link:hover {
    color: #3b82f6;
    padding-left: 16px;
}

.footer__link:hover::before {
    background: #3b82f6;
}

/* Footer Bottom */
.footer__bottom {
    border-top: 1px solid rgba(71, 85, 105, 0.3);
    padding: 32px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer__bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copyright {
    color: #64748b;
    font-size: 0.9rem;
}

.footer__legal {
    display: flex;
    gap: 32px;
}

.footer__legal-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer__legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.footer__legal-link:hover {
    color: #3b82f6;
}

.footer__legal-link:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer__grid {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer__column--brand {
        grid-column: span 2;
        margin-bottom: 20px;
    }
    
    .footer__main {
        margin-bottom: 40px;
    }
    
    .footer__bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer__legal {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer__column--brand {
        grid-column: span 1;
    }
    
    .footer__social {
        justify-content: center;
    }
    
    .footer__legal {
        flex-direction: column;
        gap: 12px;
    }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
    .footer {
        background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    }
    
    .footer__description {
        color: #64748b;
    }
    
    .footer__link {
        color: #64748b;
    }
}

/* Animation for footer elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer__column {
    animation: fadeInUp 0.6s ease-out;
}

.footer__column:nth-child(1) { animation-delay: 0.1s; }
.footer__column:nth-child(2) { animation-delay: 0.2s; }
.footer__column:nth-child(3) { animation-delay: 0.3s; }
.footer__column:nth-child(4) { animation-delay: 0.4s; }
.footer__column:nth-child(5) { animation-delay: 0.5s; }

/* Cookie Consent - Professional Design */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 420px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.cookie-consent--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

.cookie-consent__backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cookie-consent--visible .cookie-consent__backdrop {
    opacity: 1;
    pointer-events: all;
}

.cookie-consent__container {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    overflow: hidden;
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-consent__icon {
    align-self: flex-start;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.cookie-consent__text {
    flex: 1;
}

.cookie-consent__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.cookie-consent__description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.cookie-consent__link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-consent__link:hover {
    color: #1e40af;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.cookie-consent__btn {
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.cookie-consent__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cookie-consent__btn:hover::before {
    left: 100%;
}

.cookie-consent__btn--accept {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.cookie-consent__btn--accept:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.cookie-consent__btn--reject {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.cookie-consent__btn--reject:hover {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}

.cookie-consent__btn--secondary {
    background: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.cookie-consent__btn--secondary:hover {
    background: #f8fafc;
    color: #475569;
    border-color: #cbd5e1;
}

.cookie-consent__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(100, 116, 139, 0.1);
    border-radius: 8px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-consent__close:hover {
    background: rgba(100, 116, 139, 0.2);
    color: #475569;
    transform: rotate(90deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .cookie-consent__content {
        padding: 20px;
        gap: 16px;
    }
    
    .cookie-consent__actions {
        flex-direction: column;
    }
    
    .cookie-consent__btn {
        justify-content: center;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .cookie-consent__content {
        padding: 16px;
        gap: 14px;
    }
    
    .cookie-consent__icon {
        width: 40px;
        height: 40px;
    }
    
    .cookie-consent__title {
        font-size: 1rem;
    }
    
    .cookie-consent__description {
        font-size: 0.85rem;
    }
}

/* Animation Keyframes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .cookie-consent__container {
        background: #1e293b;
        border-color: rgba(59, 130, 246, 0.2);
        box-shadow: 
            0 10px 40px rgba(0, 0, 0, 0.3),
            0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .cookie-consent__title {
        color: #f1f5f9;
    }
    
    .cookie-consent__description {
        color: #94a3b8;
    }
    
    .cookie-consent__btn--reject {
        background: #334155;
        color: #94a3b8;
        border-color: #475569;
    }
    
    .cookie-consent__btn--reject:hover {
        background: #475569;
        color: #cbd5e1;
    }
    
    .cookie-consent__btn--secondary {
        border-color: #475569;
        color: #94a3b8;
    }
    
    .cookie-consent__btn--secondary:hover {
        background: #334155;
        color: #cbd5e1;
    }
    
    .cookie-consent__close {
        background: rgba(148, 163, 184, 0.1);
        color: #94a3b8;
    }
    
    .cookie-consent__close:hover {
        background: rgba(148, 163, 184, 0.2);
        color: #cbd5e1;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .cookie-consent__container {
        border: 2px solid #000;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    
    .cookie-consent__btn {
        border-width: 2px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .cookie-consent,
    .cookie-consent__backdrop,
    .cookie-consent__btn,
    .cookie-consent__close {
        transition: none;
    }
    
    .cookie-consent__container {
        animation: none;
    }
    
    .cookie-consent__btn::before {
        display: none;
    }
}

/* Body class when cookie consent is open - scrolling now allowed */
/* Removed overflow: hidden to allow page scrolling when cookie consent is visible */

/* Large screens - more space for brand */
@media (min-width: 1400px) {
    .footer__grid {
        grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
        gap: 40px;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top__arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #ffffff;
    position: relative;
    transition: all 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.6);
}

.scroll-to-top:hover .scroll-to-top__arrow {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.scroll-to-top:active {
    transform: translateY(0) scale(0.95);
}

/* Responsive scroll button */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top__arrow {
        border-left-width: 7px;
        border-right-width: 7px;
        border-bottom-width: 10px;
    }
    
    .scroll-to-top__arrow::before {
        left: -2.5px;
        width: 5px;
        height: 7px;
    }
}

