/* 产品中心页面专用样式 - 简化版 */

/* 产品中心主区域 */
.products-main-section {
    position: relative;
    padding: 8.71rem 0 4.29rem;
    min-height: 100vh;
    isolation: isolate;
    overflow: hidden;
}

/* 主标题样式 */
.products-main-title {
    text-align: center;
    font-size: 2.29rem;
    color: #000000;
    margin-top: 1.43rem; 
    margin-bottom: 4.29rem;
    font-weight: 700;
}

/* 产品网格布局 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.14rem;
    width: 90%; /* 使用百分比宽度 */
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    justify-items: center;
}

/* 产品分类卡片 */
.product-category-card {
    background: transparent;
    padding: 0px;
    text-align: center;
    position: relative;
    z-index: 2; /* 确保卡片在装饰文字上方 */
}

/* 图片容器 */
.product-image-container {
    position: relative;
    width: 100%;
    height: 17.43rem;
    margin: 0 auto 0.71rem;
    overflow: hidden;
    z-index: 2;
    background-color: white;
}

/* 产品图片 */
.product-category-image {
    z-index: 2; /* 确保图片在装饰文字上方 */
    background-color: white; /* 白色背景，用于覆盖文字 */
}

/* 第一行产品卡片特殊样式 - 用于覆盖APPLICATIONS文字 */
.products-grid .product-category-card:nth-child(1) .product-image-container,
.products-grid .product-category-card:nth-child(2) .product-image-container,
.products-grid .product-category-card:nth-child(3) .product-image-container {
    box-shadow: 0 0 0 0px white; /* 添加白色边框，增强覆盖效果 */
}

/* 产品文字标签 - 响应式定位 */
.product-image-container p {
    position: absolute;
    left: 5%;
    bottom: 10%;
    margin: 0;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 600;
    text-shadow: 0.07rem 0.07rem 0.14rem rgba(0, 0, 0, 0.8);
    z-index: 3;
}

/* 超宽屏适配 (1920px以上) */
@media (min-width: 1921px) {
    .product-image-container p {
        left: 20px;
        bottom: 185px;
        font-size: 2.5rem;
    }
}

/* 宽屏适配 (1440px - 1920px) */
@media (min-width: 1441px) and (max-width: 1920px) {
    .product-image-container p {
        left: 15px;
        bottom: 50px;
        font-size: 2.3rem;
    }
}

/* 标准桌面适配 (1200px - 1440px) */
@media (min-width: 1201px) and (max-width: 1440px) {
    .product-image-container p {
        left: 12px;
        bottom: 120px;
        font-size: 2.1rem;
    }
}

/* 平板适配 (768px - 1200px) */
@media (max-width: 1200px) {
    .product-image-container p {
        left: 8px;
        bottom: 182px;
        font-size: 1.8rem;
    }
}

/* 手机适配 (480px - 768px) */
@media (max-width: 768px) {
    .product-image-container p {
        left: 6px;
        bottom: 6px;
        font-size: 1.5rem;
    }
}

/* 小手机适配 (小于480px) */
@media (max-width: 480px) {
    .product-image-container p {
        left: 4px;
        bottom: 4px;
        font-size: 1.2rem;
    }
}

/* 超宽屏适配 (1920px以上) */
@media (min-width: 1921px) {
    .products-grid {
        max-width: 1400px;
        gap: 3rem;
    }
    
    .products-main-title {
        font-size: 3rem;
    }
    
    .product-image-container {
        height: 25rem;
    }
}

/* 宽屏适配 (1440px - 1920px) */
@media (min-width: 1441px) and (max-width: 1920px) {
    .products-grid {
        max-width: 1300px;
        gap: 2.5rem;
    }
    
    .product-image-container {
        height: 16rem;
    }
}

/* 标准桌面适配 (1200px - 1440px) */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.79rem;
        padding: 0 1.43rem;
    }
    
    .products-main-title {
        font-size: 2.5rem;
        margin-bottom: 3.57rem;
    }
}

/* 平板适配 (768px - 1200px) */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.43rem;
        max-width: 35.71rem;
    }
    
    .products-main-section {
        padding: 4.29rem 0 2.86rem;
    }
    
    .products-main-title {
        font-size: 2rem;
        margin-bottom: 2.86rem;
    }
    
    .product-image-container {
        height: 17.86rem;
    }
    
    .product-image-container p {
        font-size: 1rem;
        padding: 0.43rem 0.86rem;
        left: 5%;
        bottom: 5%;
    }
}

