/* 成像适配器专用样式 - 优化版 */
.accessories-section {
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--primary-alpha-10) 100%);
    position: relative;
    overflow: hidden;
}

.accessories-section::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="%23e0e7ff" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 0;
}

.accessories-section .container {
    position: relative;
    z-index: 1;
}

/* 主标题样式 */
.accessories-header {
    text-align: center;
    margin-bottom: 3rem;
}

.accessories-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.accessories-header .subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 产品类别卡片 */
.product-category-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-alpha-10);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.product-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.product-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-white);
}

.category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* 产品规格表格 */
.specs-table {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-top: 1.5rem;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.specs-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
}

.specs-table tbody tr:hover {
    background-color: var(--bg-section);
}

.specs-table .highlight-cell {
    background: linear-gradient(135deg, var(--primary-alpha-10), var(--primary-alpha-20));
    font-weight: 500;
    color: var(--primary-color);
}

/* 产品特色列表 */
.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1.2rem;
    height: 1.2rem;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* 核心优势区域 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.advantage-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid var(--primary-alpha-10);
}

.advantage-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-white);
    font-size: 1.2rem;
}

.advantage-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.advantage-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

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

    .product-category-card {
        padding: 1.5rem;
    }

    .specs-table {
        font-size: 0.85rem;
    }

    .specs-table th,
    .specs-table td {
        padding: 0.5rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease forwards;
}