/* 移动端样式 (max-width: 768px) */

/* 导航栏调整 */
@media (max-width: 768px) {
    body {
        overflow-x:hidden;
        width:100%;
    }
    .top-logo {
        padding: 15px 0;
        width: 100vw;
    }

    .top-logo img {
        width: 120px;
        height: auto;
    }

    /* 汉堡菜单按钮样式 */
    .navbar-toggler {
        border-color: rgba(101, 181, 72, 0.5);
        padding: 6px 10px;
        border: none;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    /* 展开的菜单样式 */
    .navbar-collapse {
        background-color: rgba(10, 26, 4, 0.95);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        padding: 20px;
        z-index: 1000;
    }

    .navbar-nav {
        padding: 20px 0;
        flex-direction: column;
        gap: 15px;
        margin: 0;
    }

    .navbar-nav .nav-item {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
        font-size: 16px;
    }

    .language-switch {
        position: static;
        transform: none;
        margin-top: 15px;
        text-align: center;
        padding: 10px 0;
    }

    .language-switch select {
        width: 120px;
        margin: 0 auto;
    }
}

/* 轮播图部分调整 */
@media (max-width: 768px) {
    .banner-container {
        height: 500px;
    }

    .overlay-content img {
        width: 200px;
        height: 200px;
    }

    .overlay-text .cn-text {
        font-size: 24px;
    }

    .overlay-text .en-text {
        font-size: 16px;
    }
}

/* 世界地图部分调整 */
@media (max-width: 768px) {
    .map-points {
        top: -60px;
    }

    .products-section {
        padding: 10px 0;
    }

    .advantages-section {
        padding: 30px 0;
    }

    .world-map-section {
        height: auto;
        padding: 40px 0;
    }

    .map-title .lead {
        font-size: 20px;
        padding: 0 20px;
    }

    .map-center-text {
        width: 90%;
        top: 30%;
    }

    .map-center-text p {
        font-size: 14px;
        line-height: 1.6;
    }

    .map-stats {
        position: relative;
        transform: none;
        top: 0;
        left: 0;
        margin-top: 30px;
    }

    .stat-row {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-item {
        width: calc(50% - 10px);
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 14px;
    }
}

/* 产品展示部分调整 */
@media (max-width: 768px) {
    .products-header {
        padding: 0 20px;
    }

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

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

    .tab-list {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tab-btn {
        width: calc(50% - 5px);
        font-size: 14px;
        padding: 10px;
    }

    .product-showcase {
        padding: 20px;
    }

    .product-title {
        font-size: 20px;
    }

    .product-desc {
        font-size: 14px;
        width: auto;
    }
}

/* 核心优势部分调整 */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantage-item {
        height: auto;
        padding: 20px;
        min-height: 320px;
    }

    .advantage-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        text-align: center;
    }

    .advantage-title {
        font-size: 20px;
        /* margin-bottom: 15px; */
        width: auto;
        height: 33px;
    }

    .advantage-desc {
        font-size: 14px;
        max-width: 280px;
        margin: 0 auto 20px;
    }

    .advantage-image {
        width: 120px;
        height: 120px;
    }

    .advantage-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* 确保背景色交替 */
    .advantage-item:nth-child(odd) {
        background-color: #1f3812;
    }

    .advantage-item:nth-child(even) {
        border: 1px solid rgba(211, 247, 104, 0.1);
    }
}

/* 全球网络覆盖部分调整 */
@media (max-width: 768px) {
    .coverage-header {
        padding: 0 20px;
    }

    .coverage-image {
        margin-top: 30px;
    }

    .coverage-image img {
        width: 100%;
        height: auto;
    }
}

/* 页脚调整 */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        align-items: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .footer-nav a {
        font-size: 14px;
    }

    .footer-contact {
        font-size: 14px;
    }
}

@media (max-width:768px) {
    .purchase-hero-text {
        margin-bottom: 50px;
    }

    .purchase-hero-content {
        flex-wrap: wrap;
        padding: 0 10px;
    }

    .purchase-hero-content-item {
        width: 100%;
    }

    .purchase-hero-content-item:nth-child(2n) {
        margin-left: 0;
    }

    .calculator-box {
        width: 90%;
    }

    .calculator-title {
        font-size: 32px;
        top: 80px;
    }

    .result-amount {
        font-size: 32px;
    }

    .box-item span {
        top: -9px;
        left: 50%;
        transform: translate(-50%, 0);
        transition: transform 0.1s ease;
        letter-spacing: 10px;
        font-family: "CustomFont", serif;
        font-size: 30px;
    }

    .box-item {
        width: 20px;
        height: 23px;
    }

    .line-img {
        display: none;
    }

    .ad-box-subtitle {
        display: none;
    }

    .ad-box-desc {
        display: none;
    }

    .advantage-box {
        height: auto;
    }

    .advantages-boxes {
        padding: 0;
        gap: 0
    }

    .advantage-box {
        width: 50%;
        min-height:200px;
    }

    .ad-box-title {
        font-size: 21px;
    }

    .ad-advantages .section-title {
        font-size: 36px;
    }

    .ype-boxes {
        flex-wrap: wrap;
    }

    .type-box {
        width: 100%;
    }
}