* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 导航栏样式 */
.navbar {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0 15%;
    height: 70px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    transition: all 0.3s ease;
    justify-content: flex-start;
}

.navbar.scrolled {
    height: 60px;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.logo-container {
    display: flex;
    align-items: center;
    flex: none;
    margin-right: 40px;
}

.logo {
    height: 35px;    
}

.nav-spacer {
    width: 0;
    flex: 1;
}

/* 导航菜单样式 */
.nav-menu {
    display: flex;
    justify-content: center;
    margin: 0;
    flex: none;
}

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

.nav-menu li {
    margin: 0 16px;
}

.menu-item {
    position: relative;
}

.menu-item a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 5px;
    white-space: nowrap;
    display: block;
    height: 70px;
    line-height: 70px;
}

.navbar.scrolled .menu-item a {
    height: 60px;
    line-height: 60px;
}

/* 导航菜单项悬停样式 - 完全重写 */
.menu-item > a:after,
.parent-link:after {
    display: none !important;
    border-bottom: none !important;
    background: none !important;
    content: none !important;
    height: 0 !important;
}

.menu-item > a,
.menu-item.active > a,
.menu-item > a:hover,
.has-submenu > .parent-link,
.has-submenu > .parent-link:hover,
.has-submenu.active > .parent-link {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* 下拉箭头样式与下划线分离 */
.has-submenu > .parent-link:after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #c7000b;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.navbar.scrolled .has-submenu > .parent-link:after {
    bottom: 15px;
}

/* 只有在直接悬停在父菜单链接上时才显示下划线 */
.menu-item > a:hover:after,
.menu-item.active > a:after {
    transform: scaleX(1);
}

/* 下拉箭头样式与下划线分离 */
.has-submenu:hover:not(:focus-within) > .parent-link:after,
.has-submenu.subhover > .parent-link:after {
    transform: scaleX(0) !important;
}

/* 子菜单显示时，如果鼠标移到子菜单上，不显示父菜单下划线 */
.has-submenu:hover .submenu:hover ~ .parent-link:after {
    transform: scaleX(0) !important;
}

/* 移除可能的冲突样式 */
.nav-menu a::after,
.nav-menu a:hover::after {
    display: none;
}

/* 子菜单项样式 */
.submenu-item ul li a.child-link {
    color: #666;
    font-size: 14px;
    font-weight: normal;
    padding: 6px 10px;
    height: auto;
    line-height: 1.5;
    display: block;
    transition: all 0.3s;
    border-radius: 4px;
}

.submenu-item ul li a.child-link:hover {
    color: #c7000b;
    background-color: rgba(199, 0, 11, 0.05);
}

/* 确保子菜单悬停不会影响父菜单下划线 */
.submenu:hover ~ .parent-link:after,
.child-link:hover ~ .parent-link:after,
.submenu-item:hover ~ .parent-link:after {
    transform: scaleX(0) !important;
}

/* 子菜单箭头样式 */
.has-submenu > a:after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.has-submenu:hover > a:after {
    transform: rotate(180deg);
}

/* 子菜单样式 */
.has-submenu {
    position: relative;
}

.has-submenu > a:before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #c7000b;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

/* 只有直接悬停在菜单链接上时才显示下划线，而不是在子菜单项悬停时显示 */
.has-submenu > a:hover:before,
.has-submenu.active > a:before {
    transform: scaleX(1);
}

/* 当鼠标悬停在子菜单上时，阻止主菜单项的下划线显示 */
.has-submenu:hover .submenu:hover ~ a:before {
    transform: scaleX(0);
}

/* 当子菜单显示时，确保子菜单项的悬停不会影响主菜单项 */
.submenu:hover + .has-submenu > a:before,
.submenu-item:hover ~ .has-submenu > a:before {
    transform: scaleX(0) !important;
}

/* 子菜单项悬停时的样式 */
.submenu-item ul li a:hover {
    color: #c7000b;
    background-color: rgba(199, 0, 11, 0.05);
}

