/* TranslateConnect Pro - Enterprise Design System */
/* A modern, professional design system for a world-class SaaS platform */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;900&display=swap');

/* Design Tokens */
:root {
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* Font Sizes - Perfect Fourth Scale */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.333rem;   /* 21px */
  --text-2xl: 1.777rem;  /* 28px */
  --text-3xl: 2.369rem;  /* 38px */
  --text-4xl: 3.157rem;  /* 51px */
  --text-5xl: 4.209rem;  /* 67px */
  
  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --font-black: 900;
  
  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Letter Spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
  
  /* Colors - Modern Palette */
  --color-primary: #3B82F6;
  --color-primary-dark: #2563EB;
  --color-primary-light: #60A5FA;
  --color-primary-alpha: rgba(59, 130, 246, 0.1);
  
  --color-secondary: #8B5CF6;
  --color-accent: #EC4899;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1E40AF 0%, #7C3AED 100%);
  --gradient-primary-subtle: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #06B6D4;
  
  /* Neutral Colors */
  --color-white: #FFFFFF;
  --color-black: #000000;
  
  --gray-50: #FAFAFA;
  --gray-100: #F4F4F5;
  --gray-200: #E4E4E7;
  --gray-300: #D4D4D8;
  --gray-400: #A1A1AA;
  --gray-500: #71717A;
  --gray-600: #52525B;
  --gray-700: #3F3F46;
  --gray-800: #27272A;
  --gray-900: #18181B;
  --gray-950: #09090B;
  
  /* 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 */
  
  /* Border Radius */
  --radius-none: 0;
  --radius-sm: 0.125rem;
  --radius-base: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows - Multi-layered for depth */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  
  /* Glassmorphism Shadows */
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --backdrop-blur: blur(4px);
  --backdrop-blur-lg: blur(10px);
  
  /* Transitions */
  --transition-all: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --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);
  --transition-slower: 500ms 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-modal: 100;
  --z-popover: 200;
  --z-tooltip: 300;
  --z-notification: 400;
  --z-max: 9999;
}

/* Light Theme (Default) */
:root {
  --bg-primary: var(--color-white);
  --bg-secondary: var(--gray-50);
  --bg-tertiary: var(--gray-100);
  --bg-elevated: var(--color-white);
  --bg-overlay: rgba(0, 0, 0, 0.5);
  
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-tertiary: var(--gray-500);
  --text-muted: var(--gray-400);
  --text-inverse: var(--color-white);
  
  --border-primary: var(--gray-200);
  --border-secondary: var(--gray-100);
  --border-active: var(--color-primary);
}

/* Dark Theme */
[data-theme="dark"] {
  --bg-primary: var(--gray-950);
  --bg-secondary: var(--gray-900);
  --bg-tertiary: var(--gray-800);
  --bg-elevated: var(--gray-800);
  --bg-overlay: rgba(0, 0, 0, 0.8);
  
  --text-primary: var(--gray-100);
  --text-secondary: var(--gray-400);
  --text-tertiary: var(--gray-500);
  --text-muted: var(--gray-600);
  --text-inverse: var(--gray-900);
  
  --border-primary: var(--gray-800);
  --border-secondary: var(--gray-700);
  
  /* Adjusted shadows for dark mode */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

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

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: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  min-height: 100vh;
  transition: background-color var(--transition-base);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: var(--font-black);
  font-family: var(--font-serif);
}

h2 {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
}

h3 {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
}

h4 {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
}

h5 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
}

h6 {
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
}

p {
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-all);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  line-height: var(--leading-none);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-all);
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active:before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--border-primary);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--border-active);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* Cards */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-all);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: var(--backdrop-blur-lg);
  -webkit-backdrop-filter: var(--backdrop-blur-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

[data-theme="dark"] .card-glass {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Forms */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  transition: var(--transition-all);
  outline: none;
}

.form-input:hover {
  border-color: var(--text-tertiary);
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-alpha);
}

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

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