/* 手机适配 (480px - 768px) */
@media (max-width: 480px) {
    .products-main-title {
        font-size: 1.8rem;
        margin-bottom: 2.14rem;
    }
    
    .product-image-container {
        height: 14.29rem;
    }
    
    .product-image-container p {
        font-size: 0.9rem;
        padding: 0.36rem 0.71rem;
        left: 5%;
        bottom: 5%;
    }
}

/* 超小手机适配 (320px - 480px) */
@media (max-width: 320px) {
    .products-main-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .products-main-section {
        padding: 3rem 0 2rem;
    }
    
    .product-image-container {
        height: 12rem;
    }
    
    .product-image-container p {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .products-grid {
        gap: 1rem;
        padding: 0 1rem;
    }
}

/* 超窄屏适配 (小于320px) */
@media (max-width: 280px) {
    .products-main-title {
        font-size: 1.3rem;
    }
    
    .product-image-container {
        height: 10rem;
    }
    
    .product-image-container p {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

/* 装饰背景层样式 */
.products-decorative-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.decorative-text {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem; /* 减小字体大小 */
    font-weight: 900;
    color: rgba(0, 0, 0, 0.06);
    white-space: normal; /* 允许换行 */
    word-wrap: break-word; /* 允许单词内换行 */
    pointer-events: none;
    user-select: none;
    z-index: 1;
    background-clip: text;
    -webkit-background-clip: text;
    text-emphasis-color: transparent;
    -webkit-text-fill-color: transparent;
    background-color: rgba(0, 0, 0, 0.06);
    mix-blend-mode: multiply;
    letter-spacing: 0.36rem;
    max-width: 90%; /* 限制最大宽度 */
    text-align: center; /* 居中对齐 */
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .products-main-section {
        background: #002060;
    }
    
    .products-main-title {
        color: #ffffff;
    }
}

/* 产品简介栏样式 */
.product-intro-section {
    position: relative;
    padding: 10rem 0;
    isolation: isolate;
    overflow: hidden;
}

.product-intro-decorative-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.product-decorative-text {
    position: absolute;
    top: 18%;
    left: 29%;
    transform: translate(-50%, -50%);
    font-size: 8rem; /* 减小字体大小 */
    font-weight: 900;
    color: rgba(0, 0, 0, 0.06);
    white-space: normal; /* 允许换行 */
    word-wrap: break-word; /* 允许单词内换行 */
    pointer-events: none;
    user-select: none;
    z-index: 1;
    mix-blend-mode: multiply;
    letter-spacing: 0.36rem;
    max-width: 80%; /* 限制最大宽度 */
    text-align: center; /* 居中对齐 */
}

.product-intro-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 90%; /* 使用百分比宽度 */
    max-width: 1200px;
    margin: 0 auto;
}

.product-intro-text h2 {
    font-size: 32px;
    color: #000000;
    margin-bottom: 20px;
    font-weight: 700;
}

.product-intro-text p {
    font-size: 20px;
    line-height: 1.4;
    color: #333;
    margin-bottom: 30px;
    text-align: justify;
    max-width: 100%;
    letter-spacing: -1px;
    word-spacing: -1px;
}

.tech-params-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.tech-param-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-height: 300px;
}

.tech-param-card h3 {
    font-size: 28px;
    color: #000000;
    margin-bottom: 20px;
    font-weight: 600;
}

.underline {
    height: 3px;
    background: linear-gradient(90deg, #002060, transparent);
    margin-bottom: 20px;
}

.param-content p {
    font-size: 20px;
    color: #666;
    margin: 12px 0;
    line-height: 1.6;
}

.product-intro-image {
    display: flex;
    justify-content: flex-end; /* 改为右对齐 */
    align-items: center;
    padding-right: 0px; /* 添加右侧内边距 */
}

.product-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    background: transparent;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .product-intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tech-params-cards {
        grid-template-columns: 1fr;
    }
    
    .product-decorative-text {
        font-size: 180px;
    }
}

@media (max-width: 768px) {
    .product-intro-section {
        padding: 60px 0;
    }
    
    .product-decorative-text {
        font-size: 120px;
    }
    
    .product-intro-text h2 {
        font-size: 24px;
    }
    
    .tech-param-card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .product-decorative-text {
        font-size: 80px;
    }
    
    .product-intro-text h2 {
        font-size: 20px;
    }
    
    .tech-param-card h3 {
        font-size: 16px;
    }
    
    .param-content p {
        font-size: 12px;
    }
}

/* 性能特点栏样式 */
.performance-features-section {
    position: relative;
    padding: 100px 0;
    isolation: isolate;
    overflow: hidden;
}

.decorative-bg-text {
    position: absolute;
    left: 76%;
    transform: translate(-84%, -50%);
    font-size: 6.2rem; /* 减小字体大小 */
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    pointer-events: none;
    user-select: none;
    z-index: 1;
    font-family: Arial, sans-serif;
    letter-spacing: 0px;
    
    /* 优化换行样式 */
    white-space: normal; /* 允许正常换行 */
    word-wrap: break-word; /* 允许单词内换行 */
    text-align: left; /* 左对齐 */
    width: 80%; /* 控制宽度以触发换行 */
    max-width: 90%; /* 限制最大宽度 */
    line-height: 1.2; /* 增加行高 */
}

.performance-features-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
    width: 90%; /* 使用百分比宽度 */
    max-width: 1200px;
    margin: 0 auto;
}

