/* ==================== VARIABLES - PREMIUM DARK THEME ==================== */
:root {
  /* Premium Color Palette */
  --primary-color: #8b5cf6;
  --primary-dark: #7c3aed;
  --primary-light: #a78bfa;
  --primary-glow: rgba(139, 92, 246, 0.4);
  
  --secondary-color: #06b6d4;
  --secondary-dark: #0891b2;
  --secondary-light: #22d3ee;
  --secondary-glow: rgba(6, 182, 212, 0.4);
  
  --accent-color: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.4);
  
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  
  /* Dark Theme Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #13131a;
  --bg-tertiary: #1a1a24;
  --bg-elevated: #1f1f2e;
  --bg-card: rgba(31, 31, 46, 0.8);
  --bg-input: rgba(255, 255, 255, 0.05);
  
  /* Text Colors */
  --text-primary: #f9fafb;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --text-muted: #64748b;
  
  /* Border Colors */
  --border-primary: rgba(255, 255, 255, 0.1);
  --border-secondary: rgba(255, 255, 255, 0.05);
  --border-accent: rgba(139, 92, 246, 0.3);
  
  /* Shadows with glow effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  --glow-primary: 0 0 20px var(--primary-glow);
  --glow-secondary: 0 0 20px var(--secondary-glow);
  --glow-accent: 0 0 20px var(--accent-glow);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Glass morphism */
  --glass-bg: rgba(31, 31, 46, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
}

/* ==================== LIGHT MODE THEME ==================== */
[data-theme="light"] {
  /* Light Theme Colors */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f3f5;
  --bg-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-input: rgba(0, 0, 0, 0.03);
  
  /* Text Colors for Light Mode */
  --text-primary: #1a1a1a;
  --text-secondary: #4b5563;
  --text-tertiary: #6b7280;
  --text-muted: #9ca3af;
  
  /* Border Colors for Light Mode */
  --border-primary: rgba(0, 0, 0, 0.1);
  --border-secondary: rgba(0, 0, 0, 0.05);
  --border-accent: rgba(139, 92, 246, 0.3);
  
  /* Shadows for Light Mode */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Glass morphism for light */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(0, 0, 0, 0.1);
}

/* Light mode body adjustments */
[data-theme="light"] body {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

[data-theme="light"] body::before {
  background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 40% 20%, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
}

[data-theme="light"] .hero {
  background: linear-gradient(135deg, #ffffff 0%, #f3e8ff 50%, #ffffff 100%);
}

[data-theme="light"] .hero::before {
  background: 
    radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-primary);
}

[data-theme="light"] .sidebar-link:hover {
  background: rgba(139, 92, 246, 0.08);
}

[data-theme="light"] .sidebar-link.active {
  background: rgba(139, 92, 246, 0.12);
}

[data-theme="light"] .item-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .stat-card,
[data-theme="light"] .verification-card {
  background: var(--bg-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea,
[data-theme="light"] .form-select {
  background: var(--bg-input);
  color: var(--text-primary);
  border-color: var(--border-primary);
}

[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder {
  color: var(--text-tertiary);
}

[data-theme="light"] .footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
}

[data-theme="light"] .chat-sidebar,
[data-theme="light"] .chat-main {
  background: var(--bg-secondary);
}

[data-theme="light"] .message-received .message-content {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Animated gradient background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 40% 20%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-dark), var(--secondary-dark));
}

/* Selection */
::selection {
  background: var(--primary-color);
  color: white;
}


/* ==================== UTILITIES ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== NAVIGATION - PREMIUM GLASS ==================== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1400px;
  padding: 16px 30px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), var(--glow-primary);
  z-index: 1000;
  transition: var(--transition);
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.3), 
    rgba(6, 182, 212, 0.3));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.navbar.scrolled {
  box-shadow: var(--shadow-2xl), var(--glow-primary);
  background: rgba(31, 31, 46, 0.8);
}

/* Compact mode for mobile */
.navbar.compact {
  padding: 12px 20px;
  top: 12px;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  border-radius: var(--radius-full);
}

.logo-icon {
  font-size: 32px;
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.logo-text {
  display: inline;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-light);
  background: rgba(139, 92, 246, 0.1);
}

.nav-link.active {
  color: var(--primary-light);
  background: rgba(139, 92, 246, 0.15);
}

.nav-link.active::before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--primary-color);
  border-radius: var(--radius-full);
  box-shadow: var(--glow-primary);
}


