/* === Modern Footer Styles === */
.site-footer {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(16, 185, 129, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(16, 185, 129, 0.03) 0%,
      transparent 50%
    );
  pointer-events: none;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* Brand Section */
.footer-brand {
  max-width: 350px;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
}

.footer-logo-link:hover {
  transform: scale(1.02);
}

.footer-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-brand-text {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Links Section */
.footer-links,
.footer-connect {
  display: flex;
  flex-direction: column;
}

.footer-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1rem;
  letter-spacing: 0.025em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.25rem 0;
  transition: all 0.2s ease;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #10b981;
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: #10b981;
}

.footer-link:hover::after {
  width: 100%;
}

/* Connect Section */
.footer-connect-text {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

.footer-copyright {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0;
}

.footer-meta {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
}

.footer-meta-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  position: relative;
}

.footer-meta-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #10b981;
  transition: width 0.3s ease;
}

.footer-meta-link:hover {
  color: #10b981;
}

.footer-meta-link:hover::after {
  width: 100%;
}

/* Focus states for accessibility */
.footer-link:focus,
.footer-meta-link:focus,
.footer-logo-link:focus {
  outline: 2px solid #10b981;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive Design - Enhancements */
@media (min-width: 769px) {
  .footer-container {
    padding: 3rem 2rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    text-align: initial;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: initial;
  }

  .footer-meta {
    flex-direction: row;
    gap: 1.5rem;
  }

  .footer-logo {
    height: 36px;
  }
}

/* Animation for footer links */
@media (prefers-reduced-motion: no-preference) {
  .footer-link,
  .footer-meta-link {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .footer-link::after,
  .footer-meta-link::after {
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}
