/* 全局变量 - 专业工业蓝风格 */
:root {
    /* 颜色 - 专业工业蓝风格 */
    --primary-color: #2563EB;
    --secondary-color: #1E40AF;
    --accent-color: #64748B;
    --text-color: rgba(0, 0, 0, 0.87);
    --light-text: rgba(0, 0, 0, 0.6);
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    --white: #FFFFFF;
    --border-color: rgba(0, 0, 0, 0.23);

    /* 字体 */
    --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', 'PingFang SC', 'Segoe UI', Arial, sans-serif;
    --heading-font: system-ui, -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', 'PingFang SC', 'Segoe UI', Arial, sans-serif;

    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* 圆角 */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;

    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);

    /* 过渡 */
    --transition: all 0.3s ease;
}

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

/* 字体显示优化 */
html {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    /* 默认页面背景为浅灰，避免纯白抢占视觉 */
    background: linear-gradient(135deg, #f6f7f9 0%, #eef1f5 50%, #f6f7f9 100%);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 通用类 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* 为不同区域添加背景变化 */
.about-section {
    background: transparent; /* 首页为透明，其他页可覆写 */
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e2e8f0" opacity="0.3"/><circle cx="75" cy="75" r="1" fill="%23cbd5e1" opacity="0.2"/><circle cx="50" cy="10" r="0.5" fill="%23e2e8f0" opacity="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.services-section {
    background: transparent; /* 首页会改写为透明，其他页仍可覆写 */
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(231, 76, 60, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 49%, rgba(255, 255, 255, 0.1) 50%, transparent 51%);
    pointer-events: none;
}

.advantages-section {
    background: transparent; /* 首页会改写为透明，其他页仍可覆写 */
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 98px,
            rgba(52, 73, 94, 0.05) 100px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 98px,
            rgba(52, 73, 94, 0.05) 100px
        );
    pointer-events: none;
}

/* 为产品展示部分添加特殊的机械纹理 */
.products.services-section {
    background: transparent; /* 首页为透明，产品页可覆写 */
}

.products.services-section::before {
    background:
        radial-gradient(circle at 25% 25%, rgba(52, 152, 219, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(243, 156, 18, 0.08) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(44, 62, 80, 0.03) 22px
        );
}

.cases-section {
    background: transparent; /* 首页为透明，其他页可覆写 */
}

/* 为内容区域添加机械风格卡片效果 */
body:not(.home-blue-gray) .about-section .container,
body:not(.home-blue-gray) .services-section .container,
body:not(.home-blue-gray) .advantages-section .container,
body:not(.home-blue-gray) .cases-section .container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: var(--spacing-xl) var(--spacing-lg);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(189, 195, 199, 0.3);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

body:not(.home-blue-gray) .about-section .container:hover,
body:not(.home-blue-gray) .services-section .container:hover,
body:not(.home-blue-gray) .advantages-section .container:hover,
body:not(.home-blue-gray) .cases-section .container:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    border-color: rgba(52, 152, 219, 0.3);
}

/* 为轮播图区域添加特殊效果 */
.hero-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, rgba(229, 231, 235, 0.9) 100%);
    pointer-events: none;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: var(--spacing-sm) auto 0;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    color: var(--light-text);
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

/* 网格系统 */
.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-sm);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    margin-left: var(--spacing-sm);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: var(--spacing-md);
}

.form-actions .btn {
    margin-right: var(--spacing-sm);
}

.btn-whatsapp i {
    margin-right: var(--spacing-xs);
}

/* 顶部信息栏 - 深灰色与蓝色导航栏形成对比 */
.top-bar {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: var(--white);
    padding: var(--spacing-xs) 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
}

.contact-info span {
    margin-right: var(--spacing-md);
}

.contact-info i {
    margin-right: var(--spacing-xs);
}

/* 旧的语言选择器样式已移至 language-selector.css */

/* 主导航栏 - 保持深蓝色主题 */
.main-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-sm);
    min-height: 100px;
    max-width: 1000px;
}

.logo img {
    height: 100px;
}

/* 主导航样式 */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav > ul > li {
    position: relative;
    margin: 0 15px;
}

.main-nav > ul > li > a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.main-nav > ul > li > a:hover {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.3);
}

