/* ============================================================================
   SOPHIA STARS 2026 - Enhanced UI Styles
   Modern, Vibrant, Professional Design System
   Version: 01.2026
   ============================================================================ */

:root {
  /* Sophia College Official Brand Colors */
  --sophia-red: #cf1f41;
  --sophia-grey: #6d6f71;
  --sophia-blue: #127cb6;
  --sophia-green: #31b44b;
  --sophia-yellow: #fec213;
  
  /* 2026 Color Palette - Modern & Vibrant */
  --primary-blue: #0ea5e9;
  --primary-blue-dark: #0284c7;
  --primary-blue-light: #38bdf8;
  --navy-deep: #003057;
  --navy-medium: #002341;
  --navy-light: #004785;
  
  --accent-cyan: #06b6d4;
  --accent-teal: #14b8a6;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  
  --success-green: #10b981;
  --warning-amber: #f59e0b;
  --error-red: #ef4444;
  --info-blue: #3b82f6;
  
  /* Neutral Palette */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--navy-deep) 0%, var(--primary-blue) 100%);
  --gradient-accent: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
  --gradient-success: linear-gradient(135deg, var(--success-green) 0%, var(--accent-teal) 100%);
  --gradient-sunset: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 50%, var(--primary-blue) 100%);
  
  /* Shadows */
  --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);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.3);
  --shadow-glow-strong: 0 0 40px rgba(14, 165, 233, 0.5);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================================
   ENHANCED HEADER STYLES - 2026 Edition (Optimized)
   ============================================================================ */

.header-section {
  position: relative;
  background: linear-gradient(135deg, 
    var(--navy-deep) 0%, 
    #002a4d 50%,
    var(--navy-medium) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: var(--spacing-xl);
  box-shadow: 
    var(--shadow-xl), 
    0 0 40px rgba(14, 165, 233, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.header-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--sophia-red) 0%, 
    var(--sophia-blue) 25%, 
    var(--sophia-green) 50%, 
    var(--sophia-yellow) 75%, 
    var(--sophia-red) 100%);
  background-size: 200% 100%;
  animation: headerGradientShift 8s ease infinite;
  box-shadow: 0 2px 8px rgba(207, 31, 65, 0.3);
}

@keyframes headerGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.header-section::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at center, 
    rgba(14, 165, 233, 0.15) 0%, 
    rgba(14, 165, 233, 0.05) 40%,
    transparent 70%);
  animation: headerGlow 8s ease-in-out infinite;
  pointer-events: none;
  border-radius: 50%;
}

@keyframes headerGlow {
  0%, 100% { 
    transform: translate(0, 0) scale(1); 
    opacity: 0.6; 
  }
  50% { 
    transform: translate(-30px, 20px) scale(1.15); 
    opacity: 1; 
  }
}

.header-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  margin-bottom: var(--spacing-lg);
}

.home-logo {
  height: clamp(50px, 8vw, 70px);
  width: auto;
  filter: 
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4))
    drop-shadow(0 0 20px rgba(14, 165, 233, 0.3));
  transition: all var(--transition-base);
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
}

.home-logo:hover {
  transform: scale(1.08) rotate(3deg);
  filter: 
    drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4))
    drop-shadow(0 0 30px rgba(14, 165, 233, 0.6));
}

.dashboard-greeting {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin: 0 0 var(--spacing-xs) 0;
  background: linear-gradient(135deg, 
    #ffffff 0%, 
    var(--primary-blue-light) 50%,
    #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: greetingShimmer 4s ease-in-out infinite;
  text-shadow: 0 2px 10px rgba(14, 165, 233, 0.3);
  letter-spacing: -0.02em;
}

@keyframes greetingShimmer {
  0%, 100% { 
    background-position: 0% center;
    filter: brightness(1); 
  }
  50% { 
    background-position: 100% center;
    filter: brightness(1.3); 
  }
}

.welcome-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  margin: 0;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.02em;
}

