/* ========= 全局响应式布局 ========= */

/* 1300px 断点 */
@media screen and (max-width: 1300px) {
    .section {
        padding: 40px 80px;
    }
    .navbar {
        padding: 18px 80px;
    }
    .footer-banner {
        padding: 40px 80px 20px;
    }
}

/* 1100px 断点 */
@media screen and (max-width: 1100px) {
    .navbar {
        padding: 15px 40px;
        flex-wrap: wrap;
        gap: 15px;
    }
    .nav-links {
        gap: 1.2rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .section {
        padding: 40px 40px;
    }
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .slide-content h2 {
        font-size: 3rem;
    }
    .slide-content p {
        font-size: 1.2rem;
    }
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-banner {
        padding: 40px 40px 20px;
    }
}

/* 992px 断点 */
@media screen and (max-width: 992px) {
    .about-company {
        flex-direction: column;
        padding: 35px;
        gap: 30px;
    }
    .left-text h2 {
        font-size: 2.6rem;
    }
    .right-img .chip-icon {
        font-size: 9rem;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .brands-grid {
        gap: 25px 30px;
    }
    .banner-carousel {
        height: 380px;
    }
    .slide-content {
        padding: 25px 40px;
    }
    .slide-content h2 {
        font-size: 2.6rem;
    }
    .carousel-btn {
        width: 48px;
        height: 48px;
        font-size: 1.6rem;
    }
    .prev {
        left: 20px;
    }
    .next {
        right: 20px;
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 768px 断点 */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 25px;
    }
    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 0.6rem;
    }
    .nav-links a {
        font-size: 0.95rem;
    }
    .lang-switch {
        padding: 5px 12px;
        font-size: 0.9rem;
    }
    .section {
        padding: 30px 25px;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .banner-carousel {
        height: 320px;
    }
    .slide-content {
        padding: 20px 25px;
        border-radius: 40px;
    }
    .slide-content h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .slide-content p {
        font-size: 1rem;
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
    .dots {
        bottom: 20px;
        gap: 12px;
    }
    .dot {
        width: 12px;
        height: 12px;
    }
    .dot.active {
        width: 30px;
    }
    .about-company {
        padding: 25px 20px;
        border-radius: 36px;
    }
    .left-text h2 {
        font-size: 2rem;
    }
    .company-desc {
        font-size: 1rem;
    }
    .feature-list li {
        font-size: 1rem;
        padding: 8px 16px;
    }
    .right-img .chip-icon {
        font-size: 7rem;
    }
    .product-grid {
        gap: 15px;
    }
    .product-card {
        padding: 30px 15px 25px;
        border-radius: 28px;
    }
    .product-card h4 {
        font-size: 1.4rem;
    }
    .card-icon {
        font-size: 2.5rem;
    }
    .combined-showcase {
        padding: 30px 20px;
        border-radius: 40px;
    }
    .milestone-row {
        gap: 10px;
    }
    .milestone-item {
        padding: 15px 10px;
        border-radius: 30px;
    }
    .milestone-item .num {
        font-size: 1.6rem;
    }
    .brands-title-compact {
        font-size: 1.6rem;
        margin: 20px 0 20px;
    }
    .brand-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    .qr-section {
        padding: 35px 20px;
        border-radius: 40px;
    }
    .qr-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .qr-section .qr-grid {
        gap: 18px;
    }
    .qr-section .qr-item {
        padding: 22px 12px 18px;
        border-radius: 32px;
    }
    .qr-section .qr-placeholder {
        width: 120px;
        height: 120px;
        border-radius: 28px;
    }
    .qr-placeholder i {
        font-size: 3rem;
    }
    .qr-section .qr-item h4 {
        font-size: 1.4rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-banner .footer-col:first-child {
        grid-column: 1 / -1;
    }
    .footer-banner .footer-col:first-child .contact-info li {
        font-size: 1.15rem;
    }
}

/* 576px 断点 */
@media screen and (max-width: 576px) {
    .navbar {
        padding: 12px 18px;
    }
    .logo-text {
        font-size: 20px;
    }
    .logo-subtext {
        font-size: 10px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
    }
    .nav-links a {
        font-size: 0.9rem;
    }
    .section {
        padding: 25px 18px;
    }
    .banner-carousel {
        height: 280px;
    }
    .slide-content {
        padding: 15px 18px;
    }
    .slide-content h2 {
        font-size: 1.6rem;
    }
    .slide-content p {
        font-size: 0.9rem;
    }
    .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
    }
    .prev {
        left: 10px;
    }
    .next {
        right: 10px;
    }
    .dots {
        bottom: 12px;
        gap: 8px;
    }
    .dot {
        width: 8px;
        height: 8px;
    }
    .dot.active {
        width: 22px;
    }
    .about-company {
        border-radius: 28px;
        padding: 20px 15px;
    }
    .left-text h2 {
        font-size: 1.8rem;
    }
    .feature-list li {
        font-size: 0.9rem;
        padding: 8px 12px;
        gap: 8px;
    }
    .feature-list i {
        font-size: 1.3rem;
    }
    .right-img .chip-icon {
        font-size: 5rem;
    }
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .product-card {
        padding: 25px 15px 20px;
    }
    .product-card h4 {
        font-size: 1.3rem;
    }
    .solution-header h3 {
        font-size: 1.8rem;
    }
    .combined-showcase {
        border-radius: 32px;
        padding: 20px 15px;
    }
    .milestone-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .milestone-item {
        width: 100%;
        max-width: 260px;
    }
    .brands-title-compact {
        font-size: 1.4rem;
    }
    .brands-grid {
        gap: 15px 12px;
    }
    .brand-item {
        width: 70px;
    }
    .brand-icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    .brand-item span {
        font-size: 0.75rem;
    }
    .qr-section {
        border-radius: 32px;
        padding: 25px 15px;
    }
    .qr-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    .qr-section .qr-grid {
        grid-template-columns: 1fr;
    }
    .qr-section .qr-item {
        padding: 20px 10px 16px;
    }
    .qr-section .qr-placeholder {
        width: 100px;
        height: 100px;
        border-radius: 24px;
    }
    .qr-placeholder i {
        font-size: 2.5rem;
    }
    .qr-section .qr-buttons .btn {
        padding: 6px 10px;
        font-size: 0.75rem;
        gap: 4px;
    }
    .copyright {
        font-size: 0.8rem;
        padding-top: 12px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-banner {
        padding: 30px 25px 20px;
    }
    .footer-banner .footer-col:first-child .footer-logo-text h3 {
        font-size: 2rem;
    }
    .footer-banner .footer-col:first-child .footer-logo-icon {
        width: 44px;
        height: 44px;
    }
}

/* 400px 断点 */
@media screen and (max-width: 400px) {
    .qr-section .qr-buttons {
        flex-direction: column;
        align-items: center;
    }
    .qr-section .qr-buttons .btn {
        width: 80%;
        justify-content: center;
    }
    .product-card .card-link {
        font-size: 0.9rem;
    }
    .footer-banner .footer-col:first-child .footer-logo-box {
        gap: 10px;
        flex-wrap: wrap;
    }
}

/* 800px 断点（悬浮联系元素） */
@media screen and (max-width: 800px) {
    .float-contact {
        /* 可根据需要显示或隐藏，默认保留但缩小尺寸 */
        transform: translateY(-50%) scale(0.9);
        right: 10px;
    }

    .float-item {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    .float-item-price {
        width: auto;
        height: auto;
    }
    .float-card {
        right: 60px;
        min-width: 180px;
        padding: 12px;
    }
    .float-card-price {
        right:0;
        min-width: 180px;
        padding: 12px;
    }
    .float-card .contact-phone {
        font-size: 1.1rem;
    }
}