/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础字体和颜色设置 */
body {
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 14px;
    color: #666666;
    background-color: #ffffff;
    line-height: 1.6;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-family: "Source Han Sans CN", sans-serif;
    color: #333333;
}

h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }

/* 链接样式 */
a {
    color: #2b83f9;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

/* 通用布局类 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部导航样式 */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

/* 页脚样式 */
.footer {
    background-color: #f5f5f5;
    padding: 30px 0;
    margin-top: 50px;
}

/* 首页网格布局 */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 30px 0;
}

/* 二级页面布局 */
.page-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px 0;
}

/* 产品卡片样式 */
.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #2b83f9;
    color: #fff;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #1b6ad9;
    text-decoration: none;
} 