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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航栏样式 */
.header {
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    max-width: 1460px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 50px;
}

.logo a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
}

.logo a:hover {
    color: #3498db;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul {
    position: relative;
}

.nav ul li {
    margin-left: 30px;
    position: relative;
}

.nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 10px 0;
    display: inline-block;
}

/* 导航菜单项悬浮背景颜色效果 */
.nav ul li a {
    position: relative;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav ul li a:hover {
    background-color: #2c3e50;
    color: #fff;
}

/* 底部动态下划线效果 */
.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.nav ul li a:hover::after {
    width: 100%;
}

/* 二级菜单样式 */
.nav-item {
    position: relative;
}

/* 为有子菜单的菜单项添加箭头 */
.nav-item.has-dropdown > a::before {
    content: '▼';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover > a::before {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    margin-top: 8px;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 690px;
    left: 0;
    transform: none;
}

.dropdown-content a {
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
    color: #333;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.dropdown-content a:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* 手机版子菜单样式 */
@media (max-width: 768px) {
    .dropdown-content {
        min-width: 100%;
        max-width: 100%;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 10px;
        padding: 15px;
        position: static;
    }
    
    .dropdown-content a {
        padding: 12px 15px;
        background-color: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 4px;
    }
    
    .dropdown-content a:hover {
        background-color: #007bff;
        color: #fff;
        border-color: #007bff;
        transform: none;
        box-shadow: none;
    }
}

.dropdown-content a::after {
    display: none;
}

/* 翻译功能容器 */
.translate-container {
    margin-left: 20px;
    position: relative;
}

/* 语言切换组件样式 */
.change-language {
    position: relative;
    z-index: 10;
}

.change-language-title {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    background-color: transparent;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.change-language-title:hover {
    color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.change-language-title b {
    margin-right: 8px;
    width: 30px;
    height: 20px;
    display: inline-block;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.change-language-title i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.change-language-title:hover i {
    transform: rotate(180deg);
}

/* 语言列表样式 */
.change-language-cont {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 450px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.change-language-cont.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.prisna-wp-translate-seo {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.language-flag {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: calc(33.333% - 8px);
    margin: 4px;
    border-radius: 4px;
    box-sizing: border-box;
}

.language-flag:hover {
    background-color: #f5f5f5;
}

.language-flag b {
    margin-right: 8px;
    width: 30px;
    height: 20px;
    display: inline-block;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* 国旗样式 - 动态生成，通过扩展变量 add_flags 管理 */
/* 具体实现请参考 flags_style.php 文件 */

/* 国旗图标基础样式 */
.country-flag {
    display: inline-block;
    width: 24px;
    height: 18px;
    background-size: cover;
    background-position: center;
    margin-right: 5px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .translate-container {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .change-language-cont {
        right: auto;
        left: 0;
    }
}

@media (max-width: 768px) {
    .change-language-title {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .change-language-cont {
        width: 180px;
    }
    
    .language-flag {
        padding: 6px 12px;
    }
}

/* Banner区域样式 */
.banner {
    position: relative;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    overflow: hidden;
    margin-top: 0;
    z-index: 1;
}

/* 轮播容器 */
.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 轮播幻灯片 */
.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 8s ease-in-out;
    transform: scale(1);
}

.banner-slide.active {
    opacity: 1;
    transform: scale(1.1);
}

/* 幻灯片内容 */
.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 100px;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 为文字添加半透明背景 */
.slide-content h1, .slide-content p {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
}

/* 按钮样式 */
.slide-content .btn {
    margin-top: 1rem;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.slide-content .btn:hover {
    background-color: #0069d9;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.5);
}

.slide-content .btn:active {
    transform: scale(0.98) translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* 轮播控制按钮 */
.banner-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 鼠标悬停banner时显示控制按钮 */
.banner:hover .banner-controls {
    opacity: 1;
}

.banner-control {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.banner-control:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* 轮播指示器 */
.banner-indicators {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

.banner-indicator {
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.banner-indicator.active {
    background-color: #fff;
}

.banner-content {
    max-width: 800px;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0069d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #333;
    border: 1px solid #333;
}

.btn-secondary:hover {
    background-color: #333;
    color: #fff;
}

.btn-inquiry {
    background-color: #28a745;
    color: #fff;
}

.btn-inquiry:hover {
    background-color: #218838;
}

/* 核心产品展示区域样式 */
.products-section {
    padding: 100px 0;
    background-color: #fff;
}

.products-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.products-section p {
    text-align: center;
    margin-bottom: 60px;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.product-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-date {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 4px;
    z-index: 1;
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-item h3 {
    padding: 20px;
    text-align: center;
    color: #333;
    margin: 0;
}

/* 联系我们展示区域样式 */
.contact-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.contact-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

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

.contact-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    color: #fff;
    transition: all 0.3s ease;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.contact-item.phone {
    background-color: #25D366;
}

.contact-item.email {
    background-color: #EA4335;
}

.contact-item.whatsapp {
    background-color: #075E54;
}

.contact-item.facebook {
    background-color: #1877F2;
}

.contact-icon {
    margin-bottom: 15px;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-item p {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-desc {
    font-size: 12px;
    opacity: 0.9;
}

/* WhatsApp二维码样式 */
.whatsapp-qr {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.whatsapp-qr img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.whatsapp-qr::after {
    content: 'Scan to add';
    display: block;
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

.contact-item.whatsapp:hover .whatsapp-qr {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.contact-item.whatsapp:hover .contact-icon,
.contact-item.whatsapp:hover h3,
.contact-item.whatsapp:hover p,
.contact-item.whatsapp:hover .contact-desc {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-item {
        height: auto;
        padding: 30px 20px;
    }
}

/* detail.html中的footer联系方式样式 */
.footer-contact-item {
    position: relative;
    display: inline-block;
}

/* detail.html中的WhatsApp二维码样式 */
.footer-contact-item .whatsapp-qr {
    position: absolute;
    top: -130px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    text-align: center;
    min-width: 120px;
}

.footer-contact-item .whatsapp-qr img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.footer-contact-item .whatsapp-qr::after {
    content: 'Scan to add';
    display: block;
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

.footer-contact-item.whatsapp:hover .whatsapp-qr {
    opacity: 1;
    visibility: visible;
    top: -140px;
}

/* detail.html中的WhatsApp二维码响应式设计 */
@media (max-width: 768px) {
    .footer-contact-item .whatsapp-qr {
        top: auto;
        bottom: -130px;
    }
    
    .footer-contact-item.whatsapp:hover .whatsapp-qr {
        bottom: -140px;
    }
}
/* detail.html中的产品描述部分联系方式样式 */
.contact-icon-item {
    position: relative;
    display: inline-block;
}

.contact-icon-item .whatsapp-qr {
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    text-align: center;
    min-width: 120px;
}

.contact-icon-item .whatsapp-qr img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.contact-icon-item .whatsapp-qr::after {
    content: 'Scan to add';
    display: block;
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

.contact-icon-item.whatsapp:hover .whatsapp-qr {
    opacity: 1;
    visibility: visible;
    top: -190px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-icon-item .whatsapp-qr {
        top: auto;
        bottom: -130px;
    }
    
    .contact-icon-item.whatsapp:hover .whatsapp-qr {
        bottom: -140px;
    }
}

/* 数据统计展示区域样式 */
.stats-section {
    background-color: #f5f5f5;
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* 产品分类展示区域样式 */
.product-categories-section {
    padding: 100px 0;
    background-color: #fff;
}

.product-categories-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

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

.product-category-item {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-category-item:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-5px);
}

/* View More 特殊样式 */
.product-category-item.view-more {
    background-color: #2c3e50;
    color: #fff;
}

.product-category-item.view-more:hover {
    background-color: #34495e;
    transform: translateY(-5px);
}

.product-category-item.view-more .arrow-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.product-category-item.view-more:hover .arrow-icon {
    transform: translateX(5px);
}

.product-category-item h3 {
    font-size: 18px;
    font-weight: 500;
}

/* 客户案例展示区域样式 */
.cases-section {
    padding: 30px 0;
    background-color: #f5f5f5;
    text-align: center;
}

.cases-section h2 {
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.case-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.case-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 20;
}

.case-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    z-index: 1;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}

.case-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 123, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.case-item:hover .case-btn {
    opacity: 1;
    visibility: visible;
}

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

.case-info {
    padding: 30px;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    position: relative;
    text-align: left;
}

.case-order {
    position: absolute;
    top: -52px;
    left: -15px;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    z-index: 3;
}

.case-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
    padding-top: 10px;
    z-index: 20;
    position: relative;
}

/* 鼠标划过的边框动态效果 */
.case-item {
    position: relative;
    overflow: visible;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.case-item::before {
    content: '';
    position: absolute;
    bottom: -1.1px;
    right: -1.1px;
    width: 0;
    height: 0;
    border-bottom: 2px solid transparent;
    border-right: 2px solid transparent;
    transition: all 0.8s ease;
    z-index: 10;
    border-bottom-right-radius: 8px;
}

.case-item::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 0;
    height: 0;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    transition: all 0.8s ease 0.8s;
    z-index: 10;
    border-top-left-radius: 8px;
}

.case-item:hover::before {
    width: 100%;
    height: 100%;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.case-item:hover::after {
    width: 100%;
    height: 100%;
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

/* 图片右下角日期样式 */
.case-date {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #000;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    z-index: 15;
    transition: all 0.3s ease;
    border-top-left-radius: 8px;
}

.case-item:hover .case-date {
    border-radius: 8px;
}

/* 美化按钮样式 */
.case-more {
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: transparent;
    color: #007bff;
    border: 1px solid #007bff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
}

.case-more:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* 限制标题最多两行并使用...结尾 */
.case-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
    padding-top: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    height: 3.5rem;
}

/* 去除链接下划线 */
.case-link {
    text-decoration: none;
    color: inherit;
}

.case-item:hover::before {
    width: 100%;
    height: 100%;
}

.case-item:hover::after {
    width: 100%;
    height: 100%;
}

/* 新闻和博客展示区域样式 */
.news-section {
    padding: 100px 0;
    background-color: #fff;
}

.news-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

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

.news-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-item h3 {
    padding: 20px 20px 10px;
    color: #333;
}

.news-item p {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.6;
}

/* 底部页脚区域样式 */
.footer {
    padding: 100px 0 50px;
    background-color: #333;
    color: #fff;
}

/* 分站链接区域样式 */
.subsites-section {
    padding: 20px 30px;
    background-color: #333333;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    margin-bottom: 0;
    position: relative;
}

/* 动态分割线样式 */
.subsites-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.6s ease;
}

/* 鼠标划过效果 */
.subsites-section:hover::after {
    transform: scaleX(1);
    background: linear-gradient(90deg, transparent, #2980b9, transparent);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    opacity: 0.8;
    margin-top: 0;
}

.subsites-section h4 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subsites-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.subsite-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background-color: #3498db;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

.subsite-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    background-color: #2980b9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .subsites-section {
        padding: 20px 20px;
    }
    
    .subsites-container {
        gap: 10px;
    }
    
    .subsite-link {
        padding: 8px 16px;
        font-size: 13px;
    }
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-left {
    flex: 1;
    min-width: 300px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 30px;
}

.footer-nav {
    list-style: none;
    margin-bottom: 30px;
}

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

.footer-nav li a {
    text-decoration: none;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav li a:hover {
    opacity: 1;
}

.footer-right {
    flex: 1;
    min-width: 300px;
}

.footer-social {
    list-style: none;
    display: flex;
    margin-bottom: 30px;
}

.footer-social li {
    margin-right: 20px;
}

.footer-social li a {
    color: #fff;
    transition: color 0.3s ease;
}

.footer-social li a:hover {
    color: #007bff;
}

.footer-contacts {
    list-style: none;
}

.footer-contacts li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-contacts li a {
    text-decoration: none;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-contacts li a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .header-inner {
        flex-direction: column;
        padding: 10px;
    }

    .nav ul {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }

    .banner-content h1 {
        font-size: 36px;
    }

    .products-section h2,
    .advantages-section h2,
    .product-categories-section h2,
    .cases-section h2,
    .news-section h2 {
        font-size: 30px;
    }

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

@media (max-width: 768px) {
    .banner {
        height: 80vh;
    }

    .banner-content h1 {
        font-size: 28px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .products-section,
    .advantages-section,
    .stats-section,
    .product-categories-section,
    .cases-section,
    .news-section,
    .footer {
        padding: 60px 0;
    }

    .product-grid,
    .advantages-grid,
    .cases-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .nav ul {
        flex-direction: column;
        align-items: center;
    }

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

    .banner-content h1 {
        font-size: 24px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 36px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* 滚动显示动画 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 公司展示区域样式 */
.company-showcase {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.showcase-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.showcase-text {
    flex: 1;
}

.company-showcase h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    text-align: center;
}

.showcase-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #666;
}

.showcase-text .btn {
    margin-top: 2rem;
    display: inline-block;
}

.showcase-image {
    flex: 1.2;
}

.showcase-image .image-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-image .image-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.showcase-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.showcase-image .image-link:hover img {
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .showcase-content {
        flex-direction: column;
        text-align: center;
    }
    
    .showcase-text,
    .showcase-image {
        flex: 1;
        width: 100%;
    }
    
    .showcase-image {
        margin-top: 40px;
    }
}

/* 详情页分类链接样式 */
.meta-value-link {
    display: inline-block;
    padding: 4px 12px;
    background-color: #f5f5f5;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.meta-value-link:hover {
    background-color: #e0e0e0;
    color: #000;
    transform: translateY(-2px);
}

/* 查看详情按钮样式 */
.view-details-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.view-details-btn:hover {
    background-color: #0069d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 关键词链接样式 */
.keyword-link {
    color: inherit;
    font-size: inherit;
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
    transition: all 0.3s ease;
    padding-bottom: 1px;
    display: inline;
    vertical-align: baseline;
}

.keyword-link:hover {
    border-bottom-style: solid;
    opacity: 0.8;
}

.keyword-link i {
    margin-right: 4px;
    font-size: 0.8em;
    vertical-align: middle;
}

