/* ============================================
   FOOTER
   ============================================ */

/* Remove Astra footer spacing */
.site-footer,
.ast-footer-wrap,
.ast-small-footer,
.ast-footer-copyright {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

body .site {
  margin-bottom: 0 !important;
}

/* Custom Footer Styles */
.nx-footer {
  background: #fafafa;
  border-top: 1px solid #e5e5e5;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.nx-footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .nx-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.nx-footer-brand {
  max-width: 20rem;
}

.nx-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.nx-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #3b82f6, #9333ea);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.nx-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #171717;
}

.nx-footer-tagline {
  color: #737373;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.nx-footer-socials {
  display: flex;
  gap: 0.75rem;
}

.nx-social-link {
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #737373;
  transition: all 0.2s;
  text-decoration: none;
}

.nx-social-link:hover {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.nx-footer-column {
  /* Column base styles */
}

.nx-footer-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  color: #171717;
}

.nx-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nx-footer-links li {
  margin-bottom: 0.75rem;
}

.nx-footer-links a {
  color: #737373;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.nx-footer-links a:hover {
  color: #3b82f6;
}

.nx-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nx-copyright {
  color: #737373;
  font-size: 0.875rem;
  margin: 0;
}

.nx-footer-badge {
  padding: 0.375rem 0.75rem;
  border: 1px solid #e5e5e5;
  border-radius: 9999px;
  font-size: 0.75rem;
  color: #737373;
  background: white;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
  .nx-footer-grid {
    grid-template-columns: 1fr;
  }
  
  .nx-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}