/* 产品中心页面样式 */


/* 动态背景背景球 */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
}

.bg-blob-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-start);
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.bg-blob-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-end);
    bottom: 10%;
    left: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

.bg-blob-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    top: 50%;
    left: 30%;
    animation: float 10s ease-in-out infinite 2s;
}

/* 页面标题区域 */
.page-header {
    position: relative;
    padding: 180px 20px 80px;
    text-align: center;
    z-index: 1;
    background: radial-gradient(ellipse at 50% 50%, rgba(5, 175, 181, 0.05) 0%, transparent 70%);
}

.page-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* 产品分类区块 */
.product-category-section {
    position: relative;
    padding: 100px 20px;
    z-index: 1;
}

.product-category-section:nth-child(even) {
    background: rgba(255, 255, 255, 0.3);
}

.category-header {
    text-align: center;
    margin-bottom: 60px;
}

.category-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.category-desc {
    font-size: 18px;
    color: var(--text-secondary);
}

/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 22px;
    padding: 34px;
    text-decoration: none;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 2px rgba(0, 0, 0, 0.04);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.88);
}

.product-icon {
    font-size: 48px;
    margin-bottom: 20px;
    /* 【20260411】16:9固定比例容器 */
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
}

/* 【20260411】产品图标图片样式 */
.product-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.product-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
}

.tag {
    font-size: 12px;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(5, 175, 181, 0.25);
    transition: all 0.3s ease;
}

.product-card:hover .tag {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 175, 181, 0.35);
}

/* 容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 动画 */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1s { animation-delay: 0.2s; }
.delay-2s { animation-delay: 0.4s; }
.delay-3s { animation-delay: 0.6s; }

/* 响应式设计 */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 42px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    .category-title {
        font-size: 32px;
    }

    .category-desc {
        font-size: 16px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        padding: 24px;
    }

    .product-title {
        font-size: 20px;
    }

    .product-desc {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 36px;
    }

    .page-header {
        padding: 140px 20px 60px;
    }

    .product-category-section {
        padding: 60px 20px;
    }
}