.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)); }

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Utility Classes */
.animate-fadeIn { animation: fadeIn 0.6s ease-out; }
.animate-slideInLeft { animation: slideInLeft 0.6s ease-out; }
.animate-slideInRight { animation: slideInRight 0.6s ease-out; }
.animate-scaleIn { animation: scaleIn 0.6s ease-out; }
.animate-pulse { animation: pulse 2s infinite; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* =====================================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ===================================================== */

/* Base Mobile Styles - Applied to all screens */
* {
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
  -webkit-touch-callout: none; /* Disable callout on iOS */
}

/* Ensure proper box sizing and prevent horizontal scroll */
html {
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */
  -ms-text-size-adjust: 100%;
}

/* Mobile-First Responsive Typography */
@media (max-width: 768px) {
  :root {
    /* Adjusted font sizes for mobile */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px - minimum for readability */
    --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 */
    
    /* Adjusted spacing for mobile */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.375rem;  /* 6px */
    --space-3: 0.5rem;    /* 8px */
    --space-4: 0.75rem;   /* 12px */
    --space-5: 1rem;      /* 16px */
    --space-6: 1.25rem;   /* 20px */
    --space-8: 1.5rem;    /* 24px */
    --space-10: 2rem;     /* 32px */
    --space-12: 2.5rem;   /* 40px */
    --space-16: 3rem;     /* 48px */
  }
}

/* Extra Small Devices - iPhone SE, small phones (320px - 374px) */
@media (max-width: 374px) {
  :root {
    --text-3xl: 1.5rem;
    --text-4xl: 1.875rem;
    --text-5xl: 2.25rem;
  }
  
  .container {
    padding: 0 1rem !important;
  }
}

/* Small Devices - iPhone 6/7/8/X/11/12/13/14 (375px - 414px) */
@media (max-width: 414px) {
  /* Grid Systems - Stack on mobile */
  [class*="grid-cols-"],
  .grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Navigation adjustments */
  .nav-container {
    padding: 0.75rem 1rem !important;
  }
  
  .nav-menu {
    display: none !important;
  }
  
  .nav-actions {
    gap: 0.5rem !important;
  }
  
  /* Button and Touch Target Optimization */
  .btn,
  button,
  a.button,
  [role="button"] {
    min-height: 44px !important;
    min-width: 44px !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
  }
  
  /* Form Elements */
  input,
  textarea,
  select {
    min-height: 44px !important;
    font-size: 16px !important; /* Prevents zoom on iOS */
    padding: 0.75rem !important;
  }
  
  /* Cards and Containers */
  .card,
  .panel,
  .dashboard-card,
  .stat-card {
    padding: 1rem !important;
    margin-bottom: 1rem !important;
  }
  
  /* Tables - Make them scrollable */
  .table-container,
  table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

/* Medium Devices - iPads, tablets (415px - 768px) */
@media (max-width: 768px) {
  /* Hero Sections */
  .hero-content {
    grid-template-columns: 1fr !important;
    padding: 1.5rem !important;
    gap: 2rem !important;
    text-align: center !important;
  }
  
  .hero-title {
    font-size: clamp(2rem, 5vw, 3rem) !important;
  }
  
  .hero-subtitle {
    font-size: 1.125rem !important;
    max-width: 100% !important;
  }
  
  .hero-actions {
    justify-content: center !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  
  .hero-actions .btn {
    width: 100% !important;
  }
  
  /* Dashboard Grid */
  .stats-grid,
  .dashboard-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  /* Modal and Dialog Adjustments */
  .modal,
  .dialog {
    width: 90% !important;
    max-width: 100% !important;
    margin: 1rem !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }
  
  /* Navigation Menu Mobile */
  .nav-header {
    padding: 0 !important;
  }
  
  .nav-logo {
    font-size: 1.125rem !important;
  }
  
  /* Sidebar adjustments */
  .sidebar {
    width: 85vw !important;
    max-width: 320px !important;
  }
  
  /* Images and Media */
  img,
  video,
  iframe {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Flex Utilities */
  .flex-row {
    flex-direction: column !important;
  }
  
  .flex-wrap {
    flex-wrap: wrap !important;
  }
  
  /* Text Alignment for Mobile */
  .text-left-mobile {
    text-align: left !important;
  }
  
  .text-center-mobile {
    text-align: center !important;
  }
  
  /* Hide Desktop Elements */
  .desktop-only {
    display: none !important;
  }
  
  /* Show Mobile Elements */
  .mobile-only {
    display: block !important;
  }
  
  /* Padding and Margin Adjustments */
  .section,
  .container {
    padding: 1.5rem !important;
  }
  
  /* List and Menu Items */
  .nav-item,
  .menu-item {
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column !important;
    text-align: center !important;
    gap: 2rem !important;
  }
  
  .footer-links {
    flex-direction: column !important;
    gap: 1rem !important;
  }
}

/* Large Tablets and Small Laptops (769px - 1024px) */
@media (max-width: 1024px) {
  /* Grid adjustments for tablets */
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Container width */
  .container {
    max-width: 100% !important;
    padding: 0 2rem !important;
  }
  
  /* Hero adjustments */
  .hero-content {
    gap: 3rem !important;
  }
}

/* Landscape Orientation Fixes */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto !important;
    padding: 2rem 0 !important;
  }
  
  .modal,
  .dialog {
    max-height: 80vh !important;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Increase touch targets */
  a,
  button,
  [role="button"],
  .clickable {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Remove hover effects on touch devices */
  .hover\:scale-105:hover {
    transform: none !important;
  }
  
  /* Add active states for better feedback */
  button:active,
  .btn:active,
  a:active {
    opacity: 0.8;
    transform: scale(0.98);
  }
}

/* Utility Classes for Responsive Design */
@media (max-width: 640px) {
  .sm\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .sm\:hidden { display: none !important; }
  .sm\:block { display: block !important; }
  .sm\:flex { display: flex !important; }
  .sm\:flex-col { flex-direction: column !important; }
  .sm\:text-center { text-align: center !important; }
  .sm\:w-full { width: 100% !important; }
  .sm\:px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
  .sm\:py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
}

@media (max-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:hidden { display: none !important; }
  .md\:block { display: block !important; }
  .md\:flex { display: flex !important; }
  .md\:flex-col { flex-direction: column !important; }
  .md\:text-center { text-align: center !important; }
  .md\:w-full { width: 100% !important; }
}

@media (max-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:hidden { display: none !important; }
  .lg\:block { display: block !important; }
  .lg\:flex { display: flex !important; }
}

/* Print Styles */
@media print {
  .no-print,
  .nav-header,
  .sidebar,
  
}

/* Glassmorphism Components */
.glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Loading States */
.skeleton {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.5s infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--text-tertiary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* =====================================================
   FOOTER SPECIFIC STYLES
   ===================================================== */

/* Footer links - theme-aware for better visibility */
footer a,
.footer a,
.footer-section a,
.footer-links a,
.footer-bottom a {
  color: var(--gray-600) !important;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Dark mode footer links */
[data-theme="dark"] footer a,
[data-theme="dark"] .footer a,
[data-theme="dark"] .footer-section a,
[data-theme="dark"] .footer-links a,
[data-theme="dark"] .footer-bottom a {
  color: var(--gray-400) !important;
}

footer a:hover,
.footer a:hover,
.footer-section a:hover,
.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--gray-800) !important;
  text-decoration: none;
}

/* Dark mode footer hover */
[data-theme="dark"] footer a:hover,
[data-theme="dark"] .footer a:hover,
[data-theme="dark"] .footer-section a:hover,
[data-theme="dark"] .footer-links a:hover,
[data-theme="dark"] .footer-bottom a:hover {
  color: var(--gray-200) !important;
}

/* Footer headings - theme aware */
footer h2,
footer h3,
footer h4,
.footer h2,
.footer h3,
.footer h4,
.footer-section h2,
.footer-section h3,
.footer-section h4 {
  color: var(--gray-700) !important;
  font-weight: var(--font-semibold);
}

/* Dark mode footer headings */
[data-theme="dark"] footer h2,
[data-theme="dark"] footer h3,
[data-theme="dark"] footer h4,
[data-theme="dark"] .footer h2,
[data-theme="dark"] .footer h3,
[data-theme="dark"] .footer h4,
[data-theme="dark"] .footer-section h2,
[data-theme="dark"] .footer-section h3,
[data-theme="dark"] .footer-section h4 {
  color: var(--gray-100) !important;
}

/* Footer brand/logo - theme aware */
.footer-brand,
.footer-logo {
  color: var(--gray-700) !important;
}

[data-theme="dark"] .footer-brand,
[data-theme="dark"] .footer-logo {
  color: var(--gray-200) !important;
}

/* Social links with subtle hover effect - theme aware */
.footer-socials a,
.social-link {
  color: var(--gray-600) !important;
  transition: all var(--transition-fast);
}

[data-theme="dark"] .footer-socials a,
[data-theme="dark"] .social-link {
  color: var(--gray-500) !important;
}

.footer-socials a:hover,
.social-link:hover {
  color: var(--gray-800) !important;
  transform: translateY(-2px);
}

[data-theme="dark"] .footer-socials a:hover,
[data-theme="dark"] .social-link:hover {
  color: var(--gray-100) !important;
}

/* Footer text should be slightly muted - theme aware */
footer p,
.footer p,
.footer-description,
.footer-copyright {
  color: var(--gray-600) !important;
}

[data-theme="dark"] footer p,
[data-theme="dark"] .footer p,
[data-theme="dark"] .footer-description,
[data-theme="dark"] .footer-copyright {
  color: var(--gray-400) !important;
}