/* 网站地图样式 */
.sitemap-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.sitemap-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sitemap-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, #015AAC 0%, #4B8AC7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sitemap-description {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.sitemap-actions {
    margin-top: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #015AAC 0%, #4B8AC7 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(1, 90, 172, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 90, 172, 0.4);
}

.sitemap-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f8f9fa;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #015AAC, #4B8AC7);
    border-radius: 1px;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.sitemap-card {
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.sitemap-card:hover {
    border-color: #015AAC;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(1, 90, 172, 0.15);
}

.card-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.card-link {
    color: #015AAC;
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: #004085;
}

.card-description {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.sitemap-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.sitemap-item {
    padding: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.sitemap-item:hover {
    border-color: #015AAC;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(1, 90, 172, 0.1);
}

.item-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.item-link:hover {
    color: #015AAC;
}

.manufacturer-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

.item-text {
    font-weight: 500;
    flex: 1;
}

.part-number {
    font-weight: 600;
    color: #015AAC;
}

.manufacturer {
    font-size: 0.85rem;
    color: #6c757d;
}

.date {
    font-size: 0.8rem;
    color: #8a9ba8;
}

/* 图标样式 */
.icon-home::before { content: '🏠'; }
.icon-factory::before { content: '🏭'; }
.icon-category::before { content: '📂'; }
.icon-chip::before { content: '🔌'; }
.icon-download::before { content: '⬇️'; }

/* 响应式设计 */
@media (max-width: 768px) {
    .sitemap-title {
        font-size: 2rem;
    }
    
    .sitemap-section {
        padding: 1.5rem;
    }
    
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
    
    .sitemap-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .sitemap-title {
        font-size: 1.75rem;
    }
    
    .sitemap-description {
        font-size: 1rem;
    }
    
    .sitemap-list {
        grid-template-columns: 1fr;
    }
}