/* ==================== BUTTONS - PREMIUM 3D EFFECT ==================== */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.btn-primary::before,
.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: 0 8px 16px rgba(139, 92, 246, 0.3), 
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(139, 92, 246, 0.5), 
              var(--glow-primary),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: white;
  box-shadow: 0 8px 16px rgba(6, 182, 212, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(6, 182, 212, 0.5),
              var(--glow-secondary),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(6, 182, 212, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-accent);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.btn-outline:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--primary-color);
  box-shadow: var(--glow-primary);
  transform: translateY(-3px);
}

.btn-white {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-icon {
  font-size: 22px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}


/* ==================== HERO SECTION - PREMIUM DARK ==================== */
.hero {
  padding: 180px 20px 120px;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a0a2e 50%, #0a0a0f 100%);
  position: relative;
  overflow: hidden;
}

/* Animated gradient mesh background */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
  animation: meshMove 20s ease-in-out infinite;
}

@keyframes meshMove {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(5%, -5%) rotate(120deg); }
  66% { transform: translate(-5%, 5%) rotate(240deg); }
}

/* Grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: var(--text-primary);
}

.hero-title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
  text-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 48px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-primary);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  border-radius: var(--radius-full);
}

.stat-number {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px var(--primary-glow);
}

.stat-label {
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Floating Cards - Premium 3D Effect */
.hero-image {
  position: relative;
  height: 600px;
  perspective: 1000px;
}

.floating-card {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  padding: 24px;
  border-radius: var(--radius-xl);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 30px var(--primary-glow);
  border: 1px solid var(--border-primary);
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: var(--transition);
}

.floating-card:hover {
  transform: translateY(-10px) scale(1.05) rotateY(5deg);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 50px var(--primary-glow);
}

.floating-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.3), 
    transparent,
    rgba(6, 182, 212, 0.3));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.floating-card.card-1 {
  top: 80px;
  left: 50px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  top: 250px;
  right: 80px;
  animation-delay: 2s;
}

.floating-card.card-3 {
  bottom: 120px;
  left: 120px;
  animation-delay: 4s;
}

.card-icon {
  font-size: 48px;
  filter: drop-shadow(0 4px 10px var(--primary-glow));
}

.card-text {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 16px;
}

.card-badge {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-badge.found {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.3));
  color: var(--success-color);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.card-badge.lost {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.3));
  color: var(--danger-color);
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.card-badge.match {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.3));
  color: var(--primary-light);
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 20px var(--primary-glow);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) translateZ(0) rotateY(0deg);
  }
  50% {
    transform: translateY(-30px) translateZ(20px) rotateY(5deg);
  }
}


/* ==================== SECTIONS - PREMIUM DARK ==================== */
.features,
.recent-items,
.cta-section {
  padding: 100px 20px;
  position: relative;
}

.features {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.section-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--text-primary);
  letter-spacing: -1px;
  text-shadow: 0 0 40px var(--primary-glow);
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==================== FEATURES - GLASS CARDS ==================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  border: 1px solid var(--border-primary);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.3), 
    transparent,
    rgba(6, 182, 212, 0.3));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition-slow);
}

.feature-card:hover::after {
  opacity: 1;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 40px var(--primary-glow);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 56px;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 20px var(--primary-glow));
  display: inline-block;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotateY(15deg);
  filter: drop-shadow(0 8px 30px var(--primary-glow));
}

.feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
}


/* ==================== ITEMS GRID - PREMIUM DARK ==================== */
.recent-items {
  background: var(--bg-primary);
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.item-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  border: 1px solid var(--border-primary);
  position: relative;
}

.item-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.3), 
    transparent,
    rgba(6, 182, 212, 0.3));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
}

.item-card:hover::before {
  opacity: 1;
}

.item-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.6),
    0 0 40px var(--primary-glow);
  border-color: var(--primary-color);
}

.item-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.3) 0%, 
    rgba(6, 182, 212, 0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  position: relative;
  overflow: hidden;
}

.item-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.1), 
    transparent);
  transition: left 0.5s;
}

.item-card:hover .item-image::before {
  left: 100%;
}

.item-content {
  padding: 28px;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}

.item-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.2;
}

.item-badge {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.item-badge.lost {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.3));
  color: var(--danger-color);
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.item-badge.found {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.3));
  color: var(--success-color);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.item-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-secondary);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
}

