/* ==========================================
   Premium Footer Styles
   ========================================== */

.main-footer {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

/* Gradient Top Border */
.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--electric-purple) 20%,
      var(--neon-cyan) 50%,
      var(--electric-purple) 80%,
      transparent 100%);
}

/* Subtle Background Glow */
.main-footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-lg) var(--space-2xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: 2fr repeat(3, 1fr);
  }
}

.footer-section {
  position: relative;
}

/* Premium Brand Section */
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: var(--text-2xl);
}

.brand-icon {
  font-size: 1.5em;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5));
}

.brand-text {
  background: linear-gradient(135deg, var(--electric-purple), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 300px;
}

/* Social Links with Glow */
.footer-social {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-lg);
  font-size: var(--text-lg);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--electric-purple), var(--neon-cyan));
  border-color: transparent;
  transform: translateY(-4px) rotate(-5deg);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

/* Footer Titles */
.footer-title {
  font-family: var(--font-outfit);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--electric-purple), var(--neon-cyan));
  border-radius: var(--radius-full);
}

/* Premium Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--electric-purple), var(--neon-cyan));
  transition: width var(--transition-normal);
}

.footer-links a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-links a:hover::before {
  width: 100%;
}

/* Footer Bottom */
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
  border-top: 1px solid rgba(168, 85, 247, 0.1);
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: 0;
}

.footer-copyright a {
  color: var(--electric-purple);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-copyright a:hover {
  color: var(--neon-cyan);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    text-align: center;
  }

  .footer-description {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links a {
    justify-content: center;
  }

  .footer-links a:hover {
    transform: translateX(0);
  }
}