/* 禁止子菜单项悬停时影响父级菜单项 */
.submenu:hover ~ .has-submenu > a:before,
.submenu-item:hover ~ .has-submenu > a:before {
    transform: scaleX(0) !important;
}

.navbar.scrolled .has-submenu > a:before {
    bottom: 15px;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    min-width: 200px;
    width: auto;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 20px;
    z-index: 1001;
    margin-top: -10px;
    justify-content: space-between;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.submenu:before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.submenu-item {
    flex: 1;
    padding: 0 15px;
    min-width: 150px;
    border-right: 1px solid #f1f1f1;
}

.submenu-item:last-child {
    border-right: none;
}

.submenu-item h4 {
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f1f1;
    font-weight: 500;
}

.submenu-item ul {
    display: block;
    margin: 0;
    padding: 0;
}

.submenu-item ul li {
    margin: 8px 0;
    list-style: none;
    display: block;
}

.submenu-item ul li a {
    color: #666;
    font-size: 14px;
    font-weight: normal;
    padding: 6px 10px;
    height: auto;
    line-height: 1.5;
    display: block;
    transition: all 0.3s;
    border-radius: 4px;
}

.submenu-item ul li a:hover {
    color: #c7000b;
    background-color: rgba(199, 0, 11, 0.05);
}

.submenu-item ul li a::after {
    display: none;
}

/* 导航栏右侧元素 */
.nav-right {
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex: none;
    margin-left: 40px;
}

.phone-number {
    color: #333;
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-size: 15px;
    font-weight: 500;
}

.phone-icon {
    margin-right: 5px;
}

.free-trial-btn {
    background-color: #c7000b;
    color: white;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.free-trial-btn:hover {
    background-color: #a70009;
}

/* 内容区域 */
.content {
    margin-top: 0px;
}

/* 轮播图区域 */
.carousel {
    height: 500px;
    background-color: #000;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://source.unsplash.com/random/1920x900/?technology,data');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10%;
}

.carousel h1 {
    font-size: 48px;
    font-weight: normal;
    margin-bottom: 20px;
    max-width: 600px;
}

.carousel p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
}

.btn {
    padding: 10px 25px;
    background-color: #c7000b;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #a70009;
}

/* 标题样式 */
.section-title {
    text-align: center;
    padding: 60px 0 30px;
    font-size: 28px;
    font-weight: normal;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
}

/* 解决方案区域 */
.solutions-section {
    padding: 20px 5% 60px;
    background-color: #fff;
}

.solution-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
    display: none; /* 隐藏原有的选项卡 */
}

.solution-tab {
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 16px;
    cursor: pointer;
    position: relative;
}

.solution-tab.active {
    color: #c7000b;
}

.solution-tab.active:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #c7000b;
}

/* 更新解决方案卡片样式 */
.solution-grid {
    display: none; /* 默认隐藏所有卡片 */
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.solution-grid.active {
    display: flex; /* 激活时显示 */
}

.category-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.category-card {
    width: calc(33.33% - 30px);
    min-width: 280px;
    max-width: 340px;
    height: 280px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 10px;
}

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

.category-card:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #c7000b, #ff6b6b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.category-card:hover:after {
    transform: scaleX(1);
}

.category-card.active {
    border-bottom: none;
}

.category-card.active:after {
    transform: scaleX(1);
}

