/* footer.css - 页脚样式 (Leverstyle 风格) */

#site-footer {
  background-color: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 0;
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-brand .footer-logo img {
  height: 32px;
  width: auto;
}

.footer-brand .footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 2px;
}

.footer-brand .footer-intro {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}

.footer-nav h4,
.footer-contact h4,
.footer-subscribe h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav ul li { margin-bottom: 14px; }

.footer-nav ul li a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  font-weight: 300;
  transition: color var(--transition-fast);
}

.footer-nav ul li a:hover { color: #fff; }

.footer-contact-list { list-style: none; padding: 0; margin: 0; }

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  font-weight: 300;
}

.footer-contact-list li .contact-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  fill: rgba(255, 255, 255, 0.35);
}

.footer-social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-social-item {
  position: relative;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.footer-social-icon:hover {
  opacity: 1;
}

.footer-social-item a {
  display: flex;
}

/* 二维码弹出框 */
.footer-qr-popup {
  display: none;
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  text-align: center;
  z-index: 10;
  white-space: nowrap;
}

.footer-social-item:hover .footer-qr-popup {
  display: block;
}

.footer-qr-popup img {
  width: 320px !important;
  min-width: 320px;
  height: auto !important;
  display: block;
}

.footer-qr-popup span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #333;
}

.footer-newsletter { display: flex; gap: 0; }

.footer-newsletter input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  background-color: transparent;
  color: #fff;
  font-size: 0.8125rem;
  font-family: inherit;
  font-weight: 300;
  outline: none;
  transition: border-color var(--transition-fast);
}

.footer-newsletter input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.footer-newsletter input[type="email"]:focus {
  border-color: var(--color-accent);
}

.footer-newsletter button {
  padding: 12px 24px;
  background-color: var(--color-accent);
  color: #fff;
  border: 1px solid var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.footer-newsletter button:hover {
  background-color: var(--color-accent-hover);
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

@media (max-width: 1023px) {
  .footer-container { padding: 0 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 767px) {
  #site-footer { padding: 60px 0 0; }
  .footer-container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-newsletter { flex-direction: column; gap: 8px; }
  .footer-newsletter input[type="email"] { border-right: 1px solid rgba(255,255,255,0.15); }
}
