@font-face {
    font-family: "PingFang";
    src: url("../fonts/PingFang-Bold.ttf");
}

body {
    font-family: "PingFang";
}

/* 动态根字体大小 - 基于设计稿宽度1920px */
/* 在1920px宽度时，1rem = 100px */
/* 计算公式：设计稿宽度1920px / 100 = 19.2，所以 font-size = 100vw / 19.2 */
html {
    font-size: calc(100vw / 19.2);
    /* 设置最小和最大字体大小，避免极端情况 */
    /* 最小：移动端320px时，font-size约为16.67px (320/19.2) */
    /* 最大：超大屏3840px时，font-size为200px (3840/19.2)，限制为10rem避免过大 */
    font-size: clamp(0.5rem, calc(100vw / 19.2), 10rem);
}

/* 针对超小屏幕的额外保护 */
@media (max-width: 320px) {
    html {
        font-size: 0.5rem;
    }
}

/* 针对超大屏幕的限制 */
@media (min-width: 3840px) {
    html {
        font-size: 10rem;
    }
}

/*!* 全局样式 *!*/
/** {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    box-sizing: border-box;*/
/*}*/

body {
    /* font-family: 'PingFang', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif; */
    color: #000;
    line-height: 1.6;
    overflow-x: hidden;
    background: #FFFFFF;
}

/** 页脚 *!*/
.footer {
    width: 100%;
}

/* 页尾导航部分 */
.footer-nav {
    background: #EFF3FA;
    padding: 1rem 3.6rem;
    height: 4.6rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    max-width: 19.2rem;
    margin: 0 auto;
}

.footer-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.16rem;
    /*width: 1.6rem;*/
}

.footer-column.industry-column {
    width: 1.7rem;
}

.footer-column h4 {
    font-size: 0.2rem;
    line-height: 0.4rem;
    color: #4F80C8;
    font-weight: 400;
    text-align: center;
    margin-bottom: 0.16rem;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.06rem;
    padding: 0;
    margin: 0;
}

.footer-column li {
    text-align: center;
}

.footer-column a {
    font-size: 0.16rem;
    line-height: 0.24rem;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.footer-column a:hover {
    color: #4F80C8;
}

/* 尾部信息部分 */
.footer-bottom {
    background: #595757;
    padding: 1rem 3.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.footer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.info-row {
    display: flex;
    gap: 0.16rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.info-item {
    font-size: 0.16rem;
    line-height: 0.4rem;
    color: #FFFFFF;
    white-space: nowrap;
}

.info-item a {
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.3s;
}

.info-item a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-qr {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.qr-image {
    width: 1.02rem;
    height: 1.02rem;
    display: block;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    right: 0.6rem;
    bottom: 1rem;
    width: 0.64rem;
    height: 0.64rem;
    background: #FFFFFF;
    border: 0.005rem solid #DCDDE1;
    border-radius: 0.06rem;
    box-shadow: 0 0.08rem 0.1rem -0.05rem rgba(0, 0, 0, 0.08),
    0 0.16rem 0.24rem 0.02rem rgba(0, 0, 0, 0.04),
    0 0.06rem 0.3rem 0.05rem rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.02rem;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-0.05rem);
}

.back-to-top span {
    font-size: 0.12rem;
    line-height: 0.2rem;
    color: rgba(0, 0, 0, 0.6);
    text-align: center;
}