/* 全局重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background: #0f0f0f; color: #e0e0e0; line-height: 1.8; }
.container { width: 1200px; max-width: 95%; margin: 0 auto; }
a { color: #fff; text-decoration: none; transition: all 0.3s; }
img { max-width: 100%; display: block; object-fit: cover; }
ul { list-style: none; }

/* 头部导航 */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  background: rgba(0,0,0,0.88); z-index: 999;
  backdrop-filter: blur(10px); padding: 18px 0;
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 42px; }
.nav ul { display: flex; gap: 35px; font-size: 15px; }
.nav a { color: #e0e0e0; }
.nav a:hover { color: #0099ff; }

/* 轮播banner */
.banner { margin-top: 78px; position: relative; }
.banner .swiper-slide { height: 600px; position: relative; }
.banner .overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, #000, transparent 60%); z-index: 1;
}
.banner img { width: 100%; height: 100%; }
.banner .text {
  position: absolute; bottom: 60px; left: 60px; z-index: 2;
  max-width: 700px;
}
.banner h2 { font-size: 42px; margin-bottom: 12px; text-shadow: 0 2px 10px #000; }
.banner span { display: inline-block; padding: 8px 20px; background: #0099ff; border-radius: 4px; font-size: 14px; }
.swiper-pagination-bullet { background: #fff; opacity: 0.7; }
.swiper-pagination-bullet-active { background: #0099ff; }

/* 模块标题 */
.section-title {
  display: flex; align-items: center; gap: 20px;
  margin: 40px 0 25px;
}
.section-title h2 { font-size: 26px; color: #fff; }
.section-title span { color: #0099ff; font-size: 14px; letter-spacing: 1px; }

/* 网格列表 */
.grid-list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 25px; margin-bottom: 40px;
}
.grid-item {
  background: #141414; border-radius: 10px; overflow: hidden;
  transition: 0.3s;
}
.grid-item:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.grid-item .pic { height: 200px; }
.grid-item .info { padding: 18px; }
.grid-item h3 { font-size: 17px; margin-bottom: 6px; color: #fff; }
.grid-item p { font-size: 13px; color: #999; }

/* 新车 */
.newcar { padding: 20px 0 50px; }
.newcar .swiper-slide { background: #141414; border-radius: 10px; overflow: hidden; }
.newcar h4 { padding: 12px; text-align: center; font-size: 15px; color: #fff; }

/* 深度评测 */
.test { padding: 20px 0 60px; }
.test-item {
  display: flex; gap: 25px; background: #141414;
  border-radius: 10px; overflow: hidden; margin-bottom: 20px;
}
.test-item .pic { width: 280px; height: 180px; }
.test-item .info { flex: 1; padding: 22px; }
.test-item h3 { font-size: 22px; margin-bottom: 10px; }
.test-item p { color: #aaa; font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
.test-item .more { font-size: 13px; color: #0099ff; }

/* 列表页头部 */
.page-header {
  margin-top: 78px; padding: 50px 0; background: #111;
  border-bottom: 1px solid #222;
}
.page-header h1 { font-size: 30px; color: #fff; }

/* 分页 */
.pagebar { text-align: center; padding: 30px 0; }
.pagebar a { padding: 8px 14px; background: #181818; border-radius: 4px; margin: 0 4px; }
.pagebar a:hover { background: #0099ff; }

/* 文章页 */
.article-page { margin-top: 100px; padding-bottom: 60px; }
.art-title { font-size: 34px; color: #fff; margin-bottom: 15px; line-height: 1.4; }
.art-meta { color: #888; font-size: 14px; margin-bottom: 35px; padding-bottom: 20px; border-bottom: 1px solid #222; }
.art-meta span { margin-right: 20px; }
.art-content { font-size: 17px; color: #e0e0e0; line-height: 1.9; }
.art-content p { margin-bottom: 22px; }
.art-content img { margin: 25px 0; border-radius: 8px; }

/* 车型详情页 */
.car-detail { margin-top: 100px; padding-bottom: 70px; }
.car-top {
  display: flex; gap: 40px; background: #141414;
  padding: 30px; border-radius: 12px; margin-bottom: 40px;
}
.car-pic { width: 400px; border-radius: 8px; overflow: hidden; }
.car-info h1 { font-size: 32px; color: #fff; margin-bottom: 12px; }
.car-info .price { font-size: 24px; color: #0099ff; margin-bottom: 18px; }
.car-info .params { display: flex; gap: 20px; color: #aaa; font-size: 15px; }
.tab-title {
  font-size: 20px; color: #fff; margin: 35px 0 15px;
  padding-left: 12px; border-left: 3px solid #0099ff;
}
.params-table p {
  background: #141414; padding: 12px 18px;
  margin-bottom: 8px; border-radius: 6px; color: #ddd;
}

/* 底部 */
.footer { background: #000; padding: 50px 0 30px; text-align: center; }
.foot-info img { height: 40px; margin: 0 auto 15px; }
.foot-info p { color: #777; font-size: 14px; margin-bottom: 25px; }
.copyright { color: #555; font-size: 13px; padding-top: 20px; border-top: 1px solid #111; }