.category-img {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.category-title {
    padding: 20px 10px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    transition: color 0.3s ease;
}

.category-desc {
    display: none;
    padding: 0 15px 15px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.category-card:hover .category-desc {
    display: block;
}

.overlay-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 15px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(100%);
    height: auto;
    max-height: 100px;
    overflow: hidden;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.category-card:hover .overlay-info {
    opacity: 1;
    transform: translateY(0);
}

.category-card:hover .category-title {
    color: #c7000b;
}

.solution-card {
    width: calc(33.33% - 20px);
    background-color: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
    display: none; /* 隐藏所有解决方案卡片 */
    flex-direction: column;
    margin-bottom: 20px;
}

@media (max-width: 1200px) {
    .category-card {
        width: calc(50% - 30px);
        min-width: 260px;
        height: 260px;
    }
    .category-img {
        height: 200px;
    }
    .overlay-info {
        padding: 12px;
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .category-card {
        width: calc(50% - 20px);
        min-width: 240px;
        max-width: 320px;
    }
    .category-title {
        padding: 15px 10px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .category-card {
        width: 100%;
        max-width: 350px;
    }
    .overlay-info {
        transform: translateY(0);
        opacity: 1;
        position: relative;
        max-height: none;
        background: #333;
        padding: 10px;
    }
    .category-card:hover {
        transform: translateY(-5px);
    }
}

/* 消息区域 */
.message-container {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 1001;
    width: 300px;
}

.message {
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 5px;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-in-out;
}

.message-info {
    background-color: #2196F3;
}

.message-success {
    background-color: #4CAF50;
}

.message-error {
    background-color: #F44336;
}

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

/* 用户菜单 */
.user-menu {
    position: relative;
    cursor: pointer;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: 160px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    display: none;
}

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

.user-dropdown a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    transition: background-color 0.3s;
}

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

.card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* 确保其他元素在链接上方 */
.category-img, .category-title {
    position: relative;
    z-index: 6;
}

/* 产品区域样式 */
.product-section {
    padding: 50px 0;
    text-align: center;
    background-color: #f8f8f8;
}

.product-section h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: -7px;
    position: relative;
    display: inline-block;
}

.product-section h2:after {
    content: '';
    width: 80px;
    height: 3px;
    background: #c7000b;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 轮播图包装器 */
.carousel-wrapper {
    padding: 0 15%;
    margin-top: 30px;
} 

/* 页脚样式 */
.footer {
    background-color: #0c1527;
    background-image: linear-gradient(to bottom, #10192f, #0c1527);
    color: #f0f2f5;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 40px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, rgba(58, 133, 248, 0), rgba(58, 133, 248, 0.5), rgba(58, 133, 248, 0));
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 15%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-left {
    flex: 0 0 25%;
    padding-right: 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    filter: brightness(10);
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-intro {
    color: #a0a9b8;
    font-size: 13px;
    line-height: 1.8;
    text-align: justify;
    border-left: 3px solid rgba(58, 133, 248, 0.5);
    padding-left: 12px;
    margin-top: 15px;
}

.footer-divider {
    width: 1px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    align-self: stretch;
    margin: 0 15px;
    min-height: 200px;
}

.footer-center {
    flex: 0 0 40%;
    display: flex;
    justify-content: space-between;
}

.footer-links-section {
    flex: 1;
    padding: 0 15px;
}

.footer-links-section h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.5px;
}

.footer-links-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, #3a85f8, #5a9af8);
    border-radius: 2px;
}

.footer-links-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-section ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 2px;
}

.footer-links-section ul li a {
    color: #a0a9b8;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    padding: 2px 0;
    font-size: 13px;
}

.footer-links-section ul li a:hover {
    color: #3a85f8;
    transform: translateX(5px);
}

.footer-links-section ul li a:before {
    content: '';
    position: absolute;
    left: -8px;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #3a85f8;
    opacity: 0;
    transition: opacity 0.3s;
}

.footer-links-section ul li a:hover:before {
    opacity: 1;
}

.footer-right {
    flex: 0 0 25%;
    padding-left: 20px;
    position: relative;
}

.footer-right h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.5px;
}

.footer-right h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, #3a85f8, #5a9af8);
    border-radius: 2px;
}

.contact-info {
    color: #a0a9b8;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s;
    padding: 5px 0;
}

.contact-info:hover {
    transform: translateX(5px);
    color: #c0c9d8;
}

.contact-info i {
    margin-right: 12px;
    color: #3a85f8;
    min-width: 16px;
}

.footer-bottom {
    padding: 20px 15%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.copyright {
    font-size: 13px;
    color: #777e8b;
    text-align: center;
    width: 100%;
}

.copyright a {
    color: #777e8b;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

.copyright a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #3a85f8;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.copyright a:hover {
    color: #3a85f8;
}

.copyright a:hover:after {
    transform: scaleX(1);
}

@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-left, .footer-center, .footer-right {
        flex: 0 0 100%;
        padding: 0;
        margin-bottom: 30px;
    }
    
    .footer-divider {
        width: 100%;
        height: 1px;
        min-height: auto;
        margin: 20px 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    }
}

@media (max-width: 768px) {
    .footer-center {
        flex-direction: column;
    }
    
    .footer-links-section {
        margin-bottom: 20px;
        padding: 0;
    }
    
    .footer-intro {
        border-left: none;
        border-top: 3px solid rgba(58, 133, 248, 0.5);
        padding-left: 0;
        padding-top: 12px;
    }
}

/* 字体图标替代方案 */
.icon-phone, .icon-email, .icon-address {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    position: relative;
    top: 2px;
}

.icon-phone:before {
    content: '📱';
}

.icon-email:before {
    content: '📧';
}

.icon-address:before {
    content: '📍';
}

/* 响应式布局 */
@media (max-width: 992px) {
    .footer-top {
        padding: 40px 5%;
    }
    
    .footer-section {
        flex: 0 0 50%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 30px 5%;
    }
    
    .footer-section {
        flex: 0 0 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
        justify-content: center;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}

/* 响应式导航菜单 */
@media (max-width: 1200px) {
    .navbar {
        padding: 0 10%;
    }
    
    .nav-menu {
        margin: 0 10px;
    }
    
    .menu-item {
        margin: 0 8px;
    }
    
    .menu-item a {
        font-size: 14px;
    }
    
    .submenu {
        min-width: 450px;
    }
    
    .footer-top {
        padding: 40px 10%;
    }
    
    .footer-bottom {
        padding: 20px 10%;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 0 5%;
    }
    
    .phone-number {
        display: none;
    }
    
    .submenu {
        min-width: 400px;
        left: auto;
        right: 0;
        transform: none;
    }
    
    .footer-top {
        padding: 40px 5%;
    }
    
    .footer-section {
        flex: 0 0 50%;
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        padding: 20px 5%;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: auto;
        padding: 12px 5%;
        flex-wrap: wrap;
    }
    
    .logo-container {
        flex: 1;
    }
    
    .logo {
        height: 30px;
    }
    
    .nav-right {
        order: 2;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        margin-top: 15px;
        display: none;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        width: 100%;
    }
    
    .menu-item {
        margin: 0;
        border-top: 1px solid #f1f1f1;
    }
    
    .menu-item a {
        height: 50px;
        line-height: 50px;
        padding: 0 10px;
    }
    
    .submenu {
        position: static;
        flex-direction: column;
        box-shadow: none;
        min-width: 100%;
        padding: 0 0 0 20px;
        transform: none;
        border-top: 1px solid #f1f1f1;
    }
    
    .submenu-item {
        padding: 5px 0;
        border-right: none;
        border-bottom: 1px solid #f5f5f5;
    }
    
    .submenu-item:last-child {
        border-bottom: none;
    }
    
    .has-submenu:hover .submenu {
        display: none;
    }
    
    .has-submenu.active .submenu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        order: 3;
    }
}

/* 移动菜单按钮 */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    margin-left: 15px;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

@media (min-width: 769px) {
    .submenu {
        max-width: 700px;
    }
}

/* 特殊宽度的子菜单（针对行业案例） */
.nav-menu li:nth-child(2) .submenu {
    min-width: 320px;
    display: flex;
    justify-content: space-between;
}

.nav-menu li:nth-child(2) .submenu-item {
    flex: 1;
    min-width: 140px;
}

.nav-menu li:nth-child(2) .submenu-item:first-child {
    border-right: 1px solid #f1f1f1;
}

.nav-menu li:nth-child(2) .submenu-item ul li a {
    padding: 5px 10px;
}

@media (max-width: 768px) {
    .nav-menu li:nth-child(2) .submenu {
        flex-direction: column;
    }
    
    .nav-menu li:nth-child(2) .submenu-item:first-child {
        border-right: none;
        border-bottom: 1px solid #f1f1f1;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
}

/* 通用容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 核心能力展示 */
.product-showcase {
    padding: 80px 0;
    background-color: #fff;
}

.product-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    flex: 0 0 calc(33.33% - 30px);
    min-width: 280px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.product-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #3a85f8, #5a9af8);
    z-index: 2;
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(58, 133, 248, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    background-color: rgba(58, 133, 248, 0.2);
    transform: scale(1.1);
}

.product-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.product-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.learn-more {
    display: inline-block;
    color: #3a85f8;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.learn-more:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #3a85f8;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.learn-more:hover {
    color: #2563eb;
}

.learn-more:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

/* 解决方案优势 */
.solutions-advantages {
    padding: 80px 0;
    background-color: #f8f9fc;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 25px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: rgba(58, 133, 248, 0.1);
    color: #3a85f8;
    font-size: 24px;
    transition: all 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    background-color: #3a85f8;
    color: #fff;
}

.advantage-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.advantage-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 自定义图标 */
.icon-innovation:before {
    content: '🚀';
}

.icon-security:before {
    content: '🔒';
}

.icon-integrate:before {
    content: '🔄';
}

.icon-support:before {
    content: '🛠️';
}

/* 客户案例轮播 */
.case-studies {
    padding: 10px 0;
    background-color: #fff;
}

.case-carousel {
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.case-item {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 0 10px;
}

.case-image {
    flex: 0 0 40%;
}

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

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

.case-content {
    flex: 0 0 60%;
    padding: 30px;
}

.case-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.case-category {
    display: inline-block;
    background-color: rgba(58, 133, 248, 0.1);
    color: #3a85f8;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.case-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-link {
    display: inline-block;
    color: #3a85f8;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.case-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

.case-nav {
    text-align: center;
    margin-top: 30px;
}

.case-prev, .case-next {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 50%;
    font-size: 16px;
    line-height: 38px;
    cursor: pointer;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.case-prev:hover, .case-next:hover {
    background-color: #3a85f8;
    border-color: #3a85f8;
    color: #fff;
}

/* 数据统计 */
.statistics {
    padding: 60px 0;
    background-color: #10192f;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.statistics:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('{% static "homepage/images/pattern.png" %}') repeat;
    opacity: 0.05;
}

.stats-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    flex: 0 0 auto;
    padding: 20px;
    position: relative;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    display: inline-block;
}

.stat-unit {
    display: inline-block;
    font-size: 48px;
    font-weight: 700;
    color: #3a85f8;
    margin-left: 5px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* 联系我们卡片 */
.contact-card {
    padding: 60px 0;
    background-color: #f8f9fc;
}

.contact-wrapper {
    background: linear-gradient(135deg, #3a85f8, #1a55c8);
    border-radius: 10px;
    padding: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(26, 85, 200, 0.3);
}

.contact-wrapper:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 150px;
    transform: translate(150px, -150px);
}

.contact-content {
    flex: 0 0 60%;
    color: #fff;
}

.contact-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-content p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 80%;
}

.contact-action {
    flex: 0 0 30%;
    text-align: center;
}

.contact-btn {
    display: inline-block;
    background-color: #fff;
    color: #3a85f8;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.contact-phone {
    color: #fff;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .product-card {
        flex: 0 0 calc(50% - 30px);
    }
    
    .case-image, .case-content {
        flex: 0 0 100%;
    }
    
    .contact-content, .contact-action {
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .contact-content p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .product-card {
        flex: 0 0 100%;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        flex: 0 0 50%;
        margin-bottom: 30px;
    }
    
    .contact-wrapper {
        padding: 30px;
    }
}

/* 处理子菜单悬停时禁用父菜单下划线 */
.has-submenu > a.child-hovered:before,
.has-submenu > a.submenu-hovered:before {
    transform: scaleX(0) !important;
}

/* 确保当子菜单被悬停时，父菜单项的下划线不出现 */
.has-submenu:hover > .submenu:hover ~ a:before {
    transform: scaleX(0) !important;
}

/* 修复菜单项悬停时的色彩变化 */
.has-submenu > a.child-hovered,
.has-submenu > a.submenu-hovered {
    color: #c7000b;
}

/* 禁用父菜单下划线的特定类 */
.parent-link.no-underline:after,
.parent-link.no-underline:before,
.has-submenu.subhover > .parent-link:after,
.has-submenu.subhover > .parent-link:before {
    transform: scaleX(0) !important;
}

/* 确保子菜单悬停状态比父菜单悬停状态优先级更高 */
.has-submenu:hover .submenu:hover + .parent-link:after,
.has-submenu:hover .submenu:hover + .parent-link:before,
.has-submenu:hover .submenu-item:hover ~ .parent-link:after,
.has-submenu:hover .submenu-item:hover ~ .parent-link:before,
.submenu:hover + .parent-link:after,
.submenu:hover + .parent-link:before {
    transform: scaleX(0) !important;
}

/* 确保导航栏样式在所有状态下一致 */
.menu-item > a:hover,
.parent-link:hover,
.parent-link.no-underline {
    color: #c7000b;
} 

/* 导航栏固定样式 */
.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1001;
}

/* 子菜单固定样式 */
.submenu-fixed {
    position: absolute;
    top: 60px; /* 匹配缩小后的导航栏高度 */
    left: 50%; /* 添加水平居中定位 */
    transform: translateX(-50%) translateY(10px); /* 合并水平和垂直变换 */
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    width: auto;
    min-width: 200px;
    display: block;
    max-height: calc(100vh - 80px); /* 防止子菜单过长 */
    overflow-y: auto;
}

/* 显示固定子菜单 */
.has-submenu:hover .submenu-fixed {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* 合并水平和垂直变换 */
}

/* 确保第一张图片样式保持固定 */
.navbar-fixed .submenu-item img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: none !important; /* 防止过渡动画 */
}

/* 固定菜单图片样式 */
.fixed-menu-image {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    margin: 0 auto !important;
}

/* 确保下拉菜单中的图片在固定状态下正确显示 */
.navbar-fixed .submenu-fixed .submenu-item img {
    width: auto;
    max-height: 200px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

/* 确保下拉菜单中的所有链接hover状态下没有位移 */
.navbar-fixed .submenu-fixed .submenu-item ul li a:hover,
.navbar-fixed .submenu-item ul li a:hover,
.navbar-fixed .submenu-item ul li a.child-link:hover {
    transform: none !important;
}

/* 确保下拉菜单在滚动时不会有位移 */
.submenu-item ul li a:hover,
.submenu-item ul li a.child-link:hover,
.submenu-item ul li a:active,
.submenu-item ul li a:focus,
.submenu-item ul li a.child-link:active,
.submenu-item ul li a.child-link:focus {
    transform: none !important;
}

/* 确保所有子菜单项在所有状态下都没有位移效果 */
.submenu .submenu-item ul li a,
.submenu-fixed .submenu-item ul li a {
    transition-property: color, background-color;
    transform: none !important;
}

/* 禁用子菜单所有可能的位移效果 */
.submenu-item * {
    transform: none !important;
}

/* 六边形蜂窝状布局 */
.pain-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px;
    padding: 30px 0;
}

.pain-card {
    position: relative;
    width: 280px;
    height: 240px;
    margin: 20px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(58,96,115,0.15);
    border: none;
}

.pain-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 45px rgba(58,123,213,0.25);
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(230,239,255,0.95));
}

.pain-icon {
    position: relative;
    background: linear-gradient(135deg, #3a7bd5 0%, #00d2ff 100%);
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(58,123,213,0.2);
}

.pain-content h3 {
    margin-bottom: 10px;
    color: #1e3c72;
    font-size: 20px;
    font-weight: 700;
}

.pain-content p {
    font-size: 14px;
    color: #506a80;
    line-height: 1.5;
} 

/* .navbar {
    padding: 10 ;
} */