/* Satellytes V2 - Modern & Clean Theme */

/* CocoGothic Font */
@font-face {
  font-family: "CocoGothic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("CocoGothic"),
    url("/fonts/CocoGothic.woff2") format("woff2"),
    url("/fonts/CocoGothic.woff") format("woff"),
    url("/fonts/CocoGothic.ttf") format("truetype");
}

@font-face {
  font-family: "CocoGothic";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local("CocoGothic Italic"),
    url("/fonts/CocoGothic-Italic.woff2") format("woff2"),
    url("/fonts/CocoGothic-Italic.woff") format("woff"),
    url("/fonts/CocoGothic-Italic.ttf") format("truetype");
}

@font-face {
  font-family: "CocoGothic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("CocoGothic Bold"),
    url("/fonts/CocoGothic-Bold.woff2") format("woff2"),
    url("/fonts/CocoGothic-Bold.woff") format("woff"),
    url("/fonts/CocoGothic-Bold.ttf") format("truetype");
}

:root {
  /* Brand Colors - Blue CI */
  --color-primary: #3E61EE;
  --color-primary-dark: #202840;
  --color-primary-light: #5B74E8;

  /* Neutrals - Modern & Clean */
  --color-background: #FFFFFF;
  --color-surface: #FAFBFC;
  --color-border: #E5E7EB;
  --color-text: #111827;
  --color-text-muted: #6B7280;
  --color-text-light: #9CA3AF;

  /* Functional */
  --color-success: #10B981;
  --color-success-bg: rgba(16, 185, 129, 0.1);
  --color-error: #EF4444;
  --color-warning: #F59E0B;

  /* Typography */
  --font-sans: "CocoGothic", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;

  /* Font Sizes - Responsive Scale */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */

  /* Spacing - 8px base */
  --space-1: 0.5rem;   /* 8px */
  --space-2: 1rem;     /* 16px */
  --space-3: 1.5rem;   /* 24px */
  --space-4: 2rem;     /* 32px */
  --space-6: 3rem;     /* 48px */
  --space-8: 4rem;     /* 64px */
  --space-12: 6rem;    /* 96px */
  --space-16: 8rem;    /* 128px */
  --space-20: 10rem;   /* 160px */

  /* Shadows - Subtle & Modern */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --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);

  /* Border Radius */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width-sm: 640px;
  --max-width-md: 768px;
  --max-width-lg: 1024px;
  --max-width-xl: 1280px;
  --max-width-2xl: 1536px;
  --max-width-content: 900px;

  /* Z-index layers */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  padding-top: 0; /* No padding needed as hero has extra padding */
}

/* Skip to Content Link */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: white;
  padding: var(--space-2) var(--space-4);
  z-index: 10000;
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) 0;
  font-weight: 600;
  font-size: var(--text-base);
  transition: left var(--transition-base);
}

.skip-to-content:focus {
  left: 0;
  outline: 3px solid white;
  outline-offset: -3px;
}

/* Typography - Fluid Scale for better responsiveness */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

/* Fluid Typography with clamp() - scales smoothly between min and max */
h1 { font-size: clamp(2rem, 5vw, 3.75rem); }      /* 32px - 60px */
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }      /* 28px - 48px */
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }    /* 24px - 36px */
h4 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); } /* 20px - 30px */
h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); }   /* 18px - 24px */
h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); }    /* 16px - 20px */

p {
  margin-bottom: var(--space-3);
  line-height: 1.7;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

/* Focus states - Keyboard navigation support */
*:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Remove default focus outline for mouse users */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: var(--space-2) 0;
  transition: all var(--transition-base);
}

/* Navbar when scrolled */
.navbar.scrolled {
  background: white;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  max-width: var(--max-width-xl);
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.navbar-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
  font-size: var(--text-xl);
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: all var(--transition-base);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .navbar-logo {
  color: var(--color-primary);
  text-shadow: none;
}

.navbar-logo:hover {
  color: rgba(255, 255, 255, 0.8);
}

.navbar.scrolled .navbar-logo:hover {
  color: var(--color-primary-dark);
}

.satellytes-swoosh {
  width: 20px;
  height: 6px;
  color: white;
  transition: color var(--transition-fast);
  margin-left: -1px;
  transform: translateY(7.5px);
}

.navbar.scrolled .satellytes-swoosh {
  color: var(--color-primary);
}

.navbar-menu {
  display: none;
  gap: var(--space-6);
  flex: 1;
  justify-content: center;
}

@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
  }
}

.navbar-menu a {
  color: white;
  font-weight: 500;
  font-size: var(--text-base);
  transition: all var(--transition-fast);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .navbar-menu a {
  color: var(--color-text);
  text-shadow: none;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: rgba(255, 255, 255, 0.8);
}

.navbar.scrolled .navbar-menu a:hover,
.navbar.scrolled .navbar-menu a.active {
  color: var(--color-primary);
}

.navbar-lang {
  display: none; /* Hidden on mobile, only in mobile menu */
  gap: var(--space-2);
  list-style: none;
}

@media (min-width: 768px) {
  .navbar-lang {
    display: flex; /* Show on desktop */
  }
}

.navbar-lang a {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-base);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  padding: 0.5rem 0.75rem; /* Increased for better touch targets */
  border-radius: var(--radius-sm);
  min-height: 44px; /* Apple HIG recommendation for touch targets */
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-lang a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.navbar.scrolled .navbar-lang a {
  color: var(--color-text-muted);
  text-shadow: none;
}

.navbar.scrolled .navbar-lang a:hover {
  background: var(--color-surface);
}

.navbar-lang a.active {
  color: white;
  font-weight: 700;
}

.navbar.scrolled .navbar-lang a.active {
  color: var(--color-text);
  text-shadow: none;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: white;
  transition: color var(--transition-fast);
  z-index: calc(var(--z-modal) + 1);
  position: relative;
  padding: 0;
}

.navbar.scrolled .menu-toggle {
  color: var(--color-text);
}

.menu-toggle:hover {
  opacity: 0.7;
}

.menu-toggle:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Toggle between hamburger and close icon */
.menu-toggle .close-icon {
  display: none;
}

.menu-toggle.active .menu-icon {
  display: none;
}

.menu-toggle.active .close-icon {
  display: block;
}

.menu-toggle.active {
  color: white;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  z-index: var(--z-modal);
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
  overflow-y: auto; /* Enable scrolling */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  padding: var(--space-4);
}

.mobile-menu.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Hide mobile menu completely on desktop */
@media (min-width: 768px) {
  .mobile-menu,
  .mobile-menu.active {
    display: none !important;
  }
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-8) 0;
  width: 100%;
  max-width: 400px;
  text-align: center;
  margin: 0 auto; /* Center horizontally */
  min-height: 100vh; /* Full viewport height */
  justify-content: center; /* Center content vertically */
  box-sizing: border-box;
}

