/* 页脚样式 */
.site-footer {
  background: var(--text-dark);
  color: #ffffff;
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-title {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease-out;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-bottom: var(--space-2);
}

.social-links {
  display: flex;
  gap: var(--space-3);
}

.social-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: #ffffff;
  transition: all 0.2s ease-out;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Backward compatibility */
.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: #ffffff;
  transition: all 0.2s ease-out;
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin: 0;
}

/* 响应式 */
@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .site-footer {
    padding: var(--space-8) 0 var(--space-4);
  }
  
  .footer-bottom {
    padding-top: var(--space-4);
  }
}
