/* ========================================
   现代 Footer 底部样式 —— 匹配整体浅色蓝调风格
   ======================================== */

/* ---- Footer 主容器 ---- */
.footer-modern {
  background: #1e293b;
  color: #cbd5e1;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}

/* 顶部装饰线 */
.footer-modern::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a56db, #6366f1, #8b5cf6, #1a56db);
  background-size: 200% 100%;
  animation: footer-gradient-shift 4s ease infinite;
}

@keyframes footer-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* 背景光晕 */
.footer-modern::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(26,86,219,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-modern .container {
  position: relative;
  z-index: 1;
}

/* ---- 顶部三列区域 ---- */
.footer-main {
  padding: 60px 0 40px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.footer-col {
  padding: 0 15px;
  flex: 1;
  min-width: 260px;
  margin-bottom: 30px;
}

/* 列标题 */
.footer-col-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 22px;
  padding-bottom: 14px;
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: #1a56db;
  border-radius: 2px;
}

/* ---- 第一列：Logo + 简介 ---- */
.footer-logo-wrap {
  margin-bottom: 18px;
}

.footer-logo-wrap img {
  max-height: 44px;
  display: block;
}

.footer-about {
  font-size: 14px;
  line-height: 1.8;
  color: #94a3b8;
  margin-bottom: 20px;
}

/* 社交媒体 / 快捷操作 */
.footer-actions {
  display: flex;
  gap: 10px;
}

.footer-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-action-btn--primary {
  background: #1a56db;
  color: #fff;
  box-shadow: 0 4px 14px rgba(26,86,219,0.35);
}

.footer-action-btn--primary:hover {
  background: #1e40af;
  box-shadow: 0 6px 20px rgba(26,86,219,0.5);
  color: #fff;
  transform: translateY(-2px);
}

.footer-action-btn--outline {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid rgba(255,255,255,0.2);
}

.footer-action-btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

/* ---- 第二列：导航链接 ---- */
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}

.footer-nav-list li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
  padding: 6px 0;
  transition: all 0.3s ease;
  position: relative;
}

.footer-nav-list li a::before {
  content: '';
  width: 0;
  height: 2px;
  background: #1a56db;
  position: absolute;
  bottom: 3px;
  left: 0;
  border-radius: 1px;
  transition: width 0.3s ease;
}

.footer-nav-list li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-nav-list li a:hover::before {
  width: 100%;
}

.footer-nav-list li a i {
  font-size: 10px;
  color: #1a56db;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-nav-list li a:hover i {
  opacity: 1;
}

/* ---- 第三列：联系方式 ---- */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-contact-list li:first-child {
  padding-top: 0;
}

.footer-contact-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(26,86,219,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  font-size: 15px;
  transition: all 0.3s ease;
}

.footer-contact-list li:hover .contact-icon {
  background: #1a56db;
  color: #fff;
  transform: scale(1.08);
}

.contact-text strong {
  display: block;
  color: #e2e8f0;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-text span {
  color: #94a3b8;
}

/* ---- 底部版权条 ---- */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-copyright {
  font-size: 13px;
  color: #64748b;
  line-height: 1.8;
}

.footer-copyright a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-copyright a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

.footer-copyright br {
  display: none;
}

/* 底部右侧的备案号高亮 */
.footer-icp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  font-size: 12px;
  color: #64748b;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-icp:hover {
  background: rgba(26,86,219,0.12);
  color: #94a3b8;
}

.footer-icp i {
  font-size: 11px;
  color: #1a56db;
}

/* ---- 响应式 ---- */
@media (max-width: 991px) {
  .footer-col {
    flex: 0 0 50%;
    min-width: 0;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-copyright br {
    display: inline;
  }
}

@media (max-width: 767px) {
  .footer-main {
    padding: 40px 0 20px;
  }
  .footer-col {
    flex: 0 0 100%;
    margin-bottom: 24px;
  }
  .footer-col-title {
    font-size: 16px;
    margin-bottom: 16px;
  }
  .footer-nav-list {
    grid-template-columns: 1fr 1fr;
  }
  .footer-actions {
    flex-direction: column;
  }
  .footer-action-btn {
    justify-content: center;
  }
  .footer-bottom {
    padding: 16px 0;
  }
  .footer-icp {
    font-size: 11px;
  }
}
