/* 产品介绍页面样式 */
:root {
    --primary-blue: #1a237e;
    --primary-orange: #ff6b00;
    --gradient-primary: linear-gradient(135deg, #1a237e 0%, #ff6b00 100%);
    --gradient-hover: linear-gradient(135deg, #ff6b00 0%, #1a237e 100%);
}

.products-hero {
    background: var(--gradient-primary);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
    position: relative;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/products-bg.jpg') center/cover;
    opacity: 0.2;
    z-index: 1;
}

.products-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.products-hero p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

/* 产品分类导航 */
.product-categories {
    background: #f8f9fa;
    padding: 2rem;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.category-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 产品列表 */
.products-list {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    scroll-margin-top: 150px;
}

.products-list h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.products-list h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1rem auto;
    border-radius: 2px;
}

.product-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.product-image {
    flex: 0 0 40%;  /* 图片占据40%宽度 */
    max-width: 40%;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    background-color: #f8f9fa;
}

.product-content {
    flex: 0 0 60%;  /* 内容占据60%宽度 */
    padding: 30px;
}

.product-info h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 24px;
}

.product-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.product-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
}

.product-features li:before {
    content: "✓";
    color: var(--primary-orange);
    position: absolute;
    left: 0;
}

.product-specs {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.product-specs h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 18px;
}

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

.spec-item {
    text-align: center;
}

.spec-item h5 {
    color: #666;
    margin-bottom: 5px;
    font-size: 14px;
}

.spec-item p {
    color: #333;
    font-weight: 500;
    margin: 0;
}

/* 产品优势 */
.product-advantages {
    padding: 6rem 2rem;
    background: var(--gradient-primary);
    color: #fff;
    position: relative;
}

.product-advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') center/cover;
    opacity: 0.1;
}

.product-advantages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    color: #fff;
}

.product-advantages h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #fff;
    margin: 1rem auto;
    border-radius: 2px;
}

.advantages-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.advantage-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.advantage-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.advantage-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

/* 质量承诺 */
.quality-commitment {
    padding: 6rem 2rem;
    background: #f8f9fa;
}

.quality-commitment h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.quality-commitment h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1rem auto;
    border-radius: 2px;
}

.commitment-content {
    max-width: 1200px;
    margin: 0 auto;
}

.commitment-content ul {
    list-style: none;
    padding: 0;
}

.commitment-content li {
    background: #fff;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
    padding-left: 3rem;
    transition: all 0.3s ease;
}

.commitment-content li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.commitment-content li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    color: var(--primary-orange);
    font-weight: bold;
}

/* 资料下载部分 */
.download-section {
    padding: 50px 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../images/pattern.png');
    background-size: 200px;
}

.download-section h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 40px;
    position: relative;
}

.download-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 15px auto 0;
}

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

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

.download-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.download-icon {
    flex: 0 0 70px;
    margin-right: 20px;
}

.download-icon img {
    width: 100%;
    height: auto;
}

.download-info {
    flex: 1;
}

.download-info h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 20px;
}

.download-info p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.download-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .products-hero h1 {
        font-size: 2rem;
    }

    .product-item {
        flex-direction: column;
    }

    .product-image {
        flex: 0 0 100%;
        max-width: 100%;
        height: 250px;
    }

    .product-content {
        flex: 0 0 100%;
        padding: 20px;
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-nav {
        flex-direction: column;
        align-items: center;
    }

    .category-btn {
        width: 100%;
        text-align: center;
    }

    .product-categories {
        position: static;
    }
    
    .products-list {
        scroll-margin-top: 20px;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .download-item {
        padding: 20px;
    }
    
    .download-icon {
        flex: 0 0 50px;
        margin-right: 15px;
    }
    
    .download-info h3 {
        font-size: 18px;
    }
} 