/* Mobile Menu Links */
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.mobile-menu-links a {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: white;
  font-size: var(--text-xl);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.mobile-menu-links a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-links a.active {
  background: white;
  color: var(--color-primary);
  font-weight: 700;
}

.mobile-menu-links a:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Mobile Language Switcher */
.mobile-menu-lang {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-lang-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile-lang-buttons {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
}

.mobile-lang-buttons a {
  padding: var(--space-2) var(--space-4);
  color: white;
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.mobile-lang-buttons a.active {
  background: white;
  color: var(--color-primary);
  border-color: white;
}

.mobile-lang-buttons a:hover:not(.active) {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.mobile-lang-buttons a:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width-xl);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.container-narrow {
  max-width: var(--max-width-content);
}

/* Section Spacing */
section {
  padding: var(--space-12) 0;
}

@media (min-width: 768px) {
  section {
    padding: var(--space-16) 0;
  }
}

/* Section Background Utility Classes - Simple & Maintainable */
.section-white {
  background: white;
}

.section-subtle {
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.section-surface {
  background: var(--color-surface);
}

.section-gradient {
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 50%, #fafbfc 100%);
}

/* Blog Section - Special styling for better separation */
.blog-section {
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 50%, #fafbfc 100%);
  border-top: 1px solid var(--color-border);
  position: relative;
}

.blog-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
  opacity: 0.3;
}

/* Hero Section with Gradient & Bubbles - Shared styles for all hero sections */
.hero,
.services-hero,
.about-hero,
.career-hero,
.position-hero,
.contact-hero,
.legal-hero,
.blog-list-hero {
  position: relative;
  isolation: isolate;
  background: #3E61EE; /* Fallback solid color */
  background: linear-gradient(135deg, #202840 0%, #3E61EE 50%, #5B74E8 100%); /* Fallback gradient */
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  padding: calc(var(--space-12) + 60px) 0 var(--space-12); /* Mobile: 60px navbar + 96px space = 156px top */
  overflow: hidden;
  min-height: 40vh; /* Reduced from 50vh for better mobile experience */
  display: flex;
  align-items: center;
}

@media (min-width: 640px) {
  .hero,
  .services-hero,
  .about-hero,
  .career-hero,
  .position-hero,
  .contact-hero,
  .legal-hero,
  .blog-list-hero {
    padding: calc(var(--space-16) + 70px) 0 var(--space-14);
    min-height: 55vh;
  }
}

@media (min-width: 1024px) {
  .hero,
  .services-hero,
  .about-hero,
  .career-hero,
  .position-hero,
  .contact-hero,
  .legal-hero,
  .blog-list-hero {
    padding: calc(var(--space-16) + 80px) 0 var(--space-16);
    min-height: 60vh;
  }
}

.hero-content,
.services-hero-content,
.about-hero-content,
.career-hero-content,
.position-hero-content,
.contact-hero-content,
.legal-hero-content,
.blog-list-hero-content {
  position: relative;
  z-index: var(--z-base);
  color: white;
  text-align: left;
  max-width: var(--max-width-xl);
  margin: 0 auto;
}

/* Unified H1 styles for all hero sections - Fluid Typography */
.hero h1,
.services-hero h1,
.about-hero h1,
.career-hero h1,
.position-hero h1,
.contact-hero h1,
.legal-hero h1,
.blog-list-hero h1 {
  color: white;
  font-size: clamp(2.5rem, 6vw, 4.5rem); /* 40px - 72px, scales smoothly */
  margin-bottom: var(--space-4);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 100%;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Unified intro text styles - Fluid Typography */
.hero p,
.hero-intro {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1rem, 2vw, 1.25rem); /* 16px - 20px, scales smoothly */
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 100%;
  text-align: left;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-notice {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.6;
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Animated Bubbles - Optimized for Performance */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 70%, transparent 100%);
  z-index: 0;
  pointer-events: none;
  filter: blur(10px);
  opacity: 0.5;
  aria-hidden: true;
  will-change: transform;
}

@media (min-width: 768px) {
  .bubble {
    filter: blur(20px);
    opacity: 0.6;
  }
}

@media (min-width: 1024px) {
  .bubble {
    filter: blur(25px);
    opacity: 0.7;
  }
}

.bubble-1 {
  top: -10%;
  left: -5%;
  width: 600px;
  height: 600px;
  animation: float 25s ease-in-out infinite;
}

.bubble-2 {
  bottom: -15%;
  right: -10%;
  width: 700px;
  height: 700px;
  animation: float 30s ease-in-out infinite reverse;
  animation-delay: 3s;
}

.bubble-3 {
  top: 30%;
  right: 15%;
  width: 450px;
  height: 450px;
  animation: float 20s ease-in-out infinite;
  animation-delay: 5s;
}

.bubble-4 {
  bottom: 20%;
  left: 25%;
  width: 500px;
  height: 500px;
  animation: float 28s ease-in-out infinite reverse;
  animation-delay: 7s;
}

.bubble-5 {
  top: 50%;
  left: 10%;
  width: 350px;
  height: 350px;
  animation: float 22s ease-in-out infinite;
  animation-delay: 2s;
}

.bubble-6 {
  top: 10%;
  right: 30%;
  width: 400px;
  height: 400px;
  animation: float 26s ease-in-out infinite reverse;
  animation-delay: 4s;
}


/* Mobile optimization for bubbles - Only 6 bubbles */
@media (max-width: 640px) {
  .bubble-1 { width: 200px; height: 200px; }
  .bubble-2 { width: 220px; height: 220px; }
  .bubble-3 { width: 160px; height: 160px; }
  .bubble-4 { width: 180px; height: 180px; }
  .bubble-5 { width: 140px; height: 140px; }
  .bubble-6 { width: 160px; height: 160px; }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .bubble-1 { width: 400px; height: 400px; }
  .bubble-2 { width: 450px; height: 450px; }
  .bubble-3 { width: 320px; height: 320px; }
  .bubble-4 { width: 350px; height: 350px; }
  .bubble-5 { width: 280px; height: 280px; }
  .bubble-6 { width: 300px; height: 300px; }
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  33% {
    transform: translate(50px, -60px) scale(1.1);
    opacity: 0.9;
  }
  66% {
    transform: translate(-40px, -40px) scale(0.9);
    opacity: 0.6;
  }
}

/* Reduce motion for accessibility - Enhanced */
@media (prefers-reduced-motion: reduce) {
  .bubble {
    animation: none;
    opacity: 0.3;
    filter: blur(15px);
  }
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-4);
}

@media (min-width: 640px) {
  .services-grid {
    margin-top: var(--space-8);
  }
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Subtle background overlay on hover */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  opacity: 0;
  background: linear-gradient(135deg, rgba(91, 116, 232, 0.05) 0%, rgba(62, 97, 238, 0.03) 100%);
  transition: opacity var(--transition-base);
  z-index: 0;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .service-card {
    padding: var(--space-4) var(--space-6);
  }
}

@media (min-width: 1024px) {
  .service-card {
    padding: var(--space-6);
  }
}

.service-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-4);
}

.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.service-card p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: var(--space-4);
}

