/* ===================================
   SANEL FACTORY - MAIN STYLES
   ================================== */

/* CSS Custom Properties (Variables) */
:root {
  /* Colors */
  --neon-coral: #ff6b6b;
  --neon-coral-light: #ff8e8e;
  --neon-coral-dark: #ff4757;
  
  /* Dark Theme Colors - Enhanced */
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2a2a2a;
  --bg-card: rgba(26, 26, 26, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-overlay: rgba(0, 0, 0, 0.7);
  
  /* Text Colors - Enhanced */
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #666666;
  --text-disabled: #444444;
  --text-link: #ff6b6b;
  --text-link-hover: #ff8e8e;
  
  /* Border Colors */
  --border-primary: rgba(255, 255, 255, 0.1);
  --border-secondary: rgba(255, 255, 255, 0.05);
  --border-accent: rgba(255, 107, 107, 0.3);
  
  /* Glass Effect */
  --glass-backdrop: blur(20px);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
  --shadow-coral: 0 4px 12px rgba(255, 107, 107, 0.3);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.03) 0%, transparent 50%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Enhanced Glass Effect Utility Classes */
.glass {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  box-shadow: var(--glass-shadow);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: var(--spacing-md);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-coral);
}

/* Navigation Styles - Inspired by Old Code */
.navbar {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(26, 26, 26, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
}

.nav-logo .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.nav-logo .logo:hover {
  transform: translateY(-2px);
}

/* Desktop Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--neon-coral);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--neon-coral);
  background: rgba(255, 107, 107, 0.1);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link.active {
  color: var(--neon-coral);
  background: rgba(255, 107, 107, 0.1);
}

.nav-link.active::after {
  width: 80%;
}

/* CTA Button */
.nav-cta {
  background: linear-gradient(135deg, var(--neon-coral), var(--neon-coral-dark));
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-coral);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
  background: linear-gradient(135deg, var(--neon-coral-light), var(--neon-coral));
}

/* Hamburger Menu */
.nav-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.bar {
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

/* Hamburger Animation States */
.nav-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background-color: var(--neon-coral);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
  background-color: var(--neon-coral);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay,
#mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active,
#mobile-overlay.active {
  opacity: 1;
  visibility: visible;
  display: block !important; /* Override Tailwind's hidden class */
}

/* Mobile Menu */
.mobile-menu,
#mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 320px;
  max-width: 90vw;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 50;
  overflow-y: auto;
}

.mobile-menu.active,
#mobile-menu.active {
  transform: translateX(0) !important; /* Override Tailwind's translate-x-full class */
}

.mobile-close {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.mobile-close:hover {
  color: var(--neon-coral);
  background: rgba(255, 107, 107, 0.1);
}

/* Mobile Navigation Links */
.mobile-nav-link {
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  margin: 0.25rem 0;
}

.mobile-nav-link:hover {
  color: var(--neon-coral);
  background: rgba(255, 107, 107, 0.1);
  transform: translateX(4px);
}

.mobile-nav-link.active {
  color: var(--neon-coral);
  background: rgba(255, 107, 107, 0.1);
}

/* Mobile CTA */
.mobile-cta {
  background: linear-gradient(135deg, var(--neon-coral), var(--neon-coral-dark));
  color: white;
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-coral);
  text-align: center;
  display: block;
}

