body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    /* 避免内容被固定的导航栏遮挡 */
    padding-top: 0px; 
}

nav {
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* 默认不透明 */
    background-color: rgba(6, 23, 58, 0.5); 
    transition: background-color 0.3s ease;
}

nav.transparent {
    /* 滚动时半透明 */
    background-color: rgba(6, 23, 58, 0.5); 
}

nav .logo-link {
    text-decoration: none; /* 移除下划线 */
    color: white; /* 设置文字颜色为白色 */
    display: flex;
    align-items: center;
}

.logo-link span {
    margin-left: 10px;
    font-size: 2.4em;
    font-weight: bold;
    color: white;
    /* 可以根据喜好选择不同的 Web 安全字体 */
    font-family: 'Microsoft YaHei', 'SimHei', Arial, sans-serif; 
}

.logo-tagline {
    margin-left: 15px;
    font-size: 14px !important;
    color: #fd811a !important; /* 使用品牌主色调 */
    font-family: 'Microsoft YaHei', 'SimHei', Arial, sans-serif !important;
    font-weight: 500 !important;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 300px;
    white-space: normal;
    display: inline-block;
    line-height: 1.5;
    word-wrap: break-word;
    letter-spacing: 0.5px;
}

/* 响应式设计，在小屏幕上调整 */
@media (max-width: 768px) {
    .logo-tagline {
        max-width: 200px;
        font-size: 12px !important;
        margin-left: 10px;
        font-style: normal; /* 在小屏幕上使用普通样式，避免显示问题 */
    }
}

nav .logo {
    max-height: 50px; /* 可根据实际情况调整 Logo 的高度 */
    width: auto;
}

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

nav ul li {
    padding: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

/* 下拉菜单样式 */
nav ul li.dropdown {
    position: relative;
}

nav ul li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(6, 23, 58, 0.95);
    min-width: 150px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

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

nav ul li.dropdown .dropdown-menu li {
    padding: 10px 15px;
    display: block;
}

nav ul li.dropdown .dropdown-menu li a {
    color: white;
    text-decoration: none;
    display: block;
}

nav ul li.dropdown .dropdown-menu li:hover {
    background-color: rgba(253, 129, 26, 0.3);
}

/* AI聊天部分样式 */
.ai-chat-section {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    padding: 80px 20px 30px; /* 顶部留出导航栏的空间 */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.chat-container {
    width: 100%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.chat-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chat-input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 16px;
    resize: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* AIQuickLeads按钮样式 - 非选中状态 */
.lead-button {
    padding: 10px 15px 10px 25px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-align: left;
    min-width: 130px;
    margin-right: 20px;
    position: relative;
}

.button-text {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.lead-button-title {
    font-size: 10px;
    font-weight: bold;
    display: block;
    line-height: 1.2;
}

.lead-button-subtitle {
    font-size: 10px;
    display: block;
    line-height: 1.2;
    margin-top: 4px;
    opacity: 0.9;
}

/* 对勾样式 */
.checkmark {
    position: absolute;
    left: 10px;
    width: 12px;
    height: 12px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 选中状态下对勾显示 */
.lead-button.active .checkmark {
    opacity: 1;
}

/* 对勾内部的勾 */
.checkmark::after {
    content: "✓";
    font-size: 8px;
    font-weight: bold;
    color: white;
}

/* AIQuickLeads按钮样式 - 选中状态 */
.lead-button.active {
/*    background: #fd811a;*/
    background-color: rgb(253, 129, 26, 0.5);
    border-color: #fd811a;
    box-shadow: 0 4px 12px rgba(253, 129, 26, 0.4);
}

.lead-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
}

#chat-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 2px #fd811a;
}

#chat-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.send-button {
    padding: 12px 24px;
    background: #fd811a;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-end;
    transition: all 0.3s ease;
}

.send-button:hover {
    background: #e57416;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 129, 26, 0.4);
}

.send-button:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .ai-chat-section {
        padding: 70px 10px 20px;
    }
    
    .chat-container {
        padding: 15px;
    }
    
    #chat-input {
        font-size: 14px;
        padding: 12px;
    }
    
    .send-button {
        width: 100%;
        font-size: 14px;
    }
}

