/* 定制产品模块 */
.index-custom-product {
    background: #f8f9fa;
}

.index-custom-container {
    display: flex;
    align-items: center;
    gap: 6rem;
    padding: 0 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* 左侧轮播图 */
.index-custom-left {
    flex: 0 0 50%;
    max-width: 500px;
}

.index-custom-swiper {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
}

.index-custom-swiper .swiper-slide {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
}

/* 强制所有层级取消白色背景 */
.index-custom-swiper,
.index-custom-swiper .swiper-wrapper,
.index-custom-swiper .swiper-slide,
.index-custom-swiper .pic {
    background-color: transparent !important;
}

.index-custom-swiper .pic {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-color: transparent;
}

.index-custom-swiper .swiper-button-prev,
.index-custom-swiper .swiper-button-next {
    width: 45px;
    height: 45px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: none;
}

.index-custom-swiper .swiper-button-prev:hover,
.index-custom-swiper .swiper-button-next:hover {
    background: transparent;
    box-shadow: none;
}

.index-custom-swiper .swiper-button-prev::after,
.index-custom-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
    color: #0863c4;
    transition: all 0.3s ease;
}

.index-custom-swiper .swiper-button-prev:hover::after,
.index-custom-swiper .swiper-button-next:hover::after {
    color: #0863c4;
}

.index-custom-swiper .swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 20px;
}

.index-custom-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #d0d0d0;
    opacity: 1;
    transition: all 0.3s ease;
}

.index-custom-swiper .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 4px;
    background: #0863c4;
}

/* 右侧内容 */
.index-custom-right {
    flex: 1;
}

.index-custom-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2.5rem;
    line-height: 1.3;
}

.index-custom-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.index-custom-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    background: none;
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: none;
}

.index-custom-item:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.index-custom-item-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.index-custom-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.index-custom-item-icon svg {
    width: 56px;
    height: 56px;
}

.index-custom-item-content {
    flex: 1;
}

.index-custom-item-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.index-custom-item-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.index-custom-button a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2.5rem;
    background: #0863c4;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.index-custom-button a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #34C759;
    transition: all 0.4s ease;
    z-index: -1;
}

.index-custom-button a:hover::before {
    left: 0;
}

.index-custom-button a:hover {
    color: #fff;
    transform: translateX(5px);
}

.index-custom-button svg {
    transition: all 0.3s ease;
}

.index-custom-button a:hover svg {
    transform: translateX(5px);
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .index-custom-container { gap: 2rem; }
    .index-custom-title h2 { font-size: 2rem; }
}

@media screen and (max-width: 960px) {
    .index-custom-container { flex-direction: column; gap: 1rem; padding: 0 1rem; }
    .index-custom-left { flex: 0 0 100%; max-width: 100%; }
    .index-custom-swiper .pic { height: 260px; border-radius: 8px; }
    .index-custom-swiper .swiper-pagination { margin-top: 10px; }
    .index-custom-title { text-align: center; }
    .index-custom-title h2 { font-size: 1.5rem; margin-bottom: 1.5rem; text-align: center; }
    .index-custom-items { gap: 1rem; margin-bottom: 1.5rem; }
    .index-custom-button { margin-bottom: 1rem; }
}

@media screen and (max-width: 640px) {
    .index-custom-items{ 
        flex-direction: row;
        justify-content: space-around;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }
    .index-custom-title { text-align: center; }
    .index-custom-title h2 { font-size: 1.5rem; text-align: center; }
    .index-custom-item { 
        flex-direction: column; 
        text-align: center; 
        padding: 1rem 0.5rem;
        flex: 0 0 auto;
    }
    .index-custom-item-icon { margin: 0 auto 0.75rem; width: 64px; height: 64px; }
    .index-custom-item-icon img,
    .index-custom-item-icon svg { width: 64px; height: 64px; }
    .index-custom-item-content{ width: 100%; text-align: center; }
    .index-custom-item-content h3 { text-align: center; font-size: 1.125rem; margin-bottom: 0; font-weight: 600; }
    .index-custom-item-content p { display: none; }
    .index-custom-button { text-align: center; }
    .index-custom-button a { width: 100%; justify-content: center; }
}

/* 性能介绍模块 */
.index-performance {
    position: relative;
    overflow: hidden;
}

.index-performance-swiper {
    position: relative;
}

.index-performance-swiper .pic {
    min-height: 400px;
}

.index-performance-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
}

.index-performance-overlay.no-swiper {
    position: relative;
    min-height: 400px;
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 100%);
    padding: 60px 0;
}

.index-performance-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.index-performance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.perf-icon {
    margin-bottom: 0.5rem;
}

.perf-icon img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.perf-icon svg {
    width: 54px;
    height: 54px;
}

.perf-dot {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    margin: 0.75rem auto;
}

.perf-number {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.perf-content h4 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.perf-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 性能介绍响应式 */
@media (max-width: 1024px) {
    .index-performance-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .index-performance {
        overflow: visible;
    }
    
    .index-performance-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .index-performance-swiper .pic {
        min-height: auto;
    }
    
    .index-performance-overlay {
        position: relative;
        height: auto;
    }
    
    .index-performance-overlay.no-swiper {
        min-height: auto;
        height: auto;
        padding: 2rem 0;
    }
    
    .index-performance-item {
        padding: 1rem 0.5rem;
    }
    
    .perf-content p {
        max-width: 100%;
        font-size: 0.85rem;
    }
}