.mobile-cta:hover {
  background: linear-gradient(135deg, var(--neon-coral-light), var(--neon-coral));
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

/* Glass Effect Variations */
.glass-light {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.glass-heavy {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.glass-coral {
  background: rgba(255, 107, 107, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(255, 107, 107, 0.2);
}

.glass-nav {
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.glass-modal {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
}

/* Glass Animations */
@keyframes glass-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    backdrop-filter: blur(20px);
  }
}

@keyframes glass-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.glass-fade-in {
  animation: glass-fade-in 0.6s ease-out;
}

.glass-shimmer {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  background-size: 200% 100%;
  animation: glass-shimmer 2s infinite;
}

/* Glass Hover Effects */
.glass-hover {
  transition: all 0.3s ease;
}

.glass-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.glass-hover-coral:hover {
  border-color: var(--neon-coral);
  box-shadow: 0 12px 40px rgba(255, 107, 107, 0.3);
}

/* Glass Form Elements */
.glass-input {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: var(--spacing-sm);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.glass-input:focus {
  outline: none;
  border-color: var(--neon-coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.glass-input::placeholder {
  color: var(--text-muted);
}

/* Glass Buttons */
.glass-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.glass-btn:focus {
  outline: 2px solid var(--neon-coral);
  outline-offset: 2px;
}

/* Glass Cards with Different Intensities */
.glass-card-sm {
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  padding: var(--spacing-sm);
  box-shadow: var(--shadow-sm);
}

.glass-card-lg {
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
}

/* Glass Overlay */
.glass-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
}

/* Glass Tooltip */
.glass-tooltip {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 0.5rem;
  padding: var(--spacing-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.875rem;
  color: var(--text-primary);
}

/* Enhanced Neon Coral Accents */
.accent-coral {
  color: var(--neon-coral);
}

.bg-coral {
  background-color: var(--neon-coral);
}

.border-coral {
  border-color: var(--neon-coral);
}

.text-coral {
  color: var(--neon-coral);
}

.text-coral-light {
  color: var(--neon-coral-light);
}

.text-coral-dark {
  color: var(--neon-coral-dark);
}

/* Neon Coral Gradients */
.bg-coral-gradient {
  background: linear-gradient(135deg, var(--neon-coral), var(--neon-coral-dark));
}

.bg-coral-gradient-light {
  background: linear-gradient(135deg, var(--neon-coral-light), var(--neon-coral));
}

.bg-coral-gradient-radial {
  background: radial-gradient(circle, var(--neon-coral), var(--neon-coral-dark));
}

/* Neon Coral Borders */
.border-coral-light {
  border-color: var(--neon-coral-light);
}

.border-coral-dark {
  border-color: var(--neon-coral-dark);
}

.border-coral-glow {
  border: 2px solid var(--neon-coral);
  box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

/* Neon Coral Shadows */
.shadow-coral {
  box-shadow: var(--shadow-coral);
}

.shadow-coral-lg {
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.shadow-coral-xl {
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
}

/* Neon Coral Animations */
@keyframes coral-pulse {
  0%, 100% {
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
  }
}

@keyframes coral-glow {
  0%, 100% {
    text-shadow: 0 0 5px var(--neon-coral);
  }
  50% {
    text-shadow: 0 0 20px var(--neon-coral), 0 0 30px var(--neon-coral);
  }
}

.coral-pulse {
  animation: coral-pulse 2s infinite;
}

.coral-glow {
  animation: coral-glow 2s infinite;
}

/* Neon Coral Hover Effects */
.hover-coral:hover {
  color: var(--neon-coral);
  transition: color 0.3s ease;
}

.hover-coral-bg:hover {
  background-color: var(--neon-coral);
  transition: background-color 0.3s ease;
}

.hover-coral-border:hover {
  border-color: var(--neon-coral);
  transition: border-color 0.3s ease;
}

.hover-coral-shadow:hover {
  box-shadow: var(--shadow-coral);
  transition: box-shadow 0.3s ease;
}

/* Neon Coral Focus States */
.focus-coral:focus {
  outline: 2px solid var(--neon-coral);
  outline-offset: 2px;
}

.focus-coral-ring:focus {
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.3);
}

/* Neon Coral Text Effects */
.text-coral-glow {
  text-shadow: 0 0 10px var(--neon-coral);
}

.text-coral-outline {
  -webkit-text-stroke: 1px var(--neon-coral);
  color: transparent;
}

/* Neon Coral Background Patterns */
.bg-coral-pattern {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
}

/* Neon Coral Loading States */
.coral-loading {
  background: linear-gradient(90deg, 
    var(--bg-secondary) 25%, 
    var(--neon-coral) 50%, 
    var(--bg-secondary) 75%);
  background-size: 200% 100%;
  animation: coral-loading 1.5s infinite;
}

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

/* Enhanced Button Styles */
.btn-coral {
  background: linear-gradient(135deg, var(--neon-coral), var(--neon-coral-dark));
  color: white;
  border: none;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: var(--shadow-coral);
}

.btn-coral:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
  background: linear-gradient(135deg, var(--neon-coral-light), var(--neon-coral));
}

.btn-coral:active {
  transform: translateY(0);
  box-shadow: var(--shadow-coral);
}

.btn-coral:focus {
  outline: 2px solid var(--neon-coral);
  outline-offset: 2px;
}

/* Button Variations */
.btn-coral-outline {
  background: transparent;
  color: var(--neon-coral);
  border: 2px solid var(--neon-coral);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-coral-outline:hover {
  background: var(--neon-coral);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-coral);
}

.btn-coral-outline:focus {
  outline: 2px solid var(--neon-coral);
  outline-offset: 2px;
}

.btn-coral-glow {
  background: var(--neon-coral);
  color: white;
  border: none;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.btn-coral-glow:hover {
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.8);
  transform: translateY(-2px);
}

.btn-coral-glow:focus {
  outline: 2px solid var(--neon-coral);
  outline-offset: 2px;
}

/* Dark Theme Specific Styles */
.dark-bg {
  background-color: var(--bg-primary);
}

.dark-bg-secondary {
  background-color: var(--bg-secondary);
}

.dark-bg-tertiary {
  background-color: var(--bg-tertiary);
}

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

.dark-text-secondary {
  color: var(--text-secondary);
}

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

/* Enhanced Responsive Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Enhanced Mobile First Media Queries */
@media (max-width: 768px) {
  :root {
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
  }
  
  .glass-card {
    padding: var(--spacing-sm);
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection Styles */
::selection {
  background-color: var(--neon-coral);
  color: white;
}

::-moz-selection {
  background-color: var(--neon-coral);
  color: white;
} 

/* Responsive Navigation */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .mobile-menu {
    width: 280px;
  }
}

@media (max-width: 480px) {
  .mobile-menu {
    width: 100%;
    max-width: 100vw;
  }
  
  .nav-container {
    padding: 0.75rem;
  }
}

/* Scroll Behavior for Navigation */
.navbar.nav-hidden {
  transform: translateY(-100%);
}

.navbar.nav-visible {
  transform: translateY(0);
}

/* ===================================
   ACCESSIBILITY STYLES
   ================================== */

/* Screen Reader Only Content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus Styles for Keyboard Navigation */
.nav-link:focus,
.mobile-nav-link:focus,
.nav-cta:focus,
.mobile-cta:focus,
.nav-toggle:focus,
.mobile-close:focus {
  outline: 2px solid var(--neon-coral);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* High Contrast Focus for Better Visibility */
@media (prefers-contrast: high) {
  .nav-link:focus,
  .mobile-nav-link:focus,
  .nav-cta:focus,
  .mobile-cta:focus,
  .nav-toggle:focus,
  .mobile-close:focus {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
    background: rgba(255, 255, 255, 0.1);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .navbar,
  .nav-link,
  .mobile-nav-link,
  .nav-cta,
  .mobile-cta,
  .nav-toggle,
  .mobile-close,
  .bar,
  .mobile-menu,
  .mobile-menu-overlay {
    transition: none;
    animation: none;
  }
  
  .mobile-menu {
    transition: transform 0.1s ease;
  }
}

/* Touch Target Accessibility */
.nav-toggle,
.mobile-close,
.nav-link,
.mobile-nav-link {
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-link,
.mobile-nav-link {
  justify-content: flex-start;
  padding: 12px 16px;
}

/* Skip Link for Keyboard Users */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--neon-coral);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 0.25rem;
  z-index: 100;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 6px;
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Improved Color Contrast */
@media (prefers-contrast: high) {
  .nav-link,
  .mobile-nav-link {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #ffffff;
  }
  
  .nav-link:hover,
  .mobile-nav-link:hover,
  .nav-link.active,
  .mobile-nav-link.active {
    background: var(--neon-coral);
    color: #000000;
  }
}

/* ARIA Live Region for Screen Reader Announcements */
.sr-live {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Enhanced Mobile Menu Accessibility */
.mobile-menu[aria-hidden="true"] {
  visibility: hidden;
}

.mobile-menu[aria-hidden="false"] {
  visibility: visible;
}

/* Keyboard Navigation Indicators */
.nav-menu:focus-within .nav-link,
.mobile-nav-items:focus-within .mobile-nav-link {
  position: relative;
}

/* Focus Trap Styling */
.focus-trap-active {
  position: relative;
}

.focus-trap-active::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 39;
  pointer-events: none;
} 

/* ===================================
   STL UPLOAD & PRICE CALCULATOR STYLES
   ================================== */

/* Upload Zone Styles */
.upload-zone {
  position: relative;
  transition: all 0.3s ease;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-zone.drag-over {
  border-color: var(--neon-coral);
  background: rgba(255, 107, 107, 0.05);
  transform: scale(1.02);
}

.upload-zone.uploading {
  border-color: var(--neon-coral);
  background: rgba(255, 107, 107, 0.02);
}

/* Upload Progress Styles */
.upload-progress {
  width: 100%;
}

#progress-bar {
  position: relative;
  overflow: hidden;
}

#progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* File Preview Styles */
.file-preview {
  width: 100%;
  animation: fadeInUp 0.3s ease;
}

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

/* STL Analysis Styles */
.stl-analysis {
  animation: slideDown 0.3s ease;
}

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

/* Form Input Styles */
.glass-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: all 0.3s ease;
}

.glass-input:focus {
  border-color: var(--neon-coral);
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.glass-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Price Calculator Styles */
.price-calculator {
  position: sticky;
  top: 100px;
}

.calculator-content {
  transition: all 0.3s ease;
}

.calculator-content.collapsed {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

/* Technology Selection Styles */
.glass-hover {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.glass-hover:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 107, 107, 0.3);
  transform: translateY(-1px);
}

/* Custom Radio Button Styles */
.radio-custom {
  transition: all 0.3s ease;
}

input[type="radio"]:checked + .radio-custom {
  border-color: var(--neon-coral);
  background: rgba(255, 107, 107, 0.1);
}

input[type="radio"]:checked + .radio-custom > div {
  display: block;
}

/* Price Breakdown Animation */
.price-update {
  animation: priceUpdate 0.3s ease;
}

@keyframes priceUpdate {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); color: var(--neon-coral); }
  100% { transform: scale(1); }
}

/* Submit Button States */
.btn-coral:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-coral:disabled:hover {
  transform: none;
  box-shadow: var(--shadow-coral);
}

/* Loading Animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .price-calculator {
    position: static;
    margin-top: 2rem;
  }
  
  .calculator-content.collapsed {
    max-height: none;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .upload-zone {
    padding: 2rem 1rem;
    min-height: 160px;
  }
  
  .glass-card {
    padding: 1rem;
  }
  
  .stl-analysis .grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* File Validation Error Styles */
.upload-error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
  animation: shake 0.5s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.error-message {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-top: 0.5rem;
  animation: fadeInUp 0.3s ease;
}

/* Success States */
.upload-success {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.05);
}

.success-message {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-top: 0.5rem;
  animation: fadeInUp 0.3s ease;
}

/* Drag & Drop Visual Feedback */
.upload-zone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 48%, rgba(255, 107, 107, 0.1) 49%, rgba(255, 107, 107, 0.1) 51%, transparent 52%);
  background-size: 20px 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}

.upload-zone.drag-over::before {
  opacity: 1;
  animation: stripes 1s linear infinite;
}

@keyframes stripes {
  0% { background-position: 0 0; }
  100% { background-position: 20px 20px; }
}

/* Calculator Toggle Animation */
#calculator-toggle {
  transition: transform 0.3s ease;
}

#calculator-toggle.rotated {
  transform: rotate(180deg);
}

/* Form Auto-Save Indicator */
.auto-save-indicator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(16, 185, 129, 0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transform: translateY(100px);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.auto-save-indicator.show {
  transform: translateY(0);
}

/* Notification Toast Styles */
.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 400px;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transform: translateX(120%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.toast-notification.show {
  transform: translateX(0);
}

.toast-notification.success {
  border-left: 4px solid #10b981;
}

.toast-notification.error {
  border-left: 4px solid #ef4444;
}

.toast-notification.warning {
  border-left: 4px solid #f59e0b;
}

/* Enhanced Hover Effects */
.upload-zone:hover:not(.uploading):not(.drag-over) {
  border-color: rgba(255, 107, 107, 0.5);
  background: rgba(255, 255, 255, 0.02);
}

/* Technology Card Hover Effects */
input[type="radio"]:checked + .radio-custom + div + div {
  color: var(--neon-coral);
  font-weight: 600;
} 

/* ===================================
   ENHANCED PRICE CALCULATOR STYLES
   ================================== */

/* Material Selection Dropdown */
#material-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

#material-select:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ff6b6b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
}

#material-select optgroup {
  background: rgba(26, 26, 26, 0.95);
  color: #ffffff;
  font-weight: 600;
  padding: 0.5rem;
}

#material-select option {
  background: rgba(26, 26, 26, 0.95);
  color: #ffffff;
  padding: 0.5rem;
}

/* Color Swatch Styles */
.color-swatch {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.color-swatch:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.color-swatch.active {
  border-color: var(--neon-coral) !important;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3);
  transform: scale(1.05);
}

.color-swatch::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--neon-coral);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
}