.service-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Metrics Section */
.metrics {
  background: linear-gradient(135deg, #f8f9fc 0%, #e8eaf5 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  text-align: center;
}

@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-value {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Customer Logo Slider - Flexible Infinite Scroll */
.logo-slider-section {
  background: var(--color-surface);
  padding: var(--space-12) 0;
  overflow: hidden;
  position: relative;
  --logo-slider-duration: 60s; /* Default, can be overridden by JS */
}

.logo-slider-section::before,
.logo-slider-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 1;
  pointer-events: none;
}

.logo-slider-section::before {
  left: 0;
  background: linear-gradient(to right, var(--color-surface), transparent);
}

.logo-slider-section::after {
  right: 0;
  background: linear-gradient(to left, var(--color-surface), transparent);
}

.logo-slider {
  display: flex;
  width: max-content;
}

.logo-slider:hover .logo-slider-track {
  animation-play-state: paused;
}

.logo-slider-track {
  display: flex;
  gap: var(--space-6);
  animation: scroll-left var(--logo-slider-duration) linear infinite;
  will-change: transform;
}

@media (min-width: 640px) {
  .logo-slider-track {
    gap: var(--space-8);
  }
}

@media (min-width: 1024px) {
  .logo-slider-track {
    gap: var(--space-12);
  }
}

.logo-slide {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 60px;
}

.logo-slide img,
.logo-slide svg {
  max-height: 40px;
  max-width: 120px;
  width: auto;
  height: auto;
  fill: var(--color-text-muted);
  opacity: 0.6;
  transition: all var(--transition-base);
  object-fit: contain;
}

@media (min-width: 640px) {
  .logo-slide {
    width: 150px;
    height: 70px;
  }

  .logo-slide img,
  .logo-slide svg {
    max-height: 50px;
    max-width: 150px;
  }
}

@media (min-width: 1024px) {
  .logo-slide {
    width: 180px;
    height: 80px;
  }

  .logo-slide img,
  .logo-slide svg {
    max-height: 60px;
    max-width: 180px;
  }
}

.logo-slide:hover img,
.logo-slide:hover svg {
  fill: var(--color-text);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-family: var(--font-sans);
  min-height: 44px;
}

.btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-md);
}

@media (min-width: 640px) {
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: var(--text-base);
  }
}

/* Primary Button - Highest emphasis */
.btn-primary {
  background: var(--color-primary);
  color: white;
  border: 2px solid var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* Secondary Button - Medium emphasis */
.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* Tertiary Button - For hero sections with white background */
.btn-tertiary {
  background: white;
  color: var(--color-primary);
  border: 2px solid white;
}

.btn-tertiary:hover {
  background: var(--color-surface);
  transform: translateY(-2px);
}

/* Text Button - Lowest emphasis */
.btn-text {
  background: transparent;
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
}

.btn-text:hover {
  background: var(--color-surface);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: var(--max-width-md);
  margin: 0 auto var(--space-8);
}

.section-header h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
  font-weight: 800;
}

.section-header p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (min-width: 640px) {
  .section-header h2 {
    font-size: var(--text-3xl);
  }
  .section-header p {
    font-size: var(--text-lg);
  }
}

/* CTA Wrapper - No extra padding */
.cta-wrapper {
  padding: var(--space-16) 0;
}

/* CTA Section - Work with Us with Background Image */
.cta-section {
  position: relative;
  isolation: isolate;
  /* No default background-image - set via inline style or modifier class */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  overflow: hidden;
}

/* Fallback gradient when no background image is set */
.cta-section:not([style*="background-image"]) {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
}

/* Dark overlay for better text readability */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(32, 40, 64, 0.92) 0%,
    rgba(62, 97, 238, 0.88) 50%,
    rgba(91, 116, 232, 0.90) 100%
  );
  z-index: 0;
}

.cta-section * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
  color: white;
}

.cta-section p {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .cta-section h2 {
    font-size: var(--text-3xl);
  }
  .cta-section p {
    font-size: var(--text-lg);
  }
}

@media (min-width: 1024px) {
  .cta-section h2 {
    font-size: var(--text-4xl);
  }
  .cta-section p {
    font-size: var(--text-xl);
  }
}

/* Office Image Spacer */
.image-spacer {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* Footer */
footer {
  background: var(--color-text);
  color: white;
  padding: var(--space-8) 0 var(--space-4);
}

@media (min-width: 640px) {
  footer {
    padding: var(--space-10) 0 var(--space-6);
  }
}

@media (min-width: 1024px) {
  footer {
    padding: var(--space-12) 0 var(--space-6);
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-column h3 {
  color: white;
  font-size: 0.9rem;
  margin-bottom: var(--space-3);
}

.footer-column ul {
  list-style: none;
}

.footer-list {
  line-height: 1.4;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-column li {
  margin-bottom: var(--space-2);
}

.footer-address {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  padding: 0.5rem 0;
  display: inline-block;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: var(--text-sm);
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: white;
}

.footer-legal-links span {
  color: rgba(255, 255, 255, 0.3);
}

/* Legal Pages (Impressum, Datenschutz) */
.legal-page {
  padding: var(--space-16) 0;
  background: white;
}

.legal-content {
  max-width: var(--max-width-md);
  margin: 0 auto;
}

.legal-content h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-8);
  color: var(--color-text);
  font-weight: 800;
}

.legal-text h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  color: var(--color-text);
  font-weight: 700;
}

@media (min-width: 640px) {
  .legal-text h2 {
    font-size: var(--text-3xl);
  }
}

.legal-text h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--color-text);
  font-weight: 600;
}

.legal-text p {
  margin-bottom: var(--space-4);
  line-height: 1.7;
  color: var(--color-text);
}

.legal-text ul,
.legal-text ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.legal-text li {
  margin-bottom: var(--space-2);
  line-height: 1.7;
}

.legal-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-text a:hover {
  color: var(--color-primary-dark);
}

.legal-text strong {
  font-weight: 600;
  color: var(--color-text);
}

