@font-face {
    font-family: 'HarmonyOS Sans';
    src: url('../fonts/HarmonyOS_Sans_Regular.ttf') format('truetype'),
        url('../fonts/HarmonyOS_Sans_Medium.ttf') format('truetype'),
        url('../fonts/HarmonyOS_Sans_Bold.ttf') format('truetype');
    font-display: swap;
}

body {
    font-family: 'HarmonyOS Sans', Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    scroll-behavior: smooth;
    font-family: 'HarmonyOS Sans', Arial, sans-serif;
}

a,
a:visited {
    text-decoration: none;
    color: #777777;
}

body {
    display: flex;
    flex-direction: column;
}

.navbar {
    width: 100%;
    padding: 1.5vw 5vw;
    position: fixed;
    z-index: 20;
    display: flex;
    background-color: #FFFFFF;
    height: 105px;
}

.company-name-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.company-logo {
    width: 50px;
    height: auto;
}

.company-name {
    margin-left: 0.5vw;
    font-size: 1.257vw;
    font-weight: 500;
    color: #777777;
}

.nav-wrapper {
    display: flex;
    max-width: 100%;
    justify-content: flex-end;
    align-items: center;
    margin: auto;
    width: 100%;
}

nav {
    display: flex;
}

li {
    list-style-type: none;
    font-size: 1.157vw;
    text-align: center;
}

li+li {
    margin-left: 4.5vw;
}

li a {
    padding: 0.5vw;
    text-align: center;
    display: block;
    font-weight: 500;
    color: #777777;
}

li a.active {
    color: #777777;
    border-bottom: 4px solid #479EFF;
}

.main-wrapper {
    background: url(../images/main-bg.webp) no-repeat center;
    background-size: cover;
    width: 100%;
    height: 1501px;
    display: flex;
    position: relative;
    flex-direction: column;
    margin-top: 105px;
}

.slogan-wrapper {
    width: 100%;
    height: fit-content;
    padding-left: 7.5vw;
}

.slogan-text {
    font-weight: 500;
    color: #777777;
    font-size: 64px;
}

.moreBtnContainer {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-block;
    position: relative;
}

.more-btn {
    display: block;
    width: 211px;
    height: auto;
}

.moreBtnContainer:hover img {
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out;
}

.aboutus-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 3;
    margin-top: 10vw;
}

.aboutus-wrapper .logo {
    width: 271px;
    height: fit-content;
}

.aboutus-section {
    flex: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 0vw;
    margin-top: 10vw;
}

.aboutus-container {
    width: 277px;
    height: auto;
    background-color: #8EA3E9;
    padding: 5px;
    text-align: center;
    border-radius: 50px;
}

.aboutus-text {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 32px;
}

.aboutus-content-container {
    width: 80%;
}

.aboutus-content-container p {
    padding-left: 2vw;
    color: #777777;
    font-size: 24px;
}

.features-wrapper {
    background: url(../images/feature-bg.webp) no-repeat center;
    background-size: cover;
    width: 100%;
    height: 788px;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.feature-title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 200px;
}

.feature-title-container h3 {
    font-size: 32px;
    color: #7B99FF;
    width: 307px;
    height: 74px;
    background-color: #FFFFFF;
    border-radius: 100px;
    text-align: center;
    padding: 5px;
}

.feature-title-container .feature-main {
    font-weight: 500;
    font-size: 32px;
    color: #FFFFFF;
}

.feature-title-container .feature-sub {
    font-weight: 500;
    font-size: 24px;
    color: #FFFFFF;
    letter-spacing: 15px;
    margin-top: 10px;
}

.features-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 588px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
}

.feature-item+.feature-item {
    margin-left: 50px;
}

.feature-item span:nth-child(1) {
    font-weight: 500;
    font-size: 32px;
    color: #FFFFFF;
}

.feature-item span:nth-child(2) {
    font-size: 24px;
    color: #FFFFFF;
}

.item1 {
    background: url(../images/feature-1.webp) no-repeat center;
    background-size: cover;
    width: 450px;
    height: 430px;
}

.item2 {
    background: url(../images/feature-2.webp) no-repeat center;
    background-size: cover;
    width: 450px;
    height: 430px;
}

