/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'PingFang SC', sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #f8f9fa;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: #1a2c42;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', 'Inter', sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: #3498db;
}

.nav-menu a.active {
    color: #3498db;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #1a2c42 0%, #2c3e50 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-family: 'Montserrat', 'Inter', sans-serif;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
}

/* 产品网格布局 */
.product-list-section {
    padding: 80px 0;
    background: white;
}

.products-section {
    padding: 80px 0;
    background: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(52, 152, 219, 0.15);
    border-color: #3498db;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 0.9rem;
    border: 2px dashed #dee2e6;
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #1a2c42;
    font-weight: 600;
}

.product-info p {
    color: #6c757d;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.price-tag {
    color: #3498db;
    font-weight: 600;
    font-size: 1.1rem;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #3498db;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid #3498db;
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 10px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination a {
    color: #3498db;
    border: 1px solid #e8e8e8;
}

.pagination a:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.pagination .current {
    background: #3498db;
    color: white;
    border: 1px solid #3498db;
}

/* 底部 */
.footer {
    background: #1a2c42;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

.footer p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* 社交媒体链接 */
.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 30px;
}

.social-links a {
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    font-weight: 500;
}

.social-links a:hover {
    background: #3498db;
    transform: translateY(-2px);
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        margin-left: 0;
        margin-top: 15px;
        justify-content: center;
    }
}