/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 40px 0;
    margin-top: 0px;
}

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

.footer-logo {
    grid-column: 1 / 2;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-info {
  grid-column: 2 / 3;
  padding: 3rem 0;
}

.footer-contact {
  grid-column: 3 / 4;
  padding: 3rem 0;
}

.footer-qrcode {
    grid-column: 4 / 5;
    text-align: center;
}

.footer-qrcode img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.footer h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer p {
  margin: 8px 0;
  font-size: 14px;
  color: #ecf0f1;
}

.footer-copyright {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #bdc3c7;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
  .footer-container {
      grid-template-columns: 1fr;
      text-align: center;
  }

  .footer-logo,
  .footer-info,
  .footer-contact,
  .footer-qrcode {
      grid-column: 1;
  }

  .footer-logo img {
      margin: 0 auto;
  }

  .footer-qrcode img {
      margin: 10px auto;
  }
}

.footer {
    color: rgba(255,255,255,0.9);
    padding: 4rem 0 1rem;
    position: relative;
    margin-top: 0rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-title .icon {
    flex-shrink: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.link-arrow {
    transition: transform 0.3s;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links a:hover .link-arrow {
    transform: translateX(3px);
}

.qr-code {
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 0.5rem;
    border-radius: 8px;
}