.color-swatch.active::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Custom Color Picker */
#custom-color {
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

#custom-color:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Range Slider Styles */
.quality-slider, .infill-slider {
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
}

.quality-slider::-webkit-slider-thumb, .infill-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--neon-coral);
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.quality-slider::-webkit-slider-thumb:hover, .infill-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.quality-slider::-moz-range-thumb, .infill-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--neon-coral);
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

/* Slider Track Fill Effect */
.quality-slider {
  background: linear-gradient(to right, var(--neon-coral) 0%, var(--neon-coral) 50%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.1) 100%);
}

.infill-slider {
  background: linear-gradient(to right, var(--neon-coral) 0%, var(--neon-coral) 20%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.1) 100%);
}

/* Price Breakdown Enhanced */
#material-cost, #quality-cost, #infill-cost {
  font-weight: 500;
  transition: all 0.3s ease;
}

#estimated-time {
  font-weight: 600;
  color: var(--neon-coral);
}

/* Enhanced Price Update Animation */
.price-update-enhanced {
  animation: priceUpdateEnhanced 0.6s ease;
}

@keyframes priceUpdateEnhanced {
  0% { transform: scale(1); }
  20% { transform: scale(1.08); color: var(--neon-coral); }
  40% { transform: scale(1.12); color: #ffffff; }
  60% { transform: scale(1.08); color: var(--neon-coral); }
  80% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* Color Name Display */
#selected-color-name {
  transition: all 0.3s ease;
}

/* Material Select Focus Enhancement */
#material-select:focus {
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

/* Quality and Infill Display Enhancements */
#quality-display, #infill-display {
  transition: all 0.3s ease;
}

