/* /assets/css/footer.css */
/* 仅作用于页脚区域，避免全站污染（深色背景 + 中性灰配色） */
.wa-lite-footer{
  --footer-bg: transparent;             /* 透明以承接全站深色渐变 */
  --footer-fg: #e6ecf7;                 /* 主文字（偏亮，易读） */
  --footer-fg-dim: #b9c6dc;             /* 次级文字 */
  --footer-link: #cfd6e8;               /* 链接灰 */
  --footer-link-hov: #ffffff;           /* 悬停更亮 */
  --footer-line: rgba(255,255,255,.16); /* 细分割线（浅灰） */
  --btn-bg: #3e4554;                    /* 按钮底：石板灰 */
  --btn-bg-hov: #50596d;                /* 悬停：提亮灰 */
  --btn-fg: #ffffff;                    /* 按钮字色 */

  background: var(--footer-bg);
  color: var(--footer-fg);
  padding: 56px 20px 40px;
  font-size: 14px;
  line-height: 1.65;
}

.wa-lite-footer a{
  color: var(--footer-link);
  text-decoration: none;
}
.wa-lite-footer a:hover{
  color: var(--footer-link-hov);
  text-decoration: underline;
}

/* 内部最大宽度容器 */
.wa-lite__inner{
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr 1.3fr; /* 三列导航 + 右侧品牌 */
  gap: 32px 28px;
  align-items: start;
}

/* 栏标题与列表 */
.wa-lite__title{
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}
.wa-lite__list{ list-style: none; margin: 0; padding: 0; }
.wa-lite__list li{ margin: 8px 0; }
.wa-lite__link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--footer-fg);
  opacity: .9;
  transition: color .15s ease, opacity .15s ease, text-decoration-color .15s ease;
}
.wa-lite__link:hover{ opacity: 1; text-decoration: underline; }

/* 产品列表小图标 */
.wa-lite__icon{
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;
  vertical-align: -3px;
  opacity: .95;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
}

/* 右侧品牌区 */
.wa-lite__brand{
  justify-self: end;
  text-align: left;
  max-width: 360px;
}
.wa-lite__logo{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.wa-lite__logo-img{
  width: 40px; height: 40px; border-radius: 8px; display: block;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.wa-lite__logo-text{
  font-size: 18px; font-weight: 700; letter-spacing: .5px; color: #ffffff;
}

/* 下载按钮（灰系） */
.wa-lite__btns{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
.wa-lite__btn{
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--footer-line);
  transition: background .2s ease, transform .08s ease, box-shadow .2s ease, border-color .2s ease;
  will-change: transform;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}
.wa-lite__btn:hover{
  background: var(--btn-bg-hov);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0,0,0,.3);
  border-color: rgba(255,255,255,.22);
}
.wa-lite__btn:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(207,214,232,.25), 0 10px 26px rgba(0,0,0,.25);
}
.wa-lite__btn-icon{ width: 22px; height: 22px; flex: 0 0 22px; }
.wa-lite__btn-text{ display: inline-flex; flex-direction: column; line-height: 1.1; }
.wa-lite__btn-text em{ font-style: normal; font-size: 11px; opacity: .9; }
.wa-lite__btn-text strong{ font-size: 15px; }

/* 底部版权条（透明 + 灰链接） */
.wa-lite-footer__bar{
  background: transparent;
  border-top: 0;
}
.wa-lite__bar-inner{
  color: #e8ecf9;
}
.wa-lite__bar-inner a,
.wa-lite__bar-inner .wa-lite__bar-link{
  color: var(--footer-link);
  text-decoration: none;
}
.wa-lite__bar-inner a:hover,
.wa-lite__bar-inner .wa-lite__bar-link:hover{
  color: var(--footer-link-hov);
  text-decoration: underline;
}

/* 可访问性：键盘焦点 */
.wa-lite__link:focus{
  outline: none;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: var(--footer-link);
}

/* 响应式 */
@media (max-width: 1080px){
  .wa-lite__inner{ grid-template-columns: 1fr 1fr; }
  .wa-lite__brand{ justify-self: start; max-width: none; }
}
@media (max-width: 640px){
  .wa-lite-footer{ padding: 40px 16px 28px; }
  .wa-lite__inner{ grid-template-columns: 1fr; gap: 20px; }
  .wa-lite__btns{ grid-template-columns: 1fr; }
  .wa-lite__logo-img{ width: 36px; height: 36px; }
  .wa-lite__btn{ padding: 12px; }
}