/* Quick Access Toolbar - 2026 Enhancement (Optimized) */
.quick-access-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  padding: clamp(0.75rem, 2vw, 1rem);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px) saturate(180%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.quick-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: clamp(0.75rem, 2vw, 1rem) clamp(0.5rem, 1vw, 0.75rem);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.12) 0%, 
    rgba(255, 255, 255, 0.06) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: white;
  font-weight: 700;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  min-height: 80px;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.quick-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.25), 
    transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-btn:hover::before {
  left: 100%;
}

.quick-btn:hover {
  background: linear-gradient(135deg, 
    rgba(14, 165, 233, 0.4) 0%, 
    rgba(6, 182, 212, 0.3) 100%);
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 
    0 12px 30px rgba(14, 165, 233, 0.4), 
    0 0 30px rgba(14, 165, 233, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.quick-btn:active {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 
    0 6px 15px rgba(14, 165, 233, 0.3), 
    0 0 20px rgba(14, 165, 233, 0.2);
}

.quick-icon {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  transition: all var(--transition-base);
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.quick-btn:hover .quick-icon {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 4px 12px rgba(14, 165, 233, 0.6));
}

.quick-label {
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  letter-spacing: 0.04em;
  transition: all var(--transition-base);
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.quick-btn:hover .quick-label {
  color: #ffffff;
  text-shadow: 
    0 2px 8px rgba(14, 165, 233, 0.6),
    0 0 20px rgba(56, 189, 248, 0.4);
  letter-spacing: 0.06em;
}

/* AI Insight Compact - 2026 Enhancement (Optimized) */
.ai-insight-compact {
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(139, 92, 246, 0.4) !important;
  box-shadow: 
    0 6px 20px rgba(139, 92, 246, 0.25),
    0 0 30px rgba(139, 92, 246, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  transition: all var(--transition-base) !important;
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.05) 0%,
    rgba(99, 102, 241, 0.05) 100%) !important;
}

.ai-insight-compact::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(139, 92, 246, 0.15), 
    transparent);
  animation: aiInsightShimmer 4s ease-in-out infinite;
  z-index: 0;
}

@keyframes aiInsightShimmer {
  0% { left: -100%; opacity: 0; }
  50% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.ai-insight-compact:hover {
  border-color: rgba(139, 92, 246, 0.6) !important;
  box-shadow: 
    0 8px 30px rgba(139, 92, 246, 0.35),
    0 0 40px rgba(139, 92, 246, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transform: translateX(4px) scale(1.01);
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.08) 0%,
    rgba(99, 102, 241, 0.08) 100%) !important;
}

/* Quick Search Container - Enhanced */
.quick-search-container {
  position: relative;
  z-index: 1;
  margin-bottom: var(--spacing-md);
}

.quick-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px) saturate(180%);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.15),
    0 0 30px rgba(14, 165, 233, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(14, 165, 233, 0.3);
  overflow: hidden;
  transition: all var(--transition-base);
}

.quick-search-wrapper:hover {
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 
    0 6px 25px rgba(14, 165, 233, 0.2),
    0 0 40px rgba(14, 165, 233, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.quick-search-wrapper:focus-within {
  border-color: var(--primary-blue);
  box-shadow: 
    0 8px 30px rgba(14, 165, 233, 0.3),
    0 0 50px rgba(14, 165, 233, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-3px);
}

.quick-search-icon {
  position: absolute;
  left: 1rem;
  color: var(--primary-blue);
  font-size: 1.25rem;
  pointer-events: none;
  transition: all var(--transition-base);
  filter: drop-shadow(0 2px 4px rgba(14, 165, 233, 0.3));
  z-index: 2;
}

.quick-search-wrapper:focus-within .quick-search-icon {
  color: var(--primary-blue-dark);
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(14, 165, 233, 0.5));
}

.quick-search-input {
  flex: 1;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy-deep);
  outline: none;
  transition: all var(--transition-base);
}

