/* ============================================================
   footer-unify.css — 全站页脚统一（以 platforms/index.html 为基准）
   规则：
   1) 强制所有页面页脚为标准深蓝科技风（覆盖 light-site / marketing /
      contact-refresh / about-refresh / home-ui-redesign 的局部改写）。
   2) 页脚下方不留额外空间（清除首页整屏撑高与多余内边距）。
   3) 全站页脚字号整体加大（含产品平台页）。
   选择器统一用 body .site-footer.site-footer 前缀，保证压过页面级覆写。
   ============================================================ */

/* —— 基础外观：深蓝科技风 —— */
body .site-footer.site-footer {
  background: #020d1c;
  color: #dceeff;
  border-top: 1px solid #67baff3b;
  position: relative;
  overflow: hidden;
  margin: 0;
  margin-bottom: 0;
  min-height: 0;
  padding-top: 72px;
  padding-bottom: 0;
  display: block;
  scroll-snap-align: end;
  scroll-snap-stop: normal;
}
body .site-footer.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(#75bbef0a 1px, transparent 1px),
    linear-gradient(90deg, #75bbef0a 1px, transparent 1px),
    radial-gradient(ellipse at 10% 100%, #0d5ba039, transparent 44%),
    radial-gradient(ellipse at 90% 0, #0c488025, transparent 34%);
  background-size: 64px 64px, 64px 64px, auto, auto;
}
body .site-footer.site-footer > .wrap {
  position: relative;
  z-index: 1;
}

/* —— 品牌区（字号加大） —— */
body .site-footer.site-footer .footer-intro .brand { gap: 14px; }
body .site-footer.site-footer .footer-intro .brand-symbol { width: 46px; height: 46px; }
body .site-footer.site-footer .footer-intro .brand-symbol img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
body .site-footer.site-footer .brand-wordmark strong {
  font-size: 24px;
  letter-spacing: 0.08em;
  color: #eff8ff;
}
body .site-footer.site-footer .brand-name {
  font-size: 19px;
  color: #eff8ff;
}
body .site-footer.site-footer .footer-intro p {
  max-width: 360px;
  margin-top: 23px;
  color: #8caac8;
  font-size: 14px;
  line-height: 2;
}

/* —— 链接列（字号加大） —— */
body .site-footer.site-footer .footer-column {
  position: relative;
  padding-top: 5px;
}
body .site-footer.site-footer .footer-column::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 1px;
  background: #61bdff;
  box-shadow: 0 0 12px #4eaeff;
}
body .site-footer.site-footer .footer-column h3 {
  margin: 15px 0 21px;
  color: #e8f5ff;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
body .site-footer.site-footer .footer-column a {
  width: max-content;
  max-width: 100%;
  color: #91afca;
  font-size: 14px;
  line-height: 1.75;
  margin-top: 12px;
  transition: color 0.2s, transform 0.2s;
}
body .site-footer.site-footer .footer-column a:hover {
  color: #fff;
  transform: translateX(4px);
}

/* —— 底栏（字号加大） —— */
body .site-footer.site-footer .footer-grid {
  grid-template-columns: 2.1fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 76px);
  padding-bottom: 58px;
}
body .site-footer.site-footer .footer-bottom {
  position: relative;
  padding: 22px 0 26px;
  padding-right: 62px;
  border-top: 1px solid #6cbcff42;
  color: #7896b2;
  font: 12px/1.8 JX, "Microsoft YaHei", sans-serif;
}
body .site-footer.site-footer .footer-bottom::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 96px;
  height: 1px;
  background: #62bdff;
}
body .site-footer.site-footer .footer-bottom a {
  color: #a9cff0;
  font-size: 12.5px;
}
body .site-footer.site-footer .footer-bottom a:hover { color: #fff; }

/* —— 页脚下方不留额外空间 —— */
body .site-footer.site-footer .footer-bottom { padding-bottom: 26px; }
html body { padding-bottom: 0; margin-bottom: 0; }
/* 首页旧整屏页脚处理（min-height:100svh + flex + 大底垫）全部作废 */
body.home-ui .site-footer.site-footer,
body.home-ui.home-refresh .site-footer.site-footer {
  min-height: 0;
  display: block;
  align-items: initial;
  padding-bottom: 0;
  padding-top: 72px;
  background: #020d1c;
  border-color: #67baff3b;
  color: #dceeff;
}
body.home-ui .site-footer.site-footer::before { content: ""; }
body.home-ui .site-footer.site-footer > .wrap { width: auto; }
/* 首页页脚内的旧视觉图（若残留标记）不再占位 */
body .site-footer.site-footer .footer-vision { display: none; }

/* —— 页面级白底/变体覆写作废，全部回到标准深色 —— */
body.contact-refresh .site-footer.site-footer,
body.home-refresh .site-footer.site-footer,
body.about-refresh .site-footer.site-footer {
  background: #020d1c;
  color: #dceeff;
  border-top: 1px solid #67baff3b;
}
body.about-refresh .site-footer.site-footer::before { content: ""; }

/* —— 响应式（沿用原断点，字号同步加大） —— */
@media (max-width: 800px) {
  body .site-footer.site-footer { padding-top: 55px; }
  body .site-footer.site-footer .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 38px 30px;
    padding-bottom: 42px;
  }
  body .site-footer.site-footer .footer-intro { grid-column: 1 / -1; }
  body .site-footer.site-footer .footer-bottom { padding-bottom: 24px; }
}
@media (max-width: 540px) {
  body .site-footer.site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 22px;
  }
  body .site-footer.site-footer .footer-intro { grid-column: 1 / -1; }
  body .site-footer.site-footer .footer-intro p { font-size: 12.5px; }
  body .site-footer.site-footer .footer-column h3 { font-size: 13px; }
  body .site-footer.site-footer .footer-column a { font-size: 12.5px; }
  body .site-footer.site-footer .footer-bottom { font-size: 10.5px; }
  body .site-footer.site-footer .footer-bottom a { font-size: 11px; }
}

/* 全站手机页脚：三组导航并排，产品列为较长名称预留空间。 */
@media (max-width: 800px) {
  body .site-footer.site-footer .footer-grid {
    grid-template-columns: minmax(0, 1.65fr) repeat(2, minmax(0, 1fr));
    gap: 32px clamp(6px, 2vw, 16px);
    container-type: inline-size;
  }
  body .site-footer.site-footer .footer-column { min-width: 0; }
  body .site-footer.site-footer .footer-column h3 {
    font-size: clamp(9px, 3.5cqw, 13px);
    letter-spacing: 0;
    white-space: nowrap;
  }
  body .site-footer.site-footer .footer-column a {
    font-size: clamp(8px, 3.05cqw, 12.5px);
    letter-spacing: 0;
    white-space: nowrap;
  }
}
/* 手机浏览器底栏及页面外画布与页脚同色；保留各内容区自己的背景。 */
@media (max-width: 800px) {
  html:root,
  html:has(body.platform-overview.is-wenjing),
  body.platform-overview.is-wenjing,
  html body { background-color: var(--browser-chrome-bg, #020d1c) !important; }
}