/* 下拉菜单样式 */
.main-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-sm);
    padding: 10px 0;
    z-index: 1000;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.main-nav .dropdown-menu li {
    display: block;
    width: 100%;
    padding: 0;
}

.main-nav .dropdown-menu a {
    padding: 8px 20px;
    color: var(--text-color);
    display: block;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.main-nav .dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.main-nav .dropdown:hover .dropdown-menu {
    display: block;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 999;
    padding: 80px 20px 20px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu nav ul li {
    margin-bottom: 15px;
}

.mobile-menu nav ul li a {
    display: block;
    padding: 10px 0;
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.mobile-menu nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu nav ul ul {
    display: none;
    padding-left: 20px;
}

.mobile-menu nav ul li.open > ul {
    display: block;
}

/* 语言切换器样式已移至 language-selector.css */

/* 语言切换加载指示器 */
.language-loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 9999;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
.mobile-menu-btn {
        display: flex;
    }

    .main-nav {
    display: none;
    }

    .top-bar .language-select {
        margin-left: auto;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* 无障碍支持 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 焦点样式 */
a:focus,
button:focus,
select:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* 高对比度模式支持 */
@media (forced-colors: active) {
.mobile-menu-btn span {
        background-color: ButtonText;
    }

    .mobile-menu {
        background-color: Canvas;
    }

    .mobile-menu nav ul li a {
        color: ButtonText;
    }
}

/* 页面标题 */
.page-title {
    background-color: transparent;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.page-title h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
}

.breadcrumb {
    color: var(--light-text);
}

.breadcrumb a {
    color: var(--primary-color);
}

/* 服务项目卡片 */
.service-item {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-item h3 {
    margin-bottom: var(--spacing-sm);
}

.service-item p {
    color: var(--light-text);
    margin-bottom: var(--spacing-md);
}

/* 优势项目 */
.advantage-item {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

/* 为每个优势项目添加机械美感的颜色主题 */
.advantage-item:nth-child(1) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #2c3e50;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.1);
}

.advantage-item:nth-child(2) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #2c3e50;
    border-left: 4px solid #e74c3c;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.1);
}

.advantage-item:nth-child(3) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #2c3e50;
    border-left: 4px solid #f39c12;
    box-shadow: 0 2px 10px rgba(243, 156, 18, 0.1);
}

.advantage-item:nth-child(4) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #2c3e50;
    border-left: 4px solid #27ae60;
    box-shadow: 0 2px 10px rgba(39, 174, 96, 0.1);
}

/* 添加机械风格的细节效果 */
.advantage-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

.advantage-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

.advantage-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* 为浅色背景的优势项目调整图标颜色 */
.advantage-item:nth-child(1) .advantage-icon,
.advantage-item:nth-child(2) .advantage-icon,
.advantage-item:nth-child(3) .advantage-icon,
.advantage-item:nth-child(4) .advantage-icon {
    color: #2c3e50;
}

.advantage-item:nth-child(1) i,
.advantage-item:nth-child(2) i,
.advantage-item:nth-child(3) i,
.advantage-item:nth-child(4) i {
    color: #2c3e50;
}

.advantage-features {
    text-align: left;
    margin-top: var(--spacing-sm);
}

.advantage-features li {
    margin-bottom: var(--spacing-xs);
    color: var(--light-text);
}

/* 为浅色背景的优势项目调整文本颜色 */
.advantage-item:nth-child(1) h3,
.advantage-item:nth-child(2) h3,
.advantage-item:nth-child(3) h3,
.advantage-item:nth-child(4) h3 {
    color: #2c3e50;
    font-weight: 600;
}

.advantage-item:nth-child(1) p,
.advantage-item:nth-child(2) p,
.advantage-item:nth-child(3) p,
.advantage-item:nth-child(4) p {
    color: #5a6c7d;
}

.advantage-item:nth-child(1) .advantage-features li,
.advantage-item:nth-child(2) .advantage-features li,
.advantage-item:nth-child(3) .advantage-features li,
.advantage-item:nth-child(4) .advantage-features li {
    color: #6c757d;
}

/* 为产品展示卡片添加机械美感的配色方案 */
.product-item {
    background: #ffffff;
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-item:nth-child(1) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 15px rgba(52, 152, 219, 0.1);
}

.product-item:nth-child(2) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #e74c3c;
    box-shadow: 0 2px 15px rgba(231, 76, 60, 0.1);
}

.product-item:nth-child(3) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #f39c12;
    box-shadow: 0 2px 15px rgba(243, 156, 18, 0.1);
}

