/* ========================================
    移动端布局优化 - 现代化移动端体验
    ======================================== */

/* 1. 移动端视口和基础设置 */
@media screen and (max-width: 768px) {
    
    /* 移动端布局修复 */
    body {
        padding-top: 60px !important; /* 为固定导航栏留出空间 */
    }
    
    /* 确保所有section都有正确的上边距 */
    section {
        position: relative !important;
        z-index: 1 !important;
    }
    
    /* 移动端图片优化 */
    img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* 确保图片容器正确显示 */
    .service-icon,
    .advantage-icon,
    .annotation-icon,
    .area-icon,
    .client-logo {
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* 图片加载完成后的过渡效果 */
    img:not(.skeleton) {
        opacity: 0;
        animation: fadeIn 0.3s ease forwards;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    
    /* 骨架屏优化 */
    .skeleton {
        background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%) !important;
        background-size: 200% 100% !important;
        animation: loading 1.5s infinite !important;
    }
    
    @keyframes loading {
        0% {
            background-position: 200% 0;
        }
        100% {
            background-position: -200% 0;
        }
    }
    
    /* 图片错误处理 */
    img[src=""], img:not([src]) {
        display: none !important;
    }
    
    /* 图片加载失败时的占位符 */
    .client-logo[data-fallback]::after {
        content: attr(data-fallback);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        background: rgba(0, 198, 255, 0.1);
        color: #00c6ff;
        font-size: 0.8rem;
        font-weight: 500;
        border-radius: 8px;
    }
    
    /* 图片加载状态优化 */
    .skeleton {
        position: relative !important;
        overflow: hidden !important;
    }
    
    .skeleton::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        animation: shimmer 1.5s infinite;
    }
    
    @keyframes shimmer {
        0% {
            left: -100%;
        }
        100% {
            left: 100%;
        }
    }
    
    /* 基础容器优化 */
    .container {
        max-width: 100% !important;
        padding: 0 16px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    /* 移动端安全区域支持 */
    @supports (padding: max(0px)) {
        .container {
            padding-left: max(16px, env(safe-area-inset-left));
            padding-right: max(16px, env(safe-area-inset-right));
        }
    }
}

/* 2. 移动端导航栏优化 */
@media screen and (max-width: 768px) {
    
    /* 导航栏高度和间距优化 */
    .header {
        height: 60px !important;
        padding: 8px 0 !important;
        background: rgba(6, 45, 75, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
    }
    
    .header-content {
        height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 16px !important;
        min-height: 0 !important;
    }
    
    /* Logo优化 */
    .logo-container {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        min-width: auto !important;
        flex-shrink: 0 !important;
        margin-top: 0 !important;
        height: 100% !important;
        overflow: hidden !important;
    }

    /* 移动端Logo尺寸兜底，确保不溢出 */
    .header .logo-img {
        max-height: 44px !important;
        width: auto !important;
    }
    
    /* Logo样式已移至 logo-unified.css 统一管理 */
    
    .logo-text {
        font-size: 1.1rem;
        font-weight: 600;
        color: #ffffff;
        text-decoration: none;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    /* 超小屏幕设备优化 */
    @media screen and (max-width: 480px) {
        .logo-container {
            gap: 6px;
        }
        
        /* 小屏幕Logo样式已移至 logo-unified.css 统一管理 */
        
        .logo-text {
            font-size: 1rem;
        }
        
        /* 超小屏幕汉堡菜单优化 */
        .mobile-menu-btn {
            width: 36px;
            height: 28px;
            padding: 6px;
        }
        
        .mobile-menu-btn span {
            height: 1.5px;
        }
        
        /* 超小屏幕案例导航优化 */
        .cases-navigation {
            gap: 16px;
            padding: 12px 16px;
            margin-top: 24px;
        }
        
        .case-nav-btn {
            width: 40px;
            height: 40px;
        }
        
        .case-indicators {
            gap: 10px;
            padding: 6px 12px;
        }
        
        .case-indicator {
            width: 8px;
            height: 8px;
        }
    }
    
    /* 中等屏幕设备优化 */
    @media screen and (min-width: 481px) and (max-width: 768px) {
        .mobile-menu-btn {
            width: 40px;
            height: 30px;
            padding: 8px;
        }
        
        .mobile-menu-btn span {
            height: 2.5px;
        }
        
        /* 中等屏幕案例导航优化 */
        .cases-navigation {
            gap: 24px;
            padding: 18px 24px;
            margin-top: 36px;
        }
        
        .case-nav-btn {
            width: 48px;
            height: 48px;
        }
        
        .case-indicators {
            gap: 14px;
            padding: 10px 20px;
        }
        
        .case-indicator {
            width: 12px;
            height: 12px;
        }
    }
    
    /* 移动端菜单按钮优化 */
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 40px;
        height: 30px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        cursor: pointer;
        padding: 8px;
        z-index: 1001;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(10px);
        position: relative;
        overflow: hidden;
        margin-top: 0 !important;
        align-self: center !important;
    }
    
    .mobile-menu-btn:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
        transform: scale(1.05);
    }
    
    .mobile-menu-btn:active {
        transform: scale(0.95);
    }
    
    .mobile-menu-btn span {
        display: block;
        height: 2px;
        width: 100%;
        background: linear-gradient(90deg, #ffffff, #00c6ff);
        border-radius: 1px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }
    
    /* 汉堡菜单动画 - 更流畅的X形变换 */
    .mobile-menu-btn.active {
        background: rgba(0, 198, 255, 0.2);
        border-color: rgba(0, 198, 255, 0.4);
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: linear-gradient(90deg, #00c6ff, #ffffff);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0) translateX(10px);
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background: linear-gradient(90deg, #00c6ff, #ffffff);
    }
    
    /* 添加脉冲效果 */
    .mobile-menu-btn.active::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(0, 198, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        animation: pulse 0.6s ease-out;
    }
    
    @keyframes pulse {
        0% {
            width: 0;
            height: 0;
            opacity: 1;
        }
        100% {
            width: 40px;
            height: 40px;
            opacity: 0;
        }
    }
    
    /* 波纹动画 */
    @keyframes ripple {
        0% {
            transform: scale(0);
            opacity: 1;
        }
        100% {
            transform: scale(1);
            opacity: 0;
        }
    }
    
    /* 移动端导航菜单 */
    .nav-list {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(6, 45, 75, 0.98);
        backdrop-filter: blur(15px);
        border-top: 1px solid rgba(0, 198, 255, 0.3);
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    
    .nav-list.active {
        max-height: 400px;
        padding: 20px 0;
    }
    
    .nav-item {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px 20px;
        color: #ffffff;
        font-size: 1rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        min-height: 48px;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(0, 198, 255, 0.1);
        color: #00c6ff;
    }
    
    /* 语言切换按钮优化 */
    .lang-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
    }
    
    .lang-toggle img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }
}

/* 3. 移动端英雄区域优化 */
@media screen and (max-width: 768px) {
    
    .hero {
        min-height: 100vh !important;
        padding: 80px 0 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        /* margin-top: 60px !important;  */
        /* 为固定导航栏留出空间 */
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 24px;
        font-weight: 700;
        color: #ffffff;
    }
    
    .hero p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 32px;
        color: rgba(255, 255, 255, 0.9);
        text-align: left;
    }
    
    .hero-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        margin: 32px 0;
    }
    
    .badge {
        background: rgba(0, 198, 255, 0.1);
        border: 1px solid rgba(0, 198, 255, 0.3);
        color: #00c6ff;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 500;
    }
}

/* 4. 移动端卡片和网格优化 */
@media screen and (max-width: 768px) {
    
    /* 通用网格优化 */
    .services-grid,
    .annotation-grid,
    .areas-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* 核心竞争力模块使用核心业务模块的显示方式 */
    .advantages-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 16px !important;
        overflow-x: visible !important;
        flex-direction: column !important;
    }
    
    /* 卡片优化 */
    .service-card,
    .annotation-card,
    .area-card {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 24px;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }
    
    /* 核心竞争力卡片使用核心业务卡片的样式 */
    .advantage-card {
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 16px !important;
        padding: 24px !important;
        transition: all 0.3s ease !important;
        backdrop-filter: blur(10px) !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-width: auto !important;
        flex-shrink: 1 !important;
    }
    
    .service-card:hover,
    .advantage-card:hover,
    .annotation-card:hover,
    .area-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 32px rgba(0, 198, 255, 0.2);
        border-color: rgba(0, 198, 255, 0.3);
    }
    
    /* 图标优化 */
    .service-icon,
    .annotation-icon,
    .area-icon {
        width: 60px !important;
        height: 60px !important;
        margin: 0 auto 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(0, 198, 255, 0.1) !important;
        border-radius: 12px !important;
    }
    
    .service-icon-img,
    .annotation-icon-img,
    .area-icon-img {
        width: 32px !important;
        height: 32px !important;
        object-fit: contain !important;
    }
    
    /* 核心竞争力图标使用核心业务图标的样式 */
    .advantage-icon {
        width: 60px !important;
        height: 60px !important;
        margin: 0 auto 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(0, 198, 255, 0.1) !important;
        border-radius: 12px !important;
    }
    
    .advantage-icon-img {
        width: 32px !important;
        height: 32px !important;
        object-fit: contain !important;
    }
    
    /* 标题优化 */
    .service-card h3,
    .annotation-card h3,
    .area-card h3 {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 16px;
        color: #ffffff;
        text-align: center;
    }
    
    /* 核心竞争力标题使用核心业务标题的样式 */
    .advantage-card h3 {
        font-size: 1.3rem !important;
        font-weight: 600 !important;
        margin-bottom: 16px !important;
        color: #ffffff !important;
        text-align: center !important;
    }
    
    /* 描述文字优化 */
    .service-card p,
    .annotation-card p,
    .area-card p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 20px;
        text-align: center;
    }
    
    /* 核心竞争力描述使用核心业务描述的样式 */
    .advantage-card p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        color: rgba(255, 255, 255, 0.8) !important;
        margin-bottom: 20px !important;
        /* text-align: center !important; */
    }
    
    /* 特性标签样式 */
    .advantage-features {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 16px !important;
    }
    
    .feature-tag {
        display: inline-block !important;
        /* padding: 4px 12px !important; */
        background: rgba(0, 198, 255, 0.2) !important;
        border: 1px solid rgba(0, 198, 255, 0.3) !important;
        border-radius: 16px !important;
        font-size: 0.8rem !important;
        color: #00c6ff !important;
        font-weight: 500 !important;
    }
    
    /* 按钮优化 */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 24px;
        background: linear-gradient(135deg, #00c6ff, #0072ff);
        color: #ffffff;
        border: none;
        border-radius: 25px;
        font-size: 0.95rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        min-height: 44px;
        min-width: 120px;
        cursor: pointer;
    }
    
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 198, 255, 0.4);
    }
}

