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

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    min-height: 100vh;
}

.container {
    display: flex;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    background: white;
}

/* 侧边栏样式 */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #2c3e50 0%, #1a2530 100%);
    color: white;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    border-right: 1px solid #34495e;
}

/* 语言切换器 */
.language-switcher {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.lang-btn {
    background: none;
    border: 2px solid #3498db;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: #3498db;
}

.lang-btn:hover:not(.active) {
    background: rgba(52, 152, 219, 0.1);
}

/* Logo样式 */
.logo {
    margin-top: 40px;
    text-align: center;
    margin-bottom: 40px;
}

.logo h1 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #ecf0f1;
    line-height: 1.3;
}

.subtitle {
    font-size: 16px;
    color: #3498db;
    font-weight: 500;
}

/* 导航菜单 */
.nav-menu {
    flex-grow: 1;
}

.nav-menu ul {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 10px;
}

.nav-link {
    display: block;
    color: #bdc3c7;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: rgba(52, 152, 219, 0.1);
    color: #ecf0f1;
    border-left-color: #3498db;
}

.nav-link.active {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    font-weight: bold;
    border-left-color: #3498db;
}

/* 侧边栏页脚 */
.sidebar-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    font-size: 12px;
    color: #7f8c8d;
    text-align: center;
}

.sidebar-footer p {
    margin-bottom: 5px;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.page {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page.active {
    display: block;
}

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

/* 页面标题 */
.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-header h2 {
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.page-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2ecc71);
    border-radius: 2px;
}

.page-subtitle {
    color: #7f8c8d;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 内容区域通用样式 */
.content-section {
    margin-bottom: 60px;
}

/* 介绍卡片 */
.intro-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.intro-image {
    margin: 30px 0;
    text-align: center;
}

.intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

/* 荣誉网格 */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.honor-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.honor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2ecc71);
}

.honor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.honor-image {
    margin-bottom: 20px;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
}

.honor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.honor-card:hover .honor-image img {
    transform: scale(1.05);
}

.honor-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.honor-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 20px;
}

.honor-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* 产品页面特定样式 */
.product-category {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f7;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f4f8;
}

.category-icon {
    font-size: 32px;
    margin-right: 15px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-header h3 {
    color: #2c3e50;
    font-size: 24px;
    margin: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e8ecf1;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.15);
    border-color: #3498db;
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-info h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 20px;
}

.product-info p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-features {
    background: #e8f4fc;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    color: #3498db;
    font-weight: 500;
}

/* 产品特点网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eef2f7;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.1);
    border-color: #3498db;
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.feature-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        padding: 20px;
    }
    
    .logo {
        margin-top: 0;
    }
    
    .language-switcher {
        position: static;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .main-content {
        padding: 30px;
    }
    
    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .honor-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-card {
        padding: 25px;
    }
    
    .page-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .product-category {
        padding: 20px;
    }
    
    .honor-card, .product-card {
        padding: 20px;
    }
}

/* 成功案例页面样式 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eef2f7;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.15);
    border-color: #3498db;
}

.case-image {
    height: 220px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-info {
    padding: 25px;
}

.case-tag {
    display: inline-block;
    background: linear-gradient(to right, #3498db, #2ecc71);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.case-info h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.4;
}

.case-location, .case-equipment {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 14px;
}

.case-location span:first-child, .case-equipment span:first-child {
    color: #3498db;
}

.case-info p {
    color: #64748b;
    line-height: 1.6;
    margin-top: 15px;
    font-size: 14px;
}

/* 联系我们页面样式 */
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.contact-card {
    background: white;
    border-radius: 