.quick-search-input::placeholder {
  color: var(--gray-500);
  font-weight: 400;
  transition: all var(--transition-base);
}

.quick-search-input:focus::placeholder {
  color: var(--gray-400);
  transform: translateX(5px);
}

.quick-search-results {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.2),
    0 0 60px rgba(14, 165, 233, 0.15),
    0 0 0 1px rgba(14, 165, 233, 0.2);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  animation: searchResultsSlide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes searchResultsSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-result-item {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-result-item:hover {
  background: linear-gradient(90deg, 
    rgba(14, 165, 233, 0.08) 0%,
    rgba(14, 165, 233, 0.05) 100%);
  padding-left: 1.5rem;
  border-left: 3px solid var(--primary-blue);
}

.search-result-item:active {
  background: rgba(14, 165, 233, 0.12);
}

/* Responsive Header - Enhanced */
@media (max-width: 1024px) {
  .header-section {
    padding: clamp(1rem, 2.5vw, 1.5rem);
  }
  
  .quick-access-toolbar {
    gap: clamp(0.5rem, 1vw, 0.75rem);
  }
  
  .quick-btn {
    min-height: 70px;
    padding: clamp(0.625rem, 1.5vw, 0.875rem) clamp(0.375rem, 0.75vw, 0.5rem);
  }
  
  .quick-icon {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  }
  
  .quick-label {
    font-size: clamp(0.65rem, 1vw, 0.75rem);
  }
}

@media (max-width: 768px) {
  .header-section {
    border-radius: var(--radius-lg);
    padding: clamp(0.875rem, 2vw, 1.25rem);
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
  
  .home-logo {
    height: clamp(45px, 7vw, 60px);
  }
  
  .dashboard-greeting {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }
  
  .welcome-subtitle {
    font-size: clamp(0.8rem, 1.8vw, 0.925rem);
  }
  
  .quick-access-toolbar {
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
  }
  
  .quick-btn {
    min-width: calc(50% - var(--spacing-xs));
    min-height: 65px;
    flex: 1 1 calc(50% - var(--spacing-xs));
  }
  
  .quick-icon {
    font-size: 1.25rem;
  }
  
  .quick-label {
    font-size: 0.7rem;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 480px) {
  .header-section {
    padding: 0.75rem;
    margin-bottom: var(--spacing-md);
  }
  
  .header-section::before {
    height: 3px;
  }
  
  .home-logo {
    height: 40px;
  }
  
  .dashboard-greeting {
    font-size: 1.25rem;
  }
  
  .welcome-subtitle {
    font-size: 0.8rem;
  }
  
  .quick-access-toolbar {
    padding: 0.5rem;
  }
  
  .quick-btn {
    min-width: 100%;
    flex: 1 1 100%;
    min-height: 60px;
    padding: 0.625rem 0.5rem;
  }
  
  .quick-icon {
    font-size: 1.1rem;
  }
  
  .quick-label {
    font-size: 0.65rem;
  }
  
  .ai-insight-compact {
    font-size: 0.85rem;
  }
}

/* ============================================================================
   STANDARDIZED PAGE HEADER - 2026 Edition
   ============================================================================ */

/* Universal page header for all pages */
.page-header-2026,
.header-section {
  text-align: center;
  padding: var(--spacing-xl);
  background: linear-gradient(135deg, rgba(0, 48, 87, 0.95) 0%, rgba(0, 35, 65, 0.95) 100%);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 40px rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  margin: 0 auto var(--spacing-lg) auto;
  width: 100%;
  animation: fadeInUp 0.8s ease-out;
}

.page-header-2026::before,
.header-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--sophia-red) 0%, 
    var(--sophia-blue) 25%, 
    var(--sophia-green) 50%, 
    var(--sophia-yellow) 75%, 
    var(--sophia-red) 100%);
  background-size: 200% 100%;
  opacity: 1;
  animation: headerGradientShift 8s ease infinite;
}