section {
    padding: 30px;
    min-height: 500px;
    /* 科技感渐变背景 */
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); 
    color: white; /* 设置文字颜色为白色，确保在深色背景下可见 */    
}

#home {
    /* padding: 50px 10px 10px 10px; */
    min-height: 500px;
    /* background: linear-gradient(90deg, #000428, #13499f); */
    /* background: linear-gradient(0deg, #000428, #0947cf); */  
    background-image: url('https://cdn.ginncy.com/xht/homepage-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    /* 确保高度计算包含 padding 和 border */
    box-sizing: border-box;  
}

.home-index {
    position: relative;
    overflow: hidden;
    
    /* 视频背景样式 */
    .bg-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0; /* 确保视频在内容下方 */
        opacity: 0.8; /* 适当降低不透明度，提高文字可读性 */
    }
    
    /* 为了确保内容在视频上方清晰可见，添加半透明遮罩 */
    
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3); /* 半透明黑色遮罩 */
        z-index: -1;
    }
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 100vh !important; /* 确保容器至少占满视口高度 */
    flex-direction: column !important; /* 让子元素垂直排列 */ 
    .brief-container {
        /* 可以添加一些宽度和内边距 */
        max-width: 80%;
        padding: 20px;
        z-index: 1;
    }
    .tech-button {
        padding: 20px;
        margin: 10px;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        width: 380px;
        height: 300px;
        background-color: rgba(253, 129, 26, 0.6); /*rgba(255, 255, 255, 0.4); *//* 设置半透明背景 */
        border-radius: 20px;
    }
    
    .ai-marketing {
        /* background-color: rgba(33, 150, 243, 0.5);  */
    }
    
    .ai-quality {
        /* background-color: rgba(103, 58, 183, 0.5);  */
    }

    #trialButton {
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding: 10px 20px;
        background-color: #fd811a;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    .tech-button:hover {
        background-color: rgba(253, 129, 26, 0.8); /* #fd811a 的半透明版本 */
    }
    .tech-button img {
        /* object-fit: contain;  */
        width: 200px !important;
        height: auto !important;
        max-width: 100% !important; 
        max-height: 60% !important;
        -webkit-mask-image: linear-gradient(
            to right,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 1) 10%,
            rgba(0, 0, 0, 1) 90%,
            rgba(0, 0, 0, 0) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 1) 10%,
            rgba(0, 0, 0, 1) 90%,
            rgba(0, 0, 0, 0) 100%
        );
        mask-image: linear-gradient(
            to right,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 1) 10%,
            rgba(0, 0, 0, 1) 90%,
            rgba(0, 0, 0, 0) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 1) 10%,
            rgba(0, 0, 0, 1) 90%,
            rgba(0, 0, 0, 0) 100%
        );
        -webkit-mask-composite: source-in;
        mask-composite: intersect;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }
}

.home-audit {
    background: linear-gradient(90deg, #11312e,#0b9f7e) !important;    
}

#home > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* 确保高度与父元素一致 */
    height: 100%; 
    /* 确保高度计算包含 padding 和 border */
    box-sizing: border-box; 
}

#home > div > div {
    flex: 1; /* 文字部分占据空间 */
}

