/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* IE8及以下兼容 */
.lt-ie9 * {
    box-sizing: content-box;
}

/* 基础样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif; /* 优先使用微软雅黑以确保在IE中显示正常 */
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* IE8及以下兼容 */
.lt-ie9 body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
}

/* IE8及以下兼容 */
.lt-ie9 .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 为section添加弹性容器居中 */
.section {
    display: flex;
    justify-content: center;
}

/* 主要内容区域弹性布局 */
main {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* 二级页面内容与导航栏间距设置 */
.page-content {
    margin-top: 100px;
    margin-bottom: 60px;
    padding: 0 15px;
}

/* 为所有二级页面添加统一的顶部边距，避免被导航栏遮挡 */
body:not([class*="home"]) main {
    margin-top: 100px;
    padding-bottom: 60px;
}

/* 为主要内容区域添加更全面的外边距 */
body:not([class*="home"]) main.container {
    margin-top: 100px;
    margin-bottom: 35px;
    padding-left: 20px;
    padding-right: 20px;
}

/* 为服务详情和内容区域添加额外间距 */
.service-detail,
.content-section {
    margin-top: 30px;
    margin-bottom: 50px;
    padding: 40px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* 确保各模块内容居中 */
.section .container > h2,
.section .container > h1 {
    text-align: center;
}

/* 页面头部图片样式 */
.header-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
}

/* 全宽图片样式 */
.full-width-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* 安全服务页面图片样式优化 - 调整为合适尺寸 */
.security-page .header-image .full-width-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

/* 安全服务页面选项卡内容两列布局 */
.security-page .service-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.security-page .service-detail-image {
    flex: 0 0 250px;
    max-width: 250px;
    border-radius: 12px;
}

.security-page .service-detail-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    padding-left: 20px;
}

.full-width-image:hover {
    transform: scale(1.02);
}

/* 导航栏容器保持原有布局 */
.navbar .container {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

/* IE8及以下兼容 - 使用浮动布局替代flex */
.lt-ie9 .navbar .container {
    display: block;
    overflow: hidden;
}

.lt-ie9 .logo {
    float: left;
}

.lt-ie9 .nav-menu {
    float: right;
}

/* 导航栏样式 - 美化版本 */
.navbar {
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
}

.logo a {
    color: #2c3e50;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    gap: 12px;
}

.logo-image {
    height: 40px;
    width: auto;
    vertical-align: middle;
    display: block;
    transition: transform 0.3s ease;
}

.logo a:hover .logo-image {
    transform: scale(1.05);
}

.logo a span {
    white-space: nowrap;
}

/* 移动端响应式调整 */
@media (max-width: 768px) {
    .logo a {
        font-size: 18px;
        gap: 8px;
    }
    
    .logo-image {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .logo a {
        font-size: 16px;
    }
    
    .logo-image {
        height: 28px;
    }
}

.nav-menu ul, .nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li, .nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-menu a, .nav-links a {
    color: #34495e;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 8px 0;
    display: inline-block;
    position: relative;
}

.nav-menu a:hover, .nav-links a:hover {
    color: #3498db;
    transform: translateY(-2px);
}

/* 导航链接下方的精美下划线效果 */
.nav-menu a::after, .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after, .nav-links a:hover::after {
    width: 100%;
}

/* 当前活动链接样式 */
.nav-menu a.active, .nav-links a.active {
    color: #3498db;
    font-weight: 600;
}

.nav-menu a.active::after, .nav-links a.active::after {
    width: 100%;
}

/* 移动端菜单按钮 - 美化版 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 34px;
    height: 26px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    outline: none;
    position: relative;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3.5px;
    width: 100%;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    position: relative;
    opacity: 1;
}

/* 美化汉堡菜单的过渡动画 */
.menu-toggle:hover .bar {
    background-color: #3498db;
}

/* 点击时的更明显动画效果 */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
    width: 90%;
    background-color: #3498db;
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    width: 90%;
    background-color: #3498db;
}

/* 导航链接样式 */
.nav-links {
    display: flex;
    list-style: none;
}

/* 移动端菜单显示/隐藏 */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: #fff;
        width: 80%;
        height: 90vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* 汉堡菜单动画 */
    .menu-toggle .bar.active:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle .bar.active:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle .bar.active:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* 公司介绍页面响应式优化 */
    .header-image {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .content-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .content-section h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .content-section h2 {
        font-size: 18px;
        margin: 25px 0 15px;
    }
    
    .content-section p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .content-section ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .content-section li {
        padding: 12px 18px;
        font-size: 14px;
    }
}
/* 主要内容样式 */
main {
    padding-top: 70px;
}

.section {
    padding: 80px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 32px;
}

/* 公司介绍页面标题样式 */
.content-section h1 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
    display: inline-block;
}

