/* ========================================
   响应式样式 - 灵朗智能官网
   断点: 576px(xs), 768px(sm), 992px(md), 1200px(lg)
   ======================================== */

/* ===== 通用 ===== */
@media (max-width: 992px) {
    .feature-text-main {
        font-size: 32px !important;
    }
    .feature-text-sub {
        font-size: 18px !important;
    }
}

@media (max-width: 768px) {
    .feature-text-main {
        font-size: 24px !important;
    }
    .feature-text-sub {
        font-size: 15px !important;
    }
}

/* ===== 首页 index.html ===== */
@media (max-width: 992px) {
    .index-banner-title {
        font-size: 40px !important;
    }
    .index-banner-subtitle {
        font-size: 20px !important;
    }
    .index-product-title {
        font-size: 42px !important;
    }
    .index-product-subtitle {
        font-size: 30px !important;
    }
    .blue-word {
        width: 120px !important;
        height: 40px !important;
        font-size: 22px !important;
        line-height: 40px !important;
        border-radius: 20px !important;
    }
    .fun-box {
        width: 50% !important;
        height: 320px !important;
    }
    .fun-title {
        font-size: 20px !important;
    }
    .fun-description {
        font-size: 14px !important;
        padding: 0 10px !important;
    }
    .blue-word2 {
        font-size: 18px !important;
        width: 280px !important;
        line-height: 40px !important;
    }
    .index-bottom-banner-title {
        font-size: 28px !important;
    }
    .index-product-overlay-content > div {
        flex-direction: column !important;
        align-items: center !important;
    }
    .index-product-text-col {
        height: auto !important;
    }
    .index-product-img {
        max-width: 200px !important;
    }
}

@media (max-width: 768px) {
    .index-banner-title {
        font-size: 28px !important;
    }
    .index-banner-subtitle {
        font-size: 14px !important;
        padding: 0 20px !important;
    }
    .index-product-title {
        font-size: 24px !important;
    }
    .index-product-subtitle {
        font-size: 16px !important;
    }
    .blue-word {
        width: 80px !important;
        height: 28px !important;
        font-size: 14px !important;
        line-height: 28px !important;
        border-radius: 14px !important;
        display: inline-block !important;
        margin: 2px 4px !important;
    }
    .fun-box {
        width: 50% !important;
        height: 280px !important;
    }
    .fun-img {
        width: 60px !important;
        height: 60px !important;
        background-size: contain !important;
    }
    .fun-title {
        font-size: 16px !important;
    }
    .fun-description {
        font-size: 12px !important;
    }
    .fun-line {
        width: 40px !important;
    }
    .blue-word2 {
        font-size: 14px !important;
        width: 220px !important;
        line-height: 36px !important;
    }
    .index-bottom-banner-title {
        font-size: 22px !important;
    }
    .index-product-overlay-content {
        flex-direction: column !important;
        padding: 15px 10px !important;
        overflow: hidden !important;
    }
    .index-product-overlay-content > div {
        flex-direction: column !important;
    }
    .index-product-text-col {
        height: auto !important;
        justify-content: flex-start !important;
    }
    .index-product-img {
        max-width: 140px !important;
    }
}

@media (max-width: 576px) {
    .index-banner-title {
        font-size: 22px !important;
    }
    .index-banner-subtitle {
        font-size: 12px !important;
        padding: 0 10px !important;
    }
    .index-product-title {
        font-size: 18px !important;
    }
    .index-product-subtitle {
        font-size: 13px !important;
    }
    .blue-word {
        width: 70px !important;
        height: 24px !important;
        font-size: 12px !important;
        line-height: 24px !important;
        border-radius: 12px !important;
        margin: 2px !important;
    }
    .fun-box {
        width: 100% !important;
        height: 240px !important;
    }
    .blue-word2 {
        font-size: 12px !important;
        width: 180px !important;
        line-height: 30px !important;
        border-radius: 15px !important;
    }
    .index-bottom-banner-title {
        font-size: 18px !important;
    }
    .shop-btn {
        width: 150px !important;
        height: 48px !important;
        font-size: 16px !important;
    }
    .index-product-overlay-content {
        padding: 8px 5px !important;
    }
    .index-product-img {
        max-width: 100px !important;
    }
}

