.site-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
  margin-top: 5rem;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(var(--accent1-rgb), 0.3) 20%, rgba(var(--accent1-rgb), 0.3) 80%, transparent 100%);
}
.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top center, rgba(var(--primary-rgb), 0.05) 0%, transparent 50%);
  pointer-events: none;
}
.site-footer .container {
  position: relative;
  z-index: 2;
  padding: 5rem 0 2.5rem;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
}
.site-footer .footer-section {
  position: relative;
}
.site-footer .footer-section:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.1) 80%, transparent 100%);
}
.site-footer .footer-section h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.75rem;
}
.site-footer .footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent1), transparent);
  border-radius: 1px;
}
.site-footer .footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .footer-section ul li {
  margin-bottom: 0.75rem;
  transform: translateX(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-footer .footer-section ul li:hover {
  transform: translateX(0.25rem);
}
.site-footer .footer-section ul li a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.6;
  position: relative;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-footer .footer-section ul li a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent1);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-footer .footer-section ul li a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(var(--accent1-rgb), 0.3);
}
.site-footer .footer-section ul li a:hover::before {
  width: 100%;
}
.site-footer .footer-section ul li a[target="_blank"]::after {
  content: '↗';
  font-size: 0.8em;
  margin-left: 0.25rem;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.site-footer .footer-section ul li a[target="_blank"]:hover::after {
  opacity: 1;
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2.5rem;
  text-align: center;
  position: relative;
}
.site-footer .footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 1px;
  background: var(--accent1);
  box-shadow: 0 0 8px rgba(var(--accent1-rgb), 0.4);
}
.site-footer .footer-bottom p {
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}
.site-footer .footer-bottom p a {
  color: var(--accent1);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.site-footer .footer-bottom p a:hover {
  color: #ffffff;
  text-shadow: 0 0 6px rgba(var(--accent1-rgb), 0.4);
}
@media (max-width: 768px) {
  .site-footer {
    margin-top: 3rem;
  }
  .site-footer .container {
    padding: 3rem 0 2rem;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
  }
  .site-footer .footer-section {
    text-align: center;
  }
  .site-footer .footer-section:not(:last-child)::after {
    display: none;
  }
  .site-footer .footer-section::after {
    content: '';
    position: absolute;
    bottom: -1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  }
  .site-footer .footer-section:last-child::after {
    display: none;
  }
  .site-footer .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .site-footer .footer-bottom {
    padding-top: 2rem;
  }
  .site-footer .footer-bottom p {
    font-size: 0.8rem;
  }
}
