/* 产品中心页面专用样式 */

/* 页面标题区域 */
.page-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: white;
    font-weight: 500;
}

/* 产品分类区域 */
.product-categories {
    padding: 80px 0;
    background: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

/* 产品卡片 */
.category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3498db, #2980b9);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.2);
    border-color: #3498db;
}

.category-card:hover::before {
    opacity: 0.05;
}

.category-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-content {
    padding: 30px;
    position: relative;
    z-index: 1;
}

.category-content h3 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.category-content > p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

/* 特性列表 */
.feature-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #495057;
    font-size: 14px;
}

.feature-list li::before {
    content: '✓';
    color: #27ae60;
    font-weight: bold;
    margin-right: 10px;
    width: 16px;
    height: 16px;
    background: #d5f4e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

/* 操作按钮 */
.category-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.category-actions .btn {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* 产品优势区域 */
.product-advantages {
    padding: 80px 0;
    background: white;
}

.product-advantages h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: bold;
}

.product-advantages h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    margin: 15px auto;
    border-radius: 2px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.advantage-item {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.advantage-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.advantage-item h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.advantage-item p {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 15px;
}

/* 技术参数对比区域 */
.tech-comparison {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.tech-comparison h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: bold;
}

.tech-comparison h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    margin: 15px auto;
    border-radius: 2px;
}

.comparison-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 20px 15px;
    text-align: left;
    font-weight: bold;
    font-size: 14px;
}

.comparison-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #eee;
    color: #495057;
    font-size: 14px;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* 产品筛选器 */
.product-filters {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.filter-controls {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
}

.filter-group select {
    padding: 8px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    color: #495057;
    font-size: 14px;
    min-width: 150px;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #3498db;
}

/* 产品搜索 */
.product-search {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #3498db;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #2980b9;
}

/* 产品标签 */
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.product-tag {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* 快速联系 */
.quick-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.quick-contact h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: bold;
}

.quick-contact p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.contact-method .icon {
    font-size: 20px;
}

.contact-method .text {
    font-size: 16px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .category-content {
        padding: 25px;
    }
    
    .category-actions {
        flex-direction: column;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 20px;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .comparison-table table {
        min-width: 600px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .category-content h3 {
        font-size: 20px;
    }
    
    .advantage-item {
        padding: 30px 15px;
    }
    
    .product-advantages h2,
    .tech-comparison h2 {
        font-size: 28px;
    }
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #3498db;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 产品卡片动画 */
.category-card.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 悬停效果增强 */
.category-card:hover .category-content h3 {
    color: #3498db;
    transition: color 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* 表格响应式优化 */
@media (max-width: 768px) {
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 12px;
    }
}