@media (max-width: 640px) {
  .legal-content h1 {
    font-size: var(--text-3xl);
  }
  .legal-text h2 {
    font-size: var(--text-xl);
  }
  .legal-text h3 {
    font-size: var(--text-lg);
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }

/* ===== SERVICES PAGE ===== */

/* Services Hero - Uses shared hero styles above */

/* Services Quick Navigation */
.services-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

@media (min-width: 768px) {
  .services-nav {
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--space-4);
  }
}

.service-nav-link {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-base);
  text-align: center;
  backdrop-filter: blur(10px);
}

.service-nav-link:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: white;
}

/* Service Detail Sections */
.service-detail {
  padding: var(--space-16) 0;
  scroll-margin-top: 100px; /* For anchor links */
}

.service-detail:nth-child(even) {
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.service-detail:nth-child(odd) {
  background: white;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-16);
  }

  /* Reverse layout for alternating sections */
  .service-detail-reverse .service-detail-grid {
    direction: rtl;
  }

  .service-detail-reverse .service-detail-grid > * {
    direction: ltr;
  }
}

/* Service Detail Content */
.service-detail-content {
  display: flex;
  flex-direction: column;
}

.service-detail-icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-4);
}

.service-detail h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
  color: var(--color-text);
  font-weight: 800;
}

@media (min-width: 640px) {
  .service-detail h2 {
    font-size: var(--text-3xl);
  }
}

.service-subtitle {
  font-size: var(--text-xl);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-4);
  font-style: italic;
}

.service-description {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

/* Service Features List */
.service-features {
  margin-top: var(--space-6);
}

.service-features h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.service-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--text-lg);
}

/* Service Outcomes */
.service-detail-outcomes {
  display: flex;
  flex-direction: column;
}

.service-detail-outcomes h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
  color: var(--color-text);
}

.outcomes-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.outcome-card {
  background: white;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.outcome-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--color-primary-dark);
}

.outcome-label {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.outcome-description {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Services CTA */
.services-cta {
  padding: var(--space-16) 0;
  background: white;
}

/* ===== ABOUT US PAGE ===== */

/* About Hero - Uses shared hero styles above */

/* Challenges Section */
.about-challenges {
  padding: var(--space-16) 0;
  background: white;
}

.challenges-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

@media (min-width: 768px) {
  .challenges-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.challenge-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.challenge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.challenge-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-4);
}

.challenge-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.challenge-card p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 0;
}

/* Approach Section */
.about-approach {
  padding: var(--space-16) 0;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

@media (min-width: 768px) {
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .approach-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.approach-item {
  display: flex;
  flex-direction: column;
}

.approach-item h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.approach-item p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: 0;
}

/* About CTA */
.about-cta {
  padding: var(--space-16) 0;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

/* ===== CAREER PAGE ===== */

/* Career Hero - Uses shared hero styles above */

/* Who Thrives Here Section */
.career-thrives {
  padding: var(--space-16) 0;
  background: white;
}

.thrives-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
  max-width: var(--max-width-lg);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .thrives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.thrive-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.thrive-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.thrive-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-4);
}

.thrive-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.thrive-card p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 0;
}

/* Application Process Section */
.career-process {
  padding: var(--space-16) 0;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-top: var(--space-8);
  max-width: var(--max-width-lg);
  margin-left: auto;
  margin-right: auto;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  align-items: start;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: white;
  font-size: var(--text-3xl);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.step-content h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
  color: var(--color-text);
  font-weight: 700;
}

.step-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Team Image Section */
.career-image {
  padding: var(--space-16) 0;
  background: white;
}

.team-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  max-height: 600px;
}

/* How We Work Section */
.career-work {
  padding: var(--space-16) 0;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

@media (min-width: 768px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.work-item {
  display: flex;
  flex-direction: column;
}

.work-item h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--color-text);
  font-weight: 700;
}

.work-item p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Perks & Benefits Section */
.career-perks {
  padding: var(--space-16) 0;
  background: white;
}

.perks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

@media (min-width: 768px) {
  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .perks-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
  }
}

.perk-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  height: 100%;
}

.perk-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.perk-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.perk-icon svg {
  width: 100%;
  height: 100%;
}

.perk-item h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  line-height: 1.3;
}

.perk-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* Career CTA */
.career-cta {
  padding: var(--space-16) 0;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

/* ===== CONTACT PAGE ===== */

/* Contact Hero - Uses shared hero styles above */

/* Contact Sections */
.contact-sections {
  padding: var(--space-16) 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-8);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-4);
  max-width: 500px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    padding: 0;
  }
}

.contact-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.contact-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-4);
}

.contact-card h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
  color: var(--color-text);
  font-weight: 700;
}

.contact-description {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.contact-topics {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
  flex-grow: 1;
}

.contact-topics li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-2);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.contact-topics li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--text-lg);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.contact-email,
.contact-person {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.contact-email a {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.contact-email a:hover {
  color: var(--color-primary-dark);
}

.contact-person span {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

.contact-person svg {
  flex-shrink: 0;
}

/* ===== BLOG PAGES ===== */

/* Blog List Section */
.blog-list-section {
  padding: var(--space-16) 0;
  background: white;
}

.blog-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .blog-list-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .blog-list-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.75rem;
  }
}

/* Blog Home Grid - 3 columns for homepage */
.blog-home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

@media (min-width: 768px) {
  .blog-home-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .blog-home-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.75rem;
  }
}

.blog-list-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-list-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.blog-list-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-list-content {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date-badge {
  display: inline-block;
  font-size: var(--text-xs);
  color: var(--color-text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}

.blog-list-content h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
  line-height: 1.3;
  flex-grow: 1;
}

.blog-list-content h2 a {
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.blog-list-content h2 a:hover {
  color: var(--color-primary);
}

.blog-subtitle,
.blog-summary {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin-bottom: var(--space-3);
  flex-grow: 1;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: auto;
  flex-wrap: nowrap;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  flex: 0 1 auto;
  min-width: 0;
}

.blog-author svg {
  flex-shrink: 0;
}

.blog-author span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-footer .btn-text {
  flex-shrink: 0;
  white-space: nowrap;
}

.blog-empty {
  text-align: center;
  padding: var(--space-16) 0;
  color: var(--color-text-muted);
}

/* Blog Pagination */
.pagination {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
}

.pagination-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: white;
  background: var(--color-primary);
  border: none;
  border-radius: 50%;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.pagination-btn:hover:not(.pagination-disabled) {
  background: var(--color-primary-dark);
  transform: scale(1.05);
}

.pagination-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination-info {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-primary);
}

/* Blog Post Single */
.blog-post {
  background: white;
}

/* Hero Image - Full Width */
.blog-post-hero-image {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
}

.blog-post-hero-image img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  display: block;
}

