/**
 * 产品归档页样式
 * 
 * @package Connectors
 */

/* SEO Hero Section */
.seo-hero {
    background: linear-gradient(135deg, var(--bg-light), #ffffff);
    padding: 60px 0;
    margin-bottom: 40px;
}

.seo-hero h1 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
}

.seo-hero .intro {
    font-size: 18px;
    margin-bottom: 24px;
    max-width: 800px;
    color: #555;
    line-height: 1.6;
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.hero-bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--secondary);
    font-weight: 600;
}

.hero-bullet:before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    font-size: 18px;
}

/* Filter Section */
.filter-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.filter-item {
    padding: 12px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    display: block;
}

.filter-item:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.filter-item.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.filter-item.active:hover {
    background: var(--primary-dark);
}

/* Section Title */
.section-title {
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--text);
}

.section-title p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.product-card__image-link {
    display: block;
    margin-bottom: 16px;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: var(--bg-light);
    border-radius: 8px;
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text);
}

.product-card h3 a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-card h3 a:hover {
    color: var(--primary);
}

.product-specs {
    list-style: none;
    margin-bottom: 16px;
    flex-grow: 1;
    padding: 0;
}

.product-specs li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.product-specs li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.product-tag {
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 12px;
    color: var(--secondary);
    font-weight: 500;
}

.product-card .btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* SEO Content Block */
.seo-content {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 60px 0;
}

.seo-content h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--text);
}

.seo-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    max-width: 900px;
}

.seo-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style: disc;
}

.seo-content li {
    margin-bottom: 12px;
    line-height: 1.8;
    color: #555;
}

/* Applications Section */
.applications-section {
    padding: 60px 0;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.app-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.app-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.app-card h3 {
    font-size: 16px;
    margin-top: 12px;
    color: var(--text);
}

.app-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

/* Why Choose Us */
.why-choose-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.why-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.why-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

.why-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
}

.faq-grid {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
}

.faq-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text);
}

.faq-item p {
    color: #555;
    line-height: 1.8;
}

/* Final CTA */
.final-cta {
    background: var(--secondary);
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
    border-radius: 12px;
    margin: 60px 0;
}

.final-cta h2 {
    font-size: 34px;
    margin-bottom: 20px;
    color: #ffffff;
}

.final-cta p {
    margin-bottom: 30px;
    font-size: 18px;
    color: #ffffff;
}

.button-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: #ffffff;
    color: var(--secondary);
    border: 2px solid #ffffff;
}

.btn-white:hover {
    background: #f5f5f5;
    color: var(--secondary);
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .seo-hero h1 {
        font-size: 32px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .seo-content h2 {
        font-size: 28px;
    }
    
    .final-cta h2 {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .seo-hero {
        padding: 40px 0;
    }
    
    .seo-hero h1 {
        font-size: 28px;
    }
    
    .hero-bullets {
        flex-direction: column;
        gap: 12px;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .button-group .btn {
        width: 100%;
    }
}
