/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FAFAFA;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}
.container-title {
    max-width: 1200px;
    height: 56px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
    transform: translateY(-2px);
}

/* 标题样式 */
/* .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
} */

.text-center {
    text-align: center;
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Header white background variant */
.header.header-white {
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    /* box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); */
}

.header.header-white .nav-menu a {
    color: #333;
}

.header.header-white .nav-menu a:hover {
    color: #007bff;
}

.header.header-white .language-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-color: rgba(0, 0, 0, 0.1);
}

.header.header-white .language-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.2);
}

.header.scrolled .nav-menu a {
    color: #333;
}

.header.scrolled .logo img {
    /* filter: brightness(0) invert(0); */
}

.navbar {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 1200px;
    padding: 0 40px;
    margin: 0 auto;
    box-sizing: border-box;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-text {
    color: #00bcd4;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-menu a {
    font-size: 14px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 4px;
}

/* .nav-menu a:hover, */
/* .nav-menu a.active { */
    /* color: #00bcd4; */
    /* background-color: rgba(0, 188, 212, 0.1); */
/* } */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

/* 语言切换器样式 */
.language-switcher {
    margin-left: 20px;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.language-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 8px 0;
    margin: 8px 0 0 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.language-dropdown.active .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-menu li {
    margin: 0;
}

.lang-option {
    display: block;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
    border-radius: 4px;
    margin: 2px 8px;
}

.lang-option:hover {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.lang-option.active {
    background-color: rgba(0, 123, 255, 0.15);
    color: #007bff;
    font-weight: 500;
}

/* 滚动时的语言切换器样式 */
.header.scrolled .language-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-color: rgba(0, 0, 0, 0.1);
}

.header.scrolled .language-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.2);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 页面头部 */
.page-header {
    background-image: url('/images/case_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}
.about-page-header {
    background-image: url('/images/team_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0 120px;
    text-align: center;
}

.page-header h1,
.about-page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    font-size: 1rem;
    opacity: 0.8;
    max-width: 1200px;
    margin: 16px auto 0;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    height: 600px;
    position: relative;
    overflow: hidden;
    background-image: url('/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
}

.flow-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    height: 100%;
    padding: 80px 0;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 60px;
}

.hero-text {
    flex: 1;
    color: white;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: #FF4343;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    color: #D0D3D9;
    font-weight: 400;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.hero-animation {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.hero-animation:hover {
    transform: scale(1.05);
}

.device-3d {
    perspective: 1000px;
    width: 300px;
    height: 300px;
}

.device-cube {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotate3d 8s infinite linear;
}

.cube-face {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #00bcd4, #0288d1);
    border: 2px solid rgba(255,255,255,0.3);
    opacity: 0.9;
}

.cube-face.front { transform: rotateY(0deg) translateZ(150px); }
.cube-face.back { transform: rotateY(180deg) translateZ(150px); }
.cube-face.right { transform: rotateY(90deg) translateZ(150px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(150px); }
.cube-face.top { transform: rotateX(90deg) translateZ(150px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(150px); }

@keyframes rotate3d {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.hero-stats {
    position: absolute;
    top: 120px;
    right: 60px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #00bcd4;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 核心功能区域 */
.core-features {
    padding: 0;
    position: relative;
    top:-88px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
    border-radius: 20px;
}


.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* 案例项目增强样式 */
.case-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-item:hover .case-overlay {
    opacity: 1;
}

.view-details {
    color: white;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
}

.case-type {
    background-color: #0F0F0F;
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* 首页新闻网格布局样式 */
.news-section .news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.news-grid-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 80px;
    /* border: 1px solid #eee; */
}

.news-grid-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.news-grid-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-grid-title {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 auto 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-grid-date {
    color: #898A8C;
    font-size: 0.85rem;
    margin-top: 4px;
    display: flex;
    align-items: center;
}

.news-grid-date:before {
    margin-right: 6px;
}

.news-filters{
    margin:30px 0;
}
/* 首页新闻响应式设计 */
@media (max-width: 768px) {
    .news-section .news-list {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
    }
    
    .news-grid-item {
        padding: 15px;
        min-height: 100px;
    }
    
    .news-grid-title {
        font-size: 0.95rem;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .news-section .news-list {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (min-width: 1201px) {
    .news-section .news-list {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 20px;
    }
}

/* 加载状态增强 */
.loading {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 1rem;
}

.loading .btn {
    margin-top: 15px;
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-icon img {
    width: 48px;
    height: 48px;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
    margin: 0;
}

.product-header-section{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
/* 产品中心 */
.product-center {
    padding-bottom: 40px;
}

/* .product-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto 16px;
} */

.product-header .section-title {
    font-size: 1.5rem;
    color: #333;
}

.product-header .subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.view-all-btn {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.view-all-btn:hover {
    color: #333;
}

.product-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    background-color: white;
    border-radius: 20px;
}

.product-card:last-child {
    margin-bottom: 0;
}

.product-content {
    padding: 68px 0;
    padding-left: 44px;
}

.product-index {
    font-weight: 200;
    color: #e0e0e0;
    font-family: 'Arial', sans-serif;
}

.product-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 4px;
    font-weight: 600;
}

.product-content p {
    color: #898A8C;
    line-height: 2;
    margin-bottom: 16px;
    font-size: 16px;
}

.product-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
    border: 1px solid #D0D3D9;
    padding: 8px 10px;
    border-radius: 32px;
    max-width: 130px;
}

.product-btn:hover {
    color: #0066cc;
}

.btn-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.product-btn:hover .btn-icon {
    transform: translateX(3px);
}

.product-image {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-image:hover img {
    transform: scale(1.05);
}

/* 项目案例 */
.project-cases {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* 新闻资讯 */
.news-section {
    padding: 20px 0;
    background-color: white;
}

.news-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.news-section .section-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* 首页新闻列表保持网格布局（在前面已定义）*/

/* 资源中心 */
.resource-center {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resource-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.resource-icon {
    flex-shrink: 0;
}

.resource-info {
    flex: 1;
}

.resource-info h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.resource-date {
    color: #666;
    font-size: 0.9rem;
}

.resource-download {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #0066cc;
    font-weight: 500;
}

.download-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.resource-item:hover .download-icon {
    transform: translate(2px, -2px);
}

/* 认证资质 */
.certifications {
    padding: 60px 0;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    background-color: white;
    border-radius: 20px;
}

.cert-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cert-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cert-logo {
    max-width: 80px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.cert-item:hover .cert-logo {
    filter: grayscale(0%);
}

.case-item,
.news-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.case-item:hover,
.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.item-image {
    height: 200px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-content {
    padding: 1.5rem;
}

.item-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.item-content p {
    color: #6c757d;
    margin-bottom: 1rem;
}

.item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #999;
}

/* 产品页面 */
.product-categories {
    padding: 40px 0;
    background-color: white;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 20px;
    border: 2px solid #e9ecef;
    background-color: white;
    color: #6c757d;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab.active,
.category-tab:hover {
    border-color: #007bff;
    background-color: #007bff;
    color: white;
}

.products {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 100%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.product-features {
    list-style: none;
    margin: 1rem 0;
}

.product-features li {
    padding: 0.3rem 0;
    color: #6c757d;
    position: relative;
    padding-left: 1rem;
}

.product-features li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.product-advantages {
    padding: 80px 0;
    background-color: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 解决方案页面 */
.solutions-filter {
    padding: 20px 0;
    background-color: #f8f9fa;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 24px;
    border: 2px solid #e9ecef;
    background-color: white;
    color: #6c757d;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.filter-tab.active,
.filter-tab:hover {
    border-color: #0F0F0F;
    background-color: #0F0F0F;
    color: white;
}

.solutions-content {
    padding:0 0 32px 0;
}

.solutions-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.solution-card.hidden {
    display: none;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.solution-text {
    padding: 40px;
}

.solution-text h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.solution-description {
    margin-bottom: 15px;
}

.solution-description p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.solution-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 16px;
}

.solution-benefits,
.solution-recommendation {
    margin-bottom: 20px;
}

.solution-benefits h4,
.solution-recommendation h4 {
    /* color: #333; */
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.solution-benefits p,
.solution-recommendation p {
    /* color: #007bff; */
    font-weight: 500;
    margin: 0;
}

.solution-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
    border: 1px solid #D0D3D9;
    padding: 12px 20px;
    border-radius: 32px;
    max-width: 150px;
    margin-top: 25px;
}

.solution-btn:hover {
    color: #0066cc;
    border-color: #0066cc;
}

.btn-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.solution-btn:hover .btn-icon {
    transform: translateX(3px);
}

.solution-image {
    height: 100%;
    min-height: 300px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .filter-tabs {
        gap: 0.5rem;
    }
    
    .filter-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .solution-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .solution-text {
        padding: 30px 20px;
    }
    
    .solution-text h3 {
        font-size: 1.5rem;
    }
    
    .solution-image {
        min-height: 200px;
    }
}

/* 原有的解决方案样式保留 */
.industry-solutions {
    padding: 80px 0;
    background-color: white;
}

.solutions-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); */
    gap: 2rem;
}

.solution-item {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid #007bff;
}

.solution-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.solution-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
}

.solution-features,
.solution-benefits {
    margin: 1.5rem 0;
}

.solution-features h4,
.solution-benefits h4 {
    color: #0f0f0f;
    margin-bottom: 0.5rem;
}

.solution-features ul,
.solution-benefits ul {
    list-style: none;
    padding-left: 1rem;
}

.solution-features li,
.solution-benefits li {
    padding: 0.2rem 0;
    color: #6c757d;
    position: relative;
}

.solution-features li::before {
    content: '•';
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.solution-benefits li::before {
    content: '★';
    color: #ffc107;
    position: absolute;
    left: -1rem;
}

.implementation-process {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 2rem 1rem;
    background-color: white;
    border-radius: 10px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.service-guarantee {
    padding: 80px 0;
    background-color: white;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.guarantee-item {
    text-align: center;
    padding: 2rem;
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 关于我们页面 */
.company-intro {
    padding: 80px 0;
    background-color: white;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.intro-text p {
    margin-bottom: 1rem;
    color: #6c757d;
    line-height: 1.8;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.stat-item h3 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.intro-image {
    text-align: center;
}

.intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.company-culture {
    padding: 40px 0;
    background-color: white;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.culture-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
}

.culture-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.company-timeline {
    padding: 80px 0;
    background-color: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #007bff;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background-color: #007bff;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin: 0 2rem;
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.team-section {
    padding: 80px 0;
    background-color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    background-color: #e9ecef;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-title {
    color: #898A8C;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.member-desc {
    color: #6c757d;
    font-size: 0.9rem;
}

.certificates {
    padding: 80px 0;
    background-color: white;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.certificate-item {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.certificate-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-info {
    background-color: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 1rem;
    background-color: white;
    border-radius: 10px;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 案例和新闻页面 */
.case-filters,
.news-categories {
    padding: 30px 0;
    /* background-color: white; */
}

.filter-tabs {
    display: flex;
    justify-content: start;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    border: 2px solid #e9ecef;
    background-color: white;
    color: #6c757d;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab.active,
.filter-tab:hover {
    border-color: #0F0F0F;
    background-color: #0F0F0F;
    color: white;
}

.cases-section,
.news-section {
    padding-bottom: 40px;
    background-color: #f8f9fa;
}

.news-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-list-item {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.news-list-item:hover {
    transform: translateX(5px);
}

.news-list-image {
    width: 200px;
    height: 150px;
    background-color: #e9ecef;
    flex-shrink: 0;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-content {
    padding: 1.5rem;
    flex: 1;
}

.news-list-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.news-list-content p {
    color: #6c757d;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

.search-box button {
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.latest-news-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
}

.latest-news-item:last-child {
    border-bottom: none;
}

.latest-news-item:hover {
    background-color: #f8f9fa;
}

.latest-news-image {
    width: 60px;
    height: 60px;
    background-color: #e9ecef;
    border-radius: 4px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.latest-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.latest-news-content h4 {
    font-size: 0.9rem;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.latest-news-content p {
    font-size: 0.8rem;
    color: #999;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: #e9ecef;
    color: #6c757d;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: #007bff;
    color: white;
}

.featured-news {
    padding: 60px 0;
    background-color: white;
}

.featured-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination button {
    padding: 0.5rem 1rem;
    border: 1px solid #e9ecef;
    background-color: white;
    color: #6c757d;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination button.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: auto;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
}

.close-btn:hover {
    color: #000;
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
}

.modal-header h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: #6c757d;
    font-size: 0.9rem;
}

.modal-body {
    padding: 2rem;
}

.modal-image {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.modal-text {
    line-height: 1.8;
    color: #333;
}

.modal-text p {
    margin-bottom: 1rem;
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
    font-size: 1.1rem;
}

/* 页脚 */
.footer {
    background-color: #161F20;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 60px;
}

.footer-left {
    flex: 1;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo .logo-text {
    font-size: 2rem;
    color: #00bcd4;
    font-weight: bold;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00bcd4;
}

.footer-info p {
    color: #888;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-right {
    display: flex;
    align-items: center;
}

.qr-code {
    text-align: center;
}

.qr-placeholder {
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    display: inline-block;
}

.qr-code p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-container {
        min-width: auto;
        padding: 0 20px;
    }
    
    .nav-right {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        /* box-shadow: 0 2px 10px rgba(0,0,0,0.3); */
        padding: 1rem 0;
        z-index: 1000;
    }
    
    .nav-right.active {
        display: flex;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .nav-menu a {
        color: #333 !important;
        padding: 12px 20px;
        border-radius: 0;
        width: 100%;
        text-align: left;
    }
    
    /* 移动端语言切换器 */
    .language-switcher {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        padding: 0 20px;
    }
    
    .language-dropdown {
        width: 100%;
    }
    
    .language-btn {
        background: rgba(255, 255, 255, 0.9);
        color: #333;
        border-color: rgba(0, 0, 0, 0.1);
        width: 100%;
        justify-content: center;
    }
    
    .language-menu {
        position: static;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.1);
        margin-top: 10px;
        opacity: 0;
        visibility: hidden;
        transform: none;
        width: 100%;
        box-shadow: none;
        border-radius: 8px;
    }
    
    .language-dropdown.active .language-menu {
        opacity: 1;
        visibility: visible;
    }
    
    /* 英雄区域响应式 */
    .hero-section {
        height: 480px;
        background-size: 100% 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-container {
        padding: 40px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-visual {
        height: 200px;
        margin-top: 20px;
    }
    
    .hero-stats {
        position: static;
        margin: 20px auto 0;
    }
    
    .device-3d {
        width: 200px;
        height: 200px;
    }
    
    .cube-face {
        width: 200px;
        height: 200px;
    }
    .culture-grid{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* 小屏幕手机优化 */
@media (max-width: 480px) {
    .hero-section {
        height: 420px;
    }
    
    .hero-container {
        padding: 30px 0;
    }
    
    .hero-content {
        gap: 20px;
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.9rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .hero-visual {
        height: 150px;
        margin-top: 10px;
    }
    
    .device-3d {
        width: 150px;
        height: 150px;
    }
    
    .cube-face {
        width: 150px;
        height: 150px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .hero-section {
        height: 380px;
    }
    
    .hero-container {
        padding: 25px 0;
    }
    
    .hero-content {
        gap: 15px;
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.7rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-visual {
        height: 120px;
        margin-top: 5px;
    }
    
    .device-3d {
        width: 120px;
        height: 120px;
    }
    
    .cube-face {
        width: 120px;
        height: 120px;
    }
}

/* 移动端横屏优化 */
@media (max-width: 768px) and (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: 350px;
    }
    
    .hero-container {
        padding: 20px 0;
    }
    
    .hero-content {
        gap: 15px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
    
    .hero-text {
        flex: 1;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-visual {
        flex: 0 0 auto;
        height: 150px;
        margin-top: 0;
        margin-left: 20px;
    }
    
    .device-3d {
        width: 120px;
        height: 120px;
    }
    
    .cube-face {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    /* 功能卡片响应式 */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-card {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    /* 产品中心响应式 */
    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 16px;
    }
    
    .product-card {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .product-image {
        height: 250px;
    }
    
    .product-index {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .product-content h3 {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }
    
    .product-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    /* 新闻页面列表项响应式 */
    .news-list-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .news-date {
        min-width: auto;
        font-size: 0.8rem;
    }
    
    /* 认证资质响应式 */
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 页脚响应式 */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        min-width: auto;
        padding: 0 15px;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 100px 0 40px;
    }
    
    .hero-banner {
        height: 500px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    
    /* 移动端导航栏优化 */
    .nav-right {
        padding: 0 15px;
    }
    
    .nav-menu a {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .language-switcher {
        padding: 0 20px;
    }
    
    .language-btn {
        padding: 12px 20px;
        font-size: 16px;
    }
}

/* 隐藏分类功能实现 */
.product-item[data-category]:not([data-category="all"]) {
    display: none;
}

.product-item[data-category="all"],
.product-item.show {
    display: block;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 详情页面样式 */
.case-detail-section,
.news-detail-section {
    padding: 80px 0;
    background-color: white;
}

.case-detail-container,
.news-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.case-detail-content,
.news-detail-content {
    background-color: white;
    /* border-radius: 10px; */
    /* box-shadow: 0 5px 20px rgba(0,0,0,0.1); */
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
}

.case-header,
.news-header {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.case-header h1,
.news-header h1 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.case-description {
    margin-bottom: 20px;
}

.case-description p {
    color: #888;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.case-meta,
.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
}

.case-category,
.news-category {
    background-color: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.case-cover,
.news-cover {
    text-align: center;
    margin-bottom: 30px;
}

.case-cover img,
.news-cover img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.case-body h3,
.news-body h3 {
    color: #333;
    margin: 30px 0 15px;
    font-size: 1.3rem;
}

.case-body p,
.news-body p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.case-body ul,
.news-body ul {
    margin: 20px 0;
    padding-left: 20px;
}

.case-body li,
.news-body li {
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}

.case-actions,
.news-actions {
    padding: 30px 40px;
    background-color: #f8f9fa;
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}
.news-actions a{
    color:white;
}
.btn-outline {
    background-color: transparent;
    color: #6c757d;
    border: 1px solid #6c757d;
}

.btn-outline:hover {
    background-color: #6c757d;
    color: white;
}

.related-cases .cases-grid,
.related-news .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.related-cases .case-item,
.related-news .news-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.related-cases .case-item:hover,
.related-news .news-item:hover {
    transform: translateY(-5px);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* ::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
} */

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* 大屏幕媒体查询 */
@media (min-width: 1400px) {
    .nav-container {
        padding: 0 60px;
    }
}

@media (min-width: 1600px) {
    .nav-container {
        padding: 0 80px;
    }
}

@media (min-width: 1920px) {
    .nav-container {
        padding: 0 100px;
    }
}

/* 详情页面移动端响应式设计 */
@media (max-width: 768px) {
    /* 详情页面容器 */
    .case-detail-section,
    .news-detail-section {
        padding: 60px 0 40px;
    }
    
    .case-detail-container,
    .news-detail-container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* 详情页面头部 */
    .case-header,
    .news-header {
        padding: 20px 0;
    }
    
    .case-header h1,
    .news-header h1 {
        font-size: 1.6rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .case-description p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .case-meta,
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .case-category,
    .news-category {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
    
    /* 详情页面内容区域 */
    .case-body,
    .news-body {
        padding: 20px 0;
    }
    
    .case-body h3,
    .news-body h3 {
        font-size: 1.2rem;
        margin: 25px 0 12px;
    }
    
    .case-body p,
    .news-body p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .case-body ul,
    .news-body ul {
        margin: 16px 0;
        padding-left: 18px;
    }
    
    .case-body li,
    .news-body li {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 6px;
    }
    
    /* 详情页面操作按钮 */
    .case-actions,
    .news-actions {
        padding: 20px 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .case-actions .btn,
    .news-actions .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    
    /* 相关内容区域 */
    .related-cases,
    .related-news {
        padding: 40px 0 !important;
    }
    
    .related-cases .cases-grid,
    .related-news .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }
    
    /* 面包屑导航 */
    .breadcrumb {
        margin: 12px auto 0;
        padding: 0 15px;
        font-size: 0.9rem;
    }
    
    .news-detail-section .breadcrumb {
        padding: 0;
    }
}

@media (max-width: 480px) {
    /* 更小屏幕的优化 */
    .case-detail-section,
    .news-detail-section {
        padding: 40px 0 20px;
    }
    
    .case-detail-container,
    .news-detail-container {
        padding: 0 12px;
    }
    
    .case-header h1,
    .news-header h1 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .case-description p {
        font-size: 0.9rem;
    }
    
    .case-body h3,
    .news-body h3 {
        font-size: 1.1rem;
        margin: 20px 0 10px;
    }
    
    .case-body p,
    .news-body p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 14px;
    }
    
    .case-actions,
    .news-actions {
        padding: 15px 12px;
    }
    
    .related-cases,
    .related-news {
        padding: 30px 0 !important;
    }
    
    .related-cases .cases-grid,
    .related-news .news-grid {
        padding: 0 12px;
    }
    
    .breadcrumb {
        margin: 10px auto 0;
        padding: 0 12px;
        font-size: 0.85rem;
    }
    
    .news-detail-section .breadcrumb {
        padding: 0;
    }
    
    /* 详情页面图片适配 */
    .case-cover img,
    .news-cover img {
        max-width: 100%;
        height: auto;
        border-radius: 6px;
    }
    
    /* 详情页面内容中的图片适配 */
    .case-detail-content img,
    .news-detail-content img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 6px;
        margin: 10px 0;
    }
    
    /* 相关内容项目适配 */
    .related-cases .case-item .item-image,
    .related-news .news-item .item-image {
        height: 150px;
    }
    
    .related-cases .case-item .item-content,
    .related-news .news-item .item-content {
        padding: 1rem;
    }
    
    .related-cases .case-item h3,
    .related-news .news-item h3 {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .related-cases .case-item p,
    .related-news .news-item p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* 表格和代码块适配 */
    .case-detail-content table,
    .news-detail-content table {
        width: 100% !important;
        font-size: 0.9rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .case-detail-content pre,
    .news-detail-content pre {
        overflow-x: auto;
        padding: 10px;
        font-size: 0.85rem;
        background-color: #f8f9fa;
        border-radius: 4px;
    }
    
    /* 链接适配 */
    .case-detail-content a,
    .news-detail-content a {
        word-break: break-word;
        color: #007bff;
    }
    
    /* 引用块适配 */
    .case-detail-content blockquote,
    .news-detail-content blockquote {
        border-left: 3px solid #007bff;
        padding: 10px 15px;
        margin: 15px 0;
        background-color: #f8f9fa;
        font-style: italic;
        border-radius: 0 4px 4px 0;
    }
}