/* Breadcrumb */
.blog-post-breadcrumb {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.blog-post-breadcrumb .container {
  max-width: 100%;
  padding-left: var(--space-6);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--color-text-muted);
}

/* Blog Post Header */
.blog-post-header {
  padding: var(--space-2) 0 0;
  margin-bottom: 0;
}

.blog-post-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.2;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.blog-post-meta .blog-date {
  color: var(--color-text-muted);
}

.blog-post-meta .blog-reading-time {
  color: var(--color-text-muted);
}

.blog-post-meta .blog-author {
  color: var(--color-text-muted);
}

/* Legacy hero styles - kept for backwards compatibility */
.blog-post-hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  padding: calc(var(--space-12) + 60px) 0 var(--space-12);
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

@media (min-width: 640px) {
  .blog-post-hero {
    padding: calc(var(--space-16) + 70px) 0 var(--space-14);
    min-height: 55vh;
  }
}

@media (min-width: 1024px) {
  .blog-post-hero {
    padding: calc(var(--space-16) + 80px) 0 var(--space-16);
    min-height: 60vh;
  }
}

.blog-post-hero-content {
  position: relative;
  z-index: var(--z-base);
  color: white;
  text-align: left;
  max-width: var(--max-width-xl);
  margin: 0 auto;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.95);
}

.blog-category,
.blog-date {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
}

.blog-post-hero h1 {
  color: white;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: var(--space-4);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 100%;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.blog-post-subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.blog-post-author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.95);
}

.blog-post-author svg {
  stroke: rgba(255, 255, 255, 0.95);
}

.blog-reading-time {
  color: rgba(255, 255, 255, 0.85);
}

.blog-post-featured-image {
  padding: var(--space-8) 0;
}

.blog-post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.blog-post-content {
  padding: var(--space-2) 0 var(--space-12);
}

.blog-post-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.blog-post-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.blog-post-content h4 {
  font-size: var(--text-lg);
  margin-top: var(--space-3);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.blog-post-content p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

@media (min-width: 640px) {
  .blog-post-content h2 {
    font-size: var(--text-3xl);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
  }
  .blog-post-content h3 {
    font-size: var(--text-2xl);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
  }
  .blog-post-content p {
    font-size: var(--text-lg);
    line-height: 1.8;
  }
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.blog-post-content li {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

@media (min-width: 640px) {
  .blog-post-content li {
    font-size: var(--text-lg);
  }
}

.blog-post-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(62, 97, 238, 0.3);
  text-underline-offset: 2px;
  transition: all var(--transition-fast);
}

.blog-post-content a:hover {
  color: var(--color-primary-dark);
  text-decoration-color: var(--color-primary);
}

.blog-post-content code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--color-surface);
  padding: 0.2em 0.4em;
  border-radius: var(--radius-sm);
  color: #c41e3a;
  font-weight: 500;
}

.blog-post-content pre {
  background: var(--color-text);
  color: white;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  overflow-y: auto;
  margin-bottom: var(--space-4);
  max-height: 500px;
  font-size: 0.85em;
  line-height: 1.5;
  word-wrap: break-word;
  white-space: pre-wrap;
}

@media (min-width: 640px) {
  .blog-post-content pre {
    font-size: 0.9em;
  }
}

.blog-post-content pre code {
  background: none;
  padding: 0;
  color: white;
  font-weight: normal;
  font-size: inherit;
}

.blog-post-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-4);
  margin: var(--space-6) 0;
  font-style: italic;
  color: var(--color-text-muted);
}

.blog-post-content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
}

/* Blog Post Buttons */
.blog-post-content .btn,
.blog-post-content a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.625rem 1.25rem;
  background: var(--color-primary);
  color: white;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
  min-height: 44px;
}

.blog-post-content .btn:hover,
.blog-post-content a[class*="btn"]:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 640px) {
  .blog-post-content .btn,
  .blog-post-content a[class*="btn"] {
    padding: 0.75rem 1.5rem;
    font-size: var(--text-base);
  }
}

.blog-post-tags {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border);
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.tag:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.blog-post-back {
  padding: var(--space-8) 0;
}

/* Blog Language Notice */
.blog-language-notice {
  padding: var(--space-12) 0;
  text-align: center;
}

.blog-language-notice-content {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-8);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.blog-language-notice h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-4);
}

.blog-language-notice p {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.blog-language-notice .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================================
   MICRO-INTERACTIONS - Premium Feel & Smooth Animations
   ============================================================================ */

/* Link Underline Animation - for content links */
.blog-post-content a,
.section-header a {
  position: relative;
  text-decoration: none;
  background-image: linear-gradient(to right, var(--color-primary) 0%, var(--color-primary) 100%);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size var(--transition-base);
}

.blog-post-content a:hover,
.section-header a:hover {
  background-size: 100% 2px;
}

/* Button Smooth Scale on Active */
.btn:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
}

/* Card Smooth Lift Animation */
.service-card,
.blog-list-card,
.metric-item {
  will-change: transform;
}

/* Icon styling on Card Hover */
.service-card:hover .service-icon {
  transform: scale(1.05);
  transition: transform var(--transition-base);
}

/* Blog Card Image Zoom on Hover */
.blog-list-card .blog-list-image {
  transition: transform var(--transition-slow);
}

.blog-list-card:hover .blog-list-image {
  transform: scale(1.05);
}

/* Smooth Focus Glow */
*:focus-visible {
  animation: focus-glow 0.3s ease-out;
}

@keyframes focus-glow {
  0% {
    outline-width: 0px;
    outline-offset: 0px;
  }
  100% {
    outline-width: 3px;
    outline-offset: 2px;
  }
}

/* Metric Value Count-up feel (visual enhancement) */
.metric-value {
  transition: transform var(--transition-base), color var(--transition-base);
}

.metric-item:hover .metric-value {
  transform: scale(1.1);
  color: var(--color-primary);
}

/* ===== COOKIE MODAL ===== */

.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: var(--z-toast);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: var(--space-4);
  animation: fadeIn 0.3s ease-out;
  pointer-events: none;
}

/* Different overlay for preferences modal - centered with dark background */
#cookie-preferences-overlay {
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cookie-modal {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 360px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  animation: slideUpModal 0.3s ease-out;
  pointer-events: auto;
  margin-bottom: 0;
  border: 2px solid var(--color-text);
}

@keyframes slideUpModal {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.cookie-modal-content {
  padding: var(--space-4);
}

.cookie-modal-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
  text-align: left;
}

