/* 基础样式 */
.footer-component {
  background-color: #f8f9fa;
  color: #333;
  padding: 40px 0 20px;
  border-top: 1px solid #e0e0e0;
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 标题样式 */
.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0078D7;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #0078D7;
}

/* 版权信息 */
.copyright p, .icp p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #666;
}

.copyright a {
  color: #0078D7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.copyright a:hover {
  color: #005fa3;
  text-decoration: underline;
}

/* 联系方式 */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230078D7'%3E%3Cpath d='M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.59l2.2-2.21c.28-.26.36-.65.25-1C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1z'/%3E%3C/svg%3E");
}

.icon-email {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230078D7'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.icon-address {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230078D7'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

/* 社交媒体 */
.social-media {
  margin-top: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e9ecef;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-icon.wechat:hover {
  background-color: #07C160;
  color: white;
}

.social-icon.linkedin:hover {
  background-color: #0077B5;
  color: white;
}

.social-icon.weibo:hover {
  background-color: #E6162D;
  color: white;
}

.icon-wechat {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M8.5 3.5c1.82 0 3.5 1.34 3.5 3 0 1.5-1.68 3-3.5 3S5 8 5 6.5c0-1.66 1.68-3 3.5-3m0-1C6.43 2.5 4 4.57 4 7s2.43 4.5 4.5 4.5S13 9.43 13 7s-2.43-4.5-4.5-4.5zm4.45 7.5c1.04 0 1.89.84 1.89 1.89v4.2c0 1.06-.84 1.9-1.89 1.9H10v-3.16c0-1.06-.85-1.9-1.9-1.9H4V9h8.95zM20 7.5c0 1.82-1.34 3.5-3 3.5-1.5 0-3-1.68-3-3.5S15.5 4 17 4c1.66 0 3 1.68 3 3.5zM19 13c1.04 0 1.89.84 1.89 1.89v4.2c0 1.06-.84 1.9-1.89 1.9h-2.95v-3.16c0-1.06-.85-1.9-1.9-1.9H11V13h8z'/%3E%3C/svg%3E");
}

.icon-linkedin {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z'/%3E%3C/svg%3E");
}

.icon-weibo {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M10.29 12.71c1.36.71 2.21 1.87 2.21 3.15 0 1.87-1.78 3.14-4.2 3.14S4.1 17.73 4.1 15.86c0-1.28.85-2.44 2.21-3.15-1.1-.85-1.82-2.12-1.82-3.5 0-2.3 2.1-3.96 4.71-3.96s4.71 1.66 4.71 3.96c0 1.38-.72 2.65-1.82 3.5M20.5 7.5c0 1.1-.9 2-2 2-1.1 0-2-.9-2-2s.9-2 2-2c1.1 0 2 .9 2 2m-1.72 4.32c1.44.96 2.37 2.52 2.37 4.18 0 2.85-2.9 4.86-6.5 4.86-1.1 0-2.14-.22-3.08-.6.1-.65.15-1.32.15-2 0-1.08-.11-2.11-.3-3.08 1.36-.28 2.78-.42 4.23-.42 2.2 0 4.23.47 6.13 1.06M18 13c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z'/%3E%3C/svg%3E");
}

/* 友情链接 */
.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.link-list li a {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.link-list li a:hover {
  color: #0078D7;
  text-decoration: underline;
}

/* 合作伙伴logo */
.partner-logos {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.partner-logos img {
  height: 30px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.partner-logos img:hover {
  opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-column {
    align-items: center;
    text-align: center;
  }
  
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .contact-list li {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .link-list {
    grid-template-columns: 1fr;
  }
  
  .partner-logos {
    justify-content: center;
  }
}