/* ============================================
   2027AI旗舰版 - Footer
   ============================================ */
.footer {
  position: relative;
  background: var(--bg-card);
  border-top: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,179,126,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 80px 24px 48px;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Brand */
.footer-brand { max-width: 360px; }
.footer-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-brand .brand-logo img { height: 36px; width: auto; }
.footer-brand .brand-logo .brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-brand .brand-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.social-links a:hover {
  background: rgba(0,179,126,0.08);
  border-color: rgba(0,179,126,0.2);
  color: var(--primary);
  transform: translateY(-2px);
}
.social-links a svg {
  width: 20px;
  height: 20px;
}

/* Footer Nav Columns */
.footer-nav-col h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.footer-nav-col ul li { margin-bottom: 12px; }
.footer-nav-col ul li a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.footer-nav-col ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* Contact */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact li .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--primary);
}
.footer-contact li .icon svg {
  width: 100%;
  height: 100%;
}
.footer-contact li p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.04);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.footer-bottom-links a:hover {
  color: var(--primary);
}

/* QR Section */
.footer-qr-section {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}
.footer-qr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}
.footer-qr-item:hover {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,179,126,0.15);
}
.footer-qr-item img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
}
.footer-qr-item .qr-info h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.footer-qr-item .qr-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand { max-width: 100%; }
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 16px 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-qr-section {
    flex-direction: column;
  }
}