.cookie-modal-text {
  margin-bottom: var(--space-4);
}

.cookie-modal-text p {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.cookie-modal-text p:last-child {
  margin-bottom: 0;
}

.cookie-modal-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-modal-text a:hover {
  color: var(--color-primary-dark);
}

.cookie-modal-text-footer {
  font-weight: 500;
}

.cookie-modal-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.cookie-btn {
  width: 100%;
  padding: 10px var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  font-family: var(--font-sans);
}

.cookie-btn-primary,
.cookie-btn-secondary,
.cookie-btn-tertiary {
  background: var(--color-text) !important;
  color: white !important;
  border: none !important;
  font-weight: 600;
}

.cookie-btn-primary:hover,
.cookie-btn-secondary:hover,
.cookie-btn-tertiary:hover {
  background: var(--color-text) !important;
  color: white !important;
  opacity: 0.85;
}

.cookie-modal-footer {
  display: flex;
  justify-content: flex-start;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
}

.cookie-modal-footer a {
  font-size: var(--text-xs);
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-base);
}

.cookie-modal-footer a:hover {
  color: var(--color-text);
  text-decoration: underline;
  opacity: 0.7;
}

/* Cookie Preferences Modal Styles */
.cookie-preferences-modal {
  max-width: 700px !important;
  max-height: 90vh;
  overflow-y: auto;
  background: white;
  animation: scaleIn 0.3s ease-out;
  border: 2px solid var(--color-text);
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.cookie-modal-header .cookie-modal-title {
  font-size: var(--text-xl);
  margin-bottom: 0;
  color: var(--color-text);
  font-weight: 700;
}

.cookie-close-btn {
  background: var(--color-background-subtle);
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--color-text);
  transition: all var(--transition-base);
  border-radius: var(--radius-md);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-close-btn svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
}

.cookie-close-btn:hover {
  color: var(--color-text);
  background-color: var(--color-border);
}

.cookie-preferences-content {
  padding: var(--space-4) var(--space-6);
  max-height: 60vh;
  overflow-y: auto;
  color: var(--color-text);
}

.cookie-preferences-intro {
  margin-bottom: var(--space-4);
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.cookie-preferences-intro p {
  color: var(--color-text);
}

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.cookie-category {
  padding: var(--space-3) var(--space-4);
  background-color: var(--color-background-subtle);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  transition: border-color var(--transition-base);
}

.cookie-category:hover {
  border-color: var(--color-primary);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-1);
}

.cookie-category-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.cookie-category-title h3,
.cookie-category-title h4 {
  font-size: 14px;
  font-weight: var(--font-semibold);
  margin: 0;
  color: var(--color-text);
}

.cookie-category-toggle h4 {
  font-size: 14px;
  font-weight: var(--font-semibold);
  margin: 0;
  color: var(--color-text);
}

.cookie-category-badge {
  font-size: 10px;
  padding: 2px 6px;
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border-radius: var(--radius-full);
}

.cookie-category-description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Toggle Switch Styles */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  cursor: pointer;
}

.cookie-toggle.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: background-color var(--transition-base);
  border-radius: 24px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: transform var(--transition-base);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: var(--color-primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(24px);
}

.cookie-preferences-footer {
  display: flex;
  justify-content: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-border);
  background-color: var(--color-background-subtle);
}

.cookie-preferences-footer .cookie-btn {
  width: auto;
  min-width: 140px;
  padding: 12px var(--space-4);
  font-size: var(--text-sm);
}

.cookie-preferences-footer .cookie-btn-primary,
.cookie-preferences-footer .cookie-btn-secondary,
.cookie-preferences-footer .cookie-btn-tertiary {
  background: var(--color-text) !important;
  color: white !important;
  border: none !important;
}

.cookie-preferences-footer .cookie-btn-primary:hover,
.cookie-preferences-footer .cookie-btn-secondary:hover,
.cookie-preferences-footer .cookie-btn-tertiary:hover {
  background: var(--color-text) !important;
  color: white !important;
  opacity: 0.85;
}

/* Mobile optimization */
@media (max-width: 480px) {
  .cookie-modal {
    max-width: calc(100vw - var(--space-4) * 2);
  }

  .cookie-modal-content {
    padding: var(--space-3);
  }

  .cookie-modal-title {
    font-size: var(--text-base);
  }

  .cookie-preferences-modal {
    max-width: calc(100vw - var(--space-4) * 2);
    max-height: 85vh;
  }

  .cookie-modal-header,
  .cookie-preferences-content,
  .cookie-preferences-footer {
    padding: var(--space-3);
  }

  .cookie-preferences-footer {
    flex-direction: column;
    gap: var(--space-2);
  }

  .cookie-preferences-footer .cookie-btn {
    width: 100%;
  }

  .cookie-category {
    padding: var(--space-2);
  }
}

/* Dark mode support - keep first banner light */
@media (prefers-color-scheme: dark) {
  .cookie-modal {
    background: white !important;
    border: 2px solid var(--color-text);
  }

  .cookie-modal-title {
    color: var(--color-text) !important;
  }

  .cookie-modal-text p {
    color: var(--color-text) !important;
  }

  .cookie-btn-primary,
  .cookie-btn-secondary,
  .cookie-btn-tertiary {
    background: var(--color-text) !important;
    color: white !important;
  }

  .cookie-modal-footer {
    border-top-color: var(--color-border);
  }

  .cookie-modal-footer a {
    color: var(--color-text) !important;
  }

  .cookie-modal-footer a:hover {
    color: var(--color-text) !important;
    opacity: 0.7;
  }

  /* Preferences modal - keep light (already handled below) */
}

/* Cookie Category Accordion Styles */
.cookie-usage-intro {
  margin-bottom: var(--space-4);
}

.cookie-usage-header {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text) !important;
}

.cookie-category-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  color: var(--color-text);
  transition: color var(--transition-base);
}

.cookie-category-toggle:hover {
  color: var(--color-primary);
}

.cookie-toggle-icon {
  transition: transform var(--transition-base);
  background-color: var(--color-background-subtle);
  border-radius: 50%;
  padding: 2px;
}

.cookie-category-toggle[aria-expanded="true"] .cookie-toggle-icon {
  transform: rotate(180deg);
}

.cookie-category-content {
  display: none;
  padding-top: var(--space-2);
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-3);
  padding: var(--space-3) var(--space-2);
  background-color: white;
  border-radius: var(--radius-sm);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-3);
  gap: var(--space-4);
}

.cookie-service-header.cookie-service-single {
  background-color: transparent;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  padding: var(--space-3) 0;
  margin-top: var(--space-3);
}

.cookie-service-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  min-width: 0;
}

