/* ==================== 基础重置样式 ==================== */
/* 全局重置：清除默认边距和填充，统一盒模型 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础字体设置 */
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    /* 主文字颜色：#333333 */
    color: #333;
    /* 主背景颜色：#FFFFFF */
    background-color: #fff;
    font-size: 14px;
}

/* 平滑滚动效果 */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* 容器宽度限制 */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 头部导航样式 ==================== */
.header {
    /* 头部背景：#FFFFFF */
    background-color: #fff;
    /* 头部阴影：rgba(0,0,0,0.1) */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* 滚动后的头部样式 */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
}

/* 移动端菜单切换按钮 */
.menu-toggle {
    display: none;
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    list-style: none;
    border-bottom: 1px solid #e0e0e0;
}

.nav-menu>li {
    position: relative;
    margin: 0 30px;
}

/* 导航链接颜色：#1E1C1C */
.nav-menu a {
    text-decoration: none;
    color: #1E1C1C;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 0;
    display: block;
    transition: all 0.3s ease;
}

/* 导航链接悬停和激活颜色：#004CF5 */
.nav-menu li.active>a,
.nav-menu a:hover {
    color: #004CF5;
}

/* 下拉菜单箭头 */
.dropdown>a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #1E1C1C;
}

/* 下拉菜单样式 */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    list-style: none;
    min-width: 200px;
    padding: 10px 0;
    z-index: 100;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language a {
    text-decoration: none;
    color: #1E1C1C;
    margin: 0 5px;
}

.language a.active {
    font-weight: bold;
    color: #004CF5;
}

.search input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.search button {
    padding: 8px 15px;
    background-color: #004CF5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 5px;
}

/* 主要按钮样式 */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: #e42313;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.header-btn {
    display: inline-block;
    background: #004CF5;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.header-btn:hover {
    background: #003bb8;
    color: #fff;
}

.btn-primary:hover,
.btn-secondary:hover {
    background-color: #c41f10;
}

.btn-secondary {
    background-color: #1E1C1C;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #1E1C1C;
    margin: 3px 0;
    border-radius: 2px;
}

/* ==================== 首页Hero Banner区域 ==================== */
.hero-banner-section {
    position: relative;
    width: 100%;
    /* Banner高度：500px */
    height: 500px;
    overflow: hidden;
}

.hero-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Banner遮罩层：蓝色渐变 */
/* 颜色：rgba(0,51,102,0.7) 到 rgba(0,76,245,0.5) */
.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.7) 0%, rgba(0, 76, 245, 0.5) 100%);
    z-index: 2;
}

.hero-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    /* 文字颜色：#FFFFFF */
    color: #fff;
    z-index: 3;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
}

/* Banner主标题：42px，白色 */
.hero-banner-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Banner副标题：20px，rgba(255,255,255,0.9) */
.hero-banner-subtitle {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Banner按钮样式 */
/* 背景：#004CF5，边框：#004CF5，文字：#FFFFFF */
.hero-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 160px;
    background-color: #004CF5;
    color: #fff;
    border: 2px solid #004CF5;
}

.hero-banner-btn:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

/* ==================== 产品中心区域 ==================== */
/* 背景颜色：#FFFFFF */
.product-center-section {
    padding: 40px 20px 0;
    background-color: #fff;
}

.product-center-container {
    max-width: 1360px;
    margin: 0 auto;
}

.product-center-header {
    text-align: center;
    margin-bottom: 50px;
}

/* 产品中心标题：36px，颜色#003366 */
.product-center-title {
    font-size: 36px;
    color: #003366;
    font-weight: bold;
    margin-bottom: 16px;
}

/* 产品中心副标题：18px，颜色#666666 */
.product-center-subtitle {
    font-size: 18px;
    color: #666;
}

/* 产品卡片网格：3列布局，间距30px */
.product-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 产品卡片样式 */
/* 背景：#FFFFFF，阴影：rgba(0,0,0,0.08)，圆角：8px */
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 270px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
	border: 1px solid #eaeaea; 
	box-sizing: border-box;
}

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

