/* 产品中心页面Hero区域 */
.products-hero {
    background: linear-gradient(rgba(42, 95, 204, 0.8), rgba(42, 95, 204, 0.8)), url('/assets/img/products-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.products-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.products-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* 主要产品展示 */
.main-products {
    padding: 80px 0;
}

.main-products .container h2,
.accessory-products .container h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: #2A5FCC;
    position: relative;
}

.main-products .container h2::after,
.accessory-products .container h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #2A5FCC;
    margin: 10px auto 0;
}

/* 产品网格布局 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* 产品卡片 */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* 新品标识 */
.new-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(255, 107, 107, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(255, 107, 107, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(255, 107, 107, 0.4);
    }
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: auto;
    height: auto;
    object-fit: cover;
}

.product-card h3 {
    margin: 20px 0 10px;
    font-size: 1.5rem;
    color: #333;
}

.product-card p {
    padding: 0 20px;
    margin-bottom: 20px;
    color: #666;
    flex-grow: 1;
}

/* 产品对比表格 */
.product-comparison {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.product-comparison .container h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: #2A5FCC;
    position: relative;
}

.product-comparison .container h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #2A5FCC;
    margin: 10px auto 0;
}

.product-comparison table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.product-comparison table th,
.product-comparison table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.product-comparison table th {
    background-color: #2A5FCC;
    color: white;
    font-weight: 500;
}

.product-comparison table tr:last-child td {
    border-bottom: none;
}

.product-comparison table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.product-comparison table tr:hover {
    background-color: #eef5ff;
    transition: background-color 0.3s ease;
}