/* Homepage Redesign CSS - 首页重新设计样式 */

/* ===== Loading页面样式 ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7028aa 0%, #8B5CF6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loading-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 30px;
    animation: logoFadeIn 1s ease-in-out;
}

.loading-bar-container {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 15px auto; /* 底部间距15px */
}

.loading-text {
    color: white;
    font-size: 1.2rem;
    font-family: 'SweiSpringSugar', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    letter-spacing: 2px;
}

.loading-bar {
    height: 100%;
    background: white;
    border-radius: 2px;
    animation: loadingProgress 2s ease-in-out forwards;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes loadingProgress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

/* ===== 自定义字体 ===== */

/* 默认正文字体 - 思源黑体 */
@font-face {
    font-family: 'SourceHanSans';
    src: url('fonts/maintext/SourceHanSansCN-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SourceHanSans';
    src: url('fonts/maintext/SourceHanSansCN-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'SourceHanSans';
    src: url('fonts/maintext/SourceHanSansCN-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'SourceHanSans';
    src: url('fonts/maintext/SourceHanSansCN-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'SourceHanSans';
    src: url('fonts/maintext/SourceHanSansCN-Heavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* 英文副标题字体 - Roboto */
@font-face {
    font-family: 'RobotoEnglish';
    src: url('fonts/english/Roboto-Regular-14.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'RobotoEnglish';
    src: url('fonts/english/Roboto-Thin-15.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'RobotoEnglish';
    src: url('fonts/english/Roboto Bold字体_爱给网_aigei_com.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* 中文主标题字体 - SweiSpring */
@font-face {
    font-family: 'SweiSpring';
    src: url('fonts/title/SweiSpringCJKtc-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'SweiSpring';
    src: url('fonts/title/SweiSpringCJKtc-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'SweiSpringSugar';
    src: url('fonts/title/SweiSpringSugarCJKtc-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SweiSpringSugar';
    src: url('fonts/title/SweiSpringSugarCJKtc-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'SweiSpringSugar';
    src: url('fonts/title/SweiSpringSugarCJKtc-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

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

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'SourceHanSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    /* 移除scroll-behavior，由JavaScript控制滚动 */
}

/* 禁用CSS滚动吸附，完全由JavaScript控制 */
html {
    scroll-snap-type: none;
}

/* 移除section的滚动吸附 */
section {
    scroll-snap-align: none;
}

/* ===== 屏幕导航指示器 ===== */
.screen-navigator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000; /* 提高z-index，确保在所有元素之上 */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.nav-dot.active {
    background: #8B5CF6;
    border-color: #8B5CF6;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* 导航点提示文字 */
.nav-dot::after {
    content: attr(title);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-dot:hover::after {
    opacity: 1;
    visibility: visible;
}
.homepage-redesign {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== 轮播图区域样式 ===== */
.carousel-section {
    position: relative;
    width: 100%;
    height: 100vh; /* 占满整个视口高度 */
    background: #fff;
    margin-top: 0; /* 轮播图从顶部开始，菜单栏悬浮在上方 */
}

.carousel-container {
    width: 100%;
    height: 100%; /* 占满整个轮播图区域 */
    position: relative;
    overflow: hidden;
}

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

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

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

.carousel-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 轮播图指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 120px; /* 调整位置，避免与统计区域重叠 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active,
.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
}

/* 轮播图导航按钮 */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* ===== 轮播图文字覆盖层 ===== */
.carousel-text-overlay {
    position: absolute;
    top: 42%; /* 从45%改为42%，上移以配合底部区域高度增加 */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    padding-left: 20px; /* 与nav-container的padding-left对齐 */
    z-index: 150; /* 提高z-index，确保在轮播图之上 */
    pointer-events: none;
    text-align: left; /* 左对齐 */
}

.carousel-main-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c2c2c; /* 深灰色，更明显 */
    /* margin-bottom: 10px; */
    font-family: 'SweiSpring', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.carousel-subtitle {
    font-size: 0.85rem;
    color: #666; /* 深一点的灰色 */
    margin-bottom: 50px;
    letter-spacing: 2px;
    font-family: 'RobotoEnglish', 'SourceHanSans', sans-serif;
}

.carousel-description-box {
    background: transparent; /* 完全透明 */
    /* padding: 20px 25px; */
    /* border-radius: 8px; */
    max-width: 500px;
    color: white;
    font-family: 'SweiSpringSugar', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    box-shadow: none; /* 移除阴影 */
}

.desc-highlight {
    font-size: 0.95rem;
    font-weight: 600;
    /* margin-bottom: 10px; */
    line-height: 1.6;
    color: #7028aa; /* 紫色 */
}

.desc-highlight:nth-child(2) {
    margin-bottom: 35px; /* 第二个desc-highlight（核心价值）与desc-text之间增加距离 */
}

.desc-text {
    font-size: 0.85rem;
    line-height: 1.8;
    /* margin-bottom: 5px; */
    opacity: 0.95;
    color: #acaab0; /* 浅灰色 */
}

.text-purple {
    color: #7028aa; /* 紫色高亮 */
}

.desc-emphasis {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ===== 底部统计数据区域 ===== */
.bottom-stats-section {
    background: linear-gradient(135deg, #512587 0%, #764ba2 100%);
    background-size: cover; /* 覆盖整个区域 */
    background-position: center; /* 居中显示 */
    background-repeat: no-repeat; /* 不重复 */
    padding: 60px 0; /* 从40px增加到60px，增加20px高度 */
    color: white;
    position: absolute; /* 改为绝对定位 */
    bottom: 0; /* 固定在轮播图底部 */
    left: 0;
    right: 0;
    z-index: 10;
}

/* 左上方文字 */
.bottom-slogan {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    max-width: 1200px; /* 和导航栏相同的max-width */
    margin: 0 auto; /* 居中 */
    padding-left: 20px; /* 和导航栏相同的padding */
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-family: 'SweiSpringSugar', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    z-index: 11;
}

.bottom-slogan::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #7028aa; /* 紫色竖线 */
}

.slogan-line {
    color: white;
    font-size: 0.9rem;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding-left: 15px; /* 文字与竖线的距离 */
    letter-spacing: 2px; /* 增加字间距 */
}

.bottom-stats-section .stats-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 20px; /* 往下移动 */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 40px;
}

.bottom-stats-section .stat-item {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-stats-section .stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.bottom-stats-section .stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    font-family: 'SweiSpring', 'PingFang SC', 'Microsoft YaHei', sans-serif; /* 使用自定义字体 */
}

.bottom-stats-section .stat-suffix {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-left: 5px;
    font-family: 'SweiSpring', 'PingFang SC', 'Microsoft YaHei', sans-serif; /* 使用自定义字体 */
}

.bottom-stats-section .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    font-weight: 300;
    font-family: 'SweiSpringSugar', 'PingFang SC', 'Microsoft YaHei', sans-serif; /* 使用自定义字体 */
    position: relative;
    padding-top: 10px; /* 为上横线留出空间 */
    display: inline-block; /* 让元素宽度适应内容 */
}

.bottom-stats-section .stat-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* 现在100%是相对于inline-block的宽度，即文字宽度 */
    height: 2px;
    background: #7028aa; /* 紫色横线 */
}

/* 悬浮Logo - 轮播图右下角 */
.floating-logo {
    position: absolute;
    bottom: 240px; /* 再向上移动20px：从220px改为240px */
    right: 190px; /* 再向左移动20px：从170px改为190px */
    z-index: 200; /* 确保在最上层 */
}

.logo-floating {
    max-width: 390px; /* 调整为390px */
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0.9;
}

.logo-floating:hover {
    transform: scale(1.1);
    opacity: 1;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

/* Logo悬浮动画效果 */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.logo-floating {
    animation: logoFloat 3s ease-in-out infinite;
}

/* 数字滚动效果 */
.stats-section {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 3;
}

.stats-container {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: inline-block;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: inline-block;
}

.stat-label {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.counter-animation {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 悬浮菜单栏样式 ===== */
.floating-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent; /* 完全透明背景 */
    backdrop-filter: none; /* 移除模糊效果 */
    z-index: 9999; /* 提高z-index确保菜单栏始终在最上方 */
    box-shadow: none; /* 移除阴影效果 */
    transition: all 0.3s ease;
}

/* 第三屏时添加半透明背景 */
.floating-nav.services-screen {
    background: rgba(0, 0, 0, 0.3); /* 半透明黑色背景 */
    backdrop-filter: blur(10px); /* 添加模糊效果 */
}

/* 第三屏时导航文字为白色 */
.floating-nav.services-screen .nav-link {
    color: #ffffff !important;
}

/* 第三屏时二级菜单样式 */
.floating-nav.services-screen .nav-submenu {
    background: rgba(0, 0, 0, 0.8) !important; /* 半透明黑色背景 */
    backdrop-filter: blur(10px) !important; /* 模糊效果 */
    border-radius: 8px !important; /* 添加圆角 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important; /* 添加阴影 */
}

.floating-nav.services-screen .nav-submenu a {
    color: #ffffff !important; /* 白色文字 */
    background: transparent !important;
}

.floating-nav.services-screen .nav-submenu a:hover {
    color: #8B5CF6 !important; /* 悬浮时紫色 */
    background: rgba(139, 92, 246, 0.1) !important; /* 悬浮时淡紫色背景 */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    flex-shrink: 0;
}

.nav-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain; /* 确保不变形 */
}

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

.nav-item {
    position: relative;
    margin: 0 20px;
}

.nav-link {
    display: block;
    padding: 20px 15px;
    color: #3e3a3a; /* 修改为指定颜色 */
    text-decoration: none;
    font-weight: normal; /* 使用思源黑体normal粗细 */
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

/* 按钮悬浮效果 - 紫色变化 */
.nav-link:hover {
    color: #8B5CF6;
    transform: translateY(-2px);
}

/* 动态下划线效果 */
.nav-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #8B5CF6, #A855F7);
    transition: width 0.4s ease;
}

.nav-item:hover .nav-underline {
    width: 100%;
}

/* 二级菜单 */
.nav-submenu {
    position: absolute;
    top: 100%;
    left: 50%; /* 改为50%，配合transform居中 */
    transform: translateX(-50%) translateY(-10px); /* 水平居中 + 初始向上偏移 */
    background: transparent; /* 透明背景 */
    min-width: 200px;
    box-shadow: none; /* 去掉阴影 */
    border-radius: 0; /* 去掉圆角 */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 10px 0;
}

.nav-item:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* 保持水平居中，垂直归位 */
}

.nav-submenu a {
    display: block;
    padding: 5px 20px;
    color: #3e3a3a; /* 和一级菜单颜色一致 */
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border-bottom: none; /* 去掉分隔线 */
    background: transparent; /* 透明背景 */
    text-align: center; /* 文字水平居中 */
}

.nav-submenu a:last-child {
    border-bottom: none;
}

.nav-submenu a:hover {
    color: #8B5CF6; /* 悬浮时变紫色 */
    background: transparent; /* 悬浮时也保持透明 */
    padding-left: 25px;
}

/* 二级菜单选中状态 */
.nav-submenu a.active {
    color: #7028aa; /* 选中时紫色 */
    font-weight: 600; /* 加粗 */
}

/* ===== 响应式设计 ===== */

/* 平板设备 */
@media (max-width: 1024px) {
    .carousel-section {
        height: 100vh;
    }
    
    /* 品牌设计区域响应式 */
    .brand-design-section .col-left {
        flex: 0 0 320px;
        padding: 0 0 0 30px;
    }
    
    .brand-title {
        font-size: 2.5rem;
    }
    
    .brand-subtitle {
        font-size: 1.1rem;
    }
    
    .circular-showcase {
        width: 500px;
        max-width: 100%;
        height: 500px;
        margin-left: 0;
    }
    
    .showcase-item {
        height: 450px;
    }
    
    .showcase-item[data-index="0"] {
        width: 450px; /* 增大宽度 */
        right: 180px; /* 底层：最左侧 */
    }
    
    .showcase-item[data-index="1"] {
        width: 450px; /* 增大宽度 */
        right: 90px; /* 中间层 */
    }
    
    .showcase-item[data-index="2"] {
        width: 450px; /* 增大宽度 */
        right: 0; /* 顶层：最右侧，贴边 */
    }
    
    .floating-logo {
        bottom: 180px; /* 再向上移动30px：从140px改为170px */
        right: 220px; /* 再向左移动30px：从180px改为210px */
    }
    
    .logo-floating {
        max-width: 350px; /* 从400px减小到350px */
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .stats-section {
        bottom: 30px;
        right: 30px;
    }
    
    .stats-container {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .nav-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .nav-item {
        margin: 0 15px;
    }
    
    .row {
        gap: 40px;
    }
    
    .services-grid {
        gap: 30px;
    }
    
    .cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

/* 移动设备 */
@media (max-width: 768px) {
    .carousel-section {
        height: 100vh;
    }
    
    /* 品牌设计区域移动端适配 */
    .brand-design-section .row {
        flex-direction: column;
        gap: 40px;
    }
    
    .brand-design-section .col-left {
        flex: 1;
        width: 100%;
        padding: 40px 30px;
        margin-left: 0;
    }
    
    .brand-title {
        font-size: 2rem;
    }
    
    .brand-subtitle {
        font-size: 1rem;
    }
    
    .brand-description p {
        font-size: 0.9rem;
    }
    
    .circular-showcase {
        width: 100%;
        max-width: none;
        height: 400px;
        padding-right: 20px;
        margin-left: 0;
    }
    
    .showcase-item {
        height: 360px;
    }
    
    .showcase-item[data-index="0"] {
        width: 350px; /* 增大宽度 */
        right: 140px; /* 底层：最左侧 */
    }
    
    .showcase-item[data-index="1"] {
        width: 350px; /* 增大宽度 */
        right: 70px; /* 中间层 */
    }
    
    .showcase-item[data-index="2"] {
        width: 350px; /* 增大宽度 */
        right: 0; /* 顶层：最右侧，贴边 */
    }
    
    /* 移动端屏幕导航指示器调整 */
    .screen-navigator {
        right: 15px;
        gap: 12px;
    }
    
    .nav-dot {
        width: 10px;
        height: 10px;
    }
    
    .nav-dot::after {
        right: 20px;
        font-size: 11px;
        padding: 4px 8px;
    }
    
    /* 移动端轮播图导航按钮调整 */
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    /* 移动端指示器调整 */
    .carousel-indicators {
        bottom: 100px; /* 移动端也要避开统计区域 */
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
    
    /* 移动端统计区域调整 */
    .bottom-stats-section {
        padding: 30px 0; /* 从20px增加到30px */
    }
    
    .floating-logo {
        bottom: 160px; /* 再向上移动30px：从120px改为150px */
        right: 190px; /* 再向左移动30px：从150px改为180px */
    }
    
    .logo-floating {
        max-width: 280px; /* 从320px减小到280px */
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .sub-title {
        font-size: 1.2rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .stats-section {
        bottom: 20px;
        right: 20px;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* 移动端菜单 */
    .floating-nav {
        background: transparent; /* 移动端也保持透明 */
    }
    
    .nav-container {
        height: 50px;
        padding: 0 10px;
    }
    
    .nav-menu {
        display: none; /* 隐藏桌面菜单，需要实现移动端汉堡菜单 */
    }
    
    /* 移动端汉堡菜单按钮 */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        color: #333;
        cursor: pointer;
    }
    
    /* 移动端菜单展开状态 */
    .nav-menu.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95); /* 展开菜单保持半透明背景 */
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.mobile-open .nav-item {
        margin: 0;
        width: 100%;
    }
    
    .nav-menu.mobile-open .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    /* 页面区域响应式 */
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .competitiveness-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 30px;
    }
    
    .section-watermark {
        font-size: 4rem;
    }
}

/* 小屏幕移动设备 */
@media (max-width: 480px) {
    .carousel-section {
        height: 100vh; /* 小屏幕也占满屏幕 */
    }
    
    .floating-logo {
        bottom: 140px; /* 再向上移动30px：从100px改为130px */
        right: 170px; /* 再向左移动30px：从130px改为160px */
    }
    
    .logo-floating {
        max-width: 240px; /* 从280px减小到240px */
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .sub-title {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .nav-container {
        height: 45px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-section,
    .services-section,
    .cases-section,
    .process-section,
    .competitiveness-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .section-watermark {
        font-size: 3rem;
    }
    
    /* 小屏幕统计区域调整 */
    .bottom-stats-section {
        padding: 20px 0; /* 从15px增加到20px */
    }
    
    /* 小屏幕指示器调整 */
    .carousel-indicators {
        bottom: 80px; /* 小屏幕进一步调整 */
    }
}

/* ===== 图片优化 ===== */
.optimized-image {
    max-width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.optimized-image.loading {
    opacity: 0.7;
}

.optimized-image.loaded {
    opacity: 1;
}

/* 图片占位符 */
.image-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ===== 性能优化 ===== */
.homepage-redesign * {
    box-sizing: border-box;
}

/* GPU加速 */
.carousel-section,
.logo-new,
.floating-menu,
.menu-link {
    will-change: transform;
    transform: translateZ(0);
}

/* 减少重绘 */
.menu-link::after,
.submenu {
    will-change: width, opacity, transform;
}

/* ===== 辅助功能 ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 焦点样式 */
.menu-link:focus,
.submenu-link:focus {
    outline: 2px solid #8B5CF6;
    outline-offset: 2px;
}

/* ===== 打印样式 ===== */
@media print {
    .floating-menu,
    .carousel-section {
        display: none;
    }
    
    .homepage-redesign {
        background: white;
        color: black;
    }
}

/* ===== 页面区域样式 ===== */

/* 品牌设计区域 - 第二屏 */
.brand-design-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    scroll-snap-align: start;
    background: #ffffff; /* 纯白色背景 */
}

/* 左侧内容区 - 40% */
.brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: transparent; /* 透明背景 */
    z-index: 10; /* 在图片之上 */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 60px 60px calc((100vw - 1200px) / 2 + 20px); /* 左侧padding计算：和导航栏logo对齐 */
    pointer-events: none; /* 让鼠标事件穿透到下层图片 */
}

.brand-content {
    color: #333;
    display: flex;
    flex-direction: column;
    pointer-events: auto; /* 恢复内容区的鼠标事件 */
}

/* 右侧图片展示区 - 60% */
.brand-showcase-area {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1; /* 在内容区之下 */
}

.brand-title {
    font-size: 1.8rem; /* 和第一屏一样 */
    font-weight: bold;
    color: #2c2c2c; /* 和第一屏一样的深灰色 */
    line-height: 1.2;
    text-align: left;
    margin-bottom: 0;
    font-family: 'SweiSpring', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.brand-subtitle {
    font-size: 0.85rem; /* 和第一屏一样 */
    color: #666; /* 和第一屏一样的灰色 */
    margin-bottom: 50px; /* 和第一屏一样 */
    margin-top: 0;
    font-weight: 300;
    letter-spacing: 2px; /* 和第一屏一样 */
    text-align: left;
    font-family: 'RobotoEnglish', 'SourceHanSans', sans-serif;
}

.brand-description {
    margin-top: 0;
    margin-bottom: 60px;
    text-align: left;
    font-family: 'SweiSpringSugar', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.brand-description p {
    font-size: 0.9rem; /* 和第一屏desc-text一样 */
    line-height: 1.8; /* 和第一屏一样 */
    color: #acaab0; /* 和第一屏一样的浅灰色 */
    text-align: left;
    opacity: 0.95;
}

/* 第一段紫色高亮文字 */
.brand-description p:first-child {
    font-size: 0.9rem; /* 和第一屏desc-highlight一样 */
    font-weight: 600;
    color: #7028aa; /* 紫色 */
    margin-bottom: 0; 
    line-height: 1.6;
}

.more-cases-button {
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: transparent;
    color: #7028aa;
    text-decoration: none;
    border: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    gap: 20px;
    position: relative;
    z-index: 10;
    font-family: 'SweiSpringSugar', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    align-self: flex-end; /* 居右对齐 */
}

/* 左侧横线 - 初始灰色 */
.more-cases-button::before {
    content: '';
    width: 60px;
    height: 2px;
    background: #999;
    transition: all 0.3s ease;
}

.more-cases-button:hover {
    color: #8B5CF6;
}

.more-cases-button:hover::before {
    background: #7028aa;
    width: 80px;
}

.button-arrow {
    display: none;
}

/* 圆形展示区域 */
.circular-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 居右对齐 */
}

.showcase-circle {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: visible;
    display: flex;
    justify-content: flex-end; /* 居右对齐 */
}

.showcase-items {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 居右对齐 */
}

/* 三张图片垂直叠加 - 都居右对齐，宽度递减 */
.showcase-item {
    position: absolute;
    top: 50%;
    right: 0;
    height: 100vh; /* 图片高度占满整个屏幕 */
    transform: translateY(-50%);
    /* 分别设置不同属性的transition时间 */
    transition: width 0.8s ease-in-out, filter 0.8s ease, opacity 0.8s ease, transform 0.8s ease;
    cursor: pointer;
    background: transparent;
    pointer-events: auto; /* 确保所有图片都能响应鼠标事件 */
}

/* 初始状态 - 三张图叠在一起，宽度相同，位置递减 */
/* 每张图片向左偏移，露出左侧弧形供点击 */
.showcase-item[data-index="0"] {
    width: 80%; /* 占容器的80% */
    right: 20%; /* 底层：20% + 80% = 100%，刚好不超出 */
    left: auto;
    z-index: 1;
    filter: brightness(0.5); /* 变暗50% */
}

.showcase-item[data-index="1"] {
    width: 80%; /* 占容器的80% */
    right: 10%; /* 中间层：10% + 80% = 90% */
    left: auto;
    z-index: 2;
    filter: brightness(0.5); /* 变暗50% */
}

.showcase-item[data-index="2"] {
    width: 80%; /* 占容器的80% */
    right: 0; /* 顶层：紧贴右边框 */
    left: auto;
    z-index: 3;
    filter: brightness(1); /* 正常亮度 */
}

/* 激活状态 - 正常亮度，提升z-index */
.showcase-item.active {
    filter: brightness(1) !important; /* 正常亮度 */
    z-index: 10 !important;
    pointer-events: auto !important; /* 激活的图片也能响应事件 */
}

/* 悬浮效果 - 非激活状态的图片悬浮时稍微提亮 */
.showcase-item:not(.active):hover {
    filter: brightness(0.7) !important; /* 从0.5提亮到0.7 */
}

/* 默认所有非激活状态都变暗 */
.showcase-item:not(.active) {
    filter: brightness(0.5); /* 变暗50% */
    pointer-events: auto; /* 非激活的图片也能响应事件 */
}

/* 当底层（图1）激活时，中间层和顶层保持可见且模糊 */
.showcase-item[data-index="0"].active ~ .showcase-item[data-index="1"] {
    z-index: 9;
    filter: brightness(0.5); /* 变暗50% */
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* 确保可以点击切换 */
}

.showcase-item[data-index="0"].active ~ .showcase-item[data-index="2"] {
    z-index: 8;
    filter: brightness(0.5); /* 变暗50% */
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* 确保可以点击切换 */
}

/* 当中间层（图2）激活时，顶层保持可见且变暗 */
.showcase-item[data-index="1"].active ~ .showcase-item[data-index="2"] {
    z-index: 9;
    filter: brightness(0.5); /* 变暗50% */
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* 确保可以点击切换 */
}

/* 图片样式 - 左边是完整圆弧，右边小圆角 */
.showcase-image {
    width: 100%; /* 占满showcase-item的宽度 */
    height: 100%;
    object-fit: cover; /* 改为cover，填满容器，顶格显示 */
    object-position: right center; /* 图片靠右对齐 */
    border-radius: 50% 0 0 50%; /* 左侧圆弧弧度加大 */
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    transition: border-radius 1.2s ease-in-out; /* 和宽度同步，1.2秒过渡 */
    background: transparent;
    display: block;
}

.showcase-item.active .showcase-image {
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.3);
}

/* 关于我们区域 */
.about-section {
    padding: 0;
    background: #f8f9fa;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
}

/* 服务项目区域 */
/* 服务项目区域 - 第三屏 */
.services-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    scroll-snap-align: start;
}

/* 背景轮播图 */
.services-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* 最底层 */
}

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

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

.services-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2 !important;
}

.services-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播图导航点 */
.services-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100; /* 确保在最上层 */
}

.services-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.services-indicator.active,
.services-indicator:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
}

/* 左侧紫色蒙版内容区 */
.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: rgba(112, 40, 170, 0.8); /* 改为#7028aa，透明度80% */
    z-index: 10; /* 在轮播图之上 */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 改为左对齐 */
    padding: 60px 60px 60px calc((100vw - 1200px) / 2 + 20px); /* 左侧padding计算：和导航栏logo对齐 */
}

.services-content {
    color: white;
    max-width: 500px;
    display: flex;
    flex-direction: column;
}

.services-main-title {
    font-size: 1.8rem; /* 统一标题大小 */
    font-weight: bold;
    margin-bottom: 0; /* 间距改为0 */
    line-height: 1.2;
    font-family: 'SweiSpring', 'PingFang SC', 'Microsoft YaHei', sans-serif; /* 使用自定义字体 */
}

.services-sub-title {
    font-size: 0.85rem; /* 统一副标题大小 */
    opacity: 0.8;
    margin-bottom: 0; /* 间距改为0 */
    margin-top: 0; /* 间距改为0 */
    letter-spacing: 2px;
    font-family: 'SweiSpringSugar', 'PingFang SC', 'Microsoft YaHei', sans-serif; /* 使用自定义字体 */
}

.services-description {
    margin-top: 30px; /* 和标题副标题的间距 */
    margin-bottom: 50px;
    line-height: 2;
}

.services-description p {
    font-size: 0.85rem; /* 统一描述文字大小 */
    margin-bottom: 10px;
    opacity: 0.95;
    font-family: 'SweiSpringSugar', 'PingFang SC', 'Microsoft YaHei', sans-serif; /* 使用自定义字体 */
}

.more-cases-btn {
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: transparent;
    color: white;
    text-decoration: none;
    border: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    gap: 20px; /* 横线和文字之间的间距 */
    align-self: flex-end; /* 居右对齐 */
    position: relative;
    font-family: 'SweiSpringSugar', 'PingFang SC', 'Microsoft YaHei', sans-serif; /* 使用自定义字体 */
}

/* 左侧横线 - 初始白色 */
.more-cases-btn::before {
    content: '';
    width: 60px; /* 横线长度 */
    height: 2px;
    background: white; /* 白色横线 */
    transition: all 0.3s ease;
}

.more-cases-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.more-cases-btn:hover::before {
    width: 80px; /* 悬浮时横线变长 */
}

/* 右侧图片 */
.services-right-image {
    position: absolute;
    top: 20%; /* 上方2/5处 */
    left: 70%; /* 在右侧60%区域内居中（40% + 60%/2 = 70%） */
    transform: translateX(-50%);
    z-index: 15; /* 在蒙版之上 */
    width: 40%;
    max-width: 500px;
}

.services-right-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 案例展示区域 - 第四屏 */
.cases-showcase-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    overflow: visible; /* 改为visible，让导航可见 */
}

.cases-container {
    max-width: 1200px;
    width: 100%;
    padding: 110px 20px 40px 20px; /* 顶部从140px减小到110px */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 顶部图片区域 */
.cases-showcase-section .cases-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px; /* 从50px减小到30px */
    width: 100%;
}

.cases-showcase-section .header-left,
.cases-showcase-section .header-right {
    display: flex;
    align-items: center;
}

.cases-showcase-section .header-left img,
.cases-showcase-section .header-right img {
    max-height: 60px;
    height: auto;
    width: auto;
    max-width: 300px;
    display: block;
}

/* 案例网格 */
.cases-showcase-section .cases-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 30px !important;
    margin-bottom: 10px;
    min-height: auto;
    flex: 1;
}

/* 案例卡片 */
.case-card {
    position: relative;
    background: transparent;
    border-radius: 0;
    overflow: hidden; /* 改为hidden，让图片不越过边框 */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 不同位置的卡片有不同的偏移和缩放 */
.case-card:nth-child(1) {
    transform: translateY(0px) scale(1.25); /* 更新为1.25 */
}

.case-card:nth-child(2) {
    transform: translateY(15px) scale(0.95); /* 更新为0.95 */
}

.case-card:nth-child(3) {
    transform: translateY(-20px) scale(1.25); /* 更新为1.25 */
}

.case-card:nth-child(4) {
    transform: translateY(20px) scale(1.25); /* 更新为1.25 */
}

.case-card:nth-child(5) {
    transform: translateY(0px) scale(1.0); /* 保持1.0 */
}

.case-card:nth-child(6) {
    transform: translateY(-30px) scale(1.25); /* 更新为1.25 */
}

.case-card:nth-child(7) {
    transform: translateY(-10px) scale(1.15); /* 保持1.15 */
}

.case-card:nth-child(8) {
    transform: translateY(10px) scale(1.25); /* 更新为1.25 */
}

.case-card:hover {
    z-index: 10; /* 提升层级 */
}

/* 装饰卡片完全不要悬浮效果 */
.case-card.decoration {
    cursor: default !important;
    pointer-events: none !important; /* 完全不响应鼠标事件 */
}

.case-card.decoration:hover {
    transform: none !important;
    box-shadow: none !important;
    z-index: auto !important;
}

.case-card.decoration img {
    pointer-events: none !important; /* 图片也不响应鼠标事件 */
}

/* 悬浮时卡片保持原有偏移和缩放，不额外放大 */
.case-card:nth-child(1):hover {
    transform: translateY(0px) scale(1.25);
}

.case-card:nth-child(2):hover {
    transform: translateY(15px) scale(0.95); /* 更新为0.95 */
}

.case-card:nth-child(3):hover {
    transform: translateY(-20px) scale(1.25);
}

.case-card:nth-child(4):hover {
    transform: translateY(20px) scale(1.25);
}

.case-card:nth-child(5):hover {
    transform: translateY(0px) scale(1.0); /* 保持1.0 */
}

.case-card:nth-child(6):hover {
    transform: translateY(-30px) scale(1.25);
}

.case-card:nth-child(7):hover {
    transform: translateY(-10px) scale(1.15);
}

.case-card:nth-child(8):hover {
    transform: translateY(10px) scale(1.25);
}

/* 案例卡片图片 - 悬浮时放大 */
.case-card img {
    transition: transform 0.3s ease;
}

.case-card:not(.decoration):hover img {
    transform: scale(1.1); /* 图片放大1.1倍 */
}

/* 案例编号 */
.case-number {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: #8B5CF6;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

/* 案例图片 */
.case-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 改为contain，显示完整图片 */
    display: block;
}

/* 案例标题 */
.case-title {
    padding: 15px;
    font-size: 0.9rem;
    color: #333;
    text-align: center;
    background: #fff;
}

/* 装饰卡片 */
.case-card.decoration {
    background: transparent;
    display: flex;
    align-items: flex-start; /* 改为顶部对齐 */
    justify-content: flex-end; /* 改为右对齐 */
    overflow: hidden; /* 裁剪超出部分 */
    padding: 20px; /* 添加内边距 */
    transform: none !important; /* 强制不应用任何transform */
    transition: none !important; /* 移除过渡效果 */
}

.case-card.decoration img {
    object-fit: contain; /* 保持比例，适应容器 */
    width: auto; /* 保持原始宽度 */
    height: auto; /* 保持原始高度 */
    max-width: 80%; /* 最大宽度80%，不填满 */
    max-height: 80%; /* 最大高度80%，不填满 */
    transform: none !important; /* 图片也不应用transform */
}

/* 翻页导航 */
.cases-pagination {
    display: none !important; /* 隐藏翻页导航 */
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px; /* 减小顶部间距 */
    padding: 15px 0; /* 减小内边距 */
    background: rgba(139, 92, 246, 0.1); /* 添加背景色方便调试 */
    border-radius: 10px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #8B5CF6;
    background: transparent;
    color: #8B5CF6;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover {
    background: #8B5CF6;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-dots {
    display: flex;
    gap: 10px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: #8B5CF6;
    width: 30px;
    border-radius: 5px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .cases-showcase-section .cases-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: auto !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    .cases-showcase-section .cases-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 20px !important;
    }
    
    .cases-showcase-section .cases-header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }
}

/* 案例展示区域 */
.cases-section {
    padding: 0; /* 移除padding，使用flexbox居中 */
    background: white;
    height: 100vh; /* 设置为全屏高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start; /* 滚动吸附 */
}

/* 合作伙伴区域 */
.partners-section {
    padding: 0; /* 移除padding，使用flexbox居中 */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    height: 100vh; /* 设置为全屏高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start; /* 滚动吸附 */
}

/* 合作伙伴/联系我们区域 - 第五屏 */
.partners-contact-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

/* 上半部分 - 合作伙伴展示 */
.partners-showcase {
    flex: 1;
    background: #ffffff;
    padding: 110px 20px 40px 20px;
    overflow: hidden;
    position: relative;
}

/* 标题和按钮容器 */
.partners-header {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 标题图片 */
.partners-title-img {
    margin: 0;
    padding: 0;
}

.partners-title-img img {
    max-height: 60px;
    width: auto;
    display: block;
}

/* 咨询按钮容器 */
.consultation-button-wrapper {
    margin: 0;
    padding: 0;
}

/* 咨询按钮 */
.consultation-button {
    display: inline-block;
    padding: 15px 40px;
    background: #7028aa; /* 初始颜色 */
    color: white;
    text-decoration: none;
    border-radius: 50px; /* 全圆角 */
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'SweiSpringSugar', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(112, 40, 170, 0.3);
    white-space: nowrap;
}

.consultation-button:hover {
    background: #8B5CF6; /* 悬浮时颜色 */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Logo网格容器 - 5x3布局 */
.partners-grid-container {
    width: 100%;
    max-width: 1200px; /* 与导航栏对齐 */
    margin: 40px auto;
    position: relative;
    padding: 0 20px; /* 与导航栏对齐 */
    box-sizing: border-box;
}

.partners-grid-wrapper {
    width: 100%;
    overflow: hidden;
    height: 37vh; /* 调整为360px */
    position: relative;
    border: none; /* 去掉红色边框 */
    padding: 20px;
    box-sizing: border-box;
    background: white;
}

.partners-grid-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
}

.partner-grid-item {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    /* border: 2px solid #e0e0e0; */
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.partner-grid-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(112, 40, 170, 0.2);
    border-color: #7028aa;
}

.partner-grid-item img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* 右下角文字 - 在红色边框外面的右下角 */
.partners-note {
    position: absolute;
    bottom: -46px; /* 从-30px改为-46px，下移16px */
    right: 0; /* 改为0，紧贴右边 */
    display: flex;
    align-items: flex-end;
    gap: 8px;
    font-size: 14px;
    color: #7028aa;
}

.note-text {
    font-weight: normal;
    color: #7028aa;
    line-height: 1.5;
    transform: translateY(-16px); /* 向上移动圆点的高度 */
}

.note-divider-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.note-divider {
    width: 2px;
    height: 72px;
    background-color: #7028aa;
    display: block;
}

.note-dot {
    font-size: 16px;
    color: #7028aa;
    line-height: 1;
    display: block;
    margin-top: -2px;
    text-align: center;
    transform: translateX(5px); /* 向右移动5px */
}

/* Logo滚动容器 - 旧版（已废弃） */
.partners-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* 和导航栏、标题对齐 */
}

.partners-scroll-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 0;
    overflow: visible; /* 允许显示负偏移的logo */
}

/* 滚动容器 - 只有这个容器内的logo会滚动 */
.partners-scrolling-container {
    display: flex;
    align-items: center;
    margin-left: 0;
    position: relative;
    z-index: 1; /* 确保在固定logo下方 */
}

.partners-scroll-wrapper:hover .partners-scrolling-container {
    /* JavaScript会处理暂停 */
}

/* 固定的第一个logo - 绝对定位固定在左侧 */
.partner-logo-item.fixed {
    position: relative; /* 改为relative，让它在正常文档流中 */
    left: 0;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}

/* Logo项 */
.partner-logo-item {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
    background: white;
    border-radius: 50%;
    overflow: visible; /* 确保内容不被裁剪 */
}

.partner-logo-item:hover {
    transform: none;
    /* 不提升z-index，避免遮住相邻logo的边框 */
}

/* 悬浮时图片放大 - 针对img-container内的图片 */
.partner-logo-item:hover img {
    transform: scale(1.15);
}

/* 悬浮时边框保持在最上层 - 不需要特殊处理，因为边框已经有z-index:10 */

/* 第一个固定logo - 只有左半圆边框 */
.partner-logo-item.first {
    border: none;
    position: relative;
    background: white;
    overflow: visible;
}

/* 使用伪元素创建左半圆边框 */
.partner-logo-item.first::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 3px solid #8B5CF6;
    border-radius: 50%;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    pointer-events: none;
    z-index: 10;
    box-sizing: border-box;
}

/* 第一个固定logo的图片 */
.partner-logo-item.first img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* 普通logo - 基础样式 */
.partner-logo-item.normal {
    position: relative;
    border: none;
    margin-left: -3px; /* 减少一个边框宽度，让波浪线连接 */
}

/* 第一个滚动logo不需要负margin */
.partner-logo-item.normal:first-child {
    margin-left: 0;
}

/* 上半圆边框 */
.partner-logo-item.normal.top-half::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 3px solid #8B5CF6;
    border-radius: 50%;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
    pointer-events: none;
    box-sizing: border-box;
    z-index: 10;
}

/* 下半圆边框 */
.partner-logo-item.normal.bottom-half::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 3px solid #8B5CF6;
    border-radius: 50%;
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
    pointer-events: none;
    box-sizing: border-box;
    z-index: 10;
}

/* 普通logo的图片 */
.partner-logo-item.normal img {
    position: relative;
    z-index: 1;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* Logo图片通用样式 */
.partner-logo-item img {
    transition: transform 0.3s ease;
}

/* 滚动动画 - logo向右移动，新logo从左侧进入 */
@keyframes scrollLogos {
    from {
        transform: translateX(-50%); /* 从-50%开始（第二组在左侧，第一组可见） */
    }
    to {
        transform: translateX(0%); /* 向右移动到0%（第一组移出右侧，第二组进入） */
    }
}

/* 下半部分 - 联系信息图片 */
.contact-info-section {
    flex: 0 0 28vh; /* 固定高度为视口高度的三分之一 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 40px;
}

.contact-content {
    max-width: 1000px;
    width: 100%;
    color: white;
    padding: 0 20px;
    margin: 0 auto;
}

.contact-items {
    display: grid;
    grid-template-columns: 1fr auto auto auto auto 1fr; /* 6列：两端留白，中间4个元素 */
    align-items: flex-start;
    gap: 60px; /* 统一间距 */
    width: 100%;
    justify-items: center; /* 所有元素居中对齐 */
}

/* 第一个元素放在第2列 */
.contact-items .contact-item:nth-child(1) {
    grid-column: 2;
}

/* 第二个元素放在第3列 */
.contact-items .contact-item:nth-child(2) {
    grid-column: 3;
}

/* 第三个元素放在第4列 */
.contact-items .contact-item:nth-child(3) {
    grid-column: 4;
}

/* 第四个元素放在第5列 */
.contact-items .contact-item:nth-child(4) {
    grid-column: 5;
}

/* 二维码项 */
.qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto; /* 宽度跟随内容 */
    width: fit-content; /* 宽度完全由内容决定 */
}

/* 移除所有margin，让space-between控制间距 */
.qrcode-item:first-child,
.qrcode-item:nth-child(2),
.contact-item.info-item:nth-child(3),
.contact-item.info-item:nth-child(4) {
    margin: 0;
}

.qrcode-img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.qrcode-label {
    color: white;
    font-size: 14px;
    margin: 0;
    font-family: 'SweiSpringSugar', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    text-align: center;
    white-space: nowrap; /* 防止文字换行 */
    width: max-content; /* 宽度由内容决定 */
}

/* 信息项 */
.contact-info-section .contact-item.info-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 3px !important;
    flex: 0 0 auto !important; /* 宽度跟随内容 */
    width: fit-content !important; /* 宽度完全由内容决定 */
}

/* 内容包裹容器 */
.contact-info-section .info-content-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
    width: 100% !important;
}

.contact-info-section .info-icon {
    width: auto !important; /* 改为auto，让图标自然宽度 */
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    align-self: flex-start !important; /* 确保左对齐 */
}

.contact-info-section .info-icon img {
    height: 30px !important;
    width: auto !important;
    filter: brightness(0) invert(1) !important;
    display: block !important; /* 移除inline默认间距 */
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: left center !important; /* 确保图标左对齐 */
}

/* 单独调整第三列（电话）的图标容器 */
.contact-items .info-item:nth-child(3) .info-icon {
    height: 40px !important;
    line-height: 40px !important;
}

/* 小红书圆圈图标 */
.contact-info-section .redbook-icon {
    width: 40px !important;
    height: 40px !important;
    border: 2px solid white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 9px !important;
    font-weight: bold !important;
}

.contact-info-section .info-divider {
    display: none !important; /* 隐藏原来的下划线 */
}

/* 使用伪元素来创建下划线，宽度跟随.info-text */
.contact-info-section .info-text {
    position: relative;
}

.contact-info-section .info-text::before {
    content: '';
    position: absolute;
    top: -5px; /* 下划线在.info-text上方，调整这个值来控制间距 */
    left: 0;
    width: 100%; /* 100%相对于.info-text，也就是最长的p标签的宽度 */
    height: 2px;
    background: white;
}

/* 小红书列的下划线 - 设置最小宽度 */
.contact-info-section .contact-items .info-item:nth-child(5) .info-text::before {
    min-width: 120px; /* 设置最小宽度，让下划线更长 */
}

/* 文字内容 */
.info-text {
    text-align: left;
    width: fit-content !important; /* 改为fit-content，宽度由内容决定 */
    height: 52px !important; /* 固定高度 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: flex-start !important; /* 确保左对齐 */
}

.info-text p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.6;
    font-family: 'SweiSpringSugar', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    white-space: nowrap; /* 防止文字换行 */
    width: max-content; /* 宽度由内容决定 */
}

.contact-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    font-family: 'SweiSpring', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.contact-details {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    flex: 1;
}

.contact-label {
    font-size: 1rem;
    margin-bottom: 10px;
    opacity: 0.9;
    font-family: 'SweiSpringSugar', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.contact-value {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'SweiSpringSugar', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 联系我们区域 */
.contact-section {
    padding: 0; /* 移除padding，使用flexbox居中 */
    background: #333;
    color: white;
    text-align: center;
    height: 100vh; /* 设置为全屏高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start; /* 滚动吸附 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.col-left, .col-right {
    flex: 1;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #8B5CF6;
    margin-bottom: 20px;
    line-height: 1.4;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: #8B5CF6;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    gap: 10px;
}

.cta-button:hover {
    background: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.cta-button.white {
    background: white;
    color: #333;
}

.cta-button.white:hover {
    background: #f8f9fa;
    color: #8B5CF6;
}

.button-icon img {
    width: 16px;
    height: 16px;
}

.about-content {
    position: relative;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.about-watermark {
    position: absolute;
    bottom: -20px;
    right: 0;
    font-size: 6rem;
    font-weight: bold;
    color: rgba(139, 92, 246, 0.1);
    z-index: 1;
}

/* 服务项目区域 */
.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.services-background {
    position: relative;
}

.services-description p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0;
    opacity: 0.9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

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

.service-icon img {
    width: 60px;
    height: 60px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.service-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 案例展示区域 */
.cases-section {
    padding: 100px 0;
    background: white;
}

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

.section-watermark {
    font-size: 8rem;
    font-weight: bold;
    color: rgba(139, 92, 246, 0.05);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

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

.case-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

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

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

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

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

.case-content {
    padding: 25px;
}

.case-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.case-category {
    font-size: 0.9rem;
    color: #8B5CF6;
    font-weight: 500;
}

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

.more-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 40px;
    background: transparent;
    color: #8B5CF6;
    text-decoration: none;
    border: 2px solid #8B5CF6;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    gap: 10px;
}

.more-button:hover {
    background: #8B5CF6;
    color: white;
    transform: translateY(-2px);
}

/* 合作伙伴区域 */
.partners-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.partners-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 合作流程区域 */
.process-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.process-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.process-number {
    font-size: 3rem;
    font-weight: bold;
    color: #8B5CF6;
    margin-bottom: 20px;
}

.process-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.process-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* 客户展示区域 */
.clients-section {
    padding: 100px 0;
    background: white;
}

.clients-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

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

.client-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.client-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.client-item h3 {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

/* 核心竞争力区域 */
.competitiveness-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.competitiveness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.competitiveness-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.competitiveness-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.competitiveness-icon {
    margin-bottom: 25px;
}

.competitiveness-icon img {
    width: 80px;
    height: 80px;
}

.competitiveness-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.competitiveness-description {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* 联系我们区域 */
.contact-section {
    padding: 100px 0;
    background: #333;
    color: white;
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
}

/* 注释掉冲突的contact-item定义
.contact-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.contact-item img {
    width: 24px;
    height: 24px;
}
*/