/* ===== 移动端最终精细化优化补丁 ===== */

/* 修复移动端常见问题 */

/* 0. 移动端导航栏（仅手机端 ≤767px） */
@media (max-width: 767px) {
    /* 显示汉堡菜单按钮 */
    .nav-toggle {
        display: flex !important;
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10001 !important;
        background: transparent !important;
        border-radius: 6px !important;
        padding: 6px !important;
    }
    
    .nav-toggle span {
        width: 18px !important;
        height: 2px !important;
        background: white !important;
        border-radius: 2px !important;
    }
    
    .nav-toggle span:nth-child(2) {
        margin: 3px 0 !important;
    }
    
    /* 汉堡菜单激活状态 - 变叉 */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px) !important;
        transition: all 0.3s ease !important;
    }
    
    /* 顶部菜单 - 全屏下拉 */
    .nav-menu {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(10, 14, 26, 0.98) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding-top: 100px !important;
        padding: 100px 20px 20px !important;
        gap: 4px !important;
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.35s ease !important;
        z-index: 10000 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .nav-menu.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-menu .nav-item {
        width: 100% !important;
    }
    
    .nav-menu .nav-link {
        display: block !important;
        width: 100% !important;
        padding: 16px 20px !important;
        font-size: 1.1rem !important;
        text-align: center !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 10px !important;
        margin-bottom: 8px !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(0, 102, 204, 0.3) !important;
        color: #00bfff !important;
    }
    
    /* 隐藏底部Tab导航栏 */
    .bottom-tab-nav {
        display: none !important;
    }

    .nav-wrapper {
        justify-content: center !important;
    }

    .nav-brand .logo-tagline {
        display: none !important;
    }

    /* 底部 Tab 导航栏 */
    .bottom-tab-nav {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 10000 !important;
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        background: rgba(10, 14, 26, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 0 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
        padding-bottom: env(safe-area-inset-bottom, 0) !important;
    }

    /* Tab 项 */
    .tab-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        padding: 8px 12px !important;
        color: rgba(255, 255, 255, 0.6) !important;
        text-decoration: none !important;
        font-size: 0.75rem !important;
        transition: all 0.3s ease !important;
        flex: 1 !important;
        max-width: 80px !important;
        position: relative !important;
    }

    /* 图标 */
    .tab-item i {
        font-size: 1.3rem !important;
        transition: transform 0.3s ease !important;
    }

    /* 激活状态 */
    .tab-item.active {
        color: #00bfff !important;
    }

    .tab-item.active i {
        transform: scale(1.1) !important;
        color: #00bfff !important;
    }

    /* 激活项指示器（小圆点） */
    .tab-item.active::after {
        content: '' !important;
        position: absolute !important;
        top: 6px !important;
        right: 6px !important;
        width: 6px !important;
        height: 6px !important;
        background: #ff4757 !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 6px rgba(255, 71, 87, 0.6) !important;
    }

    /* 点击效果 */
    .tab-item:active {
        transform: scale(0.95) !important;
    }

    /* 为底部 Tab 导航留出空间，避免内容被遮挡 */
    main {
        padding-bottom: 70px !important;
    }
}

/* 0.5 平板/手机端完全隐藏轮播区域（≤1199px），电脑端保留 */
@media (max-width: 1199px) {
    /* 整个轮播 section 完全不占空间 */
    .hero-section {
        display: none !important;
    }
}

