/* ====================================
   PROFESSIONAL FOOTER - MODERN DESIGN
   ==================================== */

/* Footer Container */
.professional-footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #e2e8f0;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.professional-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 1px, transparent 1px),
                    radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
}

.footer-content {
  position: relative;
  z-index: 1;
  padding: 2rem 0 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

/* Brand Section */
.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  color: #6366f1;
  filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.footer-brand-tagline {
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.025em;
}

.footer-description {
  color: #cbd5e1;
  line-height: 1.6;
  font-size: 0.9375rem;
  margin: 0;
  max-width: 300px;
}

/* Section Titles */
.footer-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.footer-section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 1px;
}

/* Footer Links */
.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  border-radius: 6px;
  position: relative;
}

.footer-link:hover {
  color: #6366f1;
  text-decoration: none;
  transform: translateX(4px);
}

.footer-link svg {
  color: #64748b;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.footer-link:hover svg {
  color: #6366f1;
  transform: scale(1.1);
}

/* Footer Stats - Removed for compact footer */

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  position: relative;
  z-index: 1;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-copyright p {
  margin: 0;
}

/* Status Indicator */
.footer-status {
  display: flex;
  align-items: center;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #10b981;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #5855eb 0%, #7c3aed 100%);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.back-to-top:active {
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-stats {
    grid-column: span 3;
    flex-direction: row;
    justify-content: space-around;
  }
}

@media (max-width: 768px) {
  .footer-content {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1.5rem;
  }
  
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 1rem;
  }
  
  .footer-content {
    padding: 2rem 0 1rem;
  }
  
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
  }
  
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .professional-footer {
    background: #000;
    border-top: 2px solid #fff;
  }
  
  .footer-link:hover {
    outline: 2px solid #6366f1;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .professional-footer *,
  .professional-footer *::before,
  .professional-footer *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}