.meta-icon {
  font-size: 18px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.item-description {
  color: var(--text-tertiary);
  margin-bottom: 24px;
  line-height: 1.7;
  font-size: 14px;
}

.item-footer {
  display: flex;
  gap: 12px;
}

.item-footer .btn-primary,
.item-footer .btn-secondary {
  flex: 1;
  justify-content: center;
  padding: 10px 20px;
  font-size: 13px;
}


/* ==================== CTA SECTION - PREMIUM GRADIENT ==================== */
.cta-section {
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.1) 0%, 
    rgba(6, 182, 212, 0.1) 100%);
  color: var(--text-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cta-title {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 0 0 40px var(--primary-glow);
}

.cta-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== FOOTER - PREMIUM DARK ==================== */
.footer {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 80px 20px 40px;
  border-top: 1px solid var(--border-primary);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--primary-color), 
    var(--secondary-color), 
    transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-logo .logo-icon {
  font-size: 36px;
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.footer-description {
  color: var(--text-tertiary);
  line-height: 1.8;
  max-width: 400px;
  font-size: 15px;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  border-radius: var(--radius-full);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: var(--text-tertiary);
  transition: var(--transition);
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: var(--transition);
  color: var(--primary-color);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 20px;
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-primary);
  padding-top: 40px;
  text-align: center;
  color: var(--text-muted);
  max-width: 1400px;
  margin: 0 auto;
}


/* ==================== FORM STYLES - PREMIUM DARK ==================== */
.form-container {
  max-width: 540px;
  margin: 140px auto 100px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  padding: 50px;
  border-radius: var(--radius-xl);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-primary);
  position: relative;
}

.form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.3), 
    transparent,
    rgba(6, 182, 212, 0.3));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.form-header {
  text-align: center;
  margin-bottom: 48px;
}

.form-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text-primary);
  text-shadow: 0 0 40px var(--primary-glow);
}

.form-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
}

.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
  letter-spacing: 0.3px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-primary);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  font-size: 15px;
  transition: var(--transition);
  font-family: inherit;
  color: var(--text-primary);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 0 0 4px rgba(139, 92, 246, 0.1),
    0 0 20px var(--primary-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

/* Fix for date and time inputs */
.form-input[type="date"],
.form-input[type="time"] {
  color: var(--text-primary);
  color-scheme: dark;
}

.form-input[type="date"]::-webkit-calendar-picker-indicator,
.form-input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

/* Fix for select dropdown text */
.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238b5cf6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 45px;
}

.form-button {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-footer {
  text-align: center;
  margin-top: 28px;
  color: var(--text-secondary);
  font-size: 14px;
}

.form-footer a {
  color: var(--primary-light);
  font-weight: 700;
  transition: var(--transition);
}

.form-footer a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Checkbox styling */
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

/* Social login divider */
.social-divider {
  margin: 40px 0 30px 0;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-primary), transparent);
  transform: translateY(-50%);
}

.social-divider span {
  position: relative;
  background: var(--bg-card);
  padding: 0 20px;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

/* Social login buttons */
.social-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 0;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: none;
  letter-spacing: 0.3px;
}

.btn-social:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.4),
    0 0 20px var(--primary-glow);
}

.btn-social:active {
  transform: translateY(-1px);
}

.btn-social span {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Remember me and forgot password */
.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
}

.form-link {
  font-size: 14px;
  color: var(--primary-light);
  font-weight: 600;
  transition: var(--transition);
}

.form-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}


/* ==================== DASHBOARD - PREMIUM DARK ==================== */
.dashboard-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - 100px);
  margin-top: 100px;
  gap: 0;
}

.sidebar {
  background: var(--bg-secondary);
  padding: 40px 0;
  border-right: 1px solid var(--border-primary);
  position: sticky;
  top: 100px;
  height: calc(100vh - 100px);
  overflow-y: auto;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-item {
  margin-bottom: 6px;
  padding: 0 20px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  color: var(--text-tertiary);
  transition: var(--transition);
  font-weight: 600;
  border-radius: var(--radius-md);
  position: relative;
}

.sidebar-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 60%;
  background: var(--primary-color);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: var(--transition);
  box-shadow: var(--glow-primary);
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(139, 92, 246, 0.1);
  color: var(--primary-light);
}

.sidebar-link.active::before {
  width: 4px;
}

.sidebar-link:hover::before {
  width: 4px;
}

.sidebar-icon {
  font-size: 22px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.dashboard-content {
  padding: 40px;
  background: var(--bg-primary);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-primary);
}