/* 1. 防止横向滚动条 */
@media (max-width: 991px) {
    /*
     * 重要：不能在 html/body 上直接 overflow-x: hidden，
     * 因为手机浏览器（Safari/Chrome）会把 fixed 定位的子元素（如 nav-menu）
     * 当作 absolute 处理，导致菜单被裁剪到屏幕外看不见。
     * 改为只在具体的内容容器上限制溢出。
     */
    html {
        overflow-x: hidden !important;
        overflow-y: auto;
    }
    body {
        overflow-x: hidden !important;
        overflow-y: auto;
        width: 100%;
        min-width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    /* box-sizing 全局设置，但排除 fixed 菜单和导航栏 */
    *:not(.nav-menu):not(.navbar):not(.nav-wrapper):not(.nav-toggle) {
        box-sizing: border-box;
    }

    /* 各内容区块限制溢出 */
    section,
    .container,
    .hero-section,
    .about-hero,
    .services-section,
    .solutions-section,
    .cases-section,
    .news-section,
    .careers-section,
    .contact-section,
    .footer {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
}

/* 2. 文字换行优化 */
@media (max-width: 991px) {
    .hero-title,
    .hero-description,
    .section-title,
    .page-title,
    .service-title,
    .product-title,
    .solution-title,
    .case-title,
    .news-title,
    .job-title,
    .benefit-title,
    .contact-title,
    .footer-link {
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* 长文本容器 */
    .hero-description,
    .service-description,
    .product-description,
    .solution-description,
    .case-description,
    .news-excerpt,
    .job-description,
    .benefit-description,
    .contact-text,
    .faq-answer p {
        overflow-wrap: break-word;
        word-break: break-word;
        line-height: 1.6;
    }
}

/* 3. 导航栏移动端优化（已改为横向滑动菜单，第0节已处理） */
/* 此节保留其他必要的移动端优化规则 */
}

/* 4. Hero区域优化 */
@media (max-width: 767px) {
    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-content {
        text-align: center;
        padding: 20px 0;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 16px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 24px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        padding: 0 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        min-height: 48px;
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .hero-visual {
        height: 280px;
        border-radius: 12px;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-visual {
        height: 220px;
    }
}

/* 5. 轮播图优化 */
@media (max-width: 767px) {
    .carousel-section {
        padding: 50px 0;
    }
    
    .carousel-slide {
        padding: 40px 0;
    }
    
    .carousel-slide .slide-title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 16px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .carousel-slide .slide-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 20px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .carousel-slide .slide-visual {
        height: 220px;
        border-radius: 12px;
    }
    
    .carousel-controls {
        padding: 0 15px;
    }
    
    .carousel-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        border-radius: 50%;
        font-size: 1.1rem;
    }
    
    .carousel-indicators {
        bottom: 30px;
        gap: 8px;
    }
    
    .carousel-indicator {
        width: 8px;
        height: 8px;
        min-width: 8px;
        min-height: 8px;
    }
    
    .carousel-indicator.active {
        width: 24px;
        border-radius: 4px;
    }
}

/* 6. 卡片组件优化 */
@media (max-width: 991px) {
    .service-card,
    .product-item,
    .solution-card,
    .case-card,
    .news-item,
    .job-card,
    .benefit-card,
    .contact-card {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .service-title,
    .product-title,
    .solution-title,
    .case-title,
    .news-title,
    .job-title,
    .benefit-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.4;
    }
    
    .service-description,
    .product-description,
    .solution-description,
    .case-description,
    .news-excerpt,
    .job-description,
    .benefit-description {
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.6;
    }
}

@media (max-width: 767px) {
    .service-card,
    .product-item,
    .solution-card,
    .case-card,
    .news-item,
    .job-card,
    .benefit-card,
    .contact-card {
        padding: 20px;
    }
    
    /* 产品服务方格内布局优化 - 标签靠右，文字居中 */
    .product-item {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-height: 120px !important;
    }
    
    .product-item .product-name {
        text-align: center !important;
        margin-bottom: 8px !important;
    }
    
    .product-item .product-desc {
        text-align: center !important;
        margin-bottom: 12px !important;
    }
    
    .product-item .product-features {
        align-self: flex-end !important;
        margin-top: auto !important;
    }
    
    .card-icon,
    .service-icon,
    .product-icon,
    .solution-icon,
    .benefit-icon,
    .contact-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
        font-size: 1.25rem;
    }
}

/* 7. 网格布局优化 */
@media (max-width: 991px) {
    .services-grid,
    .products-grid,
    .solutions-grid,
    .cases-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .services-grid,
    .products-grid,
    .solutions-grid,
    .cases-grid,
    .news-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .team-grid,
    .culture-grid,
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* 联系卡片内容水平对齐 */
    .contact-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        padding: 16px !important;
        min-height: auto !important;
        visibility: visible !important;
        overflow: visible !important;
    }
    
    .contact-card .contact-icon {
        margin-right: 12px !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
    }
    
    .contact-card .contact-info {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 !important;
        overflow: visible !important;
        visibility: visible !important;
    }
    
    .contact-card .contact-title {
        text-align: left !important;
        font-size: 0.9rem !important;
        margin-bottom: 4px !important;
        white-space: nowrap !important;
    }
    
    .contact-card .contact-text {
        text-align: left !important;
        font-size: 0.85rem !important;
        word-break: break-all !important;
    }
    
    /* 输入框placeholder字体缩小 */
    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        font-size: 0.8rem !important;
    }
    
    /* 下拉菜单占位文字缩小 */
    .contact-form select {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .team-grid,
    .culture-grid,
    .certificates-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* 8. 标签优化 */
@media (max-width: 767px) {
    .job-tags,
    .case-tags,
    .news-categories,
    .product-categories {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }
    
    .tag,
    .case-tag,
    .category-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
        white-space: nowrap;
        border-radius: 20px;
    }
    
    .product-categories .category-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* 9. 表单优化 */
@media (max-width: 767px) {
    .contact-form-container,
    .contact-form {
        width: 100%;
        max-width: 100%;
        padding: 24px;
    }
    
    .form-group {
        margin-bottom: 16px;
        width: 100%;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 0.9rem;
        font-weight: 500;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.05);
        color: white;
        transition: all 0.3s ease;
    }
    
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }
    
    .form-submit button {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
        min-height: 52px;
        border-radius: 8px;
    }
}

