.footer {
  background: linear-gradient(135deg, #0a0a1a 0%, #14142b 50%, #1f1247 100%);
  padding: 5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(88, 28, 135, 0.3);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(88, 28, 135, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(147, 51, 234, 0.15) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section {
  padding: 1rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #9333ea;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo i {
  font-size: 1.5rem;
}

.footer-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: #9333ea;
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #9333ea;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #581c87, #9333ea);
  border-radius: 2px;
}

.footer-menu {
  list-style: none;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #9333ea;
  transform: translateX(5px);
}

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-input {
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 0.9rem;
  width: 100%;
  max-width: 200px;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #581c87, #9333ea);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(88, 28, 135, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(88, 28, 135, 0.3);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: left;
  }

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

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

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-input {
    max-width: 100%;
  }
  .about-hero {
    padding: 6rem 1rem 3rem;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  border: none !important;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #44299c;
}
