* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #1f2937;
    background: #f5f8fc;
}

a {
    text-decoration: none;
    color: inherit;
}

.container-home {
    width: min(1590px, 100% - 32px);
    min-width: 1280px;
    margin: 0 auto;
}

@font-face {
    font-family: 'NUMBERONLY';
    src: url('./NUMBERONLY.TTF') format('truetype');
}

@font-face {
    font-family: 'COMFORTAA-BOLD';
    src: url('./COMFORTAA-BOLD.TTF') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'MISANS';
    src: url('./MISANS-LIGHT.OTF') format('truetype');
    font-weight: 500;
}
@font-face {
    font-family: 'AZNAURIROUNDREGULAR';
    src: url('./AZNAURIROUNDREGULAR-3.TTF') format('truetype');
    font-weight: 500;
}
/* 头部 */
.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
}

.topbar {
    min-height: 61px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-left {
    display: flex;
    align-items: center;
}

.topbar-left .phone {
    font-family: NUMBERONLY;
    font-weight: bold;
    font-size: 20px;
    color: #000000;
    margin-left: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    display: grid;
    place-items: center;
    width: 104px;
    height: 40px;
    margin-top: -3px;
}

.brand-sub {
    color: #6b7280;
    font-size: 13px;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    font-weight: 600;
    font-size: 15px;
    color: #000000;
    padding-left: 93px;
}

.nav > a,
.nav .nav-dropdown > .nav-dropdown-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    color: #000000;
    padding: 8px 6px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav > a::after,
.nav .nav-dropdown > .nav-dropdown-trigger::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 0;
    bottom: -12px;
    width: 60%;
    height: 3px;
    background: rgba(0, 126, 255, 1);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s ease;
}

.nav > a:hover,
.nav .nav-dropdown > .nav-dropdown-trigger:hover {
    color: rgba(0, 126, 255, 1);
}

.nav > a:hover::after,
.nav > a.is-active::after,
.nav .nav-dropdown > .nav-dropdown-trigger:hover::after,
.nav .nav-dropdown > .nav-dropdown-trigger.is-active::after {
    transform: scaleX(1);
}

