/* 全局重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: "Microsoft Yahei", sans-serif;
    line-height: 1.6;
    color: #333;
}

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

ul {
    list-style: none;
}

/* 导航栏样式（语义化<nav>标签） */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.navbar .logo h1 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.navbar .logo img {
    height: 40px;
}

.navbar .logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4285f4;
}

.navbar .download-btn {
    background-color: #4285f4;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.navbar .download-btn:hover {
    background-color: #3367d6;
}

/* 头部英雄区 */
.hero-section {
    text-align: center;
    padding: 2rem 5%;
}

.hero-section h2 {
    font-size: 2rem;
    color: #4285f4;
    margin-bottom: 0.5rem;
}
.head {background-image: url("../img/background.webp");background-size: 100% 100%;background-repeat: no-repeat;background-color: #4285f4;}
.hero-section{padding: 36px 0 128px 0;width:100%;column-gap: 140px;display:flex;align-items:center;justify-content: center;}
.hero-section .banner {width: 518px;}
.hero-section .info {display: flex;flex-direction: column;align-items: center;}
.hero-section .banner-name {font-weight:bold;font-size: 54px;color: #3C80F4;}
.hero-section .banner-name2 {font-weight: bold;font-size: 36px;color: #333;}
.hero-section .banner-desc {font-size: 20px;color: #333;}
.hero-section .banner-desc br{display:none;}
.hero-section .banner-btn{background:#fff;border-radius:55px;padding: 8px 68px;margin-top: 16px;font-size: 22px;color: #fff;background-color: #3C80F4;display:flex;align-items:center;}
.hero-section .banner-btn i{width:24px;height:24px;background:url("../img/win-ico.webp");background-size:24px;margin-right:16px;}
.hero-section .banner-device{font-size: 14px;color: #333;line-height:22px;margin-top: 10px;margin-bottom:0;display: flex;gap: 14px;}
.hero-section .banner-device em{font-style: normal;}
.hero-section .index-device-desc{font-size: 14px;color: #333;line-height:22px;margin-top: 8px;}
.index-btn_wrap{position: relative;cursor: pointer;}
.index-code-box{display:flex;align-items:flex-end!important;justify-content:center!important;width:179px!important;height:197px!important;background:url(../img/code-box.png);background-size:179px 197px;position:absolute;top: 70px;left:18%;z-index:5;display:none!important;}
.index-code-box .index-code{margin-bottom:24px;}
.index-code-box .index-code img{width:136px!important;height:136px!important}
/* 安全隐私 section */
.security-section {
    background-color: #4285f4;
    color: #fff;
    padding: 3rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.security-container {
    max-width: 1200px;
    margin: 80px auto 0;
    display: flex;
    gap: 190px;
    flex-direction: row;
    align-items: center;
}

section h2.section-name {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    column-gap: 1rem;
}
section h2::before {
    content: '';
    width: 3rem;
    height: 2px;
    display: block;
    background-image: url("../img/icon-3.webp");
    background-size: 100% 100%;
    transform: rotate(180deg);
}
section h2::after {
    content: '';
    width: 3rem;
    height: 2px;
    display: block;
    background-image: url("../img/icon-3.webp");
    background-size: 100% 100%;
}
section p.section-subname {
    margin-bottom: 5rem;
    opacity: 0.9;
}

.security-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.security-list li::before {
    content: "";
    background-image: url("../img/icon.webp");
    width: 22px;
    height: 22px;
    background-size: 100% 100%;
    font-weight: bold;
}

.security-mockup {
    text-align: center;
}

.security-mockup img {
    width: 405px;
    height: auto;
}

/* 核心优势 section */
.advantages-section {
    padding: 3rem 5% 0;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.advantages-section h2::before {
    background-image: url("../img/icon-2.webp");
    transform: rotate(0deg);
}
.advantages-section h2::after {
    background-image: url("../img/icon-2.webp");
    transform: rotate(180deg);
}
.advantages-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: #4285f4;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.advantages-grid {
    display: flex;
    gap: 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.advantage-card {
    padding: 2rem;
    width: 45%;
    border-radius: 1rem;
    box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.16);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.advantage-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.advantage-card .icon {
    font-size: 24px;
    column-gap: 8px;
    color: #4285f4;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.advantage-card .icon img {
    width: 36px;
    height: 36px;
}
.advantage-card h3 {
    font-size: 22px;
}

.advantage-card p {
    font-size: 14px;
    color: #333;
    line-height: 24px;
}

/* 功能特性 section */
.features-section {
    background-image: url(../img/background-2-m.webp);
    background-size: 100% 100%;
    padding: 18rem 5% 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.features-section h2.section-name,
.features-section p.section-subname  {
    color: #fff;
}
.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: flex;
    gap: 1rem;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.feature-item {
    width: 45%;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}
.feature-item:nth-of-type(2n) {
    flex-direction: row-reverse;
}
.feature-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-item img {
    width: 145px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.25rem;
}

/* 底部区域（语义化<footer>标签） */
footer {
    background-color: #fff;
    color: #333;
    text-align: center;
    padding: 1.5rem 5%;
    font-size: .875rem;
    line-height: 1.5rem;
}

.main_wrap {
    width: 1200px;
    margin: auto;
}
.part-privacy h1 {
    font-size: 32px;
}
.part-privacy {
    padding: 16px;
    font-size: 16px;
    line-height: 32px;
}
.part-privacy p{
    font-size: 16px;
    line-height: 32px;
}
.page-404 {
    height: 100%;
    text-align: center;
}

.page-404 img {
    width: 50%;
    margin-top: 4rem;
    padding: 0 2rem;
    box-sizing: border-box;
}

.page-404 h1,.page-404 span {
    display: block;
    font-size: 18px;
    color: #333333;
    text-align: center;
    margin-top: 2rem;
}

.page-404 .desc {
    text-align: center;
    font-size: .75rem;
    margin-top: .5rem;
}

.page-404 .desc a {
    color: #3C80F4;
}

.page-404 .btn-lists {
    margin: 1.5rem 0 1rem;
    display: flex;
    justify-content: center;
}

.page-404 .btn-lists a {
    width: 78px;
    height: 33px;
    line-height: 33px;
    text-align: center;
    background: #3C80F4;
    font-size: 12px;
    color: #FFFFFF;
    margin-right: 1.5rem;
}

#to_top {position: fixed;bottom: 150px;right: 270px;cursor: pointer;z-index: 1000;display: none;}
#to_top img {width: 65px;height: 65px;}

/* 响应式媒体查询 - 移动端适配 */
@media (max-width: 768px) {
    .head {
        background-image: url(../img/background-m.webp);
    }
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        align-items: flex-start;
    }

    .navbar .logo img {
        height: 2rem;
        width: auto;
    }
    .phone-mockup-container {
        width: 250px;
        height: 500px;
    }

    .floating-tag {
        width: 60px;
        height: 60px;
        font-size: 0.8rem;
    }

    .hero-section {
        flex-direction: column-reverse;
        padding:2.125rem 0 4rem 0;
    }
    .hero-section .banner-device {
        font-size: .875rem;
        line-height: 1.25rem;
        margin-top: .625rem;
        gap: .875rem;
    }
    .hero-section .banner-desc {
        font-size: 1.125rem;
    }

    .hero-section .banner {
        width: 95%;
        margin-top: 2rem;
    }

    .hero-section .banner-btn {
        border-radius: 2rem;
        padding: .5rem 2rem;
        margin-top: 1rem;
        font-size: 1.25rem;
    }

    .hero-section .index-device-desc {
        font-size: .875rem;
        line-height: 1.25rem;
    }

    .hero-section .banner-btn i {
        width: 1.5rem;
        height: 1.5rem;
        background: url(../img/win-ico.webp);
        background-size: 1.5rem;
        margin-right: .5rem;
    }
    .hero-section .banner-btn i.ios-ico {
        background: url(../img/ios-ico.webp);
        background-size:1.5rem;
    }
    .hero-section .banner-btn i.android-ico {
        background: url(../img/android-ico.webp);
        background-size:1.5rem;
    }
    .features-section {
        padding: 9rem 1rem 2rem;
    }
    section h2.section-name {
        font-size:1.75rem;
        margin-bottom: .5rem;
    }

    section p.section-subname {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .features-container {
        max-width: 100%;
        margin: 2rem auto 0;
    }

    .security-section {
        padding:3rem 1rem;
    }

    .security-container {
        text-align: center;
        max-width: 100%;
        column-gap: 1rem;
        margin-top: 2rem;
        row-gap: 0;
    }
    .security-list li {
        font-size: .75rem;
        row-gap: 0;
    }

    .security-list li::before {
        width:.875rem;
        height:.875rem;
    }

    .security-mockup img {
        width: 12.875rem;
    }

    .advantages-container {
        max-width: 100%;
        margin-top: 2rem;
    }

    .advantages-grid {
        flex-direction: column;
    }
    .advantage-card {
        width: 100%;
        padding: 1rem;
    }

    .advantage-card .icon {
        font-size: 1rem;
        column-gap:.5rem;
        margin-bottom:1rem;
    }

    .advantage-card .icon img {
        width: 1.5rem;
        height: 1.5rem;
    }
    .advantage-card h3 {
        font-size: 1rem;
    }

    .feature-item {
        text-align: center;
        width: 100%;
        padding-bottom: 0;
    }

    .feature-item img {
        height: 11rem;
    }
    .feature-item .feature-content {
        padding-bottom: 1rem;
    }
    .feature-content p {
        font-size: .75rem;
        text-align: left;
    }

    .main_wrap {
        width: 100%;
        margin: 0 auto;
    }
    .part-privacy {
        margin-top: 2rem;
    }
    .part-privacy h1 {
        font-size: 2rem;
    }
    .part-privacy {
        padding: 1rem;
        font-size: 0.875rem;
        line-height: 1.75rem;
    }
    .part-privacy p{
        font-size: 0.875rem;
        line-height: 1.75rem;
    }
    .page-404 img {
        width: 100%;
    }
    #to_top {position: fixed;bottom: 2rem;right: 1rem;cursor: pointer;z-index: 1000;display: none;}
    #to_top img {width: 2.5rem;height: 2.5rem;}
}