#quality-display.updating, #infill-display.updating {
  color: var(--neon-coral);
  font-weight: 600;
}

/* Slider Container Enhancements */
.quality-slider:focus, .infill-slider:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3);
}

/* Color Swatch Grid Responsive */
@media (max-width: 480px) {
  .color-swatch {
    width: 2rem;
    height: 2rem;
  }
  
  .grid-cols-6 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Enhanced Hover Effects for Calculator */
.calculator-content > div {
  transition: all 0.3s ease;
}

.calculator-content > div:hover {
  transform: translateY(-1px);
}

/* Material Option Groups Styling */
select optgroup {
  font-style: normal;
  font-weight: 600;
  color: var(--neon-coral);
}

/* Slider Labels Enhancement */
.quality-slider + div span,
.infill-slider + div span {
  transition: color 0.3s ease;
}

.quality-slider:hover + div span,
.infill-slider:hover + div span {
  color: var(--neon-coral);
}

/* Manual Inspection Warning */
.border-yellow-500 {
  border-color: rgba(245, 158, 11, 0.3);
}

.border-yellow-500:hover {
  border-color: rgba(245, 158, 11, 0.5);
}

.text-yellow-400 {
  color: #fbbf24;
}

/* Admin Panel Styles */
.nav-link {
  color: #9ca3af;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--neon-coral);
  background: rgba(255, 107, 107, 0.1);
}

.nav-link.active {
  color: var(--neon-coral);
  background: rgba(255, 107, 107, 0.2);
}

/* Admin Tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(156, 163, 175, 0.1);
}

.admin-table th {
  color: #9ca3af;
  font-weight: 500;
  font-size: 0.875rem;
}

/* Status badges */
.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-pending {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.status-in-progress {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.status-completed {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.status-cancelled {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* Admin Forms */
.admin-form-group {
  margin-bottom: 1.5rem;
}

.admin-form-label {
  display: block;
  color: #d1d5db;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.admin-form-input {
  width: 100%;
  padding: 0.75rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 0.5rem;
  color: white;
  transition: border-color 0.3s ease;
}

.admin-form-input:focus {
  outline: none;
  border-color: var(--neon-coral);
}

.admin-form-textarea {
  width: 100%;
  padding: 0.75rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 0.5rem;
  color: white;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.3s ease;
}

.admin-form-textarea:focus {
  outline: none;
  border-color: var(--neon-coral);
}

/* Admin Buttons */
.btn-admin-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-admin-secondary:hover {
  border-color: var(--neon-coral);
  background: rgba(255, 107, 107, 0.1);
}

.btn-admin-danger {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-admin-danger:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.5);
}

/* Admin Cards */
.admin-stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.admin-stat-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 107, 107, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.admin-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.admin-stat-label {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Responsive Admin */
@media (max-width: 768px) {
  .nav-link {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .admin-table {
    font-size: 0.75rem;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 0.5rem;
  }
}

/* ===== CHATBOT STYLES ===== */

/* Chatbot Toggle Button */
.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 107, 107, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.chatbot-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 107, 107, 0.3);
  border-color: rgba(255, 107, 107, 0.4);
}

.chatbot-toggle.active {
  transform: rotate(180deg);
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(255, 107, 107, 0.1) 100%);
}

/* Chat and Close Icons */
.chat-icon, .close-icon {
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close-icon {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.chatbot-toggle.active .chat-icon {
  transform: translate(-50%, -50%) rotate(-90deg);
  opacity: 0;
}

.chatbot-toggle.active .close-icon {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 1;
}

/* Online Indicator */
.online-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2px solid var(--bg-dark);
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { 
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% { 
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

/* Notification Badge */
.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--neon-coral);
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
  animation: bounce 1s infinite;
}

.notification-count {
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    transform: translate3d(0, -8px, 0);
  }
  70% {
    transform: translate3d(0, -4px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}

/* Chatbot Window */
.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 107, 107, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.chatbot-window.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Chatbot Header */
.chatbot-header {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(255, 107, 107, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.online-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse-dot 2s infinite;
}

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

/* Messages Container */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
  width: 4px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 107, 0.3);
  border-radius: 2px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 107, 107, 0.5);
}

/* Message Styles */
.message {
  display: flex;
  gap: 0.75rem;
  animation: fadeInUp 0.3s ease;
}

.user-message {
  flex-direction: row-reverse;
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bot-message .message-avatar {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(255, 107, 107, 0.1) 100%);
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.user-message .message-avatar {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.message-content {
  max-width: 70%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: #f3f4f6;
  line-height: 1.5;
}

.user-message .message-content {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(255, 107, 107, 0.1) 100%);
  border-color: rgba(255, 107, 107, 0.3);
}

.message-time {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

/* Typing Indicator */
.typing-indicator {
  animation: fadeInUp 0.3s ease;
}

.typing-content {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--neon-coral);
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* Input Area */
.chatbot-input {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.input-container {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem;
  border-radius: 12px;
}

#chat-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #f3f4f6;
  padding: 0.5rem;
  font-size: 0.875rem;
}

#chat-input::placeholder {
  color: #9ca3af;
}

.send-button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--neon-coral) 0%, #e53e3e 100%);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.7;
}

.send-button:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.send-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.input-footer {
  text-align: center;
  margin-top: 0.5rem;
}

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

/* Mobile Responsive */
@media (max-width: 480px) {
  .chatbot-window {
    width: calc(100vw - 32px);
    height: 400px;
    right: 16px;
    bottom: 80px;
  }
  
  .chatbot-toggle {
    width: 56px;
    height: 56px;
  }
  
  .message-content {
    max-width: 85%;
  }
}

/* Satisfaction Feedback Styles */
.message-feedback {
  margin-top: 0.5rem;
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feedback-question p {
  margin: 0 0 0.5rem 0;
  font-size: 0.75rem;
  color: #9ca3af;
}

.feedback-buttons {
  display: flex;
  gap: 0.5rem;
}

.feedback-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.feedback-btn:hover {
  background: rgba(255, 107, 107, 0.2);
  border-color: rgba(255, 107, 107, 0.4);
  transform: translateY(-1px);
}

.feedback-btn.positive:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.4);
}

.feedback-btn:active {
  transform: translateY(0);
}

/* ========================================
   GALLERY STYLES
   ======================================== */

/* Gallery Filters */
.gallery-filter {
  position: relative;
  overflow: hidden;
}

.gallery-filter::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.2), transparent);
  transition: left 0.5s ease;
}