/* ===== 导航栏 top.html ===== */
@media (max-width: 992px) {
    .modal-body-qr {
        width: 100% !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .modal-body-qr > div {
        width: 60% !important;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .modal-body-qr > div {
        width: 80% !important;
    }
}

/* ===== 页脚 bottom.html ===== */
@media (max-width: 992px) {
    .footer-contact {
        padding: 40px 30px !important;
    }
}

@media (max-width: 768px) {
    .footer-contact {
        height: auto !important;
        padding: 30px 20px !important;
    }
    .footer-contact .col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-bottom: 20px;
    }
    .footer-platform-list {
        justify-content: center !important;
    }
    .footer-qr-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .footer-platform-text {
        padding-left: 0 !important;
        align-items: center !important;
    }
}

/* ===== 产品页 product.html ===== */
@media (max-width: 992px) {
    .product-banner-title {
        font-size: 30px !important;
    }
    .product-banner-subtitle {
        font-size: 50px !important;
    }
    .worry-section {
        padding: 50px 30px !important;
        height: auto !important;
    }
    .worry-img {
        width: 200px !important;
        height: 200px !important;
    }
    .step-section {
        flex-direction: column !important;
        align-items: center !important;
        padding-left: 0 !important;
    }
    .step-row {
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        padding-left: 0 !important;
    }
    .step {
        width: 277px !important;
    }
    .step-custom {
        width: 277px !important;
    }
    .step-inner-custom {
        width: 268px !important;
    }
    .arrow {
        transform: rotate(90deg) !important;
        margin: 10px 0 !important;
    }
    .feature-section {
        padding: 30px 20px !important;
    }
    .feature-box-a,
    .feature-box-b {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .feature-box-a .feature-text-box,
    .feature-box-b .feature-text-box {
        text-align: center !important;
    }
    .feature-box-a img,
    .feature-box-b img {
        max-width: 100% !important;
        height: auto !important;
    }
    .fun-description {
        padding: 0 20px !important;
    }
    .network-title {
        font-size: 28px !important;
    }
}

@media (max-width: 768px) {
    .product-banner-title {
        font-size: 22px !important;
    }
    .product-banner-subtitle {
        font-size: 34px !important;
    }
    .product-buy-btn {
        width: 140px !important;
        height: 40px !important;
        font-size: 20px !important;
        line-height: 40px !important;
    }
    .worry-section {
        padding: 30px 15px !important;
    }
    .worry-section-title {
        font-size: 28px !important;
    }
    .worry-boxes {
        flex-wrap: wrap !important;
    }
    .worry-box {
        width: 45% !important;
        margin-bottom: 20px;
    }
    .worry-img {
        width: 150px !important;
        height: 150px !important;
    }
    .worry-desp {
        font-size: 14px !important;
    }
    .worry-num {
        width: 45px !important;
        height: 40px !important;
        font-size: 22px !important;
        line-height: 40px !important;
    }
    .step {
        width: 90% !important;
        max-width: 320px !important;
    }
    .step-custom {
        width: 90% !important;
        max-width: 320px !important;
    }
    .step-inner-custom {
        width: 95% !important;
    }
    .step-text-box-custom {
        width: 100px !important;
        margin-left: 20px !important;
    }
    .network-title {
        font-size: 20px !important;
    }
    .feature-section {
        padding: 20px 10px !important;
    }
}

@media (max-width: 576px) {
    .worry-box {
        width: 100% !important;
    }
    .worry-img {
        width: 120px !important;
        height: 120px !important;
    }
}

/* ===== 下载页 download.html ===== */
@media (max-width: 992px) {
    .download-title {
        font-size: 44px !important;
    }
    .download-subtitle {
        font-size: 18px !important;
    }
    .download-cards {
        width: 90% !important;
    }
    .download-card {
        width: 45% !important;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .download-title {
        font-size: 32px !important;
    }
    .download-subtitle {
        font-size: 14px !important;
    }
    .download-cards {
        width: 95% !important;
        flex-wrap: wrap !important;
    }
    .download-card {
        width: 80% !important;
        margin: 0 auto 15px auto !important;
    }
    .download-robot {
        width: 40% !important;
    }
}

@media (max-width: 576px) {
    .download-title {
        font-size: 26px !important;
    }
    .download-card {
        width: 95% !important;
    }
    .download-robot {
        width: 50% !important;
    }
}

/* ===== 合作页 cooperation.html ===== */
@media (max-width: 992px) {
    .cooperation-title {
        font-size: 40px !important;
    }
    .bussiness-text-box {
        font-size: 26px !important;
        line-height: 50px !important;
        height: auto !important;
        padding: 20px 30px !important;
    }
    .contract-text-box {
        font-size: 26px !important;
        line-height: 50px !important;
        height: auto !important;
        padding: 20px 30px !important;
        padding-left: 30px !important;
    }
    .cooperation-img {
        max-width: 90% !important;
    }
}

@media (max-width: 768px) {
    .cooperation-title {
        font-size: 28px !important;
    }
    .bussiness-text-box {
        font-size: 20px !important;
        line-height: 40px !important;
        border-radius: 30px !important;
    }
    .bussiness-text-box img {
        display: none !important;
    }
    .contract-text-box {
        font-size: 20px !important;
        line-height: 40px !important;
        border-radius: 30px !important;
    }
    .contract-text-box img {
        display: none !important;
    }
    .cooperation-img {
        max-width: 100% !important;
        margin-top: 0 !important;
    }
    .cooperation-contact-title {
        font-size: 36px !important;
    }
}

@media (max-width: 576px) {
    .cooperation-title {
        font-size: 22px !important;
    }
    .bussiness-text-box {
        font-size: 16px !important;
        line-height: 30px !important;
    }
    .contract-text-box {
        font-size: 16px !important;
        line-height: 30px !important;
    }
    .cooperation-contact-title {
        font-size: 28px !important;
    }
}

/* ===== 通用: 图片响应式 ===== */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }
}

/* ===== 产品页 swiper 适配 ===== */
@media (max-width: 992px) {
    .swiper {
        height: 500px !important;
    }
    .fun-box {
        padding: 50px 0 !important;
    }
}

@media (max-width: 768px) {
    .swiper {
        height: 400px !important;
    }
    .swiper-slide {
        width: 50% !important;
    }
    .fun-box {
        padding: 30px 0 !important;
    }
}

@media (max-width: 576px) {
    .swiper {
        height: 350px !important;
    }
    .swiper-slide {
        width: 100% !important;
    }
}

/* ===== 合作页 overlay 滚动适配 ===== */
@media (max-width: 768px) {
    .cooperation-overlay {
        overflow-y: auto !important;
        position: relative !important;
    }
    .cooperation-overlay img.cooperation-bg {
        position: relative !important;
    }
    .cooperation-contact-line {
        line-height: 40px !important;
    }
}

/* ===== 产品页 feature 图片适配 ===== */
@media (max-width: 992px) {
    .feature-box-a img,
    .feature-box-b img {
        max-width: 450px !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .feature-box-a img,
    .feature-box-b img {
        max-width: 350px !important;
    }
}
