.footer {
  background: linear-gradient(180deg, #010520 0%, #0b0d3d 100%);
  padding-top: 48px;
}

.footer-top {
  display: flex;
  gap: 80px;
  justify-content: space-between;
}

.footer-logo {
  width: 180px;
}

.footer-qrcodes {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.footer-qr-code {
  width: 120px;
}

.footer-nav-container {
  display: flex;
  justify-content: space-between;
  flex: 1;
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-nav-title {
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 18px;
  color: #ffffff;
  line-height: 28px;
  cursor: pointer;
  flex-shrink: 0;
}

.footer-contact-label {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  line-height: 20px;
}

.footer-contact-value{
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  line-height: 20px;
}

.footer-links {
  margin-top: 42px;
}

.links-container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.privacy-link,
.legal-link,
.separator {
  cursor: pointer;
  font-size: 14px;
  color: #c9dcf9;
}

.klm-footer-copyright {
  padding-top: 8px;
  padding-bottom: 36px;
}

.klm-footer-copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.klm-footer-copyright__icp,
.klm-footer-copyright__separator,
.klm-footer-copyright__company {
  font-size: 14px;
  color: #c9dcf9;
  margin-bottom: 0px;
}

/* === */
.contact-section {
  position: fixed;
  bottom: 20%;
  right: 78px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 899;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.contact-item {
  padding: 12px 14px;
  background: #ffffff;
  box-shadow: 0px 0px 7px 0px rgba(51, 51, 51, 0.06);
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.phone-item {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #333333;
}

.qr-code-item {
  text-align: center;
}

.qr-code-item p {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #333333;
}

.qr-code-img {
  width: 76px;
  height: 76px;
  margin-top: 10px;
}

.contact-section.show {
  display: flex;
  transform: translateY(0);
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.contact-section:hover .contact-item {
  transform: translateX(5px);
}

.contact-action__item {
  transition: all 0.2s ease;
  /* background-color: #fff; */
  /* padding: 10px; */
  border-radius: 35px;
}

.contact-action__item:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.contact-widget {
  position: fixed;
  right: 4px;
  bottom: 10%;
  /* padding: 6px; */
  /* display: flex; */
  /* flex-direction: column; */
  /* background: #FFFFFF; */
  box-shadow: 0px 0px 11px 0px rgba(51, 51, 51, 0.11);
  border-radius: 61px;
  /* align-items: center; */
  /* justify-content: center; */
  z-index: 899;
  cursor: pointer;
  transition: transform 0.3s ease;
  /* padding-bottom: 32px; */
  /* gap: 16px; */
}

.klm-contact-widget__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.contact-widget:hover {
  transform: scale(1.08);
}

.contact-widget__item {
  display: flex;
  flex-direction: column;
  /* background-color: #fff; */
  /* background: #171C61; */
  /* border-radius: 35px; */
  /* padding: 10px; */
  align-items: center;
  justify-content: center;
}

.contact-widget__icon {
  width: 54px;
}

.contact-widget__text {
  width: 28px;
  margin-top: 6px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  line-height: 20px;
}

.contact-action__icon {
  /* margin-top: 24px; */
  width: 54px;
}

.footer-copyright {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #c9dcf9;
  margin-bottom: 0px;
}

/* === */
/* 确保只有一个 contact-item 显示 */
.contact-item {
  display: none;
  padding: 12px 14px;
  background: #ffffff;
  box-shadow: 0px 0px 7px 0px rgba(51, 51, 51, 0.06);
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.contact-item.active {
  display: block;
}

/* 修改 contact-section 的默认状态 */
.contact-section {
  position: absolute;
  /* top: 50%; */
  top: 0;
  /* transform: translateY(-50%) !important; */
  right: 78px;
  display: flex;
  /* 从 flex 改为 block */
  z-index: 899;
  opacity: 0;
  visibility: hidden;
  /* transform: translateY(10px); */
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  height: 100%;
  /* height: 168px; */
  align-items: center;
  justify-content: center;
}

.contact-section.show {
  display: flex;
  /* transform: translateY(0); */
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  align-items: center;
  justify-content: center;
}

/* 保持原有的 hover 效果 */
.contact-section:hover .contact-item.active {
  transform: translateX(5px);
}

/*===*/
.trademark-statement {
  margin-top: 42px;
}
.terms-content,
.trademark-content {
  letter-spacing: 1px;
  margin-top: 16px;
  text-indent: 2em;
  color: #fff;
}
/* 整体容器 */
.privacy-policy {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  line-height: 1.7;
  font-size: 14px;
  color: #fff;
}

/* 标题 */
.policy-title {
  font-size: 22px;
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}

.policy-content h3 {
  font-size: 16px;
  margin: 20px 0 10px;
  color: #fff;
}

/* 正文首行缩进两格 */
.policy-content p {
  margin: 0 0 10px;
  text-indent: 2em; /* 关键：空两格 */
  letter-spacing: 1px;
  color: #fff;
}

/* 列表类短句可以不缩进（可选） */
.policy-content p:is(:has(> "1."), :has(> "a)"), :has(> "（一）")) {
  text-indent: 0;
}

.footer-hot-section {
  width: 428px;
  display: flex;
  flex-direction: column;
}
.footer-hot-title {
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 20px;
  color: #ffffff;
  line-height: 28px;
  position: relative;
}
.footer-hot-title::after {
  content: "";
  position: absolute;
  bottom: -16px;
  width: 100%;
  height: 1px;
  left: 0;
  background-color: #2e2e2e;
  border-radius: 3px;
}
.footer-hot-title::before {
  content: "";
    position: absolute;
    left: 0;
    bottom: -16px;
    width: 100px;
    height: 1px;
    background-color: #5491DF;
    z-index: 10;
}
.footer-nav-columns {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
}