#home > div > img, .mySlides > img {
    max-width: 100%;
    margin-left: 20px;
    margin-top: 30px;
    display: block; /* 确保图片作为块级元素 */
    -webkit-mask-image: linear-gradient(
        to right, 
        transparent 0%, 
        rgba(0, 0, 0, 0.8) 10%, 
        rgba(0, 0, 0, 1) 20%, 
        rgba(0, 0, 0, 1) 80%, 
        rgba(0, 0, 0, 0.8) 90%, 
        transparent 100%
    );
    mask-image: linear-gradient(
        to right, 
        transparent 0%, 
        rgba(0, 0, 0, 0.8) 10%, 
        rgba(0, 0, 0, 1) 20%, 
        rgba(0, 0, 0, 1) 80%, 
        rgba(0, 0, 0, 0.8) 90%, 
        transparent 100%
    );
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-backface-visibility: hidden; /* 解决部分浏览器的渲染问题 */
    backface-visibility: hidden;
    transform: translateZ(0); /* 强制硬件加速，优化渲染 */
}

.brief-container {
    display: flex;
    align-items: center;   
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px; /* 行与行之间的间距 */
}

.marquee-row-1 {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    width: fit-content;
}

.marquee-row-2 {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    width: fit-content;
}

.marquee-row span {
    margin-right: 20px; /* 每个内容之间的间距 */
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

section h2 {
    text-align: center;
}

section:nth-child(even) {
    /* background-color: #f4f4f4;*/
    background: linear-gradient(135deg, #000428, #004e92);
}

.customer-content {
    padding: 0 60px;    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#customer h2 {
    width: 100%;
    text-align: center;
}

.customer-group {
    flex: 1;
    min-width: 300px; /* 确保在小屏幕下有合适的宽度 */
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.customer-illustration {
    max-width: 300px;
    margin-bottom: 20px;
    display: block;
}

.customer-group ul {
    list-style-type: none;
    padding-left: 20px;
}

.customer-group p, .customer-group ul li {
    color: #ffffff; /* 设置文字颜色为白色，可根据需求调整 */
    font-size: small; /* 设置字体大小，可根据需求调整 */
}

.customer-group h3 {
    color: #fd811a;
}

#customer img {
    max-width: 100%;
    margin-left: 20px;
    display: block; /* 确保图片作为块级元素 */
    -webkit-mask-image: linear-gradient(
        to right, 
        transparent 0%, 
        rgba(0, 0, 0, 0.8) 10%, 
        rgba(0, 0, 0, 1) 20%, 
        rgba(0, 0, 0, 1) 80%, 
        rgba(0, 0, 0, 0.8) 90%, 
        transparent 100%
    );
    mask-image: linear-gradient(
        to right, 
        transparent 0%, 
        rgba(0, 0, 0, 0.8) 10%, 
        rgba(0, 0, 0, 1) 20%, 
        rgba(0, 0, 0, 1) 80%, 
        rgba(0, 0, 0, 0.8) 90%, 
        transparent 100%
    );
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-backface-visibility: hidden; /* 解决部分浏览器的渲染问题 */
    backface-visibility: hidden;
    transform: translateZ(0); /* 强制硬件加速，优化渲染 */
}

#about, #feature, #products, #solutions, #consulting, #clients, #why-choose-us {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    flex-direction: column; /* 子元素垂直排列 */
    padding: 50px 20px;
    text-align: center;
}

/* 减少咨询服务部分的底部留白 */
#consulting, #clients {
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 450px;
}

#clients {
    min-height: 540px;
}

#clients {
    padding: 10px 10px;
    background-color: #f9f9f9;
}

/* 客户案例部分 */
#cases {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#cases h2 {
    width: 100%;
    text-align: center;
}

/* Tab 按钮样式 */
.case-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.case-tab {
    padding: 12px 24px;
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
}

.case-tab:hover {
    background-color: #f0f0f0;
    border-color: #fd811a;
    color: #fd811a;
}

.case-tab.active {
    background-color: #fd811a;
    border-color: #fd811a;
    color: white;
}

/* Tab 内容样式 */
.case-content {
    max-width: 1200px;
    margin: 0 auto;
}

