/* 重置样式 */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;  /* 防止水平滚动 */
}

.main-nav {
    background-color: #000000;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 60px;  /* PC端导航高度 */
}

.nav-container {
    display: flex;
    align-items: center;
    padding: 9px;
    max-width: 1280px;
    margin: 0 auto;
    justify-content: space-between;
}

.share-btn, .menu-toggle {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    /* padding: 8px; */
    cursor: pointer;
}

.menu-toggle {
    display: none; /* PC端默认隐藏 */
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
}

.menu-icon {
    display: inline-block;
    width: 24px;       /* 设置图标宽度 */
    height: 24px;      /* 设置图标高度 */
    background-image: url('../images/menu-icon.png');  /* 设置背景图 */
    background-size: cover;  /* 背景图覆盖 */
    background-position: center;  /* 背景图居中 */
}

.nav-links {
    display: flex;
    margin-left: 24px;
    gap: 20px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 16px;
    /* opacity: 0.7; */
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link.active {
    opacity: 1;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .main-nav {
        height: 48px;  /* 移动端降低导航高度 */
    }

    .nav-container {
        padding: 8px 12px;
        position: relative;
    }

    .share-btn, .menu-toggle {
        font-size: 16px;
        padding: 6px;
    }

    .menu-toggle {
        display: block; /* 移动端显示 */
        margin-left: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: -12px;
        right: -12px;
        flex-direction: column;
        background-color: #000000;
        padding: 0;
        margin: 0;
        width: 100vw;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-link {
        padding: 16px 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 16px;
        margin: 0;
    }

    .nav-link:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .slide {
        min-width: 100%;  /* 重新声明以确保覆盖 */
        height: 558px !important;  /* 使用 !important 确保优先级 */
    }
}

/* 更小屏幕的适配 */
@media screen and (max-width: 480px) {
    .main-nav {
        height: 48px;  /* 更小屏幕进一步降低高度 */
    }

    .nav-container {
        padding: 5px 12px;
    }

    .share-btn, .menu-toggle {
        font-size: 14px;
        padding: 4px;
    }

    .nav-links {
        margin-left: 12px;
    }

    .nav-link {
        padding: 14px 20px;
        font-size: 14px;
    }

    .slide {
        min-width: 100%;
        height: 558px !important;
    }

    .slider-indicators{
        bottom:18px !important;
        gap: 8px !important;
    }
    .indicator{
        width: 35px !important;
        height: 2px !important;
    }
    .download-buttons{
        transform: translate(-50%,290px)!important;
    }
}

/* Banner Section Styles */
.banner-section {
    width: 100vw;
    overflow: hidden;
    position: relative;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: 60px;
}

.slider-container {
    width: 100%;
    position: relative;
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    height: 1000px;
    background-color: #f5f5f5;  /* 作为背景图加载前的默认颜色 */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* 可以添加一个遮罩层让内容更清晰 */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.slide-content {
    position: relative;
    z-index: 1;
    padding-top: 20px;
    text-align: center;
    color: #333;
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.slide-content .slogan {
    font-size: 24px;
    margin-bottom: 12px;
}

.slide-content .sub-text {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 32px;
}

.download-buttons {
    display: flex;  /* 添加 flex 布局 */
    justify-content: center;
    gap: 28px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    border-radius: 24px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
    gap: 8px;
}

.download-btn i {
    margin-right: 8px;
}

.download-btn:hover {
    opacity: 0.8;
}

.download-btn .fab.fa-apple {
    background-image: url('../images/ios.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;  /* 设置合适的宽度 */
    height: 20px;  /* 设置合适的高度 */
    display: inline-block;
    font-size: 0;  /* 隐藏原有的字体图标 */
}

.download-btn .fab.fa-android {
    background-image: url('../images/Android.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;  /* 设置合适的宽度 */
    height: 20px;  /* 设置合适的高度 */
    display: inline-block;
    font-size: 0;  /* 隐藏原有的字体图标 */
}

.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 18px;
}

.indicator {
    width: 65px;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: #000;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .banner-section {
        margin-top: 48px;
    }

    .slide-content {
        padding-top: 20px;
    }

    .slide-content h1 {
        font-size: 28px;
    }

    .slide-content .slogan {
        font-size: 18px;
    }

    .slide-content .sub-text {
        font-size: 14px;
    }

    .download-btn {
        padding: 5px 18px;
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .slide-content {
        padding-top: 20px;
    }
}

/* Section1 样式 */
.section1 {
    padding: 80px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 100px;
    color: #333;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.step-item {
    flex: 1;
    text-align: center;
}

.step-image {
    width: 100%;
    max-width: 250px;
    margin: 0 auto 24px;
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
}

.step-title {
    font-size: 24px;
    margin-bottom: 12px;
    color: #333;
}

.step-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .section1 {
        padding: 40px 16px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .steps-container {
        flex-direction: column;
        gap: 32px;
    }

    .step-item {
        max-width: 100%;
    }

    .step-image {
        max-width: 200px;
        margin-bottom: 16px;
    }

    .step-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .step-desc {
        font-size: 14px;
    }
}

/* 更小屏幕的适配 */
@media screen and (max-width: 480px) {
    .section1 {
        padding: 32px 12px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 32px;
    }

    .step-image {
        max-width: 200px;
    }

    .step-title {
        font-size: 18px;
    }

    .step-desc {
        font-size: 13px;
    }
}

/* Section2 样式 */
.section2 {
    background-color: #000;
    background-image: url('../images/section2_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    margin-top: 60px;
}

/* 添加一个遮罩层让文字更清晰 */
.section2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 14%);  /* 黑色半透明遮罩 */
}

.section2-content {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;  /* 确保内容在遮罩层上方 */
    z-index: 1;         /* 提高层级 */
}

.section2-title {
    font-size: 48px;
    /*margin-bottom: 20px;*/
    font-weight: bold;
}

.section2-subtitle {
    font-size: 24px;
    opacity: 0.9;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .section2 {
        padding: 60px 16px;
        margin-top: 40px;
    }

    .section2-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .section2-subtitle {
        font-size: 18px;
    }
}

/* 更小屏幕的适配 */
@media screen and (max-width: 480px) {
    .section2 {
        padding: 40px 12px;
        margin-top: 32px;
    }

    .section2-title {
        font-size: 28px;
        /*margin-bottom: 12px;*/
    }

    .section2-subtitle {
        font-size: 16px;
    }
}

/* Section3 样式 */
.section3 {
    padding: 118px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.feature-container {
    display: flex;
    flex-direction: column;
    gap: 128px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 108px;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.feature-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.feature-image {
    flex: 1;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    animation: floatUpDown 3s ease-in-out infinite;
    transition: transform 0.3s ease;
    position: relative;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgb(0 0 0 / 27%);
}

/* 添加光晕动画 */
@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

.feature-image:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 0 20px rgba(68, 79, 89, 0.3));
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .section3 {
        padding: 40px 16px;
    }

    .feature-container {
        gap: 60px;
    }

    .feature-item {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .feature-item.reverse {
        flex-direction: column;
    }

    .feature-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .feature-desc {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* 更小屏幕的适配 */
@media screen and (max-width: 480px) {
    .section3 {
        padding: 32px 12px;
    }

    .feature-container {
        gap: 28px;
    }

    .feature-item {
        gap: 20px;
    }

    .feature-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .feature-desc {
        font-size: 13px;
    }
}

/* Section4 样式 */
.section4 {
    padding: 80px 20px;
    background-color: #f8f8f8;
}

.section4-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section4-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.section4-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.contact-item {
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.contact-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 12px;
}

.contact-desc {
    font-size: 14px;
    color: #666;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .section4 {
        padding: 60px 16px;
    }

    .section4-header {
        margin-bottom: 20px;
    }

    .section4-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .section4-subtitle {
        font-size: 14px;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .contact-item {
        max-width: 240px;
    }

    .contact-image {
        width: 120px;
        height: 120px;
        margin-bottom: 16px;
    }

    .contact-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .contact-desc {
        font-size: 11px;
    }
}

/* 更小屏幕的适配 */
@media screen and (max-width: 480px) {
    .section4 {
        padding: 40px 12px;
    }

    .section4-title {
        font-size: 24px;
    }

    .contact-item {
        max-width: 200px;
    }

    .contact-image {
        width: 100px;
        height: 100px;
    }
}

/* Section5 (Footer) 样式 */
.section5 {
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    font-size: 14px;
    color: #999;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.icp-icon-wrapper {
    display: inline-block;
    line-height: 1;  /* 确保图标容器不会有额外的行高 */
}

.icp-icon {
    width: 14px;
    height: 14px;
    vertical-align: -2px;  /* 使用垂直对齐替代 margin-top */
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .section5 {
        padding: 16px;
    }

    .footer-text {
        font-size: 12px;
        gap: 6px;
    }

    .icp-icon {
        width: 12px;
        height: 12px;
        vertical-align: -1px;  /* 移动端微调对齐 */
        transform: translateY(-9px);
    }
}

/* Share Button 样式 */
.share-btn {
    display: flex;
    position: relative;
    background: none;  /* 去掉默认背景 */
    border: none;      /* 去掉边框 */
    cursor: pointer;   /* 鼠标悬停时显示为手型 */
}

.share-btn h1{
    margin: 0 auto;
    font-size: 20px;
    font-weight: bold;
    padding-left: 3px;
    letter-spacing: 3px;
    background: linear-gradient(to right, #a69471, #d7bd89, #efdbb2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 768px) {
    .share-icon {
    width: 58px !important;
    height: 30px !important;
    }

.share-btn h1{
    margin: 0 auto;
    font-size: 15px;
    font-weight: bold;
    padding-left: 3px;
    letter-spacing: 3px;
    background: linear-gradient(to right, #a69471, #d7bd89, #efdbb2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    }
}

.share-icon {
    display: block;
    width: 77px;       /* 设置图标宽度 */
    height: 40px;      /* 设置图标高度 */
    background-image: url('../images/xylogo.png');  /* 设置背景图 */
    background-size: cover;  /* 背景图覆盖 */
    background-position: center;  /* 背景图居中 */
}

/* 如果需要调整图标的颜色或其他样式，可以在这里添加 */

.download-item img {
    width: 20px;
    height: auto; /* 保持图片比例 */
}

.download-item {
    position: relative;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.qrcode-ios,
.qrcode-android {
    position: absolute;
    top: 100%; /* 定位在download-item下方 */
    left: 50%;
    transform: translateX(-50%);
    width: 140px; /* 二维码尺寸 */
    height: 140px;
    margin-top: 10px; /* 与按钮的间距 */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.qrcode-ios img,
.qrcode-android img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* hover效果 */
.download-item:hover .qrcode-ios,
.download-item:hover .qrcode-android {
    opacity: 1;
    visibility: visible;
}
@media screen and (max-width: 768px) {
    /* hover效果 */
    .download-item .qrcode-ios,
    .download-item .qrcode-android {
    display:none;
    }
}


.feature-item.reverse .feature-title {
    transition: transform 0.3s ease, font-size 0.3s ease;
}

.feature-item.reverse:hover .feature-title {
    font-size: 36px; /* 或者使用transform: scale(1.1) */
    color: #007EFF; /* 可选：添加颜色变化 */
}
@media screen and (max-width: 768px) {
    /* hover效果 */
    .feature-item.reverse:hover .feature-title {
    font-size: 20px; /* 或者使用transform: scale(1.1) */
    color: #007EFF; /* 可选：添加颜色变化 */
    }
    .feature-item.reverse .feature-title {
    color: #007EFF;    
    }
}

.feature-item .feature-title {
    transition: transform 0.3s ease, font-size 0.3s ease;
}

.feature-item:hover .feature-title {
    font-size: 36px; /* 或者使用transform: scale(1.1) */
    color: #007EFF; /* 可选：添加颜色变化 */
}
@media screen and (max-width: 768px) {
    /* hover效果 */
    .feature-item:hover .feature-title {
    font-size: 20px; /* 或者使用transform: scale(1.1) */
    color: #007EFF; /* 可选：添加颜色变化 */
    }
    .feature-item .feature-title {
    color: #007EFF; /* 可选：添加颜色变化 */
    }
}


.step-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.step-item:hover {
    transform: translateY(-3px);
}

.step-item:hover .step-title {
    color: #007EFF;
}

.step-item:hover .step-desc {
    color: #333;
}

.step-item:hover .step-icon {
    transform: scale(1.1);
}



/* 移动端适配 */
@media screen and (max-width: 768px) {
    .contact-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3列布局 */
        gap: 1px; /* 列间距 */
        padding: 0 15px; /* 两侧留白 */
    }

    .contact-item {
        text-align: center;
        padding: 10px 5px; /* 调整内边距 */
    }

    .contact-item img {
    }

    .contact-item span {
        font-size: 12px; /* 调整文字大小 */
        margin-top: 5px;
    }
}