/* 10. FAQ优化 */
@media (max-width: 767px) {
    .faq-item {
        padding: 20px;
        border-radius: 12px;
        margin-bottom: 12px;
    }
    
    .faq-question {
        cursor: pointer;
        padding-right: 50px;
        position: relative;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
        font-weight: 600;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .faq-answer {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.7;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .faq-answer ul {
        margin: 12px 0;
        padding-left: 24px;
    }
    
    .faq-answer li {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* 11. 页面标题优化 */
@media (max-width: 767px) {
    .page-header {
        padding-top: 100px;
        padding-bottom: 40px;
        text-align: center;
    }
    
    .page-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 20px;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 0 20px;
    }
    
    .breadcrumb a,
    .breadcrumb span {
        white-space: nowrap;
    }
    
    .breadcrumb .separator {
        margin: 0 4px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding-top: 80px;
        padding-bottom: 30px;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
}

/* 12. Footer优化 */
@media (max-width: 991px) {
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 20px;
    }
    
    .footer-section {
        text-align: left;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .footer-link {
        font-size: 0.9rem;
        padding: 10px 0;
        display: block;
    }
    
    .footer-contact-item {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 15px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 20px 15px;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* 13. 聊天窗口优化 */
@media (max-width: 991px) {
    .chat-toggle {
        position: fixed;
        bottom: 24px;
        right: 24px;
        width: 56px;
        height: 56px;
        min-width: 56px;
        min-height: 56px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary-color), #4f46e5);
        color: white;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .chat-toggle:active {
        transform: scale(0.95);
    }
    
    .chat-window {
        position: fixed;
        bottom: 90px;
        right: 24px;
        left: 24px;
        width: auto;
        max-height: calc(100vh - 140px);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        z-index: 999;
    }
}

@media (max-width: 767px) {
    .chat-toggle {
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
        bottom: 20px;
        right: 20px;
        font-size: 1.25rem;
    }
    
    .chat-window {
        bottom: 80px;
        right: 15px;
        left: 15px;
        max-height: calc(100vh - 120px);
    }
    
    .chat-header {
        padding: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .chat-header h3 {
        font-size: 1rem;
    }
    
    .chat-messages {
        max-height: 300px;
        overflow-y: auto;
        padding: 16px;
    }
    
    .message {
        padding: 12px 16px;
        margin-bottom: 12px;
        border-radius: 12px;
        font-size: 0.9rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 85%;
    }
    
    .message.user {
        margin-left: auto;
        background: linear-gradient(135deg, var(--primary-color), #4f46e5);
        color: white;
    }
    
    .message.bot {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .chat-suggestions {
        padding: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .suggestion-btn {
        padding: 10px 16px;
        margin: 4px;
        font-size: 0.85rem;
        white-space: nowrap;
        border-radius: 20px;
    }
    
    .chat-input-area {
        padding: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        gap: 8px;
    }
    
    .chat-input-area input {
        flex: 1;
        padding: 12px 16px;
        font-size: 16px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.05);
        color: white;
    }
    
    .chat-send-btn {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        border-radius: 50%;
        border: none;
        background: linear-gradient(135deg, var(--primary-color), #4f46e5);
        color: white;
        font-size: 1.1rem;
        cursor: pointer;
    }
}

/* 14. Safe Area适配 */
@supports (padding: max(0px)) {
    @media (max-width: 767px) {
        .chat-window {
            bottom: max(80px, env(safe-area-inset-bottom) + 20px);
        }
        
        .chat-toggle {
            bottom: max(20px, env(safe-area-inset-bottom) + 20px);
        }
        
        .hero-section {
            padding-top: max(100px, env(safe-area-inset-top) + 80px);
        }
        
        .page-header {
            padding-top: max(100px, env(safe-area-inset-top) + 80px);
        }
    }
}

/* 15. 横屏模式优化 */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        padding-top: 60px;
        padding-bottom: 40px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
        max-width: 600px;
        margin: 0 auto 20px;
    }
    
    .hero-visual {
        height: 180px;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: auto;
        min-width: 140px;
    }
    
    section {
        padding: 35px 0;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .nav-menu {
        max-height: calc(100vh - 64px);
    }
    
    .chat-window {
        max-height: calc(100vh - 100px);
    }
}

/* 16. 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 增加可点击区域 */
    .btn,
    .nav-link,
    .card,
    .service-card,
    .product-item,
    .solution-card,
    .case-card,
    .news-item,
    .job-card,
    .benefit-card,
    .contact-card,
    .faq-question,
    .mobile-menu-btn,
    .chat-toggle,
    .suggestion-btn,
    .carousel-btn,
    .category-btn,
    .tag,
    .page-link,
    .footer-link,
    .social-link {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }
    
    /* 移除hover效果，避免闪烁 */
    .btn:hover,
    .card:hover,
    .service-card:hover,
    .product-item:hover,
    .solution-card:hover,
    .case-card:hover,
    .news-item:hover,
    .job-card:hover,
    .benefit-card:hover,
    .contact-card:hover {
        transform: none;
    }
    
    /* 添加active反馈 */
    .btn:active,
    .card:active,
    .service-card:active,
    .product-item:active,
    .solution-card:active,
    .case-card:active,
    .news-item:active,
    .job-card:active,
    .contact-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* 17. iOS特定优化 */
@supports (-webkit-touch-callout: none) {
    /* 防止iOS自动缩放 */
    input,
    textarea,
    select {
        font-size: 16px !important;
    }
    
    /* 平滑滚动 */
    .nav-menu,
    .chat-messages,
    .chat-window {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }
    
    /* 防止回弹效果 */
    .chat-window {
        overscroll-behavior: contain;
        -webkit-overscroll-behavior: contain;
    }
    
    /* 防止文本选择 */
    .btn,
    .nav-link,
    .carousel-btn,
    .chat-toggle {
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* 移除点击高亮 */
    .nav-menu::before {
        -webkit-tap-highlight-color: transparent;
    }
}

/* 18. Android特定优化 */
@supports not (-webkit-touch-callout: none) {
    /* 平滑滚动 */
    .nav-menu,
    .chat-messages {
        scroll-behavior: smooth;
    }
    
    /* 防止文本选择 */
    .btn,
    .nav-link,
    .carousel-btn,
    .chat-toggle {
        user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
}

/* 19. 高对比度模式 */
@media (prefers-contrast: high) {
    .btn,
    .card,
    .service-card,
    .product-item,
    .solution-card,
    .case-card,
    .news-item,
    .job-card,
    .benefit-card,
    .contact-card {
        border: 2px solid currentColor;
    }
    
    input,
    textarea,
    select {
        border-width: 2px;
    }
}

/* 20. 减少动画模式 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 21. 滚动条美化（移动端隐藏） */
@media (max-width: 767px) {
    .nav-menu::-webkit-scrollbar,
    .chat-messages::-webkit-scrollbar,
    .chat-window::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
    
    .nav-menu,
    .chat-messages,
    .chat-window {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
}

/* 22. 字体渲染优化 */
@media (max-width: 991px) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
}

/* 23. 图片优化 */
@media (max-width: 767px) {
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .hero-visual img,
    .carousel-slide .slide-visual img,
    .case-image img,
    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* 24. 按钮组优化 */
@media (max-width: 767px) {
    .btn-group {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .btn-group .btn {
        width: 100%;
        min-height: 48px;
    }
}

/* 25. 时间线优化 */
@media (max-width: 767px) {
    .timeline {
        padding: 20px 0;
    }
    
    /* 隐藏原有的垂直线 */
    .timeline::before {
        display: none !important;
    }
    
    .timeline-item {
        padding: 0 0 40px 0;
        position: relative;
        padding-left: 50px;
    }
    
    .timeline-item:last-child {
        padding-bottom: 0;
    }
    
    /* 圆圈 - 居中对齐 */
    .timeline-item::before {
        content: '';
        position: absolute;
        left: 15px;
        top: 0;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: linear-gradient(135deg, #0066cc, #00bfff);
        border: 3px solid var(--bg-dark, #0a0a2e);
        box-sizing: border-box;
        z-index: 2;
    }
    
    /* 垂直连接线 - 紧贴圆圈 */
    .timeline-item::after {
        content: '';
        position: absolute;
        left: 24px;
        top: 20px;
        bottom: 0;
        width: 2px;
        background: linear-gradient(180deg, #0066cc 0%, rgba(0, 102, 204, 0.3) 100%);
    }
    
    .timeline-item:last-child::after {
        display: none;
    }
    
    .timeline-year {
        font-size: 1.4rem;
        font-weight: 700;
        margin-bottom: 8px;
        color: var(--primary-color);
        position: static;
        width: 90px;
        height: 50px;
        background: none;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: linear-gradient(135deg, rgba(0, 102, 204, 0.15), rgba(0, 191, 255, 0.1));
        border-radius: 8px;
        border: 1px solid rgba(0, 102, 204, 0.3);
    }
    
    .timeline-title {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 8px;
    }
    
    .timeline-content {
        font-size: 0.9rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.7);
        min-height: auto;
        display: block;
    }
}

/* 26. 分页优化 */
@media (max-width: 767px) {
    .pagination {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        padding: 20px 0;
    }
    
    .page-link {
        min-width: 40px;
        min-height: 40px;
        padding: 10px 14px;
        font-size: 0.9rem;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* 27. 团队成员优化 */
@media (max-width: 767px) {
    .team-member {
        text-align: center;
        padding: 24px;
    }
    
    .member-avatar {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        margin: 0 auto 16px;
        overflow: hidden;
    }
    
    .member-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .member-name {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .member-role {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* 28. 社交链接优化 */
@media (max-width: 767px) {
    .social-links,
    .footer-social {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
    
    .social-link,
    .social-item {
        min-width: 48px;
        min-height: 48px;
        padding: 12px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .social-link i,
    .social-item i {
        font-size: 1.5rem;
    }
}

/* 29. 地图优化 */
@media (max-width: 767px) {
    .map-placeholder {
        padding: 40px 20px;
        text-align: center;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .map-placeholder i {
        font-size: 3.5rem;
        margin-bottom: 16px;
        color: var(--primary-color);
    }
    
    .map-placeholder p {
        font-size: 1rem;
        margin-bottom: 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .map-note {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
    }
}

/* 30. 最终修复：确保所有容器正确 */
@media (max-width: 991px) {
    /* 确保所有section容器正确 */
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* 确保所有grid不溢出 */
    .services-grid,
    .products-grid,
    .solutions-grid,
    .cases-grid,
    .news-grid,
    .benefits-grid,
    .team-grid,
    .culture-grid,
    .certificates-grid,
    .stats-grid,
    .partners-grid,
    .contact-cards,
    .process-steps {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* 确保所有卡片不溢出 */
    .service-card,
    .product-item,
    .solution-card,
    .case-card,
    .news-item,
    .job-card,
    .benefit-card,
    .contact-card,
    .team-member,
    .culture-card,
    .certificate-card,
    .stat-card,
    .partner-logo,
    .contact-card,
    .process-step {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    /* ===== 齿轮轮播 Logo 不受 width:100% 规则影响 ===== */
    .gear-logo-row .partner-logo {
        width: auto !important;
        max-width: none !important;
        overflow: visible !important;
    }
}

/* 31. 超小屏特别优化 */
@media (max-width: 360px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .service-card,
    .product-item,
    .solution-card,
    .case-card,
    .news-item,
    .job-card,
    .benefit-card,
    .contact-card {
        padding: 16px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        min-height: 44px;
    }
}

/* 32. 服务卡片精细优化 - 解决移动端文字排序混乱 */
@media (max-width: 991px) {
    /* 确保服务网格布局正确 */
    .services-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
    }
    
    /* 统一服务卡片样式 */
    .service-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 14px !important;
        border-radius: 10px !important;
        text-align: left !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        min-height: auto !important;
    }
    
    /* 图标样式 */
    .service-icon {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
    }
    
    /* 标题样式 - 单行显示 */
    .service-title {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
        width: 100% !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* 描述文字样式 - 最多2行 */
    .service-description {
        font-size: 0.8rem !important;
        line-height: 1.45 !important;
        color: rgba(255, 255, 255, 0.7) !important;
        margin-bottom: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    /* 特性列表样式 - 最多显示2项 */
    .service-features {
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-top: 10px !important;
        margin-top: auto !important;
        width: 100% !important;
    }
    
    .service-features li {
        font-size: 0.75rem !important;
        line-height: 1.35 !important;
        color: rgba(255, 255, 255, 0.6) !important;
        padding: 4px 0 4px 14px !important;
        margin: 0 !important;
        position: relative !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        list-style: none !important;
        display: block !important;
    }
    
    .service-features li:nth-child(n+3) {
        display: none !important;
    }
    
    .service-features li::before {
        content: '•' !important;
        position: absolute !important;
        left: 0 !important;
        color: #00d4ff !important;
        font-weight: bold !important;
    }
}

/* 手机端 (576px - 767px) */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 0 10px !important;
    }
    
    .service-card {
        padding: 14px 12px !important;
        border-radius: 8px !important;
    }
    
    .service-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        font-size: 1rem !important;
        margin-bottom: 10px !important;
    }
    
    .service-title {
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
    }
    
    .service-description {
        font-size: 0.78rem !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
        -webkit-line-clamp: 2 !important;
    }
    
    .service-features {
        padding-top: 8px !important;
    }
    
    .service-features li {
        font-size: 0.72rem !important;
        padding: 3px 0 3px 14px !important;
        line-height: 1.3 !important;
    }
}

/* 小型手机 (480px及以下) */
@media (max-width: 480px) {
    .services-grid {
        gap: 10px !important;
        padding: 0 8px !important;
    }
    
    .service-card {
        padding: 12px 10px !important;
    }
    
    .service-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
    }
    
    .service-title {
        font-size: 0.85rem !important;
        margin-bottom: 5px !important;
    }
    
    .service-description {
        font-size: 0.72rem !important;
        line-height: 1.35 !important;
        margin-bottom: 6px !important;
        -webkit-line-clamp: 2 !important;
    }
    
    .service-features {
        padding-top: 6px !important;
    }
    
    .service-features li {
        font-size: 0.68rem !important;
        padding: 2px 0 2px 12px !important;
        line-height: 1.25 !important;
    }
}

/* iPad Pro特别优化（768-1024px） */
@media (min-width: 768px) and (max-width: 1024px) {
    /* 隐藏底部Tab导航栏 */
    .bottom-tab-nav {
        display: none !important;
    }
    
    /* 隐藏解决方案页面的行业解决方案8个方格 */
    .solutions-section .solutions-list {
        display: none !important;
    }
    
    /* 产品服务方格布局 - 标签靠右，文字居中 */
    .products-grid .product-item {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-height: 140px !important;
    }
    
    .products-grid .product-item .product-name {
        text-align: center !important;
        margin-bottom: 6px !important;
    }
    
    .products-grid .product-item .product-desc {
        text-align: center !important;
        margin-bottom: 10px !important;
    }
    
    .products-grid .product-item .product-features {
        align-self: flex-end !important;
        margin-top: auto !important;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
        padding: 0 16px !important;
    }
    
    .service-card {
        padding: 18px 16px !important;
    }
    
    .service-icon {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
        font-size: 1.15rem !important;
        margin-bottom: 12px !important;
    }
    
    .service-title {
        font-size: 1.05rem !important;
    }
    
    .service-description {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
    }
    
    .service-features li {
        font-size: 0.82rem !important;
    }
    
    /* ===== 成功案例页面 - 平板端单列布局 ===== */
    .cases-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 0 16px !important;
    }
    
    .cases-grid .case-card {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        overflow: hidden !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        transition: all 0.3s ease !important;
    }
    
    .cases-grid .case-card .case-image {
        width: 320px !important;
        min-width: 320px !important;
        height: 220px !important;
        overflow: hidden !important;
        border-radius: 12px 0 0 12px !important;
        margin: 0 !important;
    }
    
    .cases-grid .case-card .case-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.3s ease !important;
    }
    
    .cases-grid .case-card .case-content {
        flex: 1 !important;
        padding: 24px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .cases-grid .case-card .case-category {
        display: inline-block !important;
        padding: 6px 14px !important;
        font-size: 0.78rem !important;
        font-weight: 600 !important;
        border-radius: 20px !important;
        background: linear-gradient(135deg, rgba(0, 102, 204, 0.2), rgba(0, 191, 255, 0.15)) !important;
        color: #00bfff !important;
        border: 1px solid rgba(0, 191, 255, 0.3) !important;
        margin-bottom: 12px !important;
        text-align: center !important;
    }
    
    .cases-grid .case-card .case-title {
        font-size: 1.2rem !important;
        font-weight: 700 !important;
        color: var(--text-primary) !important;
        margin-bottom: 10px !important;
        line-height: 1.4 !important;
        text-align: center !important;
    }
    
    .cases-grid .case-card .case-description {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        color: rgba(255, 255, 255, 0.7) !important;
        margin-bottom: 14px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-align: center !important;
    }
    
    .cases-grid .case-card .case-features {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: center !important;
    }
    
    .cases-grid .case-card .case-features span {
        padding: 4px 12px !important;
        font-size: 0.75rem !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 12px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    /* 案例卡片悬停效果 */
    .cases-grid .case-card:hover {
        border-color: rgba(0, 191, 255, 0.3) !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
    }
    
    .cases-grid .case-card:hover .case-image img {
        transform: scale(1.05) !important;
    }
    
    /* ===== 招贤纳士页面 - 平板端应聘按钮定位到右上角 ===== */
    .job-card {
        position: relative !important;
        padding: 50px 20px 20px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .job-card .apply-btn {
        position: absolute !important;
        top: 16px !important;
        right: 16px !important;
        padding: 8px 18px !important;
        font-size: 0.85rem !important;
        z-index: 10 !important;
    }
    
    .job-card .job-header {
        width: 100% !important;
        text-align: left !important;
    }
    
    .job-card .job-title {
        font-size: 1.3rem !important;
        font-weight: 700 !important;
        color: var(--text-primary) !important;
        margin-bottom: 12px !important;
    }
    
    .job-card .job-description {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        color: rgba(255, 255, 255, 0.75) !important;
        margin-bottom: 16px !important;
        text-align: left !important;
        width: 100% !important;
    }
    
    .job-card .job-requirements {
        width: 100% !important;
        text-align: left !important;
    }
    
    .job-card .job-requirements h4 {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: var(--primary-color) !important;
        margin-bottom: 8px !important;
    }
    
    .job-card .job-requirements ul {
        padding-left: 20px !important;
    }
    
    .job-card .job-requirements li {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        color: rgba(255, 255, 255, 0.7) !important;
        margin-bottom: 4px !important;
    }
}

/* ===== 成功案例页面 - 手机端案例方格：图片在上，介绍在下 ===== */
@media (max-width: 767px) {
    .cases-grid .case-card {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        overflow: hidden !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .cases-grid .case-card .case-image {
        width: 100% !important;
        min-width: unset !important;
        height: 200px !important;
        overflow: hidden !important;
        border-radius: 12px 12px 0 0 !important;
        margin: 0 !important;
    }

    .cases-grid .case-card .case-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .cases-grid .case-card .case-content {
        flex: 1 !important;
        padding: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        text-align: left !important;
        width: 100% !important;
    }

    .cases-grid .case-card .case-category {
        display: inline-block !important;
        padding: 4px 12px !important;
        font-size: 0.76rem !important;
        font-weight: 600 !important;
        border-radius: 20px !important;
        background: linear-gradient(135deg, rgba(0, 102, 204, 0.2), rgba(0, 191, 255, 0.15)) !important;
        color: #00bfff !important;
        border: 1px solid rgba(0, 191, 255, 0.3) !important;
        margin-bottom: 10px !important;
    }

    .cases-grid .case-card .case-title {
        font-size: 1rem !important;
        font-weight: 700 !important;
        margin-bottom: 8px !important;
        line-height: 1.4 !important;
        text-align: left !important;
    }

    .cases-grid .case-card .case-description {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
        color: rgba(255, 255, 255, 0.7) !important;
        margin-bottom: 12px !important;
        text-align: left !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .cases-grid .case-card .case-features {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        justify-content: flex-start !important;
    }

    .cases-grid .case-card .case-features span {
        padding: 3px 10px !important;
        font-size: 0.72rem !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 12px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
}

/* ===== 手机端隐藏不需要的元素 ===== */
@media (max-width: 767px) {
    /* 1. 隐藏底部Tab导航栏（首页、关于等） */
    .bottom-tab-nav {
        display: none !important;
    }
    
    /* 2. 隐藏首页核心业务部分 */
    .services-section {
        display: none !important;
    }
    
    /* 3. 隐藏关于我们页面的公司介绍部分（about-section） */
    .about-section {
        display: none !important;
    }
    
    /* 4. 隐藏底部footer栏 */
    .footer {
        display: none !important;
    }
    
    /* 5. 隐藏招贤纳士页面的热招职位部分 */
    .jobs-section {
        display: none !important;
    }
    
    /* 6. 隐藏联系我们页面的标题区域 */
    .contact-info-section .section-header {
        display: none !important;
    }
    
    /* 7. 隐藏联系我们页面的联系信息卡片 */
    .contact-info-section .contact-cards {
        display: none !important;
    }
    
    /* 7. 表单select选项字体缩小 */
    .contact-form select option {
        font-size: 0.85rem !important;
    }
    
    /* 隐藏footer后，不需要为底部Tab导航预留空间 */
    main {
        padding-bottom: 0 !important;
    }
    
    /* ===== 修复手机端导航栏logo显示不全 ===== */
    /* 导航栏容器 - 允许内容完整显示，增加高度 */
    .navbar {
        overflow: visible !important;
        height: auto !important;
        min-height: 80px !important;
        padding: 8px 0 !important;
    }
    
    .navbar .container {
        height: auto !important;
        min-height: 80px !important;
        overflow: visible !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
    
    /* 导航栏包装器 - logo靠左显示 */
    .nav-wrapper {
        justify-content: flex-start !important;
        padding: 5px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        min-height: 64px !important;
    }
    
    /* logo整体容器 - 允许完整显示 */
    .nav-brand .logo {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        flex-direction: row !important;
        overflow: visible !important;
        white-space: nowrap !important;
    }
    
    /* logo图标容器 */
    .nav-brand .logo-icon {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        flex-shrink: 0 !important;
    }
    
    /* logo图标SVG - 适当缩小但保持完整 */
    .nav-brand .logo-icon svg {
        width: 48px !important;
        height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
    }
    
    /* logo文字容器 */
    .nav-brand .logo-text-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        overflow: visible !important;
    }
    
    /* logo主文字 */
    .nav-brand .logo-text {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
        overflow: visible !important;
    }
    
    /* logo标语 - 显示slogan */
    .nav-brand .logo-tagline {
        display: block !important;
        font-size: 0.7rem !important;
        color: rgba(255, 255, 255, 0.7) !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
        margin-top: 2px !important;
    }
}

/* ===== 解决方案卡片样式优化 ===== */

/* 标签样式优化 - 显示在内容区顶部 */
.solution-card {
    position: relative !important;
}

.solution-card .solution-tag {
    display: inline-block !important;
    padding: 4px 12px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    margin-bottom: 12px !important;
}

/* 标签颜色 */
.solution-card .solution-tag:contains("热门") {
    background: linear-gradient(135deg, #ff6b6b, #ff4757) !important;
    color: white !important;
}

.solution-tag:contains("热门") {
    background: linear-gradient(135deg, #ff6b6b, #ff4757) !important;
    color: white !important;
}

.solution-card .solution-tag:contains("推荐") {
    background: linear-gradient(135deg, #ffa502, #ff6348) !important;
    color: white !important;
}

.solution-tag:contains("推荐") {
    background: linear-gradient(135deg, #ffa502, #ff6348) !important;
    color: white !important;
}

/* 无标签的卡片，移除默认标签 */
.solution-card:not(:has(.solution-tag)) .solution-tag {
    display: none !important;
}

/* 解决方案卡片内容区布局优化 */
.solution-card .solution-content {
    padding: 24px !important;
    text-align: left !important;
}

.solution-card .solution-title {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: var(--text-primary) !important;
}

.solution-card .solution-subtitle {
    font-size: 1rem !important;
    color: var(--primary-color) !important;
    margin-bottom: 16px !important;
    font-weight: 500 !important;
}

.solution-card .solution-description {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 16px !important;
}

.solution-card .solution-features {
    margin-bottom: 20px !important;
}

.solution-card .solution-features li {
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.solution-card .solution-features li:last-child {
    border-bottom: none !important;
}

.solution-card .solution-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.solution-card .solution-link:hover {
    color: var(--accent-color) !important;
    gap: 12px !important;
}

/* 极小屏幕优化（≤360px） */
@media (max-width: 360px) {
    .navbar {
        min-height: 70px !important;
    }
    
    .navbar .container {
        min-height: 70px !important;
    }
    
    .nav-wrapper {
        min-height: 56px !important;
    }
    
    .nav-brand .logo-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
    
    .nav-brand .logo-icon svg {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
    }
    
    .nav-brand .logo-text {
        font-size: 1rem !important;
    }
    
    .nav-brand .logo-tagline {
        font-size: 0.65rem !important;
    }
}

/* ===== 产品服务页面手机端优化 ===== */
@media (max-width: 767px) {
    /* 分类标题字体缩小两码 */
    .product-category .category-title {
        font-size: 1.1rem !important;
    }
    
    .product-category .category-description {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
    }
    
    /* 解决方案产品包 - 2列布局 */
    .solution-packages {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 !important;
    }
    
    /* 解决方案方格样式优化 */
    .solution-package {
        padding: 16px 12px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        border-radius: 10px !important;
    }
    
    .solution-package .package-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .solution-package .package-title {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        margin-bottom: 6px !important;
        color: var(--text-primary) !important;
    }
    
    .solution-package .package-desc {
        font-size: 0.72rem !important;
        line-height: 1.4 !important;
        color: rgba(255, 255, 255, 0.7) !important;
        margin-bottom: 8px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    .solution-package .package-features {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        justify-content: center !important;
    }
    
    .solution-package .package-features span {
        font-size: 0.65rem !important;
        padding: 2px 8px !important;
        background: rgba(0, 102, 204, 0.15) !important;
        border-radius: 10px !important;
        color: #00bfff !important;
    }
}

/* 极小屏幕进一步优化 */
@media (max-width: 360px) {
    .product-category .category-title {
        font-size: 1rem !important;
    }
    
    .solution-package {
        padding: 12px 8px !important;
    }
    
    .solution-package .package-title {
        font-size: 0.8rem !important;
    }
    
    .solution-package .package-desc {
        font-size: 0.68rem !important;
        -webkit-line-clamp: 2 !important;
    }
}

/* ===== 解决方案页面手机端隐藏 ===== */
@media (max-width: 767px) {
    .solutions-list {
        display: none !important;
    }
}

/* ===== 招贤纳士页面 - 应聘流程手机端一行显示 ===== */
@media (max-width: 767px) {
    .process-steps {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 8px !important;
        padding: 10px 5px !important;
        width: 100% !important;
        overflow-x: auto !important;
    }
    
    .process-step {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        flex: 1 !important;
        min-width: 60px !important;
        max-width: 80px !important;
        padding: 8px 4px !important;
        width: auto !important;
    }
    
    .process-step .step-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .process-step .step-icon i {
        font-size: 0.9rem !important;
    }
    
    .process-step .step-title {
        font-size: 0.7rem !important;
        font-weight: 600 !important;
        margin-bottom: 4px !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
    }
    
    .process-step .step-description {
        display: none !important;
    }
    
    .process-step::after {
        display: none !important;
    }
}

/* ===== 招贤纳士页面 - 职位卡片按钮右上角定位 ===== */
/* 电脑端和平板端 */
.job-card {
    position: relative !important;
}

.job-card .apply-btn {
    position: absolute !important;
    top: 32px !important;
    right: 32px !important;
    z-index: 1;
}

/* 手机端 */
@media (max-width: 767px) {
    .job-card .apply-btn {
        position: absolute !important;
        top: 16px !important;
        right: 16px !important;
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }
}

/* ===== 招贤纳士页面 - 福利待遇2列布局 ===== */
@media (max-width: 767px) {
    .benefits-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 !important;
    }
    
    .benefit-card {
        padding: 16px 12px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        border-radius: 12px !important;
    }
    
    .benefit-card .benefit-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .benefit-card .benefit-icon i {
        font-size: 1.2rem !important;
    }
    
    .benefit-card .benefit-title {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        margin-bottom: 6px !important;
        color: var(--text-primary) !important;
    }
    
    .benefit-card .benefit-description {
        font-size: 0.72rem !important;
        line-height: 1.4 !important;
        color: rgba(255, 255, 255, 0.7) !important;
        margin: 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
}

/* 极小屏幕优化 */
@media (max-width: 360px) {
    .benefit-card {
        padding: 12px 8px !important;
    }
    
    .benefit-card .benefit-title {
        font-size: 0.8rem !important;
    }
    
    .benefit-card .benefit-description {
        font-size: 0.68rem !important;
    }
}

/* ===== 首页手机端轮播图 ===== */
@media (max-width: 767px) {
    /* 显示首页手机端专用轮播图 - 全宽竖向长方形 */
    .index-mobile-carousel {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
        min-height: calc(100vh - 180px) !important;
        max-height: calc(100vh - 180px) !important;
        position: relative !important;
        overflow: hidden !important;
        margin-top: 0 !important;
        padding: 0 !important;
        background: #0a0e1a !important;
    }
    
    .index-mobile-carousel .carousel-track {
        display: flex !important;
        flex: 1 !important;
        width: 100% !important;
        height: auto !important;
        transition: transform 0.5s ease !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    /* 手机端轮播幻灯片 - 覆盖基础样式的绝对定位 */
    .index-mobile-carousel .carousel-slide {
        min-width: 100% !important;
        width: 100% !important;
        height: 100% !important;
        min-height: calc(100vh - 240px) !important;
        max-height: calc(100vh - 240px) !important;
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: auto !important;
        display: block !important;
        flex-shrink: 0 !important;
        overflow: hidden !important;
        /* 隐藏非活动幻灯片 */
        display: none !important;
    }
    
    /* 活动幻灯片显示 */
    .index-mobile-carousel .carousel-slide.active {
        display: block !important;
    }
    
    .index-mobile-carousel .slide-bg {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: cover !important;
    }
    
    .index-mobile-carousel .carousel-controls {
        display: none !important;
    }
    
    .index-mobile-carousel .carousel-btn {
        display: none !important;
    }
    
    .index-mobile-carousel .carousel-indicators {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        position: relative !important;
        width: 100% !important;
        padding: 16px 0 !important;
        background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 26, 0.9) 100%) !important;
        z-index: 10 !important;
        flex-shrink: 0 !important;
    }
    
    .index-mobile-carousel .carousel-indicator {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.4) !important;
        border: none !important;
        cursor: pointer !important;
        transition: all 0.3s !important;
    }
    
    .index-mobile-carousel .carousel-indicator.active {
        background: #0066cc !important;
        width: 24px !important;
        border-radius: 5px !important;
    }
    
    .index-mobile-carousel .carousel-progress {
        display: none !important;
    }
    
    .index-mobile-carousel .carousel-progress-bar {
        height: 100% !important;
        background: #0066cc !important;
        width: 0% !important;
        transition: width 0.1s linear !important;
    }
}

/* 电脑端隐藏首页手机端轮播图 */
@media (min-width: 768px) {
    .index-mobile-carousel {
        display: none !important;
    }
}

/* ===== 首页平板端轮播图（768px-1024px） ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    /* 隐藏左右箭头按钮 - 无论横屏竖屏都隐藏 */
    .index-tablet-carousel .tablet-carousel-btn {
        display: none !important;
    }
    
    /* 显示平板端轮播图 */
    .index-tablet-carousel {
        display: block !important;
        width: 100% !important;
        position: relative !important;
        overflow: hidden !important;
        background: #0a0e1a !important;
        margin-bottom: 6px !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    /* 确保核心业务区域紧贴轮播图 */
    .services-section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .index-tablet-carousel .tablet-carousel-track {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        transition: transform 0.5s ease !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    .index-tablet-carousel .tablet-carousel-slide {
        min-width: 100% !important;
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 16 / 12 !important;
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: auto !important;
        display: block !important;
        flex-shrink: 0 !important;
        overflow: hidden !important;
        /* 默认隐藏，使用active显示 */
        display: none !important;
    }
    
    /* 活动幻灯片显示 */
    .index-tablet-carousel .tablet-carousel-slide.active {
        display: block !important;
    }
    
    .index-tablet-carousel .tablet-slide-bg {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: cover !important;
    }
    
    /* 轮播控制按钮 */
    .index-tablet-carousel .tablet-carousel-btn {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 48px !important;
        height: 48px !important;
        background: rgba(0, 0, 0, 0.5) !important;
        border: none !important;
        border-radius: 50% !important;
        color: white !important;
        font-size: 1.25rem !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
        z-index: 10 !important;
        opacity: 0.7 !important;
    }
    
    .index-tablet-carousel .tablet-carousel-btn:hover {
        background: rgba(0, 102, 204, 0.8) !important;
        opacity: 1 !important;
    }
    
    .index-tablet-carousel .tablet-carousel-btn-prev {
        left: 20px !important;
    }
    
    .index-tablet-carousel .tablet-carousel-btn-next {
        right: 20px !important;
    }
    
    /* 轮播指示器 - 固定在轮播图底部 */
    .index-tablet-carousel .tablet-carousel-indicators {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        position: absolute !important;
        bottom: 10px !important;
        width: 100% !important;
        z-index: 10 !important;
    }
    
    .index-tablet-carousel .tablet-carousel-indicator {
        width: 12px !important;
        height: 12px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.4) !important;
        border: none !important;
        cursor: pointer !important;
        transition: all 0.3s !important;
        padding: 0 !important;
    }
    
    .index-tablet-carousel .tablet-carousel-indicator.active {
        background: #0066cc !important;
        width: 28px !important;
        border-radius: 6px !important;
    }
    
    /* 轮播进度条 */
    .index-tablet-carousel .tablet-carousel-progress {
        display: none !important;
    }
    
    .index-tablet-carousel .tablet-carousel-progress-bar {
        height: 100% !important;
        background: #0066cc !important;
        width: 0% !important;
        transition: width 0.1s linear !important;
    }
}

/* 隐藏平板端轮播图（不在768-1024px范围内） */
@media (max-width: 767px) {
    .index-tablet-carousel {
        display: none !important;
    }
}

@media (min-width: 1025px) {
    .index-tablet-carousel {
        display: none !important;
    }
}