.product-item .product-info h3 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.product-item .product-info p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

/* 产品图片样式优化 */
.product-item .product-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--spacing-md);
}

.product-item .product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(255, 255, 255, 0.1) 50%, transparent 51%);
    pointer-events: none;
    z-index: 1;
}

.product-item:nth-child(1) .product-image::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #3498db;
    border-radius: 50%;
    z-index: 2;
}

.product-item:nth-child(2) .product-image::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #e74c3c;
    border-radius: 50%;
    z-index: 2;
}

.product-item:nth-child(3) .product-image::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #f39c12;
    border-radius: 50%;
    z-index: 2;
}

/* 为服务流程项目添加机械美感的配色方案 */
.process-item {
    background: #ffffff;
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.process-item:nth-child(1) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 15px rgba(52, 152, 219, 0.1);
}

.process-item:nth-child(2) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #e74c3c;
    box-shadow: 0 2px 15px rgba(231, 76, 60, 0.1);
}

.process-item:nth-child(3) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #f39c12;
    box-shadow: 0 2px 15px rgba(243, 156, 18, 0.1);
}

.process-item:nth-child(4) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #27ae60;
    box-shadow: 0 2px 15px rgba(39, 174, 96, 0.1);
}

.process-item .process-icon {
    margin-bottom: var(--spacing-md);
}

.process-item:nth-child(1) .process-icon i {
    color: #3498db;
    font-size: 2.5rem;
}

.process-item:nth-child(2) .process-icon i {
    color: #e74c3c;
    font-size: 2.5rem;
}

.process-item:nth-child(3) .process-icon i {
    color: #f39c12;
    font-size: 2.5rem;
}

.process-item:nth-child(4) .process-icon i {
    color: #27ae60;
    font-size: 2.5rem;
}

.process-item h3 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.process-item p {
    color: #5a6c7d;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 英文环境下的排版优化 */
html[lang="en"] .process-item p,
html[lang="en-US"] .process-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: left;
}

html[lang="en"] .process-item h3,
html[lang="en-US"] .process-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* 为所有卡片文本添加英文优化 */
html[lang="en"] .case-item .case-info p,
html[lang="en-US"] .case-item .case-info p,
html[lang="en"] .product-item .product-info p,
html[lang="en-US"] .product-item .product-info p {
    font-size: 0.9rem;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: left;
    hyphens: auto;
}

/* 为成功案例项目添加机械美感的配色方案 */
.case-item {
    background: #ffffff;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.case-item:nth-child(1) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 15px rgba(52, 152, 219, 0.1);
}

.case-item:nth-child(2) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #e74c3c;
    box-shadow: 0 2px 15px rgba(231, 76, 60, 0.1);
}

.case-item:nth-child(3) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #27ae60;
    box-shadow: 0 2px 15px rgba(39, 174, 96, 0.1);
}

.case-item .case-info {
    padding: var(--spacing-md);
}

.case-item .case-info h3 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.case-item .case-info p {
    color: #5a6c7d;
    line-height: 1.6;
}

/* 为案例图片添加装饰效果 */
.case-item:nth-child(1) .case-image::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #3498db;
    border-radius: 50%;
    z-index: 3;
}

.case-item:nth-child(2) .case-image::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #e74c3c;
    border-radius: 50%;
    z-index: 3;
}

.case-item:nth-child(3) .case-image::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #27ae60;
    border-radius: 50%;
    z-index: 3;
}



/* 流程时间线 */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.process-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.process-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.process-content {
    flex: 1;
    margin-left: var(--spacing-md);
}

.process-content h3 {
    margin-bottom: var(--spacing-xs);
}

.process-content p {
    color: var(--light-text);
}