.gallery-filter:hover::before {
  left: 100%;
}

.gallery-filter.active {
  background: var(--neon-coral) !important;
  color: white !important;
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

/* Gallery Grid */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  transform: translateY(0);
}

.gallery-item-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.gallery-item-category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--neon-coral);
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Project Modal */
#project-modal {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.glass-modal {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Modal Animations */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

#project-modal.show {
  animation: modalFadeIn 0.3s ease-out;
}

/* Gallery Loading Animation */
@keyframes galleryPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.gallery-loading {
  animation: galleryPulse 1.5s ease-in-out infinite;
}

/* Responsive Gallery */
@media (max-width: 768px) {
  .gallery-item img {
    height: 200px;
  }
  
  .gallery-filter {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 180px;
  }
}

/* ========================================
   ADMIN PANEL STYLES
   ======================================== */

/* Admin Navigation */
.nav-link {
  @apply px-3 py-2 text-sm font-medium text-gray-300 hover:text-white transition-colors;
}

.nav-link.active {
  @apply text-coral border-b-2 border-coral;
}

/* Admin Buttons */
.btn-coral {
  @apply bg-coral text-white font-medium hover:bg-coral-dark transition-colors;
}

.btn-admin-secondary {
  @apply bg-glass border border-glass-border text-white hover:border-coral transition-colors;
}