.item3 {
    background: url(../images/feature-3.webp) no-repeat center;
    background-size: cover;
    width: 450px;
    height: 430px;
}

.app-wrapper {
    background: url(../images/app-bg.webp) no-repeat center;
    background-size: cover;
    width: 100%;
    height: 1066px;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.app-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.app-title {
    width: 313px;
    height: 74px;
    background-color: #8EA3E9;
    border-radius: 100px;
    text-align: center;
    padding: 5px;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 32px;
}

.app-preview-container {
    margin-top: 25px;
}

.app-preview-container img {
    width: 100%;
    height: 40vw;
}

.contact-wrapper {
    background: url(../images/contact-bg.webp) no-repeat center;
    background-size: cover;
    width: 100%;
    height: 366px;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 30px 200px;
}

.contact-title {
    font-size: 32px;
    color: #FFFFFF;
    font-weight: 500;
}

.contact-main {
    font-size: 20px;
    color: #BEBEBE;
}

.contact-sub {
    font-size: 20px;
    color: #BEBEBE;
}

footer {
    height: auto;
    font-size: 0.926vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #363CCE;
    color: #fff;
    padding: 30px 0;
}

footer .light {
    font-weight: 100;
}

footer .light a {
    color: #fff;
}

footer ul {
    display: flex;
    margin: 0;
    margin-bottom: 1vw;
}

footer a {
    text-decoration: none;
}

footer div a,
footer div a:visited {
    color: #fff;
}

footer ul li a {
    color: #fff;
    font-size: 1.25vw;
    text-decoration: none;
}

footer div+div {
    margin-top: 0.5vw;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
        height: auto;
    }

    .company-name-wrapper {
        margin-bottom: 10px;
    }

    .company-logo {
        width: 40px;
    }

    .company-name {
        margin-left: 5vw;
        font-size: 5vw;
    }

    .nav-wrapper {
        width: 100%;
    }

    nav {
        width: 100%;
    }

    li {
        margin-left: 0;
        margin-bottom: 10px;
        text-align: left;
    }

    li a {
        font-size: 4vw;
    }

    /* 调整主内容区域 */
    .main-wrapper {
        height: auto;
        background-size: cover;
        padding: 50vw 5vw 5vw 5vw;
        margin-top: 80px;
    }

    .slogan-wrapper {
        padding-left: 0;
    }

    .slogan-text {
        font-size: 8vw;
        text-align: center;
    }

    .more-btn {
        width: 50%;
        margin: 0 auto;
    }

    /* 调整关于我们部分 */
    .aboutus-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .logo-container {
        margin-top: 20px;
    }

    .aboutus-section {
        padding-left: 0;
        margin-top: 15vw;
        align-items: center;
        text-align: center;
    }

    .aboutus-container {
        width: 50vw;
    }

    .aboutus-text {
        font-size: 6vw;
    }

    .aboutus-content-container {
        width: 100%;
        padding: 0 20px;
    }

    .aboutus-content-container p {
        font-size: 4vw;
    }

    .features-wrapper{
        height: 210vw;
    }

    .features-container {
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        width: 100%;
        height: 200px;
        margin-bottom: 20px;
        background-size: cover;
        background-position: center;
        display: flex;
        flex-direction: column;
        /* justify-content: center; */
        align-items: center;
        padding: 0px;
        text-align: center;
    }

    .feature-item + .feature-item {
        margin-left: 0;
    }

    .feature-item span:nth-child(1) {
        font-size: 6vw;
        font-weight: 500;
        color: #FFFFFF;
    }

    .feature-item span:nth-child(2) {
        font-size: 4vw;
        color: #FFFFFF;
    }

    /* 调整APP部分 */
    .app-wrapper {
        height: auto;
        padding: 20px;
    }

    .app-title {
        font-size: 6vw;
        width: 60vw;
        height: auto;
    }

    .app-preview-container img {
        width: 100%;
        height: auto;
    }

    /* 调整联系方式部分 */
    .contact-wrapper {
        padding: 20px;
        align-items: center;
        text-align: center;
        height: auto;
    }

    .contact-title {
        font-size: 6vw;
    }

    .contact-main,
    .contact-sub {
        font-size: 4vw;
    }

    /* 调整页脚 */
    footer {
        font-size: 3vw;
        padding: 20px;
    }
}