.page-header-2026::after,
.header-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  animation: headerGlow 6s ease-in-out infinite;
  pointer-events: none;
}

/* Header Logo */
.page-header-2026 .logo-center,
.header-section .logo-center {
  max-width: 200px;
  margin: 0 auto var(--spacing-lg);
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
  transition: var(--transition-base);
  position: relative;
  z-index: 1;
  animation: logoFloat 3s ease-in-out infinite;
}

.page-header-2026 .logo-center:hover,
.header-section .logo-center:hover {
  transform: scale(1.05) translateY(-8px);
  filter: drop-shadow(0 12px 24px rgba(14, 165, 233, 0.4));
}

/* Header Title */
.page-header-2026 .header-title,
.page-header-2026 .page-title,
.header-section .header-title,
.header-title {
  color: #ffffff;
  margin: 0 auto var(--spacing-sm) auto;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 50%, #0ea5e9 100%);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: all var(--transition-base);
}

.page-header-2026 .header-title:hover,
.page-header-2026 .page-title:hover,
.header-section .header-title:hover,
.header-title:hover {
  background-size: 200% 200%;
  filter: drop-shadow(0 4px 8px rgba(14, 165, 233, 0.4));
}

/* Header Subtitle */
.page-header-2026 .subtitle,
.page-header-2026 .page-subtitle,
.page-header-2026 .header-subtitle,
.header-section .subtitle,
.header-section .header-subtitle,
.subtitle,
.page-subtitle,
.header-subtitle {
  color: #ffffff;
  font-size: 1.2rem;
  margin: 0 auto;
  font-weight: 500;
  position: relative;
  z-index: 1;
  opacity: 0.95;
  letter-spacing: 0.01em;
  text-align: center;
  width: 100%;
  display: block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive Page Headers */
@media (max-width: 768px) {
  .page-header-2026 .header-title,
  .page-header-2026 .page-title,
  .header-section .header-title,
  .header-title {
    font-size: 2rem;
  }
  
  .page-header-2026 .subtitle,
  .page-header-2026 .page-subtitle,
  .header-section .subtitle,
  .subtitle,
  .page-subtitle {
    font-size: 1rem;
  }
}

/* ============================================================================
   ENHANCED FOOTER STYLES - 2026 Edition
   ============================================================================ */

.enhanced-app-footer-2026 {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, 
    rgba(0, 48, 87, 0.98) 0%, 
    rgba(0, 35, 65, 0.98) 50%,
    rgba(0, 48, 87, 0.98) 100%);
  color: rgba(255, 255, 255, 0.95);
  overflow: hidden;
  margin-top: auto;
  border-top: 3px solid rgba(96, 165, 250, 0.6);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
  padding: 1rem clamp(1rem, 3vw, 2rem);
}

.enhanced-app-footer-2026 .footer-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: clamp(1rem, 3vw, 2rem);
  max-width: 1400px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.enhanced-app-footer-2026 .footer-left,
.enhanced-app-footer-2026 .footer-center,
.enhanced-app-footer-2026 .footer-right {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 1;
}

.enhanced-app-footer-2026 .footer-left {
  flex: 1;
  justify-content: flex-start;
}

.enhanced-app-footer-2026 .footer-center {
  flex: 0 1 auto;
  justify-content: center;
}

.enhanced-app-footer-2026 .footer-right {
  flex: 1;
  justify-content: flex-end;
}

.enhanced-app-footer-2026 .footer-logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.enhanced-app-footer-2026 .footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
}

.enhanced-app-footer-2026 .footer-branding {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
}