.features-title {
    font-size: 32px;
    color: #000000;
    margin-bottom: 40px;
    font-weight: 700;
    text-align: left;
}

.feature-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 80%; /* 宽度减少一半 */
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.feature-card-1 { transform: translateX(0); }
.feature-card-2 { transform: translateX(0); }
.feature-card-3 { transform: translateX(0); }

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    background: #002060; /* 统一深蓝色背景 */
}

.efficiency-icon, .fuel-icon, .quiet-icon {
    background: #002060; /* 统一深蓝色背景 */
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-text h3 {
    font-size: 32px;
    color: #002060;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.engine-model-container {
    position: relative;
    min-height: 500px;
}

.engine-model-circle {
    position: absolute;
    top: 50%;
    left: 42%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border: 3px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    z-index: 3;
}

.engine-model {
    max-width: 100%;
    max-height: 100%;
}

.tech-system {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.tech-system h4 {
    font-size: 16px;
    color: #000000;
    margin-bottom: 12px;
    font-weight: 600;
}

.tech-points {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.tech-points li {
    font-size: 14px;
    color: #666;
    margin: 6px 0;
    line-height: 1.4;
}

.combustion-system {
    top: 36%;
    left: -21%;
}

.nvh-system {
    top: 23%;
    right: -3%;
}

.intake-exhaust-system {
    bottom: 5%;
    right: -3%;
}

.thermal-system {
    bottom: -19%;
    left: 27%;
}

/* 自适应零件图片系统 */
.part-images-surround {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 15px auto;
    max-width: 100%;
    box-sizing: border-box;
}

.part-image {
    position: absolute;
    width: 35px;
    height: 35px;
    border-radius: 6px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* 六个零件的环绕位置 */
.part-1 { top: 30%; left: -91%; transform: translateX(-50%); }
.part-2 { top: -17%; right: 114%; }
.part-3 { top: -11%; right: -54%; }
.part-4 { bottom: -138%; right: 186%; }
.part-5 { bottom: -160%; left: -52%; transform: translateX(-50%); }
.part-6 { bottom: -177%; left: 88%; }

/* 桌面端优化 (1200px+) */
@media (min-width: 1200px) {
    .part-images-surround {
        width: 200px;
        height: 200px;
    }
    
    .part-image {
        width: 50%;
        height: 50%;
    }
}

/* 平板端适配 (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .part-images-surround {
        width: 160px;
        height: 160px;
    }
    
    .part-image {
        width: 32px;
        height: 32px;
    }
}

/* 手机端适配 (480px - 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .part-images-surround {
        width: 140px;
        height: 140px;
        margin: 10px auto;
    }
    
    .part-image {
        width: 28px;
        height: 28px;
    }
    
    .part-2 { right: 10%; }
    .part-3 { right: 3%; }
    .part-4 { right: 10%; }
    .part-6 { left: 10%; }
}

/* 小手机端适配 (小于480px) */
@media (max-width: 479px) {
    .part-images-surround {
        width: 120px;
        height: 120px;
        margin: 8px auto;
    }
    
    .part-image {
        width: 24px;
        height: 24px;
        border-radius: 4px;
    }
    
    .part-1 { top: 8%; }
    .part-2 { top: 22%; right: 8%; }
    .part-3 { top: 48%; right: 2%; }
    .part-4 { bottom: 22%; right: 8%; }
    .part-5 { bottom: 8%; }
    .part-6 { bottom: 22%; left: 8%; }
}

/* 高DPI屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .part-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 响应式设计 - 性能特点区域优化 */
@media (max-width: 1200px) {
    .performance-features-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .decorative-bg-text {
        font-size: 100px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        text-align: center;
    }
    
    .engine-model-container {
        min-height: 350px;
        margin-top: 30px;
    }
    
    .engine-model-circle {
        width: 320px;
        height: 320px;
        left: 50%;
    }
    
    .part-images-surround {
        width: 120px;
        height: 120px;
    }
    
    .part-image {
        width: 69px;
        height: 49px;
    }
    
    /* 调整零件位置 */
    .part-1 { top: 25%; left: -50%; }
    .part-2 { top: -15%; right: 70%; }
    .part-3 { top: -8%; right: -45%; }
    .part-4 { bottom: -240%; right: 184%; }
    .part-5 { bottom: -240%; left: -55%; }
    .part-6 { bottom: -130%; left: 90%; }
}

/* 平板端优化 (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .performance-features-content {
        grid-template-columns: 1fr 1.2fr;
        gap: 40px;
    }
    
    .features-left-panel {
        order: 1;
    }
    
    .engine-model-container {
        order: 2;
        min-height: 450px;
    }
    
    .feature-cards-stack {
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
        transform: none !important;
    }
    
    .feature-text h3 {
        font-size: 24px;
    }
}

/* 手机端优化 (768px以下) */
@media (max-width: 768px) {
    .performance-features-section {
        padding: 50px 0;
    }
    
    .performance-features-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .decorative-bg-text {
        font-size: 70px;
        letter-spacing: 2px;
        top: 10%;
    }
    
    .features-title {
        font-size: 22px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .feature-cards-stack {
        gap: 15px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .feature-card {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 10px;
        width: 35px;
        height: 35px;
    }
    
    .feature-text h3 {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .feature-text p {
        font-size: 14px;
    }
    
    .engine-model-container {
        min-height: 300px;
        margin-top: 20px;
    }
    
    .engine-model-circle {
        width: 250px;
        height: 250px;
        left: 50%;
    }
    
    .part-images-surround {
        width: 100px;
        height: 100px;
    }
    
    .part-image {
        width: 20px;
        height: 20px;
    }
    
    /* 重新定位技术系统 */
    .tech-system {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 10px 0;
        transform: none;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .combustion-system,
    .nvh-system,
    .intake-exhaust-system,
    .thermal-system {
        position: relative;
        margin: 15px 0;
    }
}

/* 小手机端优化 (480px以下) */
@media (max-width: 480px) {
    .performance-features-section {
        padding: 40px 0;
    }
    
    .decorative-bg-text {
        font-size: 50px;
        top: 8%;
    }
    
    .features-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .feature-cards-stack {
        gap: 12px;
    }
    
    .feature-card {
        padding: 12px;
    }
    
    .feature-icon {
        width: 30px;
        height: 30px;
    }
    
    .feature-text h3 {
        font-size: 18px;
    }
    
    .feature-text p {
        font-size: 13px;
    }
    
    .engine-model-container {
        min-height: 250px;
    }
    
    .engine-model-circle {
        width: 200px;
        height: 200px;
    }
    
    .part-images-surround {
        width: 80px;
        height: 80px;
    }
    
    .part-image {
        width: 16px;
        height: 16px;
    }
    
    .tech-system {
        padding: 12px;
        max-width: 250px;
    }
    
    .tech-system h4 {
        font-size: 14px;
    }
    
    .tech-points li {
        font-size: 12px;
    }
}

/* 超小屏幕优化 (320px以下) */
@media (max-width: 320px) {
    .performance-features-section {
        padding: 30px 0;
    }
    
    .decorative-bg-text {
        font-size: 40px;
    }
    
    .features-title {
        font-size: 18px;
    }
    
    .feature-card {
        padding: 10px;
    }
    
    .feature-text h3 {
        font-size: 16px;
    }
    
    .engine-model-circle {
        width: 180px;
        height: 180px;
    }
    
    .tech-system {
        max-width: 220px;
        padding: 10px;
    }
}

/* 横屏模式优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .performance-features-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .engine-model-container {
        min-height: 200px;
    }
    
    .engine-model-circle {
        width: 150px;
        height: 150px;
    }
}

/* 高DPI屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .feature-icon img,
    .part-image,
    .engine-model {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}