/* 5. 移动端区域标题优化 */
@media screen and (max-width: 768px) {
    
    .section-title {
        text-align: center;
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .section-title h2 {
        font-size: 2rem;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 16px;
        line-height: 1.3;
    }
    
    .section-title p {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
    }
}

/* 6. 移动端关于我们区域优化 */
@media screen and (max-width: 768px) {
    
    .about {
        padding: 80px 0;
    }
    
    .about-content {
        display: flex;
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }
    
    .about-text {
        order: 2;
        text-align: center;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 20px;
    }
    
    .image-container {
        order: 1 !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        display: block !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .responsive-image {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
        object-fit: cover !important;
        display: block !important;
    }
}

/* 7. 移动端案例轮播优化 */
@media screen and (max-width: 768px) {
    
    .cases-scroll-container {
        padding: 0 16px;
        margin: 0 auto;
    }
    
    .cases-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 0 20px 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .cases-track::-webkit-scrollbar {
        display: none;
    }
    
    .case-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 24px;
        backdrop-filter: blur(10px);
    }
    
    .case-logo {
        font-size: 1.2rem;
        font-weight: 600;
        color: #00c6ff;
        margin-bottom: 16px;
        text-align: center;
    }
    
    .case-card p {
        font-size: 0.9rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8);
        text-align: center;
    }
    
    /* 案例导航控件优化 */
    .cases-navigation {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-top: 32px;
        padding: 16px 20px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .case-nav-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(0, 198, 255, 0.15);
        border: 2px solid rgba(0, 198, 255, 0.4);
        color: #00c6ff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        touch-action: manipulation;
        position: relative;
        overflow: hidden;
    }
    
    .case-nav-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(0, 198, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
    }
    
    .case-nav-btn:active::before {
        width: 100%;
        height: 100%;
    }
    
    /* 移动端触摸滑动优化 */
    .cases-track {
        touch-action: pan-x; /* 只允许水平滑动 */
        -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
        will-change: transform; /* 优化动画性能 */
    }
    
    /* 触摸滑动时的视觉反馈 */
    .cases-track.dragging {
        transition: none !important;
    }
    
    /* 移动端案例卡片触摸优化 */
    .case-card {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent; /* 移除点击高亮 */
    }
    
    /* 移动端指示器触摸优化 */
    .case-indicator {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        min-width: 12px;
        min-height: 12px;
    }
    
    .case-nav-btn:hover {
        background: rgba(0, 198, 255, 0.25);
        border-color: rgba(0, 198, 255, 0.6);
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
    }
    
    .case-nav-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
        transform: none;
        background: rgba(0, 198, 255, 0.05);
        border-color: rgba(0, 198, 255, 0.1);
        color: rgba(0, 198, 255, 0.3);
    }
    
    .case-nav-btn:disabled:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* 案例指示器优化 */
    .case-indicators {
        display: none; /* 移动端隐藏案例指示器 */
        gap: 12px;
        align-items: center;
        padding: 8px 16px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .case-indicator {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        position: relative;
    }
    
    .case-indicator::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(0, 198, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
    }
    
    .case-indicator:hover {
        background: rgba(0, 198, 255, 0.4);
        transform: scale(1.2);
        border-color: rgba(0, 198, 255, 0.3);
    }
    
    .case-indicator:hover::before {
        width: 100%;
        height: 100%;
    }
    
    .case-indicator.active {
        background: #00c6ff;
        transform: scale(1.3);
        border-color: rgba(0, 198, 255, 0.5);
        box-shadow: 0 0 15px rgba(0, 198, 255, 0.4);
    }
    
    .case-indicator.active::before {
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
    }
    
    /* 案例导航动画增强 */
    .cases-navigation {
        animation: slideInUp 0.6s ease-out;
    }
    
    @keyframes slideInUp {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* 指示器脉冲动画 */
    .case-indicator.active {
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0%, 100% {
            box-shadow: 0 0 15px rgba(0, 198, 255, 0.4);
        }
        50% {
            box-shadow: 0 0 25px rgba(0, 198, 255, 0.6);
        }
    }
}

/* 8. 移动端客户区域优化 */
@media screen and (max-width: 768px) {
    
    .client-categories {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        margin-bottom: 32px;
        padding: 0 16px;
    }
    
    .category-btn {
        padding: 8px 16px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .category-btn.active,
    .category-btn:hover {
        background: rgba(0, 198, 255, 0.1);
        border-color: rgba(0, 198, 255, 0.3);
        color: #00c6ff;
    }
    
    .client-logos-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 16px;
    }
    
    .client-logo-item {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 20px;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .client-logo-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 198, 255, 0.2);
    }
    
    .client-logo {
        width: 80px !important;
        height: 40px !important;
        margin: 0 auto 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 8px !important;
    }
    
    .client-logo img {
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        width: auto !important;
        height: auto !important;
    }
    
    .client-name {
        font-size: 0.9rem;
        font-weight: 500;
        color: #ffffff;
        margin-bottom: 8px;
    }
    
    .client-info {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.6);
    }
}