.enhanced-app-footer-2026 .footer-brand-name {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.01em;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.enhanced-app-footer-2026 .footer-build-number {
  font-size: clamp(0.625rem, 1vw, 0.75rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.enhanced-app-footer-2026 .footer-tech {
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(96, 165, 250, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
}

.enhanced-app-footer-2026 .footer-tech:hover {
  background: rgba(59, 130, 246, 0.3);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transform: translateY(-1px);
}

.enhanced-app-footer-2026 .footer-credits {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  justify-content: flex-end;
  min-width: 0;
}

.enhanced-app-footer-2026 .footer-developer {
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.01em;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.enhanced-app-footer-2026 .footer-institution {
  font-size: clamp(0.625rem, 1vw, 0.75rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* Wave Divider - Enhanced */
.footer-wave-divider {
  position: relative;
  width: 100%;
  height: 100px;
  margin-bottom: -2px;
  overflow: hidden;
  filter: drop-shadow(0 -4px 12px rgba(14, 165, 233, 0.15));
}

.footer-wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: waveFloat 10s ease-in-out infinite;
}

@keyframes waveFloat {
  0%, 100% { 
    transform: translateX(0) scaleY(1) scaleX(1); 
  }
  33% { 
    transform: translateX(-20px) scaleY(1.03) scaleX(1.01); 
  }
  66% { 
    transform: translateX(-40px) scaleY(0.97) scaleX(0.99); 
  }
}

/* Main Content - Enhanced */
.footer-main-content {
  background: linear-gradient(135deg, 
    rgba(0, 48, 87, 0.02) 0%, 
    rgba(14, 165, 233, 0.04) 25%,
    rgba(139, 92, 246, 0.03) 50%,
    rgba(14, 165, 233, 0.04) 75%, 
    rgba(0, 48, 87, 0.02) 100%
  );
  background-size: 200% 200%;
  animation: footerGradientShift 15s ease infinite;
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 3vw, 2rem);
  position: relative;
}

@keyframes footerGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.footer-main-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(14, 165, 233, 0.3) 20%,
    rgba(139, 92, 246, 0.3) 50%,
    rgba(14, 165, 233, 0.3) 80%,
    transparent 100%);
  box-shadow: 0 1px 3px rgba(14, 165, 233, 0.2);
}

.footer-container-2026 {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

/* Brand Column - Enhanced */
.footer-brand-column {
  grid-column: span 1;
}

.footer-brand-section {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.4) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(14, 165, 233, 0.1);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: all var(--transition-base);
}

.footer-brand-section:hover {
  box-shadow: 
    0 4px 16px rgba(14, 165, 233, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.footer-logo-wrapper {
  position: relative;
  flex-shrink: 0;
}

.footer-crest-2026 {
  width: clamp(60px, 8vw, 80px);
  height: clamp(60px, 8vw, 80px);
  object-fit: contain;
  filter: 
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15))
    drop-shadow(0 0 20px rgba(14, 165, 233, 0.1));
  animation: gentleFloat 8s ease-in-out infinite;
  position: relative;
  z-index: 2;
  transition: all var(--transition-base);
}

.footer-brand-section:hover .footer-crest-2026 {
  filter: 
    drop-shadow(0 6px 16px rgba(0, 0, 0, 0.2))
    drop-shadow(0 0 30px rgba(14, 165, 233, 0.2));
  transform: scale(1.05) rotate(3deg);
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(1deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
  75% { transform: translateY(-4px) rotate(1deg); }
}

.footer-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at center,
    rgba(14, 165, 233, 0.2) 0%,
    rgba(14, 165, 233, 0.1) 40%,
    transparent 70%);
  animation: logoGlowPulse 4s ease-in-out infinite;
  z-index: 1;
  border-radius: 50%;
}

@keyframes logoGlowPulse {
  0%, 100% { 
    opacity: 0.5; 
    transform: translate(-50%, -50%) scale(1); 
  }
  50% { 
    opacity: 1; 
    transform: translate(-50%, -50%) scale(1.1); 
  }
}

.footer-brand-text {
  flex: 1;
}

.footer-brand-title {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 800;
  margin: 0 0 var(--spacing-xs) 0;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
  line-height: 1.2;
}

.brand-sophia {
  background: linear-gradient(135deg, 
    var(--sophia-red) 0%, 
    #e73355 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 8px rgba(207, 31, 65, 0.3);
  letter-spacing: -0.02em;
  font-weight: 900;
}

.brand-stars {
  background: linear-gradient(135deg, 
    var(--navy-deep) 0%, 
    var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 8px rgba(0, 48, 87, 0.3);
  letter-spacing: 0.05em;
  font-weight: 900;
}

.footer-tagline {
  margin: 0 0 var(--spacing-md);
  font-size: clamp(0.8rem, 1.5vw, 0.925rem);
  color: var(--gray-700);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.footer-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.footer-badge svg {
  flex-shrink: 0;
}

.footer-badge-version {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 
    0 2px 8px rgba(0, 48, 87, 0.3),
    0 0 20px rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-badge-version:hover {
  box-shadow: 
    0 4px 16px rgba(0, 48, 87, 0.4),
    0 0 30px rgba(14, 165, 233, 0.4);
  transform: translateY(-3px) scale(1.05);
}

.footer-badge-org {
  background: linear-gradient(135deg, 
    white 0%, 
    var(--gray-100) 100%);
  color: var(--navy-deep);
  border: 1.5px solid var(--gray-300);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.footer-badge-org:hover {
  background: linear-gradient(135deg, 
    white 0%, 
    rgba(14, 165, 233, 0.05) 100%);
  border-color: var(--primary-blue);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 4px 16px rgba(14, 165, 233, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.footer-mission {
  margin: var(--spacing-lg) 0 0;
  font-size: clamp(0.825rem, 1.5vw, 0.925rem);
  line-height: 1.7;
  color: var(--gray-700);
  font-style: italic;
  font-weight: 500;
  padding: var(--spacing-md) var(--spacing-lg);
  border-left: 4px solid var(--primary-blue);
  background: linear-gradient(135deg,
    rgba(14, 165, 233, 0.08) 0%,
    rgba(14, 165, 233, 0.03) 100%);
  border-radius: var(--radius-md);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 2px 8px rgba(14, 165, 233, 0.1);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.footer-mission::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 4rem;
  color: rgba(14, 165, 233, 0.1);
  font-family: Georgia, serif;
  font-weight: 700;
  line-height: 1;
}

.footer-mission:hover {
  background: linear-gradient(135deg,
    rgba(14, 165, 233, 0.12) 0%,
    rgba(14, 165, 233, 0.05) 100%);
  border-left-color: var(--primary-blue-dark);
  transform: translateX(4px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 16px rgba(14, 165, 233, 0.15);
}

/* Column Styles - Enhanced */
.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column-title {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 800;
  color: var(--navy-deep);
  margin: 0 0 var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 3px solid transparent;
  background: 
    linear-gradient(white, white) padding-box,
    var(--gradient-accent) border-box;
  border-image: var(--gradient-accent) 0 0 3 0;
  position: relative;
  transition: all var(--transition-base);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-column-title:hover {
  color: var(--primary-blue);
  transform: translateX(4px);
}

.footer-column-title svg {
  color: var(--primary-blue);
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(14, 165, 233, 0.3));
  transition: all var(--transition-base);
}

.footer-column-title:hover svg {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(14, 165, 233, 0.5));
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  animation: slideExpand 3s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

@keyframes slideExpand {
  0%, 100% {
    width: 60px;
    opacity: 0.8;
  }
  50% {
    width: 80px;
    opacity: 1;
  }
}

/* Footer Links - Enhanced */
.footer-links-2026 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-accent);
  transform: scaleY(0);
  transition: transform var(--transition-base);
}

.footer-link:hover {
  background: linear-gradient(90deg,
    rgba(14, 165, 233, 0.08) 0%,
    rgba(14, 165, 233, 0.03) 100%);
  color: var(--primary-blue-dark);
  padding-left: calc(var(--spacing-md) + 6px);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
}

.footer-link:hover::before {
  transform: scaleY(1);
}

.footer-link svg {
  transition: all var(--transition-base);
  flex-shrink: 0;
  color: var(--primary-blue);
}

.footer-link:hover svg {
  transform: translateX(2px) scale(1.1);
  filter: drop-shadow(0 2px 4px rgba(14, 165, 233, 0.3));
}

.footer-link-admin {
  background: linear-gradient(135deg,
    rgba(139, 92, 246, 0.05) 0%,
    rgba(99, 102, 241, 0.05) 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
  font-weight: 700;
}

.footer-link-admin:hover {
  background: linear-gradient(135deg,
    rgba(139, 92, 246, 0.12) 0%,
    rgba(99, 102, 241, 0.08) 100%);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

/* Tech Badge */
.footer-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-lg);
  padding: var(--spacing-sm) var(--spacing-md);
  background: linear-gradient(135deg,
    var(--navy-deep) 0%,
    var(--primary-blue-dark) 100%);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 
    0 2px 8px rgba(0, 48, 87, 0.3),
    0 0 20px rgba(14, 165, 233, 0.2);
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-tech-badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 4px 16px rgba(0, 48, 87, 0.4),
    0 0 30px rgba(14, 165, 233, 0.4);
}

.footer-tech-badge svg {
  color: var(--sophia-yellow);
  filter: drop-shadow(0 2px 4px rgba(254, 194, 19, 0.4));
  animation: techBadgeSpin 20s linear infinite;
}

@keyframes techBadgeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Contact Column */
.footer-contact-column {
  display: flex;
  flex-direction: column;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.3) 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(14, 165, 233, 0.15);
  transition: all var(--transition-base);
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-contact-item:hover {
  background: linear-gradient(135deg,
    rgba(14, 165, 233, 0.08) 0%,
    rgba(14, 165, 233, 0.04) 100%);
  border-color: var(--primary-blue);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.footer-contact-item svg {
  color: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition-base);
}

.footer-contact-item:hover svg {
  transform: scale(1.15);
  filter: drop-shadow(0 2px 6px rgba(14, 165, 233, 0.4));
}

/* ============================================================================
   RESPONSIVE FOOTER STYLES - 2026 Edition
   ============================================================================ */

@media (max-width: 768px) {
  .footer-wave-divider {
    height: 60px;
  }
  
  .footer-main-content {
    padding: clamp(1.5rem, 4vw, 2rem) clamp(0.75rem, 2vw, 1rem);
  }
  
  .footer-container-2026 {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .footer-brand-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-crest-2026 {
    width: 60px;
    height: 60px;
  }
  
  .footer-brand-title {
    font-size: 1.5rem;
    justify-content: center;
  }
  
  .footer-badge-group {
    justify-content: center;
  }
  
  .footer-mission {
    text-align: left;
  }
  
  .footer-column-title {
    font-size: 1rem;
  }
  
  .footer-links-2026 {
    gap: var(--spacing-xs);
  }
  
  .footer-link {
    font-size: 0.85rem;
  }
  
  .footer-contact-item {
    font-size: 0.8rem;
  }
}

/* ============================================================================
   LEGACY FOOTER COMPATIBILITY
   ============================================================================ */

/* Column Styles - Compatibility */
.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column-title {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--primary-blue);
  position: relative;
}

.footer-column-title svg {
  color: var(--primary-blue);
  flex-shrink: 0;
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-accent);
  animation: slideExpand 2s ease-in-out infinite;
}

@keyframes slideExpand {
  0%, 100% { width: 40px; opacity: 1; }
  50% { width: 80px; opacity: 0.7; }
}

/* Links */
.footer-links-2026 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.footer-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-accent);
  transform: scaleY(0);
  transition: transform var(--transition-base);
}

.footer-link:hover {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 182, 212, 0.05));
  color: var(--primary-blue-dark);
  transform: translateX(5px);
  padding-left: calc(var(--spacing-md) + 3px);
}

.footer-link:hover::before {
  transform: scaleY(1);
}

.footer-link svg {
  color: var(--primary-blue);
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.footer-link:hover svg {
  transform: scale(1.1) rotate(5deg);
}

.footer-link-admin {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-link-admin:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1));
  border-color: var(--accent-purple);
}

.footer-link-admin svg {
  color: var(--accent-purple);
}

/* Tech Badge */
.footer-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  margin-top: var(--spacing-lg);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.8), 
    rgba(14, 165, 233, 0.1)
  );
  border: 1px solid var(--primary-blue);
  border-radius: var(--radius-lg);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--navy-deep);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  opacity: 0.8;
}