/* 产品图标 */
.product-icon {
    width: 50px;
    height: 50px;
    margin: 5px auto 10px;
    flex-shrink: 0;
    overflow: hidden;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0;
}

/* 产品名称：18px，颜色#003366 */
.product-name {
    font-size: 18px;
    color: #003366;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

/* 产品描述：14px，颜色#666666，首行缩进 */
.product-desc {
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: justify;
    text-align-last: left;
    text-indent: 2em;
}

/* 产品图片卡片（AGV图片） */
/* 高度与其他卡片一致：250px */
.product-image-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 270px;
    padding: 0;
}

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

.product-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ==================== 案例&解决方案区域 ==================== */
/* 背景颜色：#FFFFFF */
.cases-section {
    padding: 40px 20px;
    background-color: #fff;
}

.cases-container {
    max-width: 1360px;
    margin: 0 auto;
}

.cases-header {
    text-align: center;
    margin-bottom: 50px;
}

/* 案例区域标题：36px，颜色#003366 */
.cases-title {
    font-size: 36px;
    color: #003366;
    font-weight: bold;
}

/* 案例卡片网格：3列布局，间距24px */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 39px;
}

/* 案例卡片样式 */
/* 背景：#FFFFFF，阴影：rgba(0,0,0,0.08)，圆角：8px */
.case-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
	border: 1px solid #ddd; 
}

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

/* 案例卡片链接去除下划线 */
a.case-card {
    text-decoration: none;
}

a.case-card:hover {
    text-decoration: none;
}

/* 案例卡片顶部区域：左侧标题+标签，右侧Logo */
.case-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 20px 0;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
}

/* 左侧区域：标题和标签上下排列 */
.case-card-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

/* 案例名称：16px，颜色#003366 */
.case-name {
    font-size: 16px;
    color: #003366;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
}

/* 案例Logo */
.case-logo {
    width: 70px;
    height: 60px;
    flex-shrink: 0;
    margin-left: 10px;
}

.case-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.case-logo1 {
    width: 120px;
    height: 60px;
    flex-shrink: 0;
    margin-left: 10px;
}

.case-logo1 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 案例标签区域 */
.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* 案例标签样式 */
/* 背景：#f0f5ff，文字：#004CF5，圆角：4px */
.case-tag {
    padding: 4px 10px;
    background: #f0f5ff;
    color: #004CF5;
    font-size: 12px;
    border-radius: 4px;
}

/* 案例描述 */
/* 背景：#f5f5f5，文字：#666666，首行缩进 */
.case-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    text-align: justify;
    text-align-last: left;
    padding: 15px 20px 40px;
    background: #f5f5f5;
    margin: 0;
    text-indent: 2em;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

/* ==================== 关于我们区域 ==================== */
/* 背景：#1A5786 */
.company-intro-section {
    background: #1A5786;
    padding: 60px 20px;
    position: relative;
}

