@import url('https://fonts.cdnfonts.com/css/harmonyos-sans');

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: #252733;
}

body {
    display: flex;
    flex-direction: column;
}

.navbar {
    width: 100%;
    padding: 1.5vw 5vw;
    position: sticky;
    z-index: 20;
    display: flex;
    background-color: #FFFFFF;
    height: 105px;
    top: 0;
}

.company-name-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.company-logo {
    width: 200px;
    height: auto;
}

.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: bold;
    color: #252733;
}

li a.active {
    color: #252733;
    border-bottom: 4px solid #FFDC80;
}

.top-container {
    height: 350px;
    position: relative;
}

.top-container img {
    position: absolute;
    width: auto;
    height: 700px;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
}

.about-us-container {
    width: 100%;
    height: 1005px;
    background: linear-gradient(to bottom, #252733 0%, #ffffff 60%, #ffffff 100%);
    background-repeat: no-repeat;
    background-size: cover;
    border-top: 1.5vw solid #FFDC80;
    padding: 350px 20vw 50px 20vw;

    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.about-us-container h3 {
    font-size: 36px;
    font-weight: bold;
    color: #252733;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.about-us-container p:nth-child(1) {
    margin-top: 5vw;
}

.about-us-container p {
    font-size: 16px;
    font-weight: normal;
    color: #686868;
    line-height: 2.5;
}

.core-container {
    background: linear-gradient(180deg, #1B1D2B 0%, #494C5D 100%);
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    width: 100%;
    height: 577px;
    padding: 2.5vw 15vw;

    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.core-container h3 {
    font-size: 36px;
    font-weight: bold;
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.core-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.core-item {
    width: 300px;
    height: 300px;
}

.core-item img {
    width: 96px;
    height: 96px;
}

.core-item+.core-item {
    margin-left: 5vw;
}

.core-title {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: bold;
}

.core-desc {
    color: #FFFFFF;
    font-size: 16px;
    text-align: justify;
}

.features-container {
    width: 100%;
    height: 484px;
    background-image: url('../images/features-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2.5vw 7.5vw;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
}

.features-container h3 {
    color: #252733;
    font-size: 36px;
    font-weight: bold;
}

.features-container p {
    color: #252733;
    font-size: 16px;
}

.contact-us-container {
    width: 100%;
    height: 600px;
    background-color: #FFFFFF;
    padding: 2.5vw 15vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.contact-us-container h3 {
    font-size: 36px;
    font-weight: bold;
    color: #252733;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.row {
    display: flex;
    align-items: center;
}

.info-card {
    width: auto;
    height: 36px;
    background-color: #FFDC80;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 1vw 2vw;
}

.info-card img {
    width: 22.38px;
    height: 20px;
}

.info-card p {
    color: #252733;
    font-size: 16px;
    font-weight: bold;
    padding-left: 1vw;
}

.row>p {
    padding-left: 1vw;
    font-weight: normal;
    color: #6F7977;
}

.comment-container {
    width: 100%;
    height: 816px;
    background: linear-gradient(180deg, #1B1D2B 0%, #494C5D 100%);
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5vw 7.5vw;
}

.comment-container h3 {
    font-size: 36px;
    font-weight: bold;
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.comment-form {
    text-align: center;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    height: 60px;
    margin-bottom: 15px;
    padding: 10px 15px;
    border: none;
    border-radius: 30px;
    font-size: 1em;
    background: #F3F3F3;
    color: black;
    outline: none;
    box-sizing: border-box;
}

.comment-form textarea {
    height: 256px;
    border-radius: 15px;
    resize: none;
}

.comment-form button {
    width: 144px;
    height: 50px;
    background: #FFDC80;
    color: #686868;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.comment-form button:hover {
    background: #eaa700;
}

.app-container {
    width: 100%;
    height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5vw 13.5vw;
}

.app-container h3 {
    font-size: 36px;
    font-weight: bold;
    color: #252733;
    text-decoration: underline;
    text-underline-offset: 6px;
    margin: 0;
}

.app-container p{
    letter-spacing: 20px;
}

.apps-wrapper {
    padding-top: 2.5vw;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.apps-wrapper img {
    width: auto;
    height: 539px;
}

footer {
    padding: 2.5vw 13.5vw;
}

footer .w {
    border-top: 0.25vw solid #252733;
    padding: 1vw 0;
    display: flex;
}

.footer-logo {
    width: 80%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    justify-content: flex-end;
    align-items: flex-end;
    margin: auto;
    width: 100%;
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
}

.footer-copyright a {
    font-weight: bold;
    color: #FFC429;
}

.footer-copyright p:last-child a:last-child {
    font-weight: normal;
}

/* 针对屏幕宽度小于768px的移动设备 */
@media screen and (max-width: 768px) {

    /* 调整导航栏 */
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
        height: auto;
    }

    .company-name-wrapper {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        color: #777777;
    }

    .nav-wrapper {
        display: none;
        width: 100%;
    }

    .navbar.active .nav-wrapper {
        display: block;
    }

    nav {
        flex-direction: column;
        width: 100%;
    }

    li {
        width: 100%;
        text-align: left;
    }

    li+li {
        margin-left: 0;
        margin-top: 10px;
    }

    li a {
        padding: 10px;
        font-size: 18px;
    }

    /* 调整字体大小 */
    body {
        font-size: 14px;
    }

    h3 {
        font-size: 24px;
    }

    p {
        font-size: 14px;
    }

    /* 图片自适应 */
    img {
        max-width: 100%;
        height: auto;
    }

    /* 调整关于我们的容器 */
    .about-us-container {
        padding: 20px;
        height: auto;
    }

    .about-us-container p {
        line-height: 1.6;
    }

    .core-container {
        height: 100%;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }

    .core-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .core-item+.core-item {
        margin-left: 0;
        margin-top: 20px;
    }

    .core-item {
        width: 100%;
        text-align: center;
    }

    /* 调整联系我们部分 */
    .contact-us-container {
        padding: 20px;
        height: auto;
    }

    .row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .row>p {
        padding-left: 0;
        margin-top: 10px;
    }

    /* 调整在线留言表单 */
    .comment-container {
        padding: 20px;
        height: auto;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    .comment-form input,
    .comment-form textarea {
        width: 100%;
        font-size: 16px;
    }

    .comment-form button {
        width: 100%;
        font-size: 16px;
        padding: 15px;
    }

    /* 调整APP展示部分 */
    .app-container {
        padding: 20px;
        height: auto;
    }

    .apps-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .apps-wrapper img {
        margin-bottom: 20px;
    }

    /* 调整页脚 */
    footer .w {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo,
    .footer-copyright {
        width: 100%;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .footer-copyright p {
        margin: 5px 0;
    }

    /* 调整顶部容器 */
    .top-container {
        height: auto;
    }

    .top-container img {
        width: 100%;
        height: auto;
        position: static;
        transform: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {

    /* 调整导航栏 */
    .navbar {
        padding: 20px;
        height: auto;
    }

    .company-name-wrapper {
        width: auto;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: none;
        /* 在平板上显示完整的导航菜单 */
    }

    .nav-wrapper {
        display: flex !important;
        width: auto;
    }

    nav {
        flex-direction: row;
        width: auto;
    }

    li {
        width: auto;
        text-align: center;
    }

    li+li {
        margin-left: 20px;
        margin-top: 0;
    }

    li a {
        padding: 10px;
        font-size: 16px;
    }

    /* 调整字体大小 */
    h3 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }

    /* 图片自适应 */
    img {
        max-width: 100%;
        height: auto;
    }

    /* 调整“关于我们”容器 */
    .about-us-container {
        padding: 50px;
        height: auto;
    }

    .about-us-container p {
        line-height: 1.8;
    }

    /* 调整“核心优势”部分 */
    .core-container {
        height: auto;
        padding: 50px;
    }

    .core-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .core-item {
        width: 45%;
        margin: 2.5%;
    }

    /* 调整“联系我们”部分 */
    .contact-us-container {
        padding: 50px;
        height: auto;
    }

    .row {
        flex-direction: row;
        align-items: center;
        margin-bottom: 15px;
    }

    .row>p {
        padding-left: 10px;
        margin-top: 0;
    }

    /* 调整“在线留言”表单 */
    .comment-container {
        padding: 50px;
        height: auto;
    }

    .comment-form input,
    .comment-form textarea {
        width: 100%;
        font-size: 16px;
    }

    .comment-form button {
        width: 100%;
        font-size: 16px;
        padding: 15px;
    }

    /* 调整“应用浏览”部分 */
    .app-container {
        padding: 50px;
        height: auto;
    }

    .apps-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .apps-wrapper img {
        width: 45%;
        margin: 2.5%;
    }

    /* 调整页脚 */
    footer .w {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .footer-logo,
    .footer-copyright {
        width: 50%;
        text-align: left;
    }

    .footer-copyright p {
        margin: 5px 0;
    }

    /* 调整顶部容器 */
    .top-container {
        height: auto;
    }

    .top-container img {
        width: 100%;
        height: auto;
        position: static;
        transform: none;
    }
}