.case-tab-content {
    display: none;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.case-tab-content.active {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.case-text {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    text-align: left;
}

.case-image {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.case-text h3 {
    color: #fd811a;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.case-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #eee;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .case-tab-content.active {
        flex-direction: column;
    }
    
    .case-image {
        order: -1; /* 移动端图片在上 */
        padding: 20px;
    }
    
    .case-text {
        padding: 20px;
    }
    
    .case-tabs {
        gap: 10px;
    }
    
    .case-tab {
        padding: 10px 18px;
        font-size: 14px;
    }
}

.clients-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    max-width: 1200px;
}

.client-category {
    background-color: white;
    padding: 15px 25px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.client-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #fd811a;
    color: white;
}

/* 客户分类高亮样式 */
.client-category.active {
    background-color: #fd811a;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(253, 129, 26, 0.4);
}

/* 服务内容展示样式 */
.service-content {
    margin-top: 30px;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.service-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.service-content li {
    padding: 12px 0;
    padding-left: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    font-size: 16px;
    color: white;
    line-height: 1.6;
}

.service-content li:last-child {
    border-bottom: none;
}

.service-content li::before {
    content: "•";
    color: #fd811a;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.service-content strong {
    color: #fd811a;
    margin-right: 5px;
}

/* 响应式调整 - 平板设备 */
@media (max-width: 768px) {
    .service-content {
        margin-top: 20px;
        padding: 18px;
        max-width: 100%;
    }
    
    .service-content li {
        font-size: 15px;
        padding-left: 18px;
    }
    
    .service-content li::before {
        font-size: 22px;
    }
}

/* 响应式调整 - 移动设备 */
@media (max-width: 480px) {
    .service-content {
        margin-top: 15px;
        padding: 15px;
        border-radius: 12px;
    }
    
    .service-content li {
        font-size: 14px;
        padding-left: 16px;
        padding: 10px 0 10px 16px;
    }
    
    .service-content li::before {
        font-size: 18px;
    }
    
    /* 优化小屏幕上的文本排版 */
    .service-content li {
        word-break: break-word;
    }
    
    /* 确保在小屏幕上内容不被裁剪 */
    #clients {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* 增强移动端的点击体验 */
    .client-category {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .clients-content {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .clients-content {
        gap: 15px;
    }
    
    .client-category {
        padding: 12px 20px;
        font-size: 14px;
    }
}

.products-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    max-width: 1200px;
    width: 100%;
}

.product-category {
    width: 100%;
    text-align: center;
    margin: 30px 0 15px 0;
    padding: 15px 0;
    background: linear-gradient(90deg, rgba(253,129,26,0.1) 0%, rgba(253,129,26,0.3) 50%, rgba(253,129,26,0.1) 100%);
    border-radius: 8px;
}

.product-category h3 {
    color: #fd811a;
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 8px 0;
}

.category-subtitle {
    color: #aaa;
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.product-item {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
    background-color: rgba(253, 129, 26, 0.2);
}

.product-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    max-height: 96px;
    object-fit: contain;
    /* 添加半透明效果，使图片更加柔和 */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.product-image:hover {
    opacity: 1;
}

.product-item h3 {
    color: #fd811a;
    margin-bottom: 10px;
}

.product-item p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* 解决方案部分样式 */
.solutions-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.solution-item {
    flex: 0 0 auto;
    width: calc(33.333% - 20px);
    min-width: 260px;
    max-width: 320px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 响应式布局 */
@media (max-width: 1024px) {
    .solution-item {
        width: calc(50% - 20px); /* 中等屏幕每行两个 */
        max-width: none;
    }
}

@media (max-width: 768px) {
    .solution-item {
        width: 100%; /* 小屏幕每行一个 */
        max-width: none;
    }
}

.solution-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fd811a, #ffb347);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.solution-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(253, 129, 26, 0.15), rgba(255, 255, 255, 0.05));
    border-color: rgba(253, 129, 26, 0.3);
}

.solution-item:hover::before {
    transform: scaleX(1);
}

/* 为什么选择我们部分样式 */
.reasons-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.reason-item {
    flex: 0 0 auto;
    width: calc(33.333% - 20px);
    min-width: 260px;
    max-width: 350px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 响应式布局 */
@media (max-width: 1024px) {
    .reason-item {
        width: calc(50% - 20px); /* 中等屏幕每行两个 */
        max-width: none;
    }
}

@media (max-width: 768px) {
    .reason-item {
        width: 100%; /* 小屏幕每行一个 */
        max-width: none;
    }
}

.reason-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fd811a, #ffb347);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.reason-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(253, 129, 26, 0.15), rgba(255, 255, 255, 0.05));
    border-color: rgba(253, 129, 26, 0.3);
}

.reason-item:hover::before {
    transform: scaleX(1);
}

.reason-item h3 {
    color: #fd811a;
    margin-bottom: 15px;
    font-size: 20px;
}

.reason-item p {
    color: white;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* 统一使用类似支付logo的形状 */
.solution-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    transition: all 0.3s ease;
    position: relative;
    background-color: white;
}

/* 不同解决方案的形状和颜色区分 */
.payment-icon {
    background-color: white;
    border: 5px solid #2196f3;
    border-radius: 50%;
    color: #2196f3;
    box-shadow: 0 0 15px rgba(33, 150, 243, 0.5);
}

.payment-icon::before {
    content: "💳";
    font-size: 35px;
}

.marketing-icon {
    background-color: white;
    border: 5px solid #4caf50;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    color: #4caf50;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

.marketing-icon::before {
    content: "📊";
    font-size: 30px;
}

.ai-agent-icon {
    background-color: white;
    border: 5px solid #9c27b0;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    color: #9c27b0;
    box-shadow: 0 0 15px rgba(156, 39, 176, 0.5);
}

.ai-agent-icon::before {
    content: "🤖";
    font-size: 30px;
}

.ai-detection-icon {
    background-color: white;
    border: 5px solid #f44336;
    clip-path: polygon(50% 0%, 80% 15%, 95% 45%, 85% 75%, 50% 100%, 15% 75%, 5% 45%, 20% 15%);
    color: #f44336;
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.5);
}

.ai-detection-icon::before {
    content: "🔍";
    font-size: 30px;
}

.mini-program-icon {
    background-color: white;
    border: 5px solid #ffc107;
    border-radius: 20px;
    transform: rotate(45deg);
    color: #ffc107;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
}

.mini-program-icon::before {
    content: "📱";
    transform: rotate(-45deg);
    font-size: 30px;
}

/* 咨询服务图标样式 */
.expert-icon {
    background-color: white;
    border: 5px solid #ff6b6b;
    border-radius: 50%;
    color: #ff6b6b;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
}

.expert-icon::before {
    content: "👤";
    font-size: 35px;
}

.security-icon {
    background-color: white;
    border: 5px solid #4ecdc4;
    border-radius: 15px;
    color: #4ecdc4;
    box-shadow: 0 0 15px rgba(78, 205, 196, 0.5);
}

.security-icon::before {
    content: "🛡️";
    font-size: 30px;
}

.ai-consult-icon {
    background-color: white;
    border: 5px solid #ffd166;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    color: #ffd166;
    box-shadow: 0 0 15px rgba(255, 209, 102, 0.5);
}

.ai-consult-icon::before {
    content: "⚙️";
    font-size: 30px;
}

}

.exhibition-icon {
    background-color: white;
    border: 5px solid #1976d2;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    color: #1976d2;
    box-shadow: 0 0 15px rgba(25, 118, 210, 0.5);
}

.exhibition-icon::before {
    content: "🏢";
    font-size: 30px;
}

.association-icon {
    background-color: white;
    border: 5px solid #00bcd4;
    border-radius: 50% 50% 15% 15%;
    color: #00bcd4;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.5);
}

.association-icon::before {
    content: "👥";
    font-size: 30px;
}

.brand-marketing-icon {
    background-color: white;
    border: 5px solid #ff5722;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    color: #ff5722;
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.5);
}

.brand-marketing-icon::before {
    content: "🎯";
    font-size: 30px;
}

/* 鼠标悬停旋转效果 */
.solution-item:hover .payment-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.solution-item:hover .marketing-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.solution-item:hover .ai-agent-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
}

.solution-item:hover .ai-detection-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

.solution-item:hover .mini-program-icon {
    transform: rotate(315deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.3);
}

.solution-item:hover .brand-marketing-icon {
    transform: rotate(315deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.3);
}

.solution-item:hover .association-icon {
    transform: rotate(315deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.3);
}

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

.solution-item p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.learn-more {
    padding: 10px 20px;
    background-color: #fd811a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.learn-more:hover {
    background-color: #e57000;
}

@media (max-width: 900px) {
    .products-content {
        flex-direction: column;
        align-items: center;
    }
    
    .product-item {
        max-width: 90%;
    }
}

footer {
    text-align: center;
    padding: 20px;
    /* 修改为科技感较强的背景颜色 */
    background-color: rgb(6 23 58); 
    color: white !important;
}

footer a {
    color: white !important;
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1001; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.4); 
}

