* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.kingdee-footer {
  background-color: #1D2C43;
  color: #cbdae6;
  padding: 48px 0 32px;
  font-size: 13px;
}

.footer-container {
  margin-left: 15%;
  width: 80%;
  padding: 0 40px;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  /*margin-bottom: 48px;*/
  padding-bottom: 10px;
  /*border-bottom: 1px solid #3d4247;*/
}

.footer-left {
  flex-shrink: 0;
  width: 200px;
  margin-right: 5%;
}

.footer-logo {
  margin-bottom: 28px;
}

.footer-logo img {
  width: 160px;
  height: auto;
  display: block;
}

.footer-hotline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hotline-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hotline-label {
  color: #9ab3c7;
  font-size: 12px;
}

.hotline-number {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.footer-right {
  flex: 1;
  min-width: 0;
}

.nav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 50px;
}

.nav-col {
  flex: 1;
   min-width: 180px; 
}
.nav-col h4 {
    text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  position: relative;
  display: inline-block;
}

.nav-col h4:after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: #2c9cdb;
  border-radius: 2px;
}

.nav-col ul {
  list-style: none;
  display: grid;
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
   gap: 10px 20px;  /* 列间距调小一点，适应小屏幕 */
  max-height: 320px; /* 限制高度，内容太多时换列 */
}
.nav-col li {
  line-height: 1.5;
  white-space: nowrap;
  margin-right: 8px;
  /* text-align: center; 删掉或注释掉 */
}
.nav-col a {
  color: #cbdae6;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.nav-col a:hover {
  color: #2c9cdb;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #7f9bb0;
  gap: 16px;
  border-top: 1px solid #3d4247;  
  padding-top: 16px;  
}

.copyright {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.legal-links a {
  color: #7f9bb0;
  text-decoration: none;
  font-size: 12px;
}

.legal-links a:hover {
  color: #2c9cdb;
}

.icp-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icp-info a {
  color: #7f9bb0;
  text-decoration: none;
}

.icp-info a:hover {
  color: #2c9cdb;
}

@media (max-width: 1000px) {
  .footer-container {
      padding: 0 24px;
  }

  .nav-grid {
      gap: 25px 35px;
  }

  .nav-col ul {
      gap: 8px 28px;
      max-height: 380px;
  }
}

@media (max-width: 850px) {
     .footer-container {
    margin-left: 0;
    width: 100%;
    padding: 0 24px;
  }
  .footer-main {
      flex-direction: column;
      gap: 32px;
  }

  .footer-left {
        margin-right: 0;
      width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
  }

  .footer-logo {
      margin-bottom: 0;
  }

  .footer-hotline {
      flex-direction: row;
      gap: 32px;
  }

  .nav-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 32px 40px;
  }

  .nav-col {
      min-width: auto;
  }

  .nav-col ul {
      max-height: 280px;
      gap: 10px 24px;
  }
}

@media (max-width: 650px) {
  .nav-grid {
      gap: 28px 30px;
  }

  .nav-col ul {
      gap: 8px 20px;
      max-height: 300px;
  }

  .nav-col a {
      font-size: 12px;
  }
}

@media (max-width: 550px) {
  .nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;      /* 行间距20px，列间距10px */
  }

  .nav-col ul {
    max-height: 260px;
    gap: 6px 12px;       /* 列表项间距缩小 */
  }

  .nav-col li {
    text-align: left !important;
  }
}

@media (max-width: 480px) {
    .copyright {
    width: 100%;
  }
  .copyright .icp-info a {
    line-height: 1.8 !important;  /* 调这个值，越大行距越大 */
  }

  .copyright .icp-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .copyright .icp-info span {
    display: none !important; /* 隐藏竖线分隔符 | */
  }

  .copyright .icp-info a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .copyright .icp-info img {
    height: 18px !important;
    flex-shrink: 0 !important;
  }

  .legal-links {
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid #3d4247 !important;
    width: 100% !important;
  }
}
  .footer-container {
      padding: 0 16px;
  }

  .kingdee-footer {
      padding: 36px 0 24px;
  }

  .footer-main {
      gap: 24px;
      margin-bottom: 10px;
      padding-bottom: 10px;
  }

  .footer-left {
       margin-right: 0;
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
  }

  .footer-hotline {
      flex-direction: column;
      gap: 12px;
  }

  .hotline-number {
      font-size: 18px;
  }

  .nav-col ul {
      max-height: 320px;
      gap: 8px 20px;
  }

  .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
       padding-bottom: 10px !important;
  }
.legal-links {
    margin-bottom: 30px !important;
  }
  .copyright {
      flex-direction: column;
      align-items: flex-start;
  }
}
.nav-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.nav-col h4 {
  align-self: flex-start !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  display: block !important;
}

.nav-col ul {
  align-self: flex-start !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.nav-col li {
  text-align: left !important;
}
footer .nav-col li {
    margin-left: 0;
    padding: auto;
}
 @media (max-width: 768px) {
  .legal-links {
    display: block !important;
    width: 100% !important;
    margin-top: 8px;
  }
  .legal-links a {
    display: inline-block !important;
    color: #7f9bb0 !important;
    font-size: 12px !important;
  }
}
.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
   /*justify-content: center;*/
  gap: 8px 20px;
  padding-top: 2px;
  margin-top: 2px;
  color: #9ab3c7;
  font-size: 13px;
  width: 100%;
  flex-shrink: 0;
}

.footer-links-row .links-label {
  color: #ffffff;
  font-weight: 500;
  margin-right: 4px;
}

.footer-links-row a {
  color: #cbdae6;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-row a:hover {
  color: #2c9cdb;
  text-decoration: underline;
}
/* PC端 - 版权信息和法律声明同一行 */
@media screen and (min-width: 769px) {
  .footer-bottom {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
  }

  .copyright {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
  }

  .legal-links {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }

  .nav-col:first-child {
    flex: 1.2 !important;  /* 产品功能宽一点，但别太大 */
    min-width: 180px !important;
  }

 .nav-col:not(:first-child) {
  flex: 0.5 !important;
  min-width: auto !important;
  margin-left: 0 !important;
}
.nav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 30px;  /* 列间距从50px改成30px，让后面几列往中间靠 */
  justify-content: center;  /* 整体居中 */
}
}