.company-intro-container {
    max-width: 1360px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* 介绍文字区域 - 文字白色 */
.intro-text-wrapper {
    text-align: center;
    margin-bottom: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

/* 关于我们标题：36px，白色#FFFFFF */
.intro-section-title {
    font-size: 36px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

/* 介绍文字：18px，白色#FFFFFF */
.intro-text {
    font-size: 17px;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 30px;
    text-align: left;
    text-indent: 2em;
}

/* 了解更多按钮 - 透明背景，白色边框 */
.intro-btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.intro-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* 关于我们卡片 - 复用 cases-grid 布局 */
.about-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 39px;
    width: 100%;
}

/* 关于我们卡片样式 */
.about-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* 关于我们卡片图片 */
.about-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

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

.about-card:hover .about-card-image img {
    transform: scale(1.1);
}

/* 关于我们卡片内容区域 */
.about-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
}

/* 关于我们卡片标题 */
.about-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #004CF5;
    margin-bottom: 12px;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* 关于我们卡片副标题 */
.about-card-subtitle {
    font-size: 14px;
    color: #333;
    font-weight: normal;
    margin-left: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* 关于我们卡片文字 */
.about-card-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    text-indent: 2em;
}

/* ==================== CTA区域 ==================== */
/* 背景：#537F97 */
.cta-section {
    background: #537F97;
    padding: 30px 20px;
}

.cta-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* CTA文字区域 */
.cta-text h2 {
    font-size: 20px;
    font-weight: 560;
    /* 颜色：#FFFFFF */
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.cta-text p {
    font-size: 16px;
    font-weight: 480;
    /* 颜色：rgba(255,255,255,0.85) */
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* CTA按钮：背景#FFFFFF，文字#1A5786 */
.cta-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #fff;
    color: #1A5786;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
}

.cta-btn:hover {
    background: #f5f5f5;
}

/* ==================== 页脚样式 ==================== */
/* 页脚背景：#5a5a5a */
.footer {
    background-color: #5a5a5a;
    color: #fff;
    padding: 60px 0 0;
}

.footer .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-main {
    display: flex;
    padding-bottom: 40px;
}

.footer-brand {
    width: 33.333%;
    flex-shrink: 0;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 15px;
}

.footer-brand-info {
    margin-top: 10px;
}

.footer-brand-info p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-regions {
    margin-top: 15px;
    font-size: 18px;
}

/* 地区文字颜色：#40E0D0 */
.footer-regions .region-text {
    color: #40E0D0;
}

.region-separator {
    color: #40E0D0;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-icon i {
    font-size: 18px;
}

.social-text {
    font-size: 14px;
    font-weight: 500;
}

.footer-links {
    display: flex;
    width: 66.667%;
    justify-content: space-between;
    gap: 60px;
    padding-right: 40px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #fff;
}

.footer-copyright {
    text-align: left;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==================== 响应式适配 ==================== */
@media (max-width: 1360px) {
    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
}

@media (max-width: 1024px) {
    .product-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-image-card {
        height: 270px;
    }
    
    .product-card {
        height: 270px;
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .company-intro-section {
        padding: 50px 20px;
    }

    .intro-text {
        font-size: 16px;
    }

    .about-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .card-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .hero-banner-section {
        height: 400px;
    }

    .hero-banner-title {
        font-size: 28px;
    }

    .hero-banner-subtitle {
        font-size: 16px;
    }

    .hero-banner-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-banner-btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .product-center-section {
        padding: 50px 20px;
    }

    .product-center-title {
        font-size: 28px;
    }

    .product-cards-wrapper {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        height: auto;
        min-height: 240px;
    }
    
    .product-image-card {
        height: auto;
        min-height: 200px;
    }
    
    .cases-section {
        padding: 50px 0;
    }

    .cases-title {
        font-size: 28px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .cta-text h2 {
        font-size: 18px;
    }
    
    .cta-text p {
        font-size: 16px;
    }
    
    .cta-btn {
        font-size: 18px;
        padding: 10px 24px;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .intro-text-wrapper {
        margin-bottom: 40px;
    }

    .card-content {
        padding: 25px;
    }
    
    .intro-section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-banner-title {
        font-size: 24px;
    }

    .product-center-title {
        font-size: 24px;
    }
    
    .cases-title {
        font-size: 24px;
    }
    
    .company-intro-section {
        padding: 50px 15px;
    }

    .intro-text {
        font-size: 15px;
    }

    .intro-btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .card-title {
        font-size: 16px;
    }
}

/* ==================== 其他页面通用样式 ==================== */
.page-header {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* 联系表单样式 */
.contact-form {
    max-width: 600px;
    margin-top: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.contact-form button {
    padding: 12px 30px;
    background-color: #004CF5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.contact-form button:hover {
    background-color: #0039B8;
}

/* 按钮悬停效果增强 */
.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.btn-primary::after,
.btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(50, 50);
        opacity: 0;
    }
}

/* 轮播组件样式 */
.hero-carousel-section {
    position: relative;
    width: 100%;
    height: calc(100vh * 2 / 3);
    min-height: 400px;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
}

/* Swiper轮播相关 */
.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 案例详情页样式 */
.case-detail-hero {
    background: #f8fafc;
    padding: 80px 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-left {
    flex: 0 0 60%;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-tags .tag {
    background: rgba(228, 35, 19, 0.08);
    color: #e42313;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 16px;
    border: 1px solid rgba(228, 35, 19, 0.15);
}

.hero-left h1 {
    font-size: 32px;
    font-weight: 600;
    color: #0d0d0d;
    margin-bottom: 16px;
    line-height: 1.3;
}

.hero-left p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.hero-right {
    flex: 0 0 40%;
}

.hero-right img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* 案例CTA区域 */
.case-cta {
    background-color: #5a8aa8;
    padding: 40px 60px;
}

.case-cta .cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.case-cta h2 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.6;
    text-align: left;
}

.case-cta .btn-primary {
    display: inline-block;
    background: #fff;
    color: #999;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.case-cta .btn-primary:hover {
    background: #f5f5f5;
    color: #999;
}

/* MES详情页样式 */
.mes-hero {
    position: relative;
    height: 50vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mes-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.mes-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mes-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 76, 245, 0.75) 100%);
    z-index: 2;
}

.mes-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    max-width: 900px;
}

.mes-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mes-hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.mes-hero-desc {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* MES区块样式 */
.mes-section {
    padding: 80px 0;
}

.mes-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.mes-section-title {
    font-size: 36px;
    font-weight: 700;
    color: #0d0d0d;
    margin-bottom: 16px;
}

.mes-section-desc {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* MES效益卡片 */
.mes-benefits {
    background: linear-gradient(135deg, #003366 0%, #001a33 100%);
    padding: 100px 0;
}

.mes-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mes-benefit-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.mes-benefit-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.mes-benefit-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.mes-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mes-benefit-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 10px;
}

.mes-benefit-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #004CF5;
    border-radius: 50%;
}

/* MES CTA区域 */
.mes-cta {
    background: linear-gradient(135deg, #004CF5 0%, #0039B8 100%);
    padding: 80px 20px;
    text-align: center;
}

.mes-cta h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.mes-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.mes-cta-btn {
    display: inline-block;
    padding: 16px 48px;
    background: #fff;
    color: #004CF5;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mes-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

/* 联系我们分栏布局 */
.contact-split-section {
    min-height: calc(100vh - 80px);
    display: flex;
}

.contact-split-container {
    display: flex;
    width: 100%;
    min-height: 100%;
}

.contact-left-panel {
    width: 50%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 40px 60px 80px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-right-panel {
    width: 50%;
    background: #f8f9fa;
    padding: 40px 60px 80px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 分页样式 */
.case-pagination {
    padding: 40px 120px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-num.active {
    background-color: #0066FF;
    color: #fff;
}

.page-num:hover:not(.active) {
    background-color: #f5f5f5;
}

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.stat-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #1565c0;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

/* 解决方案Hero */
.solution-hero {
    background-image: url('../images/cpzx.png');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.solution-hero h1 {
    font-size: 42px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.solution-hero p {
    font-size: 24px;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 行业筛选 */
.industry-filter {
    padding: 40px 20px;
    background: #f8f9fa;
}

.filter-container {
    max-width: 900px;
    margin: 0 auto;
}

.filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.filter-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.filter-tag {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid #e0e0e0;
    border-radius: 24px;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tag:hover {
    border-color: #004CF5;
    color: #004CF5;
}

.filter-tag.active {
    background: #004CF5;
    border-color: #004CF5;
    color: #fff;
}

/* 案例卡片中的行业标签 */
.industry-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
}

.industry-tag {
    padding: 3px 8px;
    background: #f0f5ff;
    color: #004CF5;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
}
