/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.7;
}
a {
    text-decoration: none;
    color: #0d6efd;
    transition: all 0.3s ease;
}
a:hover {
    color: #0a58ca;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 20px 0;
}
.logo {
    text-align: left;
    margin-bottom: 15px;
}
.logo img {
    max-height: 100px;
    transition: transform 0.3s ease;
}
.logo img:hover {
    transform: scale(1.01);
}
.nav {
    text-align: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}
.nav a {
    display: inline-block;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #212529;
    position: relative;
}
.nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #0d6efd;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav a:hover:after {
    width: 80%;
}

/* 内容区域 */
.content {
    padding: 50px 0;
    background-color: #fff;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.page-title {
    font-size: 32px;
    color: #212529;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0d6efd;
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
}
.page-content {
    padding: 0 20px;
    font-size: 16px;
    color: #495057;
}
.page-content p {
    margin-bottom: 20px;
}

/* 产品展示 */
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 20px 0;
}
.product-item {
    width: calc(33.333% - 20px);
    min-width: 280px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}
.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.product-info {
    padding: 20px;
}
.product-name {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 10px;
}
.product-desc {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
}

/* 页脚样式 */
.footer {
    background-color: #212529;
    color: #fff;
    padding: 60px 0;
    margin-top: 50px;
}
.footer p {
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
}
.footer a {
    color: #adb5bd;
}
.footer a:hover {
    color: #fff;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .nav a {
        padding: 10px 15px;
        font-size: 14px;
    }
    .product-item {
        width: 100%;
    }
    .page-title {
        font-size: 24px;
    }
    .content {
        padding: 30px 0;
    }
}