/* 产品分类样式 */
.product-categories {
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.category-tab {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--light);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    z-index: -1;
}

.category-tab:hover,
.category-tab.active {
    color: var(--dark);
    text-shadow: none;
}

.category-tab:hover::before,
.category-tab.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* 产品列表样式 */
.products-section {
    padding: 80px 0;
    position: relative;
}

.product-card {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-details {
    color: var(--light);
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid var(--primary);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.view-details:hover {
    background: var(--primary);
    color: var(--dark);
    text-shadow: none;
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-shadow: var(--neon-glow);
}

.product-content p {
    color: var(--light);
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.product-features {
    margin-bottom: 20px;
}

.product-features span {
    display: block;
    color: var(--light);
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.product-features i {
    color: var(--primary);
    margin-right: 10px;
}

.learn-more {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    padding-right: 20px;
    transition: all 0.3s ease;
}

.learn-more::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.learn-more:hover {
    color: var(--secondary);
    text-shadow: var(--neon-glow-cyan);
}

.learn-more:hover::after {
    transform: translateY(-50%) translateX(5px);
}

/* 移动端适配 */
@media (max-width: 991px) {
    .products-section {
        padding: 60px 0;
    }

    .category-tabs {
        gap: 10px;
    }

    .category-tab {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .product-image {
        height: 180px;
    }

    .product-content {
        padding: 20px;
    }

    .product-content h3 {
        font-size: 1.3rem;
    }

    .product-content p {
        font-size: 0.9rem;
    }

    .product-features span {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .product-categories {
        padding: 30px 0;
    }

    .category-tabs {
        flex-direction: column;
        align-items: center;
    }

    .category-tab {
        width: 80%;
        text-align: center;
    }

    .products-section {
        padding: 40px 0;
    }

    .product-image {
        height: 160px;
    }

    .product-content {
        padding: 15px;
    }

    .product-content h3 {
        font-size: 1.2rem;
    }

    .product-content p {
        font-size: 0.85rem;
    }

    .product-features span {
        font-size: 0.8rem;
    }

    .learn-more {
        font-size: 0.85rem;
    }
} 