.dashboard-title {
  font-size: 40px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-shadow: 0 0 40px var(--primary-glow);
}

.dashboard-actions {
  display: flex;
  gap: 12px;
}

/* Search and Filter - Premium Dark */
.search-filter-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 320px;
  padding: 14px 20px;
  border: 1px solid var(--border-primary);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-primary);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 0 0 4px rgba(139, 92, 246, 0.1),
    0 0 20px var(--primary-glow);
}

.search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.filter-select {
  padding: 14px 20px;
  border: 1px solid var(--border-primary);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238b5cf6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 50px;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.filter-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 10px;
}

/* Stats Cards - Premium 3D */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-bottom: 50px;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--border-primary);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.3), 
    transparent);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 30px var(--primary-glow);
  border-color: var(--primary-color);
}

.stat-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  position: relative;
  flex-shrink: 0;
}

.stat-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.5;
}

.stat-icon.primary {
  background: rgba(139, 92, 246, 0.15);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.stat-icon.success {
  background: rgba(16, 185, 129, 0.15);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.stat-icon.warning {
  background: rgba(245, 158, 11, 0.15);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

.stat-info h3 {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
}

.stat-info p {
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* ==================== CHAT INTERFACE - PREMIUM DARK ==================== */
.chat-container {
  display: grid;
  grid-template-columns: 360px 1fr;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 700px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-primary);
}

.chat-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-primary);
  overflow-y: auto;
}

.chat-list-item {
  padding: 20px;
  border-bottom: 1px solid var(--border-primary);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.chat-list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--primary-color);
  transition: var(--transition);
  box-shadow: var(--glow-primary);
}

.chat-list-item:hover {
  background: rgba(139, 92, 246, 0.05);
}

.chat-list-item:hover::before,
.chat-list-item.active::before {
  width: 4px;
}

.chat-list-item.active {
  background: rgba(139, 92, 246, 0.1);
  border-left-color: var(--primary-color);
}

.chat-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.chat-item-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 15px;
}

.chat-item-time {
  font-size: 12px;
  color: var(--text-muted);
}

.chat-item-preview {
  font-size: 14px;
  color: var(--text-tertiary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.5;
}

.chat-main {
  display: flex;
  flex-direction: column;
  background: var(--bg-tertiary);
}

.chat-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
}