/* 案例卡片 */
.case-item {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.case-image {
    position: relative;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.case-overlay i {
    color: var(--white);
    font-size: 2rem;
}

.case-item:hover .case-image img {
    transform: scale(1.1);
}

.case-item:hover .case-overlay {
    opacity: 1;
}

.case-info {
    padding: var(--spacing-md);
}

.case-info h3 {
    margin-bottom: var(--spacing-sm);
}

.case-info p {
    color: var(--light-text);
}

/* 页脚 */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-md);
    position: relative;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: var(--spacing-xs);
}

.footer-section p,
.footer-section li {
    margin-bottom: var(--spacing-xs);
    color: #999;
}

.footer-section i {
    margin-right: var(--spacing-xs);
}



.footer-bottom {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-sm) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #999;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* 悬停动画 */
.service-item,
.product-item,
.case-item,
.advantage-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover,
.product-item:hover,
.case-item:hover,
.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* 为机械风格优势项目添加特殊的悬停效果 */
.advantage-item:nth-child(1):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.3);
    border-left-width: 6px;
}

.advantage-item:nth-child(2):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(231, 76, 60, 0.3);
    border-left-width: 6px;
}

.advantage-item:nth-child(3):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(243, 156, 18, 0.3);
    border-left-width: 6px;
}

.advantage-item:nth-child(4):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(39, 174, 96, 0.3);
    border-left-width: 6px;
}

/* 为产品卡片添加特殊的悬停效果 */
.product-item:nth-child(1):hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.2);
    border-left-width: 6px;
    border-color: #3498db;
}

.product-item:nth-child(2):hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.2);
    border-left-width: 6px;
    border-color: #e74c3c;
}

.product-item:nth-child(3):hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(243, 156, 18, 0.2);
    border-left-width: 6px;
    border-color: #f39c12;
}

/* 为服务流程项目添加悬停效果 */
.process-item:nth-child(1):hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.2);
    border-left-width: 6px;
    border-color: #3498db;
}

.process-item:nth-child(2):hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.2);
    border-left-width: 6px;
    border-color: #e74c3c;
}

.process-item:nth-child(3):hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(243, 156, 18, 0.2);
    border-left-width: 6px;
    border-color: #f39c12;
}

.process-item:nth-child(4):hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(39, 174, 96, 0.2);
    border-left-width: 6px;
    border-color: #27ae60;
}

/* 为成功案例项目添加悬停效果 */
.case-item:nth-child(1):hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.2);
    border-left-width: 6px;
    border-color: #3498db;
}

.case-item:nth-child(2):hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.2);
    border-left-width: 6px;
    border-color: #e74c3c;
}

.case-item:nth-child(3):hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(39, 174, 96, 0.2);
    border-left-width: 6px;
    border-color: #27ae60;
}



