/* 平板设备 (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu > li {
        margin: 0 10px;
    }
    
    .header-right {
        gap: 15px;
    }
    
    .banner h1 {
        font-size: 36px;
    }
    
    .banner p {
        font-size: 18px;
    }
    
    .products h2,
    .solutions h2 {
        font-size: 32px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 移动设备 (小于 768px) */
@media (max-width: 767px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #333;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .logo {
        order: 1;
    }
    
    .menu-toggle {
        order: 2;
    }
    
    .header-right {
        order: 3;
    }
    
    .header .container {
        flex-wrap: wrap;
        padding: 10px 15px;
    }
    
    .nav {
        order: 3;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav.active {
        max-height: 500px;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-menu > li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu a {
        padding: 15px;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: #f9f9f9;
        padding-left: 20px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 200px;
        opacity: 1;
    }
    
    .nav-menu a.menu-active {
        color: #004CF5 !important;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .header-right {
        margin-left: auto;
        gap: 10px;
    }
    
    .search {
        display: none;
    }
    
    .language {
        font-size: 14px;
    }
    
    .btn-primary {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .banner {
        padding: 50px 0;
    }
    
    .banner h1 {
        font-size: 28px;
    }
    
    .banner p {
        font-size: 16px;
    }
    
    .products,
    .solutions,
    .product-detail,
    .solution-detail,
    .customer-cases,
    .resource-content,
    .about-content {
        padding: 20px 0;
    }
    
    .products h2,
    .solutions h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-list {
        flex-direction: column;
        align-items: center;
    }
    
    .solution-item {
        width: 100%;
        text-align: center;
    }
    
    .footer .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .product-section h2,
    .solution-section h2,
    .case h2,
    .resource-section h2,
    .about-section h2 {
        font-size: 24px;
    }
    
    .product-section p,
    .solution-section p,
    .case p,
    .resource-section p,
    .about-section p {
        font-size: 16px;
    }
    
    .customer-hero {
        padding: 60px 20px;
    }
    
    .customer-hero h1 {
        font-size: 36px;
    }
    
    .customer-hero p {
        font-size: 16px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }
    
    .case-pagination {
        padding: 20px;
    }
    
    .case-cta {
        padding: 60px 20px;
    }
    
    .case-cta h2 {
        font-size: 22px;
    }

    .case-detail-hero {
        padding: 40px 20px;
        min-height: auto;
    }
    
    .case-detail-hero h1 {
        font-size: 28px;
    }
    
    .case-tags {
        gap: 8px;
    }
    
    .case-tags .tag {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .case-detail-overview,
    .case-detail-content,
    .related-cases {
        padding: 40px 20px;
    }
    
    .overview-section h2,
    .detail-section h2 {
        font-size: 22px;
    }
    
    .overview-section p,
    .detail-section p,
    .challenge-list li,
    .solution-list li,
    .value-list li {
        font-size: 14px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-card {
        padding: 24px 16px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 12px;
    }

    .related-cases h2 {
        font-size: 22px;
    }
    
    /* 调整平滑滚动的偏移量 */
    html {
        scroll-padding-top: 60px;
    }
    
    .industry-filter {
        padding: 24px 16px;
    }
    
    .filter-tags {
        gap: 10px;
    }
    
    .filter-tag {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .filter-actions {
        gap: 12px;
    }
    
    .filter-btn {
        padding: 10px 28px;
        font-size: 14px;
    }
}