.cookie-service-name {
  font-size: var(--text-sm);
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-weight: 600;
  color: var(--color-text);
}

.cookie-service-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  color: var(--color-text);
  font-size: var(--text-sm);
  transition: color var(--transition-base);
}

.cookie-service-toggle:hover {
  color: var(--color-primary);
}

.cookie-toggle-icon-small {
  transition: transform var(--transition-base);
  background-color: var(--color-background-subtle);
  border-radius: 50%;
  padding: 2px;
}

.cookie-service-toggle[aria-expanded="true"] .cookie-toggle-icon-small {
  transform: rotate(90deg);
}

.cookie-service-content {
  display: none;
  padding: var(--space-2) 0;
  animation: slideDown 0.2s ease-out;
}

.cookie-service-content.cookie-service-always-open {
  display: block !important;
  padding: var(--space-3) 0;
}

.cookie-service-description {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.cookie-service-description a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-service-description a:hover {
  color: var(--color-primary-dark);
}

/* Cookie Details Table */
.cookie-details-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  table-layout: fixed;
}

.cookie-details-table thead {
  background-color: var(--color-background-subtle);
}

.cookie-details-table th {
  text-align: left;
  padding: var(--space-3);
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-border);
}

.cookie-details-table th:nth-child(1) {
  width: 15%;
  padding-left: var(--space-2);
}

.cookie-details-table th:nth-child(2) {
  width: 18%;
  padding-left: var(--space-2);
}

.cookie-details-table th:nth-child(3) {
  width: 47%;
}

.cookie-details-table th:nth-child(4) {
  width: 20%;
}

.cookie-details-table td {
  padding: var(--space-3);
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  line-height: 1.5;
  vertical-align: top;
}

.cookie-details-table td:nth-child(1) {
  padding-left: var(--space-2);
}

.cookie-details-table td:nth-child(2) {
  padding-left: var(--space-2);
}

.cookie-details-table tbody tr:last-child td {
  border-bottom: none;
}

.cookie-details-table a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-details-table a:hover {
  color: var(--color-primary-dark);
}

/* More Info Section */
.cookie-more-info {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.cookie-more-info h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.cookie-more-info p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.cookie-more-info a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-more-info a:hover {
  color: var(--color-primary-dark);
}

/* Update preferences modal for larger screens */
@media (min-width: 768px) {
  .cookie-preferences-modal {
    max-width: 700px !important;
  }

  .cookie-preferences-footer {
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .cookie-preferences-modal {
    max-width: 90vw !important;
    margin: var(--space-4);
  }
}

/* Dark mode support - Preferences modal stays light */
@media (prefers-color-scheme: dark) {
  /* Force preferences modal to stay light */
  .cookie-preferences-modal {
    background: white !important;
  }

  .cookie-preferences-modal .cookie-modal-title,
  .cookie-preferences-modal .cookie-usage-header,
  .cookie-preferences-modal .cookie-category-toggle,
  .cookie-preferences-modal .cookie-service-toggle,
  .cookie-preferences-modal .cookie-more-info h3,
  .cookie-preferences-modal .cookie-category-title h3,
  .cookie-preferences-modal .cookie-category-title h4,
  .cookie-preferences-modal .cookie-category-toggle h4 {
    color: var(--color-text) !important;
  }

  .cookie-preferences-modal .cookie-service-header {
    background-color: white;
  }

  .cookie-preferences-modal .cookie-service-header.cookie-service-single {
    background-color: transparent;
    border-top-color: var(--color-border);
  }

  .cookie-preferences-modal .cookie-service-name {
    color: var(--color-text);
  }

  .cookie-preferences-modal .cookie-details-table {
    background-color: white;
  }

  .cookie-preferences-modal .cookie-details-table thead {
    background-color: var(--color-background-subtle);
  }

  .cookie-preferences-modal .cookie-details-table th {
    color: var(--color-text);
    border-bottom-color: var(--color-border);
  }

  .cookie-preferences-modal .cookie-details-table td {
    color: var(--color-text-muted);
    border-bottom-color: var(--color-border);
  }

  .cookie-preferences-modal .cookie-category {
    background-color: var(--color-background-subtle);
    border-color: var(--color-border);
  }
}

/* ===== POSITION PAGE ===== */

/* Position Details Section */
.position-details {
  padding: var(--space-8) 0 var(--space-12) 0;
  background: white;
  border-bottom: 1px solid var(--color-border);
}

.position-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: var(--max-width-lg);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .position-meta {
    flex-direction: row;
    gap: var(--space-8);
  }
}

.meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text);
}

.meta-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--color-text-muted);
}

/* Position Content Sections */
.position-section {
  padding: var(--space-16) 0;
  background: white;
}

.position-section.bg-light {
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.position-content {
  max-width: var(--max-width-lg);
  margin-left: auto;
  margin-right: auto;
}

.position-content h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-8);
  color: var(--color-text);
  font-weight: 700;
}

@media (min-width: 768px) {
  .position-content h2 {
    font-size: var(--text-4xl);
  }
}

.position-content h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  color: var(--color-text);
  font-weight: 700;
  margin-top: var(--space-8);
}

.position-content h3:first-child {
  margin-top: 0;
}

.position-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

/* Position Lists */
.position-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8) 0;
}

.position-list li {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--space-3);
  padding-left: var(--space-6);
  position: relative;
}

.position-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.requirement-section {
  margin-bottom: var(--space-8);
}

.requirement-section:last-child {
  margin-bottom: 0;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.6;
}

.benefit-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

/* Apply Section */
.position-apply {
  padding: var(--space-16) 0;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.apply-content {
  max-width: var(--max-width-lg);
  margin-left: auto;
  margin-right: auto;
}

.apply-content h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-6);
  color: var(--color-text);
  font-weight: 700;
}

@media (min-width: 768px) {
  .apply-content h2 {
    font-size: var(--text-4xl);
  }
}

.apply-content p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.apply-content a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-base);
}

.apply-content a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* Back to Careers Section */
.position-back {
  padding: var(--space-8) 0;
  background: white;
  border-top: 1px solid var(--color-border);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-base);
  transition: all var(--transition-base);
}

.back-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.back-link:hover {
  color: var(--color-primary-dark);
}

.back-link:hover svg {
  transform: translateX(-4px);
}

/* Team Gallery Section */
.team-gallery-section {
  padding: var(--space-16) 0;
  background: white;
}

.team-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}