.btn-admin-danger {
  @apply bg-red-500 bg-opacity-20 border border-red-500 border-opacity-30 text-red-300 hover:bg-red-500 hover:bg-opacity-30 transition-colors;
}

/* Admin Tables */
.admin-table th {
  @apply text-left py-3 text-sm text-gray-400 font-medium;
}

.admin-table td {
  @apply py-3 text-sm;
}

/* Status Badges */
.status-badge {
  @apply px-2 py-1 text-xs rounded-full font-medium;
}

.status-completed {
  @apply bg-green-500 bg-opacity-20 text-green-300;
}

.status-pending {
  @apply bg-yellow-500 bg-opacity-20 text-yellow-300;
}

.status-in-progress {
  @apply bg-blue-500 bg-opacity-20 text-blue-300;
}

.status-cancelled {
  @apply bg-red-500 bg-opacity-20 text-red-300;
}

/* Admin Forms */
.admin-form input,
.admin-form select,
.admin-form textarea {
  @apply w-full px-4 py-3 bg-glass border border-glass-border rounded-lg focus:border-coral focus:outline-none text-white placeholder-gray-400;
}

.admin-form label {
  @apply block text-sm font-medium text-gray-300 mb-2;
}

/* Admin Cards */
.admin-card {
  @apply glass-card p-6 rounded-xl;
}

