* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", sans-serif; color: #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 头部 */
.header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.header .container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo h1 { font-size: 22px; color: #333; }
.nav ul { display: flex; gap: 30px; }
.nav a { font-size: 15px; padding: 5px 0; border-bottom: 2px solid transparent; transition: all 0.3s; }
.nav a:hover, .nav a.active { color: #667eea; border-bottom-color: #667eea; }
.menu-toggle { display: none; font-size: 24px; cursor: pointer; }

/* Banner */
.banner { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 100px 0; text-align: center; }
.banner h1 { font-size: 42px; margin-bottom: 15px; }
.banner p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }
.banner-btn { display: inline-block; padding: 12px 36px; background: #fff; color: #667eea; border-radius: 30px; font-weight: 500; }

/* 通用区块 */
.section { padding: 70px 0; }
.section-gray { background: #f7f9fc; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 32px; margin-bottom: 8px; }
.section-title p { color: #999; font-size: 14px; letter-spacing: 3px; }

/* 产品网格 */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.product-item { background: #fff; border-radius: 8px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.product-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.product-img { height: 200px; overflow: hidden; background: #f5f5f5; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-item:hover .product-img img { transform: scale(1.05); }
.product-item h3 { padding: 15px; font-size: 15px; text-align: center; font-weight: 500; }
.more { text-align: center; margin-top: 30px; }
.more a { color: #667eea; }

/* 关于 */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text h2 { font-size: 28px; margin-bottom: 20px; }
.about-text p { color: #666; margin-bottom: 25px; line-height: 1.8; }
.btn { display: inline-block; padding: 10px 28px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border-radius: 4px; }

/* 新闻 */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.news-item { padding: 25px; background: #fff; border-radius: 8px; border-left: 3px solid #667eea; transition: all 0.3s; }
.news-item:hover { box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.news-date { color: #999; font-size: 13px; margin-bottom: 10px; }
.news-item h3 { font-size: 16px; font-weight: 500; line-height: 1.5; }

/* 底部 */
.footer { background: #262933; color: #aaa; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-col h3 { color: #fff; font-size: 20px; margin-bottom: 15px; }
.footer-col h4 { color: #fff; margin-bottom: 15px; }
.footer-col p { margin-bottom: 8px; font-size: 14px; }
.footer-col a:hover { color: #667eea; }
.copyright { border-top: 1px solid #333; padding-top: 20px; text-align: center; font-size: 13px; }

/* 分页 */
.pagination { text-align: center; margin-top: 30px; }
.pagination a { display: inline-block; padding: 6px 12px; margin: 0 3px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.pagination a.active { background: #667eea; color: #fff; border-color: #667eea; }

/* 响应式 */
@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .news-list { grid-template-columns: repeat(2, 1fr); }
    .about-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav ul { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 15px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav ul.show { display: flex; }
    .banner { padding: 60px 0; }
    .banner h1 { font-size: 28px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .news-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .section { padding: 40px 0; }
    .section-title h2 { font-size: 24px; }
}
/* 内页Banner */
.page-banner{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:60px 0;text-align:center}
.page-banner h1{font-size:32px;margin-bottom:8px}
.page-banner p{opacity:.8;font-size:14px;letter-spacing:2px}
.page-banner a{color:#fff}

/* 详情页 */
.detail-wrap{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}
.detail-img img{width:100%;border-radius:8px}
.detail-info h1{font-size:28px;margin-bottom:15px}
.detail-meta{color:#999;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #eee}
.detail-desc{line-height:1.8;color:#666}
.detail-contact{margin-top:30px;padding:20px;background:#f7f9fc;border-radius:8px}
.detail-contact strong{color:#667eea;font-size:18px}

/* 新闻列表页 */
.news-list-page{display:flex;flex-direction:column;gap:25px}
.news-item-page{display:flex;gap:25px;padding:25px;background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.05);transition:all .3s}
.news-item-page:hover{transform:translateY(-3px);box-shadow:0 5px 20px rgba(0,0,0,.08)}
.news-date-box{width:80px;text-align:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:8px;padding:15px 0;flex-shrink:0}
.news-date-box .day{font-size:28px;font-weight:bold;line-height:1}
.news-date-box .month{font-size:12px;margin-top:5px;opacity:.9}
.news-content{flex:1}
.news-content h3{font-size:18px;margin-bottom:10px}
.news-content h3 a:hover{color:#667eea}
.news-summary{color:#666;line-height:1.6;margin-bottom:12px}
.more-link{color:#667eea;font-size:14px}

/* 文章详情 */
.article{max-width:900px;margin:0 auto}
.article-title{font-size:28px;text-align:center;margin-bottom:15px}
.article-meta{text-align:center;color:#999;margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid #eee}
.article-content{line-height:1.8;color:#333;font-size:15px}
.article-content img{max-width:100%;height:auto;margin:15px 0;border-radius:4px}
.article-prevnext{margin-top:40px;padding-top:20px;border-top:1px solid #eee;line-height:2;color:#666}
.article-prevnext a{color:#333}
.article-prevnext a:hover{color:#667eea}

/* 联系我们 */
.contact-wrap{display:grid;grid-template-columns:1fr 1fr;gap:50px}
.contact-info h2,.contact-form h2{font-size:22px;margin-bottom:25px}
.contact-info ul li{padding:12px 0;border-bottom:1px dashed #eee;color:#666}
.success-msg{padding:12px;background:#f6ffed;border:1px solid #b7eb8f;color:#52c41a;border-radius:4px;margin-bottom:20px}
.contact-form .form-group{margin-bottom:15px}
.contact-form input,.contact-form textarea{width:100%;padding:10px 15px;border:1px solid #ddd;border-radius:4px;font-size:14px;font-family:inherit}
.contact-form textarea{min-height:120px;resize:vertical}

/* 单页内容 */
.page-content{line-height:1.8;color:#333;font-size:15px}
.page-content img{max-width:100%;height:auto;border-radius:4px}

/* 响应式补充 */
@media(max-width:768px){
    .detail-wrap,.contact-wrap{grid-template-columns:1fr;gap:30px}
    .news-item-page{flex-direction:column;gap:15px}
    .news-date-box{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;padding:10px}
    .page-banner{padding:40px 0}
    .page-banner h1{font-size:24px}
    .article-title{font-size:22px}
}