/* ========================================
   响应式样式 - 灵朗智能官网
   断点: 576px(xs), 768px(sm), 992px(md), 1200px(lg)
   ======================================== */

/* ===== 通用 ===== */
@media (max-width: 992px) {
    .feature-text-main {
        font-size: 30px !important;
    }
    .feature-text-sub {
        font-size: 17px !important;
    }
    .feature-box-a img,
    .feature-box-b img {
        max-width: 400px !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .feature-text-main {
        font-size: 20px !important;
    }
    .feature-text-sub {
        font-size: 13px !important;
    }
    .feature-box-a img,
    .feature-box-b img {
        max-width: 280px !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: 62px !important;
    }
    .index-product-subtitle {
        font-size: 40px !important;
    }
    .blue-word {
        width: 100px !important;
        height: 35px !important;
        font-size: 18px !important;
        line-height: 35px !important;
        border-radius: 18px !important;
    }
    .fun-box {
        width: 50% !important;
        height: 280px !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 {
        justify-content: center !important;
        padding: 15px !important;
        align-items: center !important;
        gap: 15px !important;
    }
    .index-product-overlay-content > div:first-child {
        flex: 0 1 auto !important;
        max-width: 55% !important;
    }
    .index-product-overlay-content > div:last-child {
        flex: 0 0 auto !important;
    }
    .index-product-text-col {
        height: auto !important;
    }
    .index-product-img {
        max-width: 280px !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: 60px !important;
        height: 22px !important;
        font-size: 11px !important;
        line-height: 22px !important;
        border-radius: 11px !important;
        display: inline-block !important;
        margin: 2px 2px !important;
    }
    .fun-box {
        width: 50% !important;
        height: 240px !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 {
        justify-content: center !important;
        padding: 10px !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .index-product-overlay-content > div:first-child {
        flex: 0 1 auto !important;
        max-width: 55% !important;
    }
    .index-product-overlay-content > div:last-child {
        flex: 0 0 auto !important;
    }
    .index-product-text-col {
        height: auto !important;
        justify-content: flex-start !important;
    }
    .index-product-img {
        max-width: 160px !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: 20px !important;
    }
    .index-product-subtitle {
        font-size: 14px !important;
    }
    .blue-word {
        width: 52px !important;
        height: 20px !important;
        font-size: 10px !important;
        line-height: 20px !important;
        border-radius: 10px !important;
        margin: 1px 2px !important;
    }
    .fun-box {
        width: 50% !important;
        height: 200px !important;
    }
    .fun-description {
        font-size: 11px !important;
        padding: 0 5px !important;
        line-height: 1.4 !important;
        word-break: break-all !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 {
        justify-content: center !important;
        padding: 5px !important;
        align-items: center !important;
        gap: 5px !important;
    }
    .index-product-overlay-content > div:first-child {
        flex: 0 1 auto !important;
        max-width: 55% !important;
    }
    .index-product-overlay-content > div:last-child {
        flex: 0 0 auto !important;
    }
    .index-product-img {
        max-width: 110px !important;
    }
}

/* ===== 导航栏 top.html ===== */
header {
    background-color: white !important;
    z-index: 1030 !important;
    position: relative;
}

@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 ===== */
.footer-label,
.footer-value {
    font-size: 14px;
}

.footer-platform-item{
    width: 100%;
    text-align: left;
}

@media (max-width: 992px) {
    .footer-contact {
        padding: 40px 30px !important;
    }
    .footer-contact img {
        max-width: 80% !important;
        height: auto !important;
    }
    .footer-label,
    .footer-value {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .footer-contact {
        height: auto !important;
        padding: 20px 10px !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
    }
    .service-box {
        bottom: 50px !important;
    }
    .footer-contact .col {
        flex: 1 1 0 !important;
        max-width: none !important;
        text-align: center !important;
        margin-bottom: 0 !important;
        padding: 0 5px !important;
    }
    .footer-contact .col:first-child {
        text-align: left !important;
    }
    .footer-contact img {
        max-width: 100% !important;
        height: auto !important;
    }
    .footer-contact > .col > div:nth-child(2) {
        font-size: 14px !important;
    }
    .footer-contact > .col > div:nth-child(n+3) {
        font-size: 12px !important;
    }
    .footer-contact > .col > div:first-child + div {
        margin: 10px 0 !important;
    }
    .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;
        font-size: 12px !important;
    }
    .footer-label,
    .footer-value {
        font-size: 12px !important;
    }
    .footer-platform-text img {
        width: 16px !important;
        height: 16px !important;
    }
    .footer-copyright {
        font-size: 12px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

@media (max-width: 576px) {
    .footer-label,
    .footer-value {
        font-size: 11px !important;
    }
    .footer-platform-text img {
        width: 14px !important;
        height: 14px !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 {
        align-items: center !important;
        width: 100% !important;
        padding-left: 0 !important;
    }
    .step {
        width: 230px !important;
        height: 100px !important;
    }
    .step-custom {
        width: 230px !important;
        height: 100px !important;
    }
    .step-inner {
        width: 220px !important;
        height: 86px !important;
    }
    .step-inner-custom {
        width: 220px !important;
        height: 86px !important;
    }
    .step-img {
        width: 60px !important;
        height: 60px !important;
    }
    .step-text-box {
        font-size: 13px !important;
    }
    .step-text-box-custom {
        font-size: 13px !important;
    }
    .arrow {
        margin: 10px 0 !important;
    }
    .feature-section {
        padding: 30px 20px !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: 18px !important;
    }
    .product-banner-subtitle {
        font-size: 26px !important;
    }
    .product-buy-btn {
        width: 140px !important;
        height: 40px !important;
        font-size: 20px !important;
        line-height: 40px !important;
    }
    .product-buy-btn img {
        width: 18px !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-img-box {
        position: relative !important;
        display: inline-block !important;
    }
    .worry-desp {
        font-size: 16px !important;
    }
    .worry-num {
        position: absolute !important;
        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: 16px !important;
    }
    .network-title img {
        width: 16px !important;
    }
    .network-title span {
        font-size: 16px !important;
    }
    .step {
        width: 90% !important;
        max-width: 160px !important;
        height: 66px !important;
        border-radius: 33px !important;
    }
    .step-custom {
        width: 90% !important;
        max-width: 160px !important;
        height: 66px !important;
    }
    .step-inner {
        width: 95% !important;
        height: 54px !important;
        border-radius: 27px !important;
        line-height: 54px !important;
    }
    .step-inner-custom {
        width: 95% !important;
        height: 54px !important;
        border-radius: 27px !important;
    }
    .step-img {
        width: 40px !important;
        height: 40px !important;
    }
    .step-text-box {
        width: 80px !important;
        margin-left: 10px !important;
        font-size: 11px !important;
    }
    .step-text-box-custom {
        width: 80px !important;
        margin-left: 10px !important;
        font-size: 11px !important;
    }
    .arrow {
        font-size: 16px !important;
        line-height: 24px !important;
        margin: 3px 0 !important;
    }
    .feature-section {
        padding: 20px 10px !important;
    }
}

@media (max-width: 576px) {
    .product-banner-title {
        font-size: 14px !important;
    }
    .product-banner-subtitle {
        font-size: 20px !important;
    }
    .product-buy-btn {
        width: 100px !important;
        height: 30px !important;
        font-size: 14px !important;
        line-height: 30px !important;
    }
    .product-buy-btn img {
        width: 14px !important;
    }
    .worry-box {
        width: 45% !important;
    }
    .worry-img {
        width: 120px !important;
        height: 120px !important;
    }
    .worry-img-box {
        position: relative !important;
        display: inline-block !important;
    }
    .worry-desp {
        font-size: 14px !important;
    }
    .worry-num {
        position: absolute !important;
        width: 35px !important;
        height: 30px !important;
        font-size: 18px !important;
        line-height: 30px !important;
    }
    .network-title {
        font-size: 16px !important;
    }
    .network-title img {
        width: 13px !important;
    }
    .network-title span {
        font-size: 16px !important;
    }
    .step {
        width: 90% !important;
        max-width: 130px !important;
        height: 60px !important;
        border-radius: 30px !important;
    }
    .step-custom {
        width: 90% !important;
        max-width: 130px !important;
        height: 60px !important;
    }
    .step-inner {
        width: 95% !important;
        height: 48px !important;
        border-radius: 24px !important;
        line-height: 48px !important;
        padding-left: 5px !important;
    }
    .step-inner-custom {
        width: 95% !important;
        height: 48px !important;
        border-radius: 24px !important;
    }
    .step-img {
        width: 28px !important;
        height: 28px !important;
    }
    .step-text-box {
        width: 65px !important;
        margin-left: 5px !important;
        font-size: 9px !important;
    }
    .step-text-box-custom {
        width: 65px !important;
        margin-left: 5px !important;
        font-size: 9px !important;
    }
    .arrow {
        font-size: 12px !important;
        line-height: 16px !important;
        margin: 2px 0 !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: 10px 30px !important;
    }
    .contract-text-box {
        font-size: 26px !important;
        line-height: 50px !important;
        height: auto !important;
        padding: 10px 30px !important;
        padding-left: 30px !important;
        margin-top: 30px;
    }
    .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;
    }
    .contract-text-box {
        font-size: 16px !important;
        line-height: 40px !important;
        border-radius: 30px !important;
        margin-top: 10px;
    }
    .contract-text-box img {
        display: none !important;
    }
    .cooperation-img {
        max-width: 100% !important;
        margin-top: -21px !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: 280px !important;
    }
    .swiper-slide {
        width: 33.33% !important;
    }
    .fun-box {
        padding: 10px 0 !important;
    }
}

@media (max-width: 576px) {
    .swiper {
        height: 220px !important;
    }
    .swiper-slide {
        width: 33.33% !important;
    }
}

/* ===== 合作页移动端适配 ===== */
@media (max-width: 768px) {
    .cooperation-bg-mobile {
        min-height: 100vh !important;
    }
    .cooperation-overlay-mobile {
        overflow-y: visible !important;
    }
    .bussiness-text-box {
        height: auto !important;
        line-height: 1.6 !important;
        font-size: 20px !important;
        padding: 10px 30px !important;
        border-radius: 30px !important;
    }
    .contract-text-box {
        height: auto !important;
        line-height: 1.6 !important;
        font-size: 16px !important;
        padding: 10px 30px !important;
        border-radius: 30px !important;
        padding-left: 30px !important;
        margin-top: 5px;
    }
    .bussiness-decoration-img {
        width: 80px !important;
        top: -10px !important;
        left: -5px !important;
    }
    .contract-decoration-img {
        width: 80px !important;
        top: -10px !important;
        left: -5px !important;
    }
}

/* ===== 产品页 feature 图片适配 ===== */
@media (max-width: 992px) {
    .feature-box-a img,
    .feature-box-b img {
        max-width: 350px !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .feature-box-a img,
    .feature-box-b img {
        max-width: 250px !important;
    }
}

@media (max-width: 576px) {
    .feature-text-main {
        font-size: 16px !important;
    }
    .feature-text-sub {
        font-size: 12px !important;
    }
    .feature-box-a img,
    .feature-box-b img {
        max-width: 200px !important;
    }
}

/* ===== 联系页 contract.html ===== */
@media (max-width: 992px) {
    .contract-overlay {
        position: relative !important;
        padding: 30px 15px !important;
    }
    .contract-bg {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        z-index: 0 !important;
    }
    .contract-container {
        min-height: 100vh !important;
    }
}

@media (max-width: 768px) {
    .contract-overlay {
        position: relative !important;
        padding: 20px 10px !important;
        overflow-y: visible !important;
        gap: 20px !important;
    }
    .contract-overlay .download-title {
        font-size: 28px !important;
        margin-bottom: 15px !important;
    }
    .contract-overlay .download-subtitle {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    .contract-overlay .download-robot {
        width: 40% !important;
        margin-bottom: 15px !important;
    }
    .contract-overlay .download-cards {
        width: 100% !important;
        flex-wrap: nowrap !important;
        margin-top: 15px !important;
    }
    .contract-overlay .download-card {
        width: 32% !important;
        margin: 0 !important;
    }
}

@media (max-width: 576px) {
    .contract-overlay {
        padding: 15px 5px !important;
        gap: 10px !important;
    }
    .contract-overlay .download-title {
        font-size: 22px !important;
        margin-bottom: 8px !important;
    }
    .contract-overlay .download-subtitle {
        font-size: 12px !important;
        margin-bottom: 10px !important;
    }
    .contract-overlay .download-robot {
        width: 50% !important;
        margin-bottom: 8px !important;
    }
    .contract-overlay .download-card {
        width: 32% !important;
    }
    .contract-overlay .icon {
        height: 60px !important;
        line-height: 50px !important;
    }
    .contract-overlay .icon img {
        width: 32px !important;
        height: 32px !important;
    }
    .contract-overlay .info {
        height: auto !important;
        padding: 6px 0 !important;
    }
    .contract-overlay .info > div:first-child {
        font-size: 11px !important;
    }
    .contract-overlay .info > div:nth-child(2) {
        font-size: 9px !important;
    }
    .contract-overlay .download-button {
        height: 30px !important;
        line-height: 30px !important;
        font-size: 11px !important;
        border-radius: 10px !important;
        margin: 0 auto 8px auto !important;
    }
    .contract-overlay .qr-download {
        font-size: 10px !important;
    }
    .contract-overlay .qr-download img {
        width: 14px !important;
    }
}