/* Admin Grid */
.admin-grid {
  @apply grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6;
}

/* Admin Modal */
.admin-modal {
  @apply fixed inset-0 bg-black bg-opacity-75 backdrop-blur-sm z-50 flex items-center justify-center p-4;
}

.admin-modal-content {
  @apply bg-gray-900 rounded-2xl max-w-4xl w-full max-h-[90vh] overflow-y-auto glass-modal;
}

/* Stiluri pentru noul formular de contact */
#new-contact-mesaj {
    pointer-events: auto !important;
    user-select: auto !important;
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    resize: vertical !important;
    min-height: 120px !important;
    max-height: 400px !important;
    overflow-y: auto !important;
    cursor: text !important;
    background-color: rgba(31, 41, 55, 0.8) !important;
    border: 1px solid rgba(55, 65, 81, 0.8) !important;
    color: white !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    transition: border-color 0.3s ease !important;
}

#new-contact-mesaj:focus {
    outline: none !important;
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2) !important;
}

#new-contact-mesaj:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

#new-contact-mesaj:read-only {
    background-color: rgba(55, 65, 81, 0.8) !important;
    cursor: text !important;
}

/* Stiluri pentru toate input-urile din noul formular de contact */
#new-contact-form input,
#new-contact-form textarea,
#new-contact-form select {
    pointer-events: auto !important;
    user-select: auto !important;
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
}