.nav > a.is-active,
.nav .nav-dropdown > .nav-dropdown-trigger.is-active {
    color: rgba(0, 126, 255, 1);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger i {
    width: 10px;
    height: 5px;
    margin-left: 5px;
    background: url("../images/home/home50.png") no-repeat center center;
    background-size: contain;
    transition: background 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger i,
.nav-dropdown.is-active .nav-dropdown-trigger i {
    background: url("../images/home/home51.png") no-repeat center center;
    background-size: contain;
}

.nav-dropdown-menu {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    display: none;
    min-width: 136px;
    padding: 5px 16px 16px 9px;
    background: #FFFFFF;
    background: #FFFFFF;
    box-shadow: 10px 9px 9px 0 rgba(161,178,191,0.23);
    border-radius: 0 0 16px 16px;
    z-index: 30;
}

.nav-dropdown-menu a {
    display: block;
    padding: 9px 18px;
    font-weight: 400;
    font-size: 15px;
    color: rgba(0, 0, 0, 1);
    line-height: 1.4;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.is-active {
    color: #007EFF;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.topbar-left {
    display: flex;
    align-items: center;
}
.site-footer{
    position: relative;
    z-index: 9;
}
.login {
    width: 53px;
    height: 31px;
    background: #000000;
    border-radius: 10px;
    font-weight: 400;
    font-size: 13px;
    color: #F4FAFB;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
}

.phone {
    margin: 0 0 0 10px;
}

/* 底部 */
.footer-cta {
    width: 100%;
    height: 131px;
    background: url("../images/home/home31.png") no-repeat center center;
    background-size: cover;
}

.cta-inner {
    min-height: 131px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cta-logo {
    margin-top: -39px;
}

.cta-logo img {
    width: 896px;
    height: 130px;
}

.cta-btn {
    width: 200px;
    height: 64px;
    background: #000000;
    border-radius: 32px;
    font-weight: 600;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 64px;
    transition: all 0.3s ease;
    padding-left: 65px;
}

.cta-btn i {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: url("../images/home/home26.png") no-repeat center center;
    background-size: contain;
    margin-left: 23px;
    vertical-align: -1px;
}

.cta-btn:hover {
    background: rgba(0, 126, 255, 1);
    color: #FFFFFF;
}
.cta-btn:hover i {
    background: url("../images/home/home48.png") no-repeat center center;
    background-size: contain;
}
.footer-main {
    position: relative;
    height: 430px;
    background: #020617;
    color: #d1d5db;
    padding: 42px 0;
}

.footer-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 2fr 1fr 1fr;
}

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

.footer-logo img {
    width: 154px;
    height: 60px;
    object-fit: contain;
}

.footer-desc-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.footer-desc-title img {
    width: 13px;
    height: 15px;
    margin-right: 4px;
}

.footer-desc-title span {
    font-weight: 400;
    font-size: 14px;
    color: #ABB0BE;
    line-height: 26px;
    opacity: 0.4;
}

.footer-desc {
    width: 32%;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 22px;
    margin: 0;
}

.footer-grid-item {
    position: relative;
    display: grid;
    gap: 75px;
    grid-template-columns: 1fr 1fr 1fr;
    padding-top: 13px;
}
.footer-grid-item::before {
    content: "";
    position: absolute;
    right: -130px;
    top: -41px;
    width: 1px;
    height: 350px;
    background: rgba(255,255,255,0.06);
}
.footer-grid h4 {
    margin: 0 0 20px;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
}

.footer-grid a {
    display: block;
    margin: 6px 0;
    font-weight: 400;
    font-size: 14px;
    color: rgba(171, 176, 190, 0.45);
    line-height: 26px;
    transition: all 0.3s ease;
}
.footer-grid a:hover {
    color: #FFFFFF;
}

.footer-kf {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding-top: 5px;
}

.footer-kf img {
    margin: 12px 0 15px;
    width: 120px;
    height: 120px;
}

.footer-kf-text {
    width: 100%;
    text-align: right;
    padding-right: 8px;
    font-weight: 400;
    font-size: 14px;
    color: #ABB0BE;
    line-height: 26px;
    opacity: 0.6;
}

.footer-copyright {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 79px;
    padding-top: 18px;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.06);;
    margin: 0 auto;

}
.footer-copyright-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 165px;
}
.footer-copyright-left {
    display: flex;
    align-items: center;

}

.footer-copyright-left img {
    margin-right: 6px;
}

.footer-copyright-left span {
    font-weight: 400;
    font-size: 14px;
    color: rgba(171, 176, 190, 0.3);
}

.copyright-year {
    margin: 0 7px 0 25px;
}

.footer-copyright-right {
    display: flex;
    align-items: center;
}

.footer-copyright-right .phone {
    font-family: NUMBERONLY;
    font-weight: bold;
    font-size: 28px;
    color: #FFFFFF;
    margin-left: 12px;
}

/* 公共提示 */
.public-tips {
    position: fixed;
    top: 30%;
    left: 50%;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 20px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    z-index: 99999999;
}

.public-tips .tip-text {
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    padding-left: 15px;
    line-height: 30px;
}

.public-tips::before {
    content: '';
    display: inline-block;
    width: 31px;
    height: 31px;
}

.public-tips.tip1::before {
    background: url(../images/tip1.png) no-repeat;
}

.public-tips.tip2::before {
    background: url(../images/tip2.png) no-repeat;
}


@media (max-width: 992px) {
    .topbar {
        flex-wrap: wrap;
        padding: 10px 0;
        gap: 10px;
    }

    .nav {
        padding-left: 0;
        width: 100%;
        gap: 8px;
    }

    .phone {
        order: 3;
        margin: 0;
    }

    .cta-text {
        font-size: 22px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container-home {
        width: calc(100% - 20px);
    }

    .brand-sub {
        display: none;
    }

    .nav > a,
    .nav .nav-dropdown > .nav-dropdown-trigger {
        padding: 6px 4px;
        font-size: 14px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 0;
    }

    .cta-text {
        font-size: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        height: auto;
        padding-bottom: 20px;
    }

    .footer-grid-item {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .footer-kf {
        text-align: left;
    }

    .footer-copyright {
        margin-top: 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