.footer-tech-badge:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  border-color: var(--accent-cyan);
  opacity: 1;
}

.footer-tech-badge svg {
  width: 10px;
  height: 10px;
  color: var(--primary-blue);
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: rotate(0deg); }
  50% { opacity: 0.7; transform: rotate(180deg); }
}

/* Contact Column */
.footer-contact-column {
  display: flex;
  flex-direction: column;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  font-size: 0.875rem;
  color: var(--gray-700);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.footer-contact-item svg {
  color: var(--primary-blue);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-contact-item:hover {
  background: rgba(14, 165, 233, 0.05);
  transform: translateX(3px);
}

.footer-contact-item:hover a {
  color: var(--primary-blue-dark);
  text-decoration: underline;
}

.footer-contact-item:hover svg {
  transform: scale(1.1);
}

/* Bottom Bar */
.footer-bottom-bar {
  background: linear-gradient(135deg, 
    var(--navy-deep) 0%, 
    var(--navy-medium) 50%, 
    var(--navy-deep) 100%
  );
  border-top: 2px solid rgba(14, 165, 233, 0.3);
  padding: var(--spacing-lg) var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

.footer-bottom-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(14, 165, 233, 0.1), 
    transparent
  );
  animation: shimmerSlide 3s ease-in-out infinite;
}

@keyframes shimmerSlide {
  0% { left: -100%; }
  100% { left: 100%; }
}

.footer-bottom-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-bottom-left,
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.footer-copyright-2026 {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.footer-copyright-2026 svg {
  color: var(--primary-blue-light);
  flex-shrink: 0;
}

.footer-status-indicator {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: statusPulse 2s ease-in-out infinite;
}

.status-dot-active {
  background: var(--success-green);
  box-shadow: 0 0 10px var(--success-green);
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.footer-separator {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
}

.footer-build-info {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  padding: var(--spacing-xs) var(--spacing-sm);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 1024px) {
  .footer-container-2026 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }
  
  .footer-brand-column {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-main-content {
    padding: var(--spacing-xl) var(--spacing-md);
  }
  
  .footer-container-2026 {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .footer-brand-column {
    grid-column: span 1;
  }
  
  .footer-brand-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-brand-title {
    flex-direction: column;
    gap: var(--spacing-xs);
  }
  
  .footer-mission {
    text-align: left;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-left,
  .footer-bottom-right {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .footer-wave-divider {
    height: 60px;
  }
  
  .footer-main-content {
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .footer-crest-2026 {
    width: 60px;
    height: 60px;
  }
  
  .footer-brand-title {
    font-size: 1.5rem;
  }
  
  .footer-badge-group {
    justify-content: center;
  }
  
  .footer-links-2026 {
    gap: var(--spacing-xs);
  }
  
  .footer-link {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.8125rem;
  }
}

/* ============================================================================
   ANIMATIONS & TRANSITIONS
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
  .enhanced-app-footer-2026 {
    break-inside: avoid;
  }
  
  .footer-wave-divider,
  .footer-logo-glow,
  .footer-tech-badge {
    display: none;
  }
  
  .footer-main-content {
    background: white;
    padding: 1rem;
  }
  
  .footer-bottom-bar {
    background: white;
    border-top: 1px solid black;
    color: black;
  }
}