#new-contact-form input:focus,
#new-contact-form textarea:focus,
#new-contact-form select:focus {
    outline: none !important;
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2) !important;
}

/* Stiluri pentru zona de upload fișiere */
.file-upload-area {
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-area:hover {
    border-color: #ff6b6b !important;
    background-color: rgba(255, 107, 107, 0.05);
}

.file-upload-area.dragover {
    border-color: #ff6b6b !important;
    background-color: rgba(255, 107, 107, 0.1);
    transform: scale(1.02);
}

/* Stiluri pentru preview-ul fișierelor */
#files-preview {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Stiluri pentru checkbox-ul GDPR */
#new-contact-gdpr {
    accent-color: #ff6b6b;
}

#new-contact-gdpr:checked {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
}

/* Animații pentru feedback fișiere */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.3s ease-out;
}

/* Stiluri pentru mesajul de succes fișiere */
#file-success-message {
    transition: opacity 0.3s ease;
}

/* Îmbunătățiri pentru zona de upload */
.file-upload-area:active {
    transform: scale(0.98);
}

/* Success state pentru upload area */
.file-upload-area.success {
    border-color: #10b981 !important;
    background-color: rgba(16, 185, 129, 0.1);
}

/* Progress Bar Animations */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.animate-shimmer {
    animation: shimmer 2s infinite;
}

#upload-progress-container {
    transition: all 0.5s ease;
}

#upload-progress-bar {
    transition: width 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

/* Progress bar shimmer effect */
#upload-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}

/* Pulsing progress text */
#upload-percentage {
    transition: all 0.3s ease;
}

/* File progress items */
.file-progress-item {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.file-progress-item.completed {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.file-progress-item .progress-bar {
    height: 4px;
    background: #374151;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
}

.file-progress-item .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    border-radius: 2px;
    transition: width 0.3s ease;
    position: relative;
}

.file-progress-item.completed .progress-fill {
    background: linear-gradient(90deg, #10b981, #34d399);
}

/* Upload status animations */
#upload-status-text {
    transition: all 0.3s ease;
}

/* Success checkmark animation */
@keyframes checkmark {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.success-checkmark {
    animation: checkmark 0.6s ease-out;
}

/* Submit button improvements */
#new-contact-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

#new-contact-submit:disabled:hover {
    background-color: #ff6b6b !important;
    transform: none !important;
}