/* 弹窗内容 */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 300px; 
    text-align: center;

    img {
        width: 100%; 
    }
}

/* 关闭按钮 */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* 幻灯片容器 */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
  }
  
  /* 隐藏幻灯片 */
  .mySlides {
    display: none;
  }
  
  /* 上一张和下一张按钮 */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  /* 定位下一张按钮到右侧 */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* 鼠标悬停时添加背景色 */
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }
  
  /* 圆点指示器 */
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active, .dot:hover {
    background-color: #717171;
  }
  
  /* 淡入动画 */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

@media (max-width: 900px) {
    /* section {
        padding: 10px;
    } */
    nav {
        padding: 0 10px;
    }

    nav .logo {
        max-height: 32px !important;
        width: auto;
    }

   .logo-link span {
        font-size: 1em;
    }

    /* .brief-container {
        padding-left: 0px !important;
        padding-right: 0px !important;
    } */    

    #home > div, h1 {
        text-align: center;
        flex-direction: column; /* 让子元素垂直排列 */
        align-items: center; /* 水平居中 */
        justify-content: center; /* 垂直居中 */
        /* margin-bottom: 80px; */
    }

    #home .brief-container .row-1 {
        padding: 50px 20px 0 20px;
        flex: 1; /* 文字部分占据空间 */
        display: flex;
        flex-direction: column;
        justify-content: center; /* 垂直居中 */
    }

    .slideshow-container {
        padding: 50px 0px 0px 0px !important;        
    }
    .mySlides {
        padding: 0px !important;         
    }

    #home > div > img, .mySlides > img {
        max-width: 100%; /* 图片宽度在小屏幕下占满容器 */
        margin-left: 0; /* 移除左侧边距 */
        margin-top: 20px; /* 添加顶部边距 */
    }

    .home-index {
        .tech-button  {
            width: 100%;
            height: auto;
            margin: 0px 0px 10px 0px;
        }
        .tech-button img {
            object-fit: contain; 
            width: 64px !important; /* 自动调整宽度 */
            height: auto !important; /* 自动调整高度 */
            max-width: 80% !important; /* 限制最大宽度为按钮宽度的 80% */
            max-height: 50% !important; /* 限制最大高度为按钮高度的 50% */
            margin: 0 auto; /* 水平居中 */
        }

    }

    /* 在屏幕宽度小于 900px 时，让板块垂直排列 */
    .customer-group {
        flex-basis: 100%;
    }
    .customer-content {
        padding: 0 0px;
    }
    .modal-content {
        margin: 30% auto;
    }

    footer p {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer p a {
        margin-bottom: 10px;
    }

    footer p a:last-child {
        margin-bottom: 0;
    }       
}

#menuButton {
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

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

@media (max-width: 900px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #0f0c29; /* 可根据实际情况调整背景颜色 */
        flex-direction: column;
        align-items: center;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu li a {
        display: block;
        padding: 15px;
    }
}