/* 图标动画 */
.service-icon i,
.advantage-icon i,
.process-icon i {
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon i,
.advantage-item:hover .advantage-icon i,
.process-item:hover .process-icon i {
    transform: scale(1.2);
}

/* 按钮动画 */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* 图片悬停效果 */
.case-image img,
.product-image img {
    transition: transform 0.6s ease;
}

.case-item:hover .case-image img,
.product-item:hover .product-image img {
    transform: scale(1.1);
}

.case-overlay {
    background: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
}

.case-item:hover .case-overlay {
    background: rgba(0, 0, 0, 0.7);
}

/* 链接动画 */
.main-nav a,
.footer-section a,
.read-more {
    position: relative;
}

.main-nav a::after,
.footer-section a::after,
.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.footer-section a:hover::after,
.read-more:hover::after {
    width: 100%;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* 响应式动画调整 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .top-bar .container,
    .main-header .container {
        max-width: 800px;
    }

    .hero-slider {
        height: 500px;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .top-bar .container,
    .main-header .container {
        max-width: 600px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: var(--spacing-md);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .hero-slider {
        height: 450px;
    }

    .slide-content {
        max-width: 600px;
    }

    .advantage-item,
    .service-item {
        padding: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 var(--spacing-md);
    }

    .top-bar .container,
    .main-header .container {
        max-width: 480px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-2x2 {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .top-bar {
        display: none;
    }

    .main-header {
        padding: var(--spacing-xs) 0;
    }

    .logo img {
        height: 70px;
    }

    .main-header .container {
        min-height: 90px;
    }

    .hero-slider {
        height: 400px;
    }

    .slide-content {
        padding: 40px 30px;
        max-width: 90%;
    }

    .slide-content h1,
    .slide-content h2 {
        font-size: 2rem;
        margin-bottom: var(--spacing-sm);
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: var(--spacing-md);
    }

    .advantage-item,
    .service-item,
    .case-item {
        margin-bottom: var(--spacing-md);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        margin-bottom: var(--spacing-md);
    }



    .back-to-top {
        right: 20px;
        bottom: 20px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav > ul > li {
        margin: 10px 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        padding-left: 20px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .top-bar .container,
    .main-header .container {
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }

    .hero-slider {
        height: 350px;
    }

    .slide-content {
        padding: 30px 20px;
        max-width: 95%;
    }

    .slide-content h1,
    .slide-content h2 {
        font-size: 1.75rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    .advantage-item,
    .service-item {
        padding: var(--spacing-sm);
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .case-overlay i {
        font-size: 1.5rem;
    }

    .footer-bottom {
        padding: var(--spacing-sm) 0;
        font-size: 0.9rem;
    }

    .logo img {
        height: 50px;
    }

    .main-header .container {
        min-height: 70px;
    }
}

/* 在线客服 */
.online-service {
    position: fixed;
    right: 20px;
    bottom: 160px;
    z-index: 999;
    transform: translateZ(0);
}

.service-button {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
}

.service-button i {
    margin-right: 8px;
    font-size: 1.2em;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.service-dialog {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 320px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 12px 12px 0 0;
}

.service-dialog-header h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
}

.dialog-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5em;
    cursor: pointer;
    padding: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.dialog-close:hover {
    opacity: 1;
}

.service-dialog-content {
    padding: 20px;
}

.service-options {
    margin-bottom: 20px;
}

.service-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-option:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.service-option i {
    font-size: 1.5em;
    margin-right: 12px;
    color: var(--primary-color);
}

.service-option span {
    flex: 1;
    font-weight: 500;
}

.service-option small {
    color: var(--light-text);
    font-size: 0.9em;
}

.service-form {
    background-color: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
}

.service-form h4 {
    margin: 0 0 16px;
    color: var(--text-color);
    font-size: 1.1em;
}

.service-form input,
.service-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.service-form input:focus,
.service-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.service-form textarea {
    height: 100px;
    resize: vertical;
}

.service-form button {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .service-dialog {
        right: 10px;
        left: 10px;
        width: auto;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .service-button {
        padding: 10px 20px;
    }
    
    .service-option {
        padding: 10px;
    }
}

/* 轮播图样式 */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hero-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 80%;
    max-width: 800px;
    padding: 60px 40px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-slider .slide-content h2 {
    font-size: 2.5em;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-slider .slide-content p {
    font-size: 1.2em;
    margin-bottom: 35px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
    opacity: 0.95;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5);
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background: #fff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }

    .hero-slider .slide-content {
        padding: 40px 30px;
        width: 90%;
    }

    .hero-slider .slide-content h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .hero-slider .slide-content p {
        font-size: 1em;
        margin-bottom: 25px;
    }

    /* 移动端简化背景效果 */
    .about-section .container,
    .services-section .container,
    .advantages-section .container,
    .cases-section .container {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(5px);
        border-radius: 15px;
        padding: var(--spacing-lg) var(--spacing-md);
        margin: var(--spacing-md) var(--spacing-xs);
    }

    .about-section::before {
        display: none;
    }
}

/* 打印样式 */
@media print {
    .main-header,
    .main-nav,
    .hero-slider,
    .back-to-top,
    .online-service,
    .footer {
        display: none;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: none;
    }

    .section {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-light: #1a1a1a;
        --bg-dark: #000000;
        --text-color: #ffffff;
        --light-text: #cccccc;
        --border-color: #333333;
    }

    .service-item,
    .case-item {
        background-color: #262626;
    }

    /* 暗色主题下保持机械风格的优势项目背景 */
    .advantage-item:nth-child(1) {
        background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
        border-left: 4px solid #3498db;
    }

    .advantage-item:nth-child(2) {
        background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
        border-left: 4px solid #e74c3c;
    }

    .advantage-item:nth-child(3) {
        background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
        border-left: 4px solid #f39c12;
    }

    .advantage-item:nth-child(4) {
        background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
        border-left: 4px solid #27ae60;
    }

    /* 暗色主题下的背景样式 */
    .services-section {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 50%, #1a1a1a 100%);
    }

    .services-section::before {
        background:
            radial-gradient(circle at 20% 20%, rgba(52, 152, 219, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(231, 76, 60, 0.15) 0%, transparent 50%),
            linear-gradient(45deg, transparent 49%, rgba(255, 255, 255, 0.05) 50%, transparent 51%);
    }

    .advantages-section {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 50%, #2d3748 100%);
    }

    .advantages-section::before {
        background:
            repeating-linear-gradient(
                90deg,
                transparent,
                transparent 98px,
                rgba(255, 255, 255, 0.05) 100px
            ),
            repeating-linear-gradient(
                0deg,
                transparent,
                transparent 98px,
                rgba(255, 255, 255, 0.05) 100px
            );
    }

    .products.services-section {
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #1a202c 100%);
    }

    .products.services-section::before {
        background:
            radial-gradient(circle at 25% 25%, rgba(52, 152, 219, 0.12) 0%, transparent 50%),
            radial-gradient(circle at 75% 75%, rgba(243, 156, 18, 0.12) 0%, transparent 50%),
            repeating-linear-gradient(
                45deg,
                transparent,
                transparent 20px,
                rgba(255, 255, 255, 0.03) 22px
            );
    }

    /* 暗色主题下的容器样式 */
    .about-section .container,
    .services-section .container,
    .advantages-section .container,
    .cases-section .container {
        background: rgba(45, 55, 72, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow:
            0 4px 20px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }

    .about-section .container:hover,
    .services-section .container:hover,
    .advantages-section .container:hover,
    .cases-section .container:hover {
        border-color: rgba(52, 152, 219, 0.4);
        box-shadow:
            0 8px 30px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    }

    /* 暗色主题下的产品卡片样式 */
    .product-item {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .product-item:nth-child(1) {
        background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
        border-left: 4px solid #3498db;
        box-shadow: 0 2px 15px rgba(52, 152, 219, 0.2);
    }

    .product-item:nth-child(2) {
        background: linear-gradient(135deg, #2c1f1f 0%, #3e2723 100%);
        border-left: 4px solid #e74c3c;
        box-shadow: 0 2px 15px rgba(231, 76, 60, 0.2);
    }

    .product-item:nth-child(3) {
        background: linear-gradient(135deg, #2d2416 0%, #3e2723 100%);
        border-left: 4px solid #f39c12;
        box-shadow: 0 2px 15px rgba(243, 156, 18, 0.2);
    }

    .product-item .product-info h3 {
        color: #ffffff;
    }

    .product-item .product-info p {
        color: #cbd5e0;
    }

    /* 暗色主题下的服务流程样式 */
    .process-item {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .process-item:nth-child(1) {
        background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
        border-left: 4px solid #3498db;
        box-shadow: 0 2px 15px rgba(52, 152, 219, 0.2);
    }

    .process-item:nth-child(2) {
        background: linear-gradient(135deg, #2c1f1f 0%, #3e2723 100%);
        border-left: 4px solid #e74c3c;
        box-shadow: 0 2px 15px rgba(231, 76, 60, 0.2);
    }

    .process-item:nth-child(3) {
        background: linear-gradient(135deg, #2d2416 0%, #3e2723 100%);
        border-left: 4px solid #f39c12;
        box-shadow: 0 2px 15px rgba(243, 156, 18, 0.2);
    }

    .process-item:nth-child(4) {
        background: linear-gradient(135deg, #1a2f1f 0%, #2d3e2d 100%);
        border-left: 4px solid #27ae60;
        box-shadow: 0 2px 15px rgba(39, 174, 96, 0.2);
    }

    .process-item h3,
    .case-item .case-info h3 {
        color: #ffffff;
    }

    .process-item p,
    .case-item .case-info p {
        color: #cbd5e0;
    }

    /* 暗色主题下的成功案例样式 */
    .case-item {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .case-item:nth-child(1) {
        background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
        border-left: 4px solid #3498db;
        box-shadow: 0 2px 15px rgba(52, 152, 219, 0.2);
    }

    .case-item:nth-child(2) {
        background: linear-gradient(135deg, #2c1f1f 0%, #3e2723 100%);
        border-left: 4px solid #e74c3c;
        box-shadow: 0 2px 15px rgba(231, 76, 60, 0.2);
    }

    .case-item:nth-child(3) {
        background: linear-gradient(135deg, #1a2f1f 0%, #2d3e2d 100%);
        border-left: 4px solid #27ae60;
        box-shadow: 0 2px 15px rgba(39, 174, 96, 0.2);
    }



    img {
        filter: brightness(0.8);
    }
}

/* 减少动画 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 3D产品查看器 */
.product-viewer {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.product-viewer canvas {
    width: 100%;
    height: 100%;
}

.model-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    display: none;
}

.model-controls {
    position: absolute;
    bottom: var(--spacing-sm);
    right: var(--spacing-sm);
    display: flex;
    gap: var(--spacing-xs);
}

.model-control-btn {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.model-control-btn:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
}

.model-control-btn i {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* 设备展示 */
.equipment {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.equipment-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.equipment-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    overflow: hidden;
}

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

.equipment-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.equipment-item:hover .equipment-image img {
    transform: scale(1.1);
}

.equipment-info {
    padding: 20px;
}

.equipment-info h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.equipment-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.equipment-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.equipment-specs li {
    color: #555;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.equipment-specs li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

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

/* 响应式设计 */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equipment-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .equipment-image {
        height: 250px;
    }
    
    .equipment-info h3 {
        font-size: 1.3rem;
    }
}

/* 移动端响应式样式 */
@media screen and (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 60px;
        right: 0;
        transform: none;
        width: 100%;
        background: #fff;
        padding: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        display: none;
    }

    .main-nav.show {
        display: block;
    }

    .main-nav ul {
        box-shadow: none;
        border-radius: 0;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        padding-left: 20px;
        width: 100%;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: #333;
    font-size: 14px;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    z-index: 9999;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #28a745;
}

.notification.error {
    border-left: 4px solid #dc3545;
}

.notification.warning {
    border-left: 4px solid #ffc107;
}

.notification.info {
    border-left: 4px solid #17a2b8;
}

/* 暗色主题支持 */
@media (prefers-color-scheme: dark) {
    .notification {
        background: #333;
        color: #fff;
    }
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
    .notification {
        transition: none;
    }
}

/* 高对比度模式支持 */
@media (forced-colors: active) {
    .notification {
        border: 1px solid ButtonText;
    }
}

/* 在线客服 */
.service-option i.fa-whatsapp {
    color: #25D366;  /* WhatsApp的品牌色 */
}

.service-option i.fa-phone {
    color: #007bff;  /* 电话图标使用蓝色 */
}

.service-option:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.service-option:hover i.fa-whatsapp {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
} 

/* 自动弹出客服对话框 */
.chat-popup {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 350px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.3s ease forwards;
    display: none;
}

.chat-popup.show {
    display: block;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 12px 12px 0 0;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5em;
    cursor: pointer;
    padding: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.chat-close:hover {
    opacity: 1;
}

.chat-body {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.chat-message.agent {
    align-items: flex-start;
}

.chat-message.user {
    align-items: flex-end;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
}

.chat-message.agent .chat-bubble {
    background-color: var(--bg-light);
    border-bottom-left-radius: 4px;
}

.chat-message.user .chat-bubble {
    background-color: var(--primary-color);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chat-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    outline: none;
    transition: border-color 0.3s;
}

.chat-input:focus {
    border-color: var(--primary-color);
}

.chat-send {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.chat-send:hover {
    background-color: var(--secondary-color);
}

.chat-options {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chat-option {
    background-color: var(--bg-light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.chat-option:hover {
    background-color: var(--border-color);
}

.whatsapp-button {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background-color: #25D366;
    color: white;
    border-radius: 30px;
    margin-top: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    justify-content: center;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}

.whatsapp-button i {
    margin-right: 8px;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .chat-popup {
        right: 10px;
        left: 10px;
        width: auto;
        bottom: 80px;
    }
} 

.main-footer, .main-footer *, .footer, .footer *, .footer-bottom, .footer-bottom *, .copyright {
    color: #fff !important;
    text-shadow: 0 0 2px #000, 0 1px 4px rgba(0,0,0,0.5) !important;
} 