.chat-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.chat-messages {
  flex: 1;
  padding: 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.message {
  display: flex;
  gap: 14px;
  max-width: 75%;
  animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message.sent {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.message-content {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.message.sent .message-content {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.message-text {
  margin-bottom: 6px;
  line-height: 1.6;
  font-size: 14px;
}

.message-time {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.message.sent .message-time {
  color: rgba(255, 255, 255, 0.8);
}

.chat-input {
  padding: 24px 28px;
  border-top: 1px solid var(--border-primary);
  display: flex;
  gap: 14px;
  background: var(--bg-secondary);
}

.chat-input input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--border-primary);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-primary);
  transition: var(--transition);
}

.chat-input input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 0 0 4px rgba(139, 92, 246, 0.1),
    0 0 20px var(--primary-glow);
}

.chat-input input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.chat-send-btn {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.chat-send-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.5);
}

.chat-send-btn:active {
  transform: translateY(0);
}


/* ==================== NOTIFICATIONS - PREMIUM DARK ==================== */
.notification {
  position: fixed;
  top: 100px;
  right: 30px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 420px;
  animation: slideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 9999;
  border: 1px solid var(--border-primary);
}

@keyframes slideIn {
  from {
    transform: translateX(500px) scale(0.8);
    opacity: 0;
  }
  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

.notification-icon {
  font-size: 28px;
  filter: drop-shadow(0 4px 10px var(--primary-glow));
  flex-shrink: 0;
}

.notification-content h4 {
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-size: 16px;
}

.notification-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.notification.success {
  border-left: 4px solid var(--success-color);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(16, 185, 129, 0.3);
}

.notification.info {
  border-left: 4px solid var(--primary-color);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 30px var(--primary-glow);
}

.notification.warning {
  border-left: 4px solid var(--warning-color);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(245, 158, 11, 0.3);
}

/* ==================== MODAL - PREMIUM DARK ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 
    0 40px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-primary);
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-primary);
  text-shadow: 0 0 30px var(--primary-glow);
}

.modal-close {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 24px;
  transition: var(--transition);
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.modal-body {
  padding: 32px;
}

.modal-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--border-primary);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}


/* ==================== RESPONSIVE - PREMIUM DARK ==================== */
@media (max-width: 768px) {
  /* Make navbar compact and less intrusive on mobile */
  .navbar {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px 16px;
    border-radius: var(--radius-lg);
  }
  
  .nav-container {
    padding: 0;
  }
  
  .logo {
    font-size: 18px;
    gap: 8px;
  }
  
  .logo::after {
    display: none;
  }
  
  .logo-icon {
    font-size: 24px;
  }
  
  .logo-text {
    display: none; /* Hide text on very small screens */
  }
  
  .nav-links {
    gap: 6px;
  }
  
  .nav-link {
    font-size: 12px;
    padding: 8px 12px;
  }
  
  .btn-primary, .btn-secondary {
    padding: 8px 16px;
    font-size: 11px;
  }
  
  /* Hero adjustments */
  .hero {
    padding: 100px 20px 60px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-image {
    display: none;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-large {
    width: 100%;
    padding: 14px 28px;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 30px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .stat-label {
    font-size: 11px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 30px;
  }
  
  .items-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .dashboard-container {
    grid-template-columns: 1fr;
    margin-top: 80px;
  }
  
  .sidebar {
    display: none;
  }
  
  .dashboard-content {
    padding: 20px;
  }
  
  .dashboard-title {
    font-size: 24px;
  }
  
  .chat-container {
    grid-template-columns: 1fr;
    height: 600px;
  }
  
  .chat-sidebar {
    display: none;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .cta-title {
    font-size: 32px;
  }
  
  .cta-subtitle {
    font-size: 18px;
  }
  
  .form-container {
    padding: 30px 20px;
    margin: 100px 16px 60px;
    border-radius: var(--radius-lg);
  }
  
  .form-title {
    font-size: 26px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .search-filter-bar {
    flex-direction: column;
  }
  
  .search-input {
    min-width: 100%;
  }
  
  .filter-select {
    width: 100%;
  }
  
  .social-buttons {
    grid-template-columns: 1fr;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .navbar {
    top: 8px;
    width: calc(100% - 16px);
    padding: 8px 12px;
  }
  
  .logo {
    font-size: 16px;
  }
  
  .logo-icon {
    font-size: 22px;
  }
  
  .nav-link {
    font-size: 11px;
    padding: 6px 10px;
  }
  
  .btn-primary, .btn-secondary {
    padding: 6px 12px;
    font-size: 10px;
  }
  
  .hero {
    padding: 90px 16px 50px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 15px;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-primary);
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn-large {
    width: 100%;
  }
  
  .form-container {
    padding: 25px 16px;
    margin: 90px 12px 50px;
  }
  
  .form-title {
    font-size: 24px;
  }
  
  .section-title {
    font-size: 28px;
  }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 120px 20px 60px;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==================== LOADING SPINNER - PREMIUM ==================== */
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(139, 92, 246, 0.2);
  border-top-color: var(--primary-color);
  border-radius: var(--radius-full);
  animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  margin: 60px auto;
  box-shadow: 0 0 30px var(--primary-glow);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Loading dots animation */
.loading-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 40px;
}

.loading-dots span {
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: var(--radius-full);
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 20px var(--primary-glow);
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

/* ==================== UTILITIES - PREMIUM DARK ==================== */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Glow effect utility */
.glow {
  box-shadow: 0 0 30px var(--primary-glow);
}

/* Glass morphism utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

/* Premium divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--border-primary), 
    transparent);
  margin: 40px 0;
}

/* Animated gradient border */
.gradient-border {
  position: relative;
  border-radius: var(--radius-lg);
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: gradientRotate 3s linear infinite;
}

@keyframes gradientRotate {
  to {
    transform: rotate(360deg);
  }
}

/* Shine effect on hover */
.shine {
  position: relative;
  overflow: hidden;
}

.shine::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.05) 50%, 
    rgba(255, 255, 255, 0) 100%);
  transform: rotateZ(60deg) translate(-5em, 7.5em);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

/* ==================== PROFILE PAGE ==================== */
.profile-field {
  margin-bottom: 20px;
}

.profile-field label {
  display: block;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.verification-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger-color);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.verification-alert {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-left: 4px solid var(--warning-color);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.verification-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: var(--transition);
}

.verification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  border-color: var(--primary-color);
}

.verification-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 20px 0 12px;
  color: var(--text-primary);
}

.verification-card p {
  color: var(--text-tertiary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.verification-icon {
  font-size: 56px;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 12px var(--primary-glow));
}

.verification-card .btn-primary,
.verification-card .btn-secondary {
  width: 100%;
  justify-content: center;
}

.verification-card .form-input {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
}

/* ==================== CSS POLISH & REFINEMENTS ==================== */

/* Smoother transitions globally */
* {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Better button spacing and consistency */
.btn-primary, .btn-secondary, .btn-outline, .btn-white {
  letter-spacing: 0.3px;
  text-transform: capitalize;
  white-space: nowrap;
  font-weight: 600;
}

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-primary:active, .btn-secondary:active {
  transform: translateY(0);
}

/* Refined card shadows */
.item-card, .feature-card, .stat-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.item-card:hover, .feature-card:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

/* Consistent border radius */
.form-container, .verification-card, .chat-container {
  border-radius: var(--radius-lg);
}

/* Better text hierarchy */
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Improved input focus states */
.form-input:focus, .form-textarea:focus, .form-select:focus,
.search-input:focus, .filter-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

/* Better spacing in forms */
.form-group {
  margin-bottom: 24px;
}

/* Refined navbar */
.navbar {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Smoother card hover */
.floating-card:hover {
  transform: translateY(-8px) scale(1.03);
}

/* Better stat card spacing */
.stat-card {
  padding: 24px;
}

/* Refined sidebar */
.sidebar-link {
  margin: 0 12px 4px 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

/* Better notification positioning */
.notification {
  top: 90px;
  right: 24px;
}

/* Improved modal */
.modal {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Refined footer links */
.footer-links a {
  transition: all 0.2s ease;
}

/* Better hero stats */
.stat-item {
  padding: 16px 0;
}

/* Smoother dashboard actions */
.dashboard-actions {
  gap: 12px;
}

/* Better verification badges */
.verification-badge {
  padding: 8px 16px;
  font-size: 13px;
}

/* Refined activity cards on dashboard */
.dashboard-content > div[style*="flex; gap: 16px"] {
  transition: all 0.3s ease;
}

/* Better profile dropdown */
#profileDropdown {
  animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Consistent card padding */
.dashboard-content > div[style*="background"] {
  padding: 28px !important;
}

/* Better item meta spacing */
.item-meta {
  padding: 14px;
  gap: 8px;
}

/* Refined social buttons */
.btn-social {
  padding: 14px 22px;
  font-weight: 600;
}

/* Smoother hero button group */
.hero-buttons {
  gap: 16px;
}

/* Better CTA section */
.cta-content {
  padding: 50px 30px;
}

/* Improved search bar */
.search-filter-bar {
  gap: 12px;
}

/* Better message bubbles */
.message-content {
  padding: 12px 16px;
  line-height: 1.5;
}

/* Refined stats numbers */
.stat-number {
  line-height: 1;
  margin-bottom: 6px;
}

/* Better mobile responsiveness */
@media (max-width: 768px) {
  .btn-large {
    padding: 14px 28px;
    font-size: 14px;
  }
  
  .form-container {
    padding: 28px 20px;
  }
  
  .stat-card {
    padding: 20px;
  }
}

/* Subtle hover effects for links */
a:not(.btn-primary):not(.btn-secondary):not(.btn-outline):hover {
  opacity: 0.8;
}

/* Better focus outlines for accessibility */
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Refined loading spinner */
.loading-spinner {
  border-width: 3px;
}

/* Better checkbox styling */
input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* Improved table of contents spacing */
.hero-stats {
  padding-top: 32px;
}

/* Better gradient text */
.gradient-text {
  font-weight: 900;
}

/* ==================== PROFESSIONAL POLISH ==================== */

/* Consistent spacing throughout */
section {
  padding: 80px 20px;
}

/* Better container max-widths */
.container {
  max-width: 1280px;
}

/* Refined typography scale */
.section-title {
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  line-height: 1.6;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Better card consistency */
.item-card, .feature-card, .stat-card, .verification-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Improved form field heights */
.form-input, .form-select, .search-input, .filter-select {
  height: 48px;
}

.form-textarea {
  min-height: 120px;
}

/* Better button sizing */
.btn-primary, .btn-secondary, .btn-outline {
  min-height: 44px;
}

.btn-large {
  min-height: 52px;
}

/* Consistent icon sizes */
.feature-icon, .stat-icon, .verification-icon {
  line-height: 1;
}

/* Better nav-link padding */
.nav-link {
  padding: 10px 18px;
}

/* Improved sidebar spacing */
.sidebar {
  padding: 32px 0;
}

.sidebar-link {
  font-size: 14px;
}

/* Better dashboard title */
.dashboard-title {
  line-height: 1.2;
}

/* Consistent footer spacing */
.footer {
  padding: 70px 20px 35px;
}

/* Better form button */
.form-button {
  min-height: 48px;
  font-size: 15px;
}

/* Improved chat interface */
.chat-messages {
  padding: 24px;
}

.message {
  max-width: 75%;
}

/* Better item grid spacing */
.items-grid {
  gap: 24px;
}

/* Consistent border widths */
.item-card, .feature-card, .stat-card {
  border: 1px solid var(--border-primary);
}

/* Better hero content spacing */
.hero-subtitle {
  margin-bottom: 40px;
}

/* Improved stats grid */
.stats-grid {
  gap: 24px;
}

/* Better profile field */
.profile-field label {
  margin-bottom: 10px;
}

/* Consistent modal spacing */
.modal-body {
  padding: 28px 32px;
}

/* Better notification width */
.notification {
  max-width: 400px;
  min-width: 320px;
}

/* Improved social buttons */
.social-buttons {
  gap: 14px;
}

/* Better verification alert */
.verification-alert {
  padding: 18px 22px;
}

/* Consistent floating card sizes */
.floating-card {
  min-width: 200px;
  padding: 20px;
}

/* Better item badge */
.item-badge {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
}

/* Improved meta items */
.meta-item {
  font-size: 13px;
}

/* Better footer logo */
.footer-logo {
  margin-bottom: 18px;
}

/* Consistent dashboard header */
.dashboard-header {
  padding-bottom: 28px;
  margin-bottom: 32px;
}

/* Better form header */
.form-header {
  margin-bottom: 36px;
}

/* Improved CTA buttons */
.cta-buttons {
  gap: 16px;
}

/* Better features grid */
.features-grid {
  gap: 28px;
}

/* Consistent hero stats */
.hero-stats {
  gap: 32px;
}

/* Professional link hover */
.footer-links a:hover,
.nav-link:hover,
a[href]:hover {
  text-decoration: none;
}

/* Better card header */
.item-header {
  gap: 12px;
}

/* Improved search bar */
.search-input {
  padding-left: 20px;
  padding-right: 20px;
}

/* Better select dropdown */
.filter-select, .form-select {
  padding-left: 18px;
}

/* Consistent verification card */
.verification-card {
  padding: 30px;
}

/* Better profile avatar */
#userAvatar {
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

/* Improved activity card spacing */
.dashboard-content [style*="gap: 20px"] > div {
  padding: 18px !important;
}

/* Better recent items section */
.dashboard-content [style*="gap: 20px"] {
  gap: 18px !important;
}

/* Smoother animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) translateZ(0) rotateY(0deg);
  }
  50% {
    transform: translateY(-25px) translateZ(15px) rotateY(3deg);
  }
}

/* Better pulse animation */
@keyframes pulse {
  0%, 100% { 
    transform: scale(1); 
    opacity: 1;
  }
  50% { 
    transform: scale(1.05); 
    opacity: 0.9;
  }
}

/* Refined glow */
.glow {
  box-shadow: 0 0 25px var(--primary-glow);
}

/* Better glass effect */
.glass {
  backdrop-filter: blur(16px) saturate(180%);
}

/* ==================== THEME TOGGLE BUTTON ==================== */
.theme-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
  transition: all 0.3s ease;
  z-index: 9999;
}

.theme-toggle:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.6);
}

.theme-toggle:active {
  transform: translateY(-1px) scale(1.02);
}

.theme-toggle-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
  .theme-toggle {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}

/* ==================== LIGHT MODE THEME ==================== */
[data-theme="light"] {
  /* Light Theme Colors */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f3f5;
  --bg-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-input: rgba(0, 0, 0, 0.03);
  
  /* Text Colors for Light Mode */
  --text-primary: #1a1a1a;
  --text-secondary: #4b5563;
  --text-tertiary: #6b7280;
  --text-muted: #9ca3af;
  
  /* Border Colors for Light Mode */
  --border-primary: rgba(0, 0, 0, 0.1);
  --border-secondary: rgba(0, 0, 0, 0.05);
  
  /* Shadows for Light Mode */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  
  /* Glass for light */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] body {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

[data-theme="light"] body::before {
  background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(78, 105, 109, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 40% 20%, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
}

[data-theme="light"] .hero {
  background: linear-gradient(135deg, #ffffff 0%, #f3e8ff 50%, #ffffff 100%);
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .sidebar {
  background: var(--bg-secondary);
}

[data-theme="light"] .item-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .stat-card {
  background: var(--bg-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea,
[data-theme="light"] .form-select {
  background: var(--bg-input);
  color: var(--text-primary);
}

[data-theme="light"] .footer {
  background: var(--bg-secondary);
}

/* ==================== THEME TOGGLE BUTTON ==================== */
.theme-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #4e696d);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
  transition: all 0.3s ease;
  z-index: 9999;
}

.theme-toggle:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.6);
}

.theme-toggle-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
  .theme-toggle {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}/**
 * Light Theme Variables
 * Overrides dark theme when [data-theme="light"] is active
 */

[data-theme="light"] {
  /* Background Colors */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f3f5;
  --bg-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-input: rgba(0, 0, 0, 0.03);
  
  /* Text Colors */
  --text-primary: #1a1a1a;
  --text-secondary: #4b5563;
  --text-tertiary: #6b7280;
  --text-muted: #9ca3af;
  
  /* Border Colors */
  --border-primary: rgba(0, 0, 0, 0.1);
  --border-secondary: rgba(0, 0, 0, 0.05);
  --border-accent: rgba(139, 92, 246, 0.3);
  
  /* Shadows - Lighter for light theme */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Glass morphism for light mode */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(0, 0, 0, 0.1);
}

/* Body Background Override */
[data-theme="light"] body {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

[data-theme="light"] body::before {
  background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(78, 105, 109, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 40% 20%, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
}

/* Hero Section Override */
[data-theme="light"] .hero {
  background: linear-gradient(135deg, #ffffff 0%, #f3e8ff 50%, #ffffff 100%);
}

[data-theme="light"] .hero::before {
  background: 
    radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(78, 105, 109, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
}

/* Navbar Override */
[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Sidebar Override */
[data-theme="light"] .sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-primary);
}

[data-theme="light"] .sidebar-link:hover,
[data-theme="light"] .sidebar-link.active {
  background: rgba(139, 92, 246, 0.08);
}

/* Cards Override */
[data-theme="light"] .item-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .stat-card,
[data-theme="light"] .verification-card,
[data-theme="light"] .floating-card {
  background: var(--bg-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Forms Override */
[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea,
[data-theme="light"] .form-select,
[data-theme="light"] .search-input,
[data-theme="light"] .filter-select {
  background: var(--bg-input);
  color: var(--text-primary);
  border-color: var(--border-primary);
}

[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder {
  color: var(--text-tertiary);
}

/* Footer Override */
[data-theme="light"] .footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
}

/* Chat Override */
[data-theme="light"] .chat-sidebar,
[data-theme="light"] .chat-main {
  background: var(--bg-secondary);
}

[data-theme="light"] .message-received .message-content {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

/* Form Container Override */
[data-theme="light"] .form-container {
  background: var(--bg-card);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Dashboard Content Override */
[data-theme="light"] .dashboard-content {
  background: var(--bg-primary);
}

/* Features Section Override */
[data-theme="light"] .features {
  background: var(--bg-secondary);
}

/* Recent Items Section Override */
[data-theme="light"] .recent-items {
  background: var(--bg-primary);
}

/* Modal Override */
[data-theme="light"] .modal {
  background: var(--bg-card);
}

/* Notification Override */
[data-theme="light"] .notification {
  background: var(--bg-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
/**
 * Theme Toggle Button Styles
 * Floating action button for theme switching
 */

.theme-toggle {
  /* Positioning */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  
  /* Size */
  width: 56px;
  height: 56px;
  
  /* Style */
  background: linear-gradient(135deg, #8b5cf6, #4e696d);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  
  /* Layout */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Effects */
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.6);
}

.theme-toggle:active {
  transform: translateY(-1px) scale(1.02);
}

.theme-toggle:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

.theme-toggle-icon {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-toggle-icon {
  transform: rotate(20deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .theme-toggle {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  .theme-toggle-icon {
    font-size: 22px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .theme-toggle {
    border: 2px solid currentColor;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .theme-toggle,
  .theme-toggle-icon {
    transition: none;
  }
  
  .theme-toggle:hover .theme-toggle-icon {
    transform: none;
  }
}