/* Footer */
.footer {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(156, 163, 175, 0.10) 0%, transparent 60%),
    linear-gradient(180deg, #f2f4f7 0%, #f7f8fa 100%);
  padding: 70px 0 0;
  color: var(--text);
  border-top: 1px solid rgba(31, 41, 55, 0.08);
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--accent-gradient);
}

.footer .container {
  text-align: center;
}

.footer-card {
  display: inline-block;
  width: 100%;
  max-width: 760px;
  padding: 40px 48px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(31, 41, 55, 0.10);
  box-shadow: 0 18px 50px rgba(31, 41, 55, 0.10);
  text-align: center;
}

.footer-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.3;
}

.footer-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 30px;
  background: #f7f8fa;
  border: 1px solid rgba(31, 41, 55, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover {
  background: #ffffff;
  border-color: rgba(31, 41, 55, 0.28);
  transform: translateY(-2px);
}

.footer-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(31, 41, 55, 0.45);
}

.footer-dot.wechat {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.45);
}

.footer-link-label {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-link-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.footer-bottom {
  margin-top: 44px;
  padding: 20px 24px;
  text-align: center;
  border-top: 1px solid rgba(31, 41, 55, 0.08);
  background: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 640px) {
  .footer {
    padding-top: 52px;
  }

  .footer-card {
    padding: 32px 24px;
    border-radius: var(--radius);
  }

  .footer-title {
    font-size: 22px;
  }

  .footer-subtitle {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .footer-link {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    margin-top: 32px;
    padding: 18px 20px;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}