@media (min-width: 768px) {
  .team-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  min-height: 300px;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Gallery Item Sizing */
.gallery-item-wide {
  grid-column: span 1;
  min-height: 250px;
}

@media (min-width: 768px) {
  .gallery-item-wide {
    grid-column: span 1;
    min-height: 250px;
  }
}

.gallery-item-tall {
  grid-column: span 1;
  min-height: 400px;
}

@media (min-width: 768px) {
  .gallery-item-tall {
    grid-row: span 2;
    min-height: 450px;
  }
}

.gallery-item-square {
  grid-column: span 1;
  min-height: 250px;
  aspect-ratio: 1 / 1;
}

/* Gallery Caption */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-caption h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 0 0 var(--space-1) 0;
  color: white;
}

.gallery-caption p {
  font-size: var(--text-sm);
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .team-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item-wide,
  .gallery-item-tall {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 280px;
  }

  .gallery-item-square {
    min-height: 280px;
    aspect-ratio: 1 / 1;
  }

  /* About Us page mobile pattern: alternating full-width items */
  .about-gallery .gallery-item:nth-child(1) {
    grid-column: span 2;
    min-height: 200px;
  }

  .about-gallery .gallery-item:nth-child(2),
  .about-gallery .gallery-item:nth-child(3) {
    grid-column: span 1;
    min-height: 200px;
  }

  .about-gallery .gallery-item:nth-child(4) {
    grid-column: span 2;
    min-height: 200px;
  }

  .about-gallery .gallery-item:nth-child(5),
  .about-gallery .gallery-item:nth-child(6) {
    grid-column: span 1;
    min-height: 200px;
  }

  .about-gallery .gallery-item:nth-child(7) {
    grid-column: span 2;
    min-height: 200px;
  }

  .about-gallery .gallery-item:nth-child(8),
  .about-gallery .gallery-item:nth-child(9) {
    grid-column: span 1;
    min-height: 200px;
  }

  .about-gallery .gallery-item:nth-child(10) {
    grid-column: span 2;
    min-height: 200px;
  }

  /* Career page mobile pattern: different arrangement */
  .career-gallery .gallery-item:nth-child(1),
  .career-gallery .gallery-item:nth-child(2) {
    grid-column: span 1;
    min-height: 200px;
  }

  .career-gallery .gallery-item:nth-child(3) {
    grid-column: span 2;
    min-height: 200px;
  }

  .career-gallery .gallery-item:nth-child(4),
  .career-gallery .gallery-item:nth-child(5) {
    grid-column: span 1;
    min-height: 200px;
  }

  .career-gallery .gallery-item:nth-child(6) {
    grid-column: span 2;
    min-height: 200px;
  }

  .career-gallery .gallery-item:nth-child(7),
  .career-gallery .gallery-item:nth-child(8) {
    grid-column: span 1;
    min-height: 200px;
  }

  .career-gallery .gallery-item:nth-child(9) {
    grid-column: span 2;
    min-height: 200px;
  }

  .career-gallery .gallery-item:nth-child(10) {
    grid-column: span 1;
    min-height: 200px;
  }
}
/* UI Components - Loading, Error, Empty States & Alerts */
/* Created for Task 12: Error States & Loading States */

/* ========================================
   LOADING STATES
   ======================================== */

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid var(--color-surface);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-spinner-sm {
  width: 20px;
  height: 20px;
  border-width: 2px;
}

.loading-spinner-lg {
  width: 60px;
  height: 60px;
  border-width: 6px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Loading Container */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  min-height: 200px;
  gap: var(--space-3);
}

.loading-text {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-surface) 25%,
    var(--color-border) 50%,
    var(--color-surface) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

.skeleton-text {
  height: 1rem;
  margin-bottom: var(--space-2);
}

.skeleton-title {
  height: 2rem;
  width: 60%;
  margin-bottom: var(--space-4);
}

.skeleton-card {
  height: 200px;
  width: 100%;
}

.skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ========================================
   ERROR STATES
   ======================================== */

.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  text-align: center;
  min-height: 300px;
}

.error-icon {
  width: 64px;
  height: 64px;
  color: var(--color-error);
  margin-bottom: var(--space-4);
}

.error-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.error-message {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: 400px;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
}

/* ========================================
   ALERT MESSAGES
   ======================================== */

.alert {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border-left: 4px solid;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.alert-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-left-color: var(--color-success);
  color: var(--color-success);
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border-left-color: var(--color-error);
  color: var(--color-error);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-left-color: var(--color-warning);
  color: var(--color-warning);
}

.alert-info {
  background: rgba(62, 97, 238, 0.1);
  border-left-color: var(--color-primary);
  color: var(--color-primary);
}

/* ========================================
   EMPTY STATES
   ======================================== */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-16);
  text-align: center;
  min-height: 400px;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
  opacity: 0.5;
}

.empty-state-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.empty-state-message {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: 400px;
  line-height: 1.7;
}

.empty-state-action {
  margin-top: var(--space-4);
}

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */

.toast {
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-4);
  min-width: 300px;
  max-width: 500px;
  padding: var(--space-4);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid;
  z-index: var(--z-toast);
  animation: toast-slide-in 0.3s ease-out;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.toast-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  margin-bottom: var(--space-1);
  font-size: var(--text-base);
}

.toast-message {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.toast-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--color-text-muted);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.toast-close:hover {
  color: var(--color-text);
}

.toast-success {
  border-left-color: var(--color-success);
}

.toast-success .toast-title {
  color: var(--color-success);
}

.toast-error {
  border-left-color: var(--color-error);
}

.toast-error .toast-title {
  color: var(--color-error);
}

.toast-warning {
  border-left-color: var(--color-warning);
}

.toast-warning .toast-title {
  color: var(--color-warning);
}

.toast-info {
  border-left-color: var(--color-primary);
}

.toast-info .toast-title {
  color: var(--color-primary);
}

@keyframes toast-slide-in {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toast-slide-out {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .toast {
    right: var(--space-2);
    left: var(--space-2);
    min-width: auto;
  }

  .empty-state {
    padding: var(--space-8);
    min-height: 300px;
  }

  .error-container {
    padding: var(--space-8);
    min-height: 200px;
  }
}

/* ========================================
   BADGE COMPONENTS
   ======================================== */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
}

.badge-error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-error);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--color-warning);
}

.badge-info {
  background: rgba(62, 97, 238, 0.1);
  color: var(--color-primary);
}

.badge-neutral {
  background: var(--color-surface);
  color: var(--color-text-muted);
}

/* ========================================
   PROGRESS BAR
   ======================================== */

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  transition: width 0.3s ease;
}

.progress-bar-success .progress-bar-fill {
  background: var(--color-success);
}

.progress-bar-error .progress-bar-fill {
  background: var(--color-error);
}

.progress-bar-warning .progress-bar-fill {
  background: var(--color-warning);
}