/* 9. 移动端页脚优化 */
@media screen and (max-width: 768px) {
    
    .footer {
        padding: 60px 0 40px;
    }
    
    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        /* gap: 32px; */
        padding: 0 16px;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
        font-weight: 600;
        color: #ffffff;
        margin-bottom: 16px;
    }
    
    .footer-section p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 16px;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.9rem;
        transition: color 0.3s ease;
    }
    
    .footer-links a:hover {
        color: #00c6ff;
    }
    
    .footer-bottom {
        text-align: center;
        padding-top: 32px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 32px;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
    }
}

/* 10. 移动端返回顶部按钮优化 */
@media screen and (max-width: 768px) {
    
    .back-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        background: rgba(0, 198, 255, 0.9);
        border: none;
        border-radius: 50%;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
    }
    
    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .back-to-top:hover {
        background: rgba(0, 198, 255, 1);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 198, 255, 0.4);
    }
}

/* 11. 移动端触摸优化 */
@media screen and (max-width: 768px) {
    
    /* 触摸目标最小尺寸 */
    .btn,
    .nav-link,
    .mobile-menu-btn,
    .case-nav-btn,
    .category-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* 汉堡菜单触摸优化 */
    .mobile-menu-btn {
        min-height: 44px;
        min-width: 44px;
        margin-top: 8px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* 禁用双击缩放 */
    * {
        touch-action: manipulation;
    }
    
    /* 优化滚动性能 */
    .cases-track,
    .client-logos-grid {
        -webkit-overflow-scrolling: touch;
    }
    
    /* 移除点击高亮 */
    .btn,
    .nav-link,
    .mobile-menu-btn,
    .case-nav-btn,
    .category-btn,
    .case-indicator {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

/* 12. 移动端性能优化 */
@media screen and (max-width: 768px) {
    
    /* 减少动画复杂度 */
    .service-card,
    .advantage-card,
    .annotation-card,
    .area-card,
    .case-card,
    .client-logo-item {
        will-change: transform;
    }
    
    /* 优化重绘 */
    .nav-list,
    .mobile-menu-btn span {
        will-change: transform, opacity;
    }
    
    /* 减少阴影复杂度 */
    .service-card:hover,
    .advantage-card:hover,
    .annotation-card:hover,
    .area-card:hover {
        box-shadow: 0 4px 16px rgba(0, 198, 255, 0.15);
    }
}

/* 13. 小屏设备特殊优化 */
@media screen and (max-width: 480px) {
    
    .container {
        padding: 0 12px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.7rem;
    }
    
    .service-card,
    .advantage-card,
    .annotation-card,
    .area-card {
        padding: 20px;
    }
    
    .case-card {
        flex: 0 0 260px;
        padding:0 0 0 20px;
        margin: 0 0 0 20px;
    }
    
    .client-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .client-logo {
        width: 70px !important;
        height: 35px !important;
    }
    
    .service-icon,
    .annotation-icon,
    .area-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .service-icon-img,
    .annotation-icon-img,
    .area-icon-img,
    .advantage-icon-img {
        width: 28px !important;
        height: 28px !important;
    }
}

/* 14. 横屏模式优化 */
@media screen and (max-width: 768px) and (orientation: landscape) {
    
    .hero {
        min-height: 80vh !important;
        padding: 60px 0 40px !important;
        /* margin-top: 60px !important;  */
        /* 为固定导航栏留出空间 */
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .nav-list.active {
        max-height: 300px;
    }
    
    .about,
    .services,
    .cases,
    .careers {
        padding: 60px 0;
    }
}

/* 15. 高DPI设备优化 */
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    
    .logo-img,
    .service-icon-img,
    .advantage-icon-img,
    .annotation-icon-img,
    .area-icon-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 16. 减少动画偏好优化 */
@media screen and (max-width: 768px) and (prefers-reduced-motion: reduce) {
    
    .service-card,
    .advantage-card,
    .annotation-card,
    .area-card,
    .case-card,
    .client-logo-item,
    .btn,
    .nav-link,
    .mobile-menu-btn span {
        transition: none;
        animation: none;
    }
    
    .service-card:hover,
    .advantage-card:hover,
    .annotation-card:hover,
    .area-card:hover {
        transform: none;
    }
}

/* 17. 子页面概述主标题居中修复（覆盖内联padding-left） */
.subpage .service-overview .overview-content > div > h3 {
    text-align: center !important;
    padding-left: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}