.content-section h2 {
    font-size: 28px;
    color: #34495e;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.content-section .content-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

/* 资质证书列表样式 */
.content-section ul {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.content-section li {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 18px 24px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
    font-size: 15px;
    color: #555;
    position: relative;
    overflow: hidden;
}

.content-section li::before {
    content: "✓";
    color: #3498db;
    font-weight: bold;
    margin-right: 10px;
    font-size: 18px;
}

.content-section li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-left-color: #2980b9;
}

/* 英雄区域 */
.hero {
    background: -webkit-linear-gradient(135deg, #3498db, #2c3e50);
    background: -moz-linear-gradient(135deg, #3498db, #2c3e50);
    background: -o-linear-gradient(135deg, #3498db, #2c3e50);
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* IE8及以下兼容 - 使用纯色背景替代渐变 */
.lt-ie9 .hero {
    background-color: #3498db;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 12px 30px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

/* IE8及以下兼容 */
.lt-ie9 .btn-primary {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #c0392b;
}

/* 公司简介 */
.about {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* IE8及以下兼容 */
.lt-ie9 .about-content {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    text-align:left;
    width: 100%;
    margin-bottom: 40px;
    padding: 0 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0;
    text-indent: 2em;
}

/* 数据统计 */
.about-stats {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
}

/* IE8及以下兼容 */
.lt-ie9 .about-stats {
    display: block;
    overflow: hidden;
    margin-bottom: 40px;
}

.lt-ie9 .stat-item {
    float: left;
    width: 25%;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 图片容器 */
.about-image-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

/* 服务网格 */
.services-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(300px, 1fr))[auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* IE8及以下兼容 - 使用浮动布局替代grid */
.lt-ie9 .services-grid {
    display: block;
    overflow: hidden;
}

.lt-ie9 .service-item {
    float: left;
    width: 30%;
    margin-right: 5%;
    margin-bottom: 30px;
}

.lt-ie9 .service-item:nth-child(3n) {
    margin-right: 0;
}

.service-item {
    background-color: white;
    padding: 30px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease, -moz-box-shadow 0.3s ease;
    -o-transition: -o-transform 0.3s ease, -o-box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    text-align: center;
}

/* IE8及以下兼容 */
.lt-ie9 .service-item {
    background-color: white;
    padding: 30px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.service-item:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* 数字化和国产化区域 */
.digital .content, .localization .content {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.digital-image, .localization-image {
    width: 100%;
    max-width: 600px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    margin-bottom: 30px;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.digital-services, .localization-products {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(200px, 1fr))[auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.digital-item, .localization-item {
    background-color: white;
    padding: 20px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    -webkit-transition: -webkit-transform 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease;
    -o-transition: -o-transform 0.3s ease;
    transition: transform 0.3s ease;
}

.digital-item:hover, .localization-item:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
}

/* 合作伙伴展示样式优化 */
.partner-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.partner-item {
    padding: 30px;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.partner-item:hover {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
    box-shadow: none;
}

/* 调整图片显示方式以适应长方形盒子 */
.partner-logo {
    max-width: 60%;
    height: auto;
    transition: transform 0.3s ease;
}

.partner-item:hover .partner-logo {
    transform: translateY(-5px);
}

.partner-types {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(280px, 1fr))[auto-fill];
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.partner-type-item {
    background: #ffffff;
    padding: 28px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.partner-type-item:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.cooperation-cases {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(300px, 1fr))[auto-fill];
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.cooperation-case {
    background: -webkit-linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    background: -moz-linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    background: -o-linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    -moz-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-left: 4px solid #3498db;
}

.cooperation-case:hover {
    -webkit-transform: translateY(-4px);
    -moz-transform: translateY(-4px);
    -o-transform: translateY(-4px);
    transform: translateY(-4px);
    -webkit-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.btn-contact-partner {
    display: inline-block;
    background: -webkit-linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    background: -moz-linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    background: -o-linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 15px 35px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    -moz-box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-contact-partner:hover {
    -webkit-transform: translateY(-3px) scale(1.05);
    -moz-transform: translateY(-3px) scale(1.05);
    -o-transform: translateY(-3px) scale(1.05);
    transform: translateY(-3px) scale(1.05);
    -webkit-box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
    -moz-box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

/* 页脚样式优化 */
.footer {
    background: -webkit-linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    background: -moz-linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    background: -o-linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 50px 0 25px;
    position: relative;
    overflow: hidden;
}

/* IE8及以下兼容 - 使用纯色背景替代渐变 */
.lt-ie9 .footer {
    background-color: #2c3e50;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: -webkit-linear-gradient(90deg, #3498db, #2980b9);
    background: -moz-linear-gradient(90deg, #3498db, #2980b9);
    background: -o-linear-gradient(90deg, #3498db, #2980b9);
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.footer-content {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.footer-links {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    gap: 15px 25px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #3498db;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    -webkit-transition: width 0.3s ease;
    -moz-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
    transition: width 0.3s ease;
}

.footer-social {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.social-icon {
    display: -webkit-inline-flex;
    display: -moz-inline-flex;
    display: -ms-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
    font-size: 22px;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #3498db;
    -webkit-transform: translateY(-3px) scale(1.1);
    -moz-transform: translateY(-3px) scale(1.1);
    -o-transform: translateY(-3px) scale(1.1);
    transform: translateY(-3px) scale(1.1);
    -webkit-box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    -moz-box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* 动画效果 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px 0;
}

.contact-info {
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8f0fe;
    animation: fadeInUp 0.8s ease-out;
}

.contact-info h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    position: relative;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    width: 100%;
    margin-bottom: 30px;
}

.contact-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    animation: fadeInUp 0.6s ease-out backwards;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f4ff;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.contact-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #3498db;
    border-radius: 2px;
}

.contact-item p {
    margin-bottom: 12px;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-item p:last-child {
    margin-bottom: 0;
}

/* 二维码样式 */
.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 10px;
}

.qr-image {
    width: 220px;
    height: 220px;
    border: 3px solid #3498db;
    border-radius: 12px;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.qr-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    border-color: #2980b9;
}

.qr-container p {
    font-size: 16px;
    color: #666;
    font-weight: 500;
    margin: 0;
    padding: 0 20px;
}

/* IE8及以下兼容 */
.lt-ie9 .contact-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.lt-ie9 .contact-info {
    width: 100%;
    background-color: #ffffff;
    padding: 30px;
    border: 1px solid #e0e0e0;
    box-shadow: none;
}

.lt-ie9 .contact-details {
    width: 100%;
}

.lt-ie9 .contact-item {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    margin: 0 auto 30px;
}

/* FAQ区域IE8及以下兼容 */
.lt-ie9 .faq-section {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 30px;
    margin: 0 auto;
    max-width: 800px;
    box-shadow: none;
}

.lt-ie9 .faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: none;
    transition: none;
}

.lt-ie9 .faq-item:hover {
    transform: none;
    box-shadow: none;
}

.lt-ie9 .faq-item h3 {
    position: relative;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333333;
    text-align: left;
    padding-left: 0;
}

.lt-ie9 .faq-item h3::before,
.lt-ie9 .faq-item h3::after {
    display: none;
}

.lt-ie9 .faq-item p {
    text-align: left;
    margin: 0;
    padding-left: 0;
}

.lt-ie9 .faq-item p::before {
    display: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-container {
        padding: 10px 0;
    }
    
    .contact-info {
        padding: 25px 20px;
    }
    
    .contact-info h2,
    .faq-section h2 {
        font-size: 24px;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-item {
        padding: 20px;
    }
    
    .contact-item h3 {
        font-size: 20px;
    }
    
    .contact-item p {
        font-size: 15px;
        flex-direction: column;
        gap: 5px;
    }
    
    .qr-image {
        width: 180px;
        height: 180px;
    }
    
    .faq-section {
        padding: 25px 20px;
        margin-top: 30px;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .faq-item h3 {
        font-size: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .faq-item p {
        padding-left: 0;
        font-size: 15px;
    }
    
    .faq-item p::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .contact-info {
        padding: 20px 15px;
    }
    
    .contact-info h2,
    .faq-section h2 {
        font-size: 22px;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .contact-item h3 {
        font-size: 18px;
    }
    
    .contact-item p {
        font-size: 14px;
    }
    
    .qr-image {
        width: 160px;
        height: 160px;
        padding: 10px;
    }
    
    .faq-section {
        padding: 20px 15px;
    }
    
    .faq-item {
        padding: 15px;
    }
    
    .faq-item h3 {
        font-size: 17px;
    }
    
    .faq-item p {
        font-size: 14px;
    }
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.business-hours { animation-delay: 0.3s; }

.faq-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8f0fe;
    margin-top: 40px;
}

.faq-section h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    position: relative;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
}

.faq-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f4ff;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    border-color: #3498db;
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-item h3::before {
    content: 'Q';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.faq-item p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    padding-left: 44px;
    position: relative;
}

.faq-item p::before {
    content: 'A';
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #2ecc71;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
}

.faq-item:nth-child(1) { animation-delay: 0.4s; }
.faq-item:nth-child(2) { animation-delay: 0.5s; }
.faq-item:nth-child(3) { animation-delay: 0.6s; }

/* 合作伙伴小正方体样式 */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.partner-item {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.partner-image {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .partners-grid {
        gap: 15px;
        margin-top: 25px;
    }
    
    .partner-item {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        gap: 10px;
        margin-top: 20px;
    }
    
    .partner-item {
        width: 110px;
        height: 110px;
    }
}

/* IE10/11 兼容性  */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10+ 特定样式 */
    .services-grid,
    .digital-services,
    .localization-products,
    .partner-showcase,
    .partner-types,
    .cooperation-cases {
        display: block;
    }
    
    .service-item,
    .digital-item,
    .localization-item,
    .partner-item,
    .partner-type-item,
    .cooperation-case {
        display: inline-block;
        width: calc(33.333% - 20px);
        margin: 10px;
    }
    
    @media (max-width: 768px) {
        .service-item,
        .digital-item,
        .localization-item,
        .partner-item,
        .partner-type-item,
        .cooperation-case {
            width: 100%;
            margin: 10px 0;
        }
    }
}

/* 安全服务选项卡容器 */
.security-tabs {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 优化的tab导航容器样式 - 现代化美观设计 */
.tabs-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin-bottom: 30px;
    overflow: visible;
    position: relative;
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.85);
}

/* 滚动条保持隐藏，因为我们要实现全部展示 */
.tabs-nav::-webkit-scrollbar {
    display: none;
}

/* 优化的tab按钮样式 - 美观设计与交互效果 */
.tab-btn {
    padding: 14px 12px;
    border: none;
    background: transparent;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 13px;
    font-weight: 500;
    position: relative;
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
    min-height: 70px;
    text-align: center;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin: 0;
    box-sizing: border-box;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* 优化的悬停效果 */
.tab-btn:hover {
    color: #1e40af;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30, 64, 175, 0.15);
    z-index: 2;
}

/* 为非边缘按钮添加分隔线效果 */
.tab-btn:not(:nth-child(4n)) {
    border-right: 1px solid #e2e8f0;
}

.tab-btn:nth-child(4n) {
    border-right: none;
}

/* 为所有tab按钮添加完整的边框 */
.tab-btn {
    border-bottom: 1px solid #e2e8f0;
}

/* 移动端适配样式 */
@media screen and (max-width: 768px) {
    .security-tabs {
        padding: 15px;
    }
    
    .tabs-nav {
        border-radius: 10px;
        border-width: 1px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
        margin-bottom: 20px;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
        border-right-width: 1px;
    }
    
    .tab-btn.active {
        font-size: 14px;
        font-weight: 600;
    }
    
    .tabs-content {
        padding: 0 5px;
    }
    
    .service-detail {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .service-detail-image {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
        margin-right: 0;
    }
}

@media screen and (max-width: 480px) {
    .security-tabs {
        padding: 10px;
    }
    
    .tabs-nav {
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 13px;
        border-right-width: 1px;
    }
    
    .tab-content {
        padding: 15px 10px;
    }
    
    .service-detail {
        padding: 20px 10px;
    }
    
    .service-detail-image {
        width: 100px;
        height: 100px;
    }
    
    .service-detail-text h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .service-detail-text p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .service-detail-text ul li {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    /* 移动端轻量级动画 */
    .tab-content.active {
        animation: mobileTabFadeIn 0.4s ease-out;
    }
    
    @keyframes mobileTabFadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* 优化的激活状态样式 - 统一盒子中的突出切换效果 */
.tab-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    font-weight: 600;
    position: relative;
    z-index: 10;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.45);
    transform: scale(1);
    border: none;
    border-radius: 10px;
    margin: 0;
    padding: 14px 12px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    min-height: 70px;
    animation: buttonPulse 0.6s ease;
    width: 100%;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

/* 激活状态的光效装饰 */
.tab-btn.active::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

/* 按钮激活时的脉冲动画 */
@keyframes buttonPulse {
    0% { 
        box-shadow: 0 6px 20px rgba(30, 64, 175, 0.45);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 8px 25px rgba(30, 64, 175, 0.6);
        transform: scale(1.02);
    }
    100% { 
        box-shadow: 0 6px 20px rgba(30, 64, 175, 0.45);
        transform: scale(1);
    }
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* 激活状态的按钮保持完整边框 */
.tab-btn:nth-child(5n).active {
    border-right: 1px solid #e2e8f0;
}

.tab-btn:nth-last-child(-n+5).active {
    border-bottom: 1px solid #e2e8f0;
}

/* 滚动条样式优化 */
.tabs-nav::-webkit-scrollbar {
    height: 6px;
}

.tabs-nav::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

.tabs-nav::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.tabs-nav::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 选项卡内容区域 */
.tabs-content {
    width: 100%;
    padding: 20px;
    /* background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); */
    /* border-radius: 16px; */
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12); */
    overflow: hidden;
    /* border: 1px solid #e2e8f0; */
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

/* 单个选项卡内容 */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    padding: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 8px;
    transform-origin: top center;
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1), transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    perspective: 1000px; /* 为3D效果提供透视 */
}

/* 激活的选项卡内容 - 使用滑入效果 */
.tab-content.active {
    display: block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: slideInLeft 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* 内容详情样式 */
.service-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    align-items: flex-start;
    padding: 0;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.service-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* 多种tab切换动画效果定义 */

/* 1. 渐入缩放效果 */
@keyframes fadeInScale {
    from { 
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 2. 左侧滑入效果 */
@keyframes slideInLeft {
    from { 
        opacity: 0;
        transform: translateX(-50px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* 3. 右侧滑入效果 */
@keyframes slideInRight {
    from { 
        opacity: 0;
        transform: translateX(50px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* 4. 3D翻转效果 */
@keyframes flipIn {
    from { 
        opacity: 0;
        transform: rotateY(-90deg);
    }
    to { 
        opacity: 1;
        transform: rotateY(0deg);
    }
}

/* 5. 弹跳进入效果 */
@keyframes bounceIn {
    0% { 
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }
    50% { 
        opacity: 0.9;
        transform: scale(1.05) translateY(-10px);
    }
    70% { 
        opacity: 1;
        transform: scale(0.9) translateY(5px);
    }
    100% { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 增强的标签内容进入动画 */
@keyframes tabContentEnter {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.04);
    }
    50% {
        opacity: 0.7;
        transform: translateY(10px) scale(0.99);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }
}

/* 标签按钮激活状态的过渡动画增强 */
.tab-btn.active {
    background-color: #2563eb;
    color: white;
    border-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 标签按钮悬停动画增强 */
.tab-btn:hover {
    background-color: #f1f8ff;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.25);
    color: #2563eb;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 为图片添加进入动画延迟 */
.service-detail-image {
    flex: 0 0 320px;
    max-width: 320px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    animation: imageEnter 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

@keyframes imageEnter {
    from {
        opacity: 0;
        transform: translateX(-30px) scale(0.9);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

/* 为文本内容添加交错动画 */
.service-detail-text {
    flex: 1;
    min-width: 280px;
    padding-left: 15px;
    animation: textEnter 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
}

@keyframes textEnter {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* 为列表项添加交错动画效果 */
.service-detail-text ul li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 28px;
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(10px);
}

.tab-content.active .service-detail-text ul li:nth-child(1) { animation: listItemEnter 0.6s ease 0.4s forwards; }
.tab-content.active .service-detail-text ul li:nth-child(2) { animation: listItemEnter 0.6s ease 0.5s forwards; }
.tab-content.active .service-detail-text ul li:nth-child(3) { animation: listItemEnter 0.6s ease 0.6s forwards; }
.tab-content.active .service-detail-text ul li:nth-child(4) { animation: listItemEnter 0.6s ease 0.7s forwards; }
.tab-content.active .service-detail-text ul li:nth-child(5) { animation: listItemEnter 0.6s ease 0.8s forwards; }

@keyframes listItemEnter {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 移动端响应式调整 (768px以下) */
@media (max-width: 768px) {
    /* 调整选项卡导航 - 保持统一盒子效果 */
    .tabs-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        padding: 0;
        border-radius: 12px;
        border: 2px solid #e2e8f0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    /* 调整网格布局为3列 */
    .tabs-nav {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* 缩小选项卡按钮 - 确保所有标题同时展示 */
    .tab-btn {
        width: 100%;
        padding: 12px 10px;
        font-size: 12px;
        white-space: normal;
        word-wrap: break-word;
        border-right: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
        margin: 0;
        gap: 0;
        scroll-snap-align: start;
        text-align: center;
        min-height: 60px;
    }
    
    /* 处理每行最后一个按钮的右边框 */
.tab-btn:nth-child(3n) {
    border-right: none;
}

/* 为所有tab按钮添加完整的边框 */
    .tab-btn {
        border-bottom: 1px solid #e2e8f0;
    }

/* 激活状态的按钮保持完整边框 */
.tab-btn:nth-child(3n).active {
    border-right: 1px solid #e2e8f0;
}

.tab-btn:nth-last-child(-n+3).active {
    border-bottom: 1px solid #e2e8f0;
}

/* 移动端优化的激活状态 */
    .tab-btn.active {
        color: #ffffff;
        background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
        box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4);
        transform: scale(1);
        padding: 12px 10px;
        margin: 0;
        border-radius: 8px;
        font-weight: 600;
        border: 1px solid #e2e8f0;
        min-height: 60px;
        width: 100%;
    }
    
    /* 选项卡内容调整 */
    .tab-content {
        padding: 20px;
        border-radius: 12px;
    }
    
    /* 服务详情布局调整 */
    .service-detail {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
        border-radius: 10px;
    }
    
    /* 图片响应式调整 */
    .service-detail-image {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        height: auto;
        border-radius: 12px;
        margin-bottom: 10px;
    }
    
    /* 文本内容调整 */
    .service-detail-text {
        padding-left: 0;
    }
    
    .service-detail-text h3 {
        font-size: 20px;
        margin-bottom: 15px;
        padding-bottom: 6px;
    }
    
    .service-detail-text h3::after {
        width: 50px;
        height: 2px;
    }
    
    .service-detail-text p {
        font-size: 15px;
        line-height: 1.7;
    }
    
    /* 列表项调整 */
    .service-detail-text ul li {
        font-size: 14px;
        padding-left: 24px;
    }
    
    /* 适配选项卡内容在移动端的动画效果 */
    .tab-content.active {
        animation: tabContentEnterMobile 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    @keyframes tabContentEnterMobile {
        0% {
            opacity: 0;
            transform: translateY(20px) scale(0.98);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    
    /* 为移动端优化的图片和文本动画 */
    .service-detail-image {
        animation: imageEnterMobile 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
    }
    
    @keyframes imageEnterMobile {
        from {
            opacity: 0;
            transform: scale(0.95);
            filter: blur(5px);
        }
        to {
            opacity: 1;
            transform: scale(1);
            filter: blur(0);
        }
    }
    
    .service-detail-text {
        animation: textEnterMobile 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
    }
    
    @keyframes textEnterMobile {
        from {
            opacity: 0;
            transform: translateY(10px);
            filter: blur(3px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
            filter: blur(0);
        }
    }
}

/* 移动端响应式调整 (480px以下) */
@media (max-width: 480px) {
    /* 选项卡导航进一步调整 - 2列布局 */
    .tabs-nav {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 10px;
        gap: 0;
        padding: 0;
    }
    
    /* 按钮尺寸优化 - 适应小屏幕 */
    /* 调整网格布局为2列 */
    .tabs-nav {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-btn {
        width: 100%;
        padding: 10px 8px;
        font-size: 11px;
        line-height: 1.3;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: normal;
        word-wrap: break-word;
    }
    
    /* 处理2列布局的右边框 */
.tab-btn:nth-child(2n) {
    border-right: none;
}

/* 为所有tab按钮添加完整的边框 */
    .tab-btn {
        border-bottom: 1px solid #e2e8f0;
    }

/* 激活状态的按钮保持完整边框 */
.tab-btn:nth-child(2n).active {
    border-right: 1px solid #e2e8f0;
}

.tab-btn:nth-last-child(-n+2).active {
    border-bottom: 1px solid #e2e8f0;
}

/* 小屏幕优化的激活状态 */
    .tab-btn.active {
        transform: scale(1);
        margin: 0;
        padding: 10px 8px;
        border-radius: 6px;
        border: 1px solid #e2e8f0;
        font-weight: 600;
        min-height: 60px;
        width: 100%;
    }
    
    /* 选项卡内容进一步调整 */
    .tab-content {
        padding: 15px;
    }
    
    /* 服务详情布局优化 */
    .service-detail {
        padding: 12px;
        gap: 15px;
    }
    
    /* 标题和文本大小调整 */
    .service-detail-text h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .service-detail-text p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* 列表项尺寸调整 */
    .service-detail-text ul li {
        font-size: 13px;
        padding-left: 22px;
        margin-bottom: 10px;
    }
    
    /* 简化移动端的动画效果 */
    .tab-content {
        animation: fadeInMobile 0.4s ease-out;
    }
    
    @keyframes fadeInMobile {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* 优化列表项动画在小屏幕上的表现 */
    .tab-content.active .service-detail-text ul li:nth-child(1) { animation: listItemEnterMobile 0.5s ease 0.3s forwards; }
    .tab-content.active .service-detail-text ul li:nth-child(2) { animation: listItemEnterMobile 0.5s ease 0.4s forwards; }
    .tab-content.active .service-detail-text ul li:nth-child(3) { animation: listItemEnterMobile 0.5s ease 0.5s forwards; }
    .tab-content.active .service-detail-text ul li:nth-child(4) { animation: listItemEnterMobile 0.5s ease 0.6s forwards; }
    .tab-content.active .service-detail-text ul li:nth-child(5) { animation: listItemEnterMobile 0.5s ease 0.7s forwards; }
    
    @keyframes listItemEnterMobile {
        from {
            opacity: 0;
            transform: translateX(5px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    /* 增强滚动条样式在小屏幕上的可见性 */
    .tabs-nav::-webkit-scrollbar {
        height: 5px;
    }
    
    /* 优化安全服务选项卡容器外边距 */
    .security-tabs {
        margin: 20px 0;
    }
    
    /* 确保选项卡按钮在小屏幕上也有明确的激活状态 */
    .tab-btn.active {
        box-shadow: 0 3px 8px rgba(37, 99, 235, 0.35);
        font-weight: 600;
    }
}