body{
  background:#f5f6f7;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  margin:0;
  color:#333;
}
a{ text-decoration:none; color:inherit; }
img{ max-width:100%; display:block; }

/* ====== 顶部导航 ====== */
.navbar{
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
  position:sticky;
  top:0;
  z-index:100;
}
.navbar .container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:64px;
}
.navbar .logo{
  font-size:22px;
  font-weight:700;
  color:#00b96b;
  display:flex;
  align-items:center;
  gap:8px;
}
.navbar .logo .icon{
  font-size:28px;
}
.navbar .nav-links{
  display:flex;
  gap:32px;
  list-style:none;
  margin:0;
  padding:0;
}
.navbar .nav-links a{
  font-size:15px;
  font-weight:500;
  color:#555;
  transition:.2s;
  padding:4px 0;
  position:relative;
}
.navbar .nav-links a:hover,
.navbar .nav-links a.active{
  color:#00b96b;
}
.navbar .nav-links a.active::after{
  content:'';
  position:absolute;
  bottom:-2px;
  left:0;
  right:0;
  height:3px;
  background:#00b96b;
  border-radius:2px;
}
.navbar .phone{
  font-size:15px;
  font-weight:600;
  color:#e1251b;
}

/* ====== Hero ====== */
.hero-section{
  aspect-ratio:16/9; height:auto;
  background:linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%);
  position:relative;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero-section::before{
  content:'';
  position:absolute;
  inset:0;
  background:url('../images/banner.jpg') center/cover no-repeat;
  opacity:.3;
}
.hero-content{
  position:relative;
  z-index:2;
  color:#fff;
  max-width:700px;
  padding:0 40px;
}
.hero-content h1{
  font-size:52px;
  font-weight:700;
  margin:0;
  line-height:1.2;
}
.hero-content h1 span{
  color:#00b96b;
}
.hero-content p{
  margin-top:16px;
  font-size:18px;
  opacity:.85;
  letter-spacing:2px;
}
.search-box{
  margin-top:28px;
  display:flex;
  background:#fff;
  border-radius:60px;
  overflow:hidden;
  max-width:520px;
  box-shadow:0 8px 30px rgba(0,0,0,.2);
}
.search-box input{
  flex:1;
  border:none;
  padding:16px 24px;
  font-size:15px;
  outline:none;
  background:transparent;
}
.search-box button{
  width:64px;
  border:none;
  background:#00b96b;
  color:#fff;
  font-size:20px;
  cursor:pointer;
  transition:.2s;
}
.search-box button:hover{
  background:#00a05e;
}
.hero-stats{
  display:flex;
  gap:40px;
  margin-top:30px;
}
.hero-stats .stat{
  text-align:center;
}
.hero-stats .stat-num{
  font-size:28px;
  font-weight:700;
  color:#00b96b;
}
.hero-stats .stat-label{
  font-size:13px;
  opacity:.7;
  margin-top:4px;
}

/* ====== 通用Section ====== */
.section{
  max-width:1200px;
  margin:0 auto;
  padding:50px 20px;
}
.section-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:30px;
}
.section-title{
  font-size:28px;
  font-weight:700;
  color:#111;
  position:relative;
  padding-left:16px;
}
.section-title::before{
  content:'';
  position:absolute;
  left:0;
  top:4px;
  bottom:4px;
  width:4px;
  background:#00b96b;
  border-radius:2px;
}
.view-more{
  color:#00b96b;
  font-weight:600;
  font-size:14px;
  transition:.2s;
}
.view-more:hover{
  color:#00a05e;
}

/* ====== 热门品牌 ====== */
.brand-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(100px,1fr));
  gap:12px;
}
.brand-card{
  background:#fff;
  border-radius:12px;
  padding:18px 8px;
  text-align:center;
  display:block;
  color:#111;
  font-weight:600;
  font-size:14px;
  transition:.3s;
  border:1px solid #eee;
}
.brand-card .brand-icon{
  font-size:28px;
  margin-bottom:6px;
}
.brand-card:hover{
  background:#00b96b;
  color:#fff;
  border-color:#00b96b;
  transform:translateY(-2px);
}

/* ====== 车源卡片 ====== */
.car-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
}
.car-card{
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  transition:.3s;
  box-shadow:0 4px 12px rgba(0,0,0,.06);
  display:flex;
  flex-direction:row;
}
.car-card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 24px rgba(0,0,0,.1);
}
.car-image{
  width:45%;
  min-height:140px;
  overflow:hidden;
  position:relative;
  flex-shrink:0;
}
.car-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.4s;
}
.car-card:hover .car-image img{
  transform:scale(1.05);
}
.car-image .tag{
  position:absolute;
  top:10px;
  left:10px;
  background:#00b96b;
  color:#fff;
  font-size:12px;
  padding:3px 10px;
  border-radius:20px;
  font-weight:600;
}
.car-image .tag.hot{
  background:#e1251b;
}
.car-body{
  padding:14px 16px;
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
}
.car-body h3{
  font-size:16px;
  line-height:1.4;
  color:#111;
  margin:0;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.car-meta{
  display:flex;
  gap:12px;
  margin-top:10px;
  color:#999;
  font-size:13px;
}
.car-meta span{
  display:flex;
  align-items:center;
  gap:3px;
}
.car-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid #f0f0f0;
}
.car-price{
  font-size:22px;
  color:#e1251b;
  font-weight:700;
  flex:1;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.car-price small{
  font-size:14px;
  font-weight:400;
}
.car-price .unit{
  font-size:14px;
  font-weight:400;
}
.car-btn{
  margin-left:12px;
  padding:6px 16px;
  border-radius:20px;
  background:#fff;
  border:1px solid #00b96b;
  color:#00b96b;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:.2s;
  flex-shrink:0;
  white-space:nowrap;
}
.car-btn:hover{
  background:#00b96b;
  color:#fff;
}

/* ====== 查看全部车辆入口 ====== */
.view-all-entry{
  margin-top:28px;
  padding:0 4px;
}
.view-all-btn{
  display:block;
  width:100%;
  background:#00b96b;
  color:#fff;
  padding:16px 0;
  border-radius:10px;
  font-size:16px;
  font-weight:700;
  text-align:center;
  letter-spacing:2px;
  transition:background .2s;
}
.view-all-btn:hover{
  background:#00a05e;
}
.view-all-icon,.view-all-arrow{
  display:none;
}

/* ====== 服务保障 ====== */
.guarantee-section{
  background:#fff;
  padding:50px 20px;
}
.guarantee-grid{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.guarantee-card{
  text-align:center;
  padding:30px 20px;
}
.guarantee-card .icon{
  font-size:40px;
  margin-bottom:12px;
}
.guarantee-card h4{
  font-size:16px;
  color:#111;
  margin:0 0 8px;
}
.guarantee-card p{
  font-size:13px;
  color:#999;
  margin:0;
  line-height:1.6;
}

/* ====== Footer ====== */
.footer{
  background:#1a1a2e;
  color:#999;
  text-align:center;
  padding:40px 20px;
  margin-top:0;
}
.footer .footer-brand{
  font-size:22px;
  font-weight:700;
  color:#fff;
  margin-bottom:16px;
}
.footer .footer-links{
  display:flex;
  justify-content:center;
  gap:24px;
  margin-bottom:20px;
}
.footer .footer-links a{
  color:#aaa;
  font-size:14px;
  transition:.2s;
}
.footer .footer-links a:hover{
  color:#00b96b;
}
.footer .footer-contact{
  font-size:14px;
  margin-bottom:8px;
}
.footer .footer-contact a{
  color:#00b96b;
}
.footer .copyright{
  font-size:12px;
  color:#666;
  margin-top:16px;
}

/* ====== 响应式 ====== */
@media(max-width:768px){
  .hero-section{ aspect-ratio:16/9; height:auto; }
  .hero-content h1{ font-size:32px; }
  .hero-content p{ font-size:15px; }
  .hero-stats{ gap:24px; }
  .hero-stats .stat-num{ font-size:22px; }
  .navbar .nav-links{ display:none; }
  .navbar .phone{ font-size:13px; }
  .section{ padding:30px 16px; }
  .section-title{ font-size:22px; }
  .car-grid{ grid-template-columns:1fr; }
  .brand-grid{ grid-template-columns:repeat(4,1fr); }
  .guarantee-grid{ grid-template-columns:repeat(2,1fr); gap:10px; }
  .guarantee-card{ padding:20px 10px; }
}

/* ====== 移动端导航菜单 ====== */
.mobile-menu-btn{
  display:none;
  background:none;
  border:none;
  font-size:24px;
  cursor:pointer;
  color:#333;
}
@media(max-width:768px){
  .mobile-menu-btn{ display:block; }
}

/* ====== 筛选栏 ====== */
.filter-box{
  background:#fff;
  padding:30px;
  border-radius:18px;
  box-shadow:0 4px 12px rgba(0,0,0,.05);
  margin-bottom:30px;
}
.filter-row{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px;
  flex-wrap:wrap;
}
.filter-row:last-child{ margin-bottom:0; }
.filter-label{
  font-size:14px;
  font-weight:600;
  color:#333;
  min-width:70px;
  flex-shrink:0;
}
.filter-tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.filter-tag{
  padding:8px 18px;
  border-radius:10px;
  font-size:14px;
  background:#f5f6f7;
  color:#555;
  cursor:pointer;
  transition:.2s;
  border:none;
  font-family:inherit;
}
.filter-tag:hover,
.filter-tag.active{
  background:#00b96b;
  color:#fff;
}
.filter-search{
  display:flex;
  gap:10px;
  margin-top:20px;
}
.filter-input{
  flex:1;
  height:52px;
  border-radius:12px;
  border:1px solid #e0e0e0;
  padding:0 18px;
  font-size:15px;
  outline:none;
  transition:.2s;
}
.filter-input:focus{
  border-color:#00b96b;
}
.filter-btn{
  height:52px;
  border-radius:12px;
  font-weight:600;
  padding:0 28px;
  background:#00b96b;
  color:#fff;
  border:none;
  font-size:15px;
  cursor:pointer;
  transition:.2s;
}
.filter-btn:hover{
  background:#00a05e;
}

/* ====== 车源数量 ====== */
.car-count{
  color:#666;
  font-size:16px;
  margin-bottom:20px;
}
.car-count strong{
  color:#e1251b;
  font-size:20px;
}

/* ====== 热门标签 ====== */
.hot-tag{
  position:absolute;
  top:12px;
  left:12px;
  background:linear-gradient(135deg,#e1251b,#ff6b6b);
  color:#fff;
  padding:4px 12px;
  border-radius:30px;
  font-size:12px;
  font-weight:600;
}

/* ====== 分页 ====== */
.pagination-box{
  margin-top:40px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
}
.page-btn{
  width:42px;
  height:42px;
  border-radius:10px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#111;
  font-size:15px;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
  cursor:pointer;
  border:none;
  transition:.2s;
  font-family:inherit;
}
.page-btn:hover{
  background:#f0f0f0;
}
.page-btn.active{
  background:#00b96b;
  color:#fff;
}
.page-btn.disabled{
  opacity:.4;
  cursor:default;
}
.page-info{
  color:#999;
  font-size:14px;
  margin:0 8px;
}

/* ====== 详情页 ====== */
.detail-page{
  max-width:1200px;
  margin:0 auto;
  padding:30px 20px;
}
.detail-swiper-wrap{
  position:relative;
  border-radius:20px;
  overflow:hidden;
  margin-bottom:30px;
}
.detailSwiper{
  width:100%;
}
.detailSwiper .swiper-slide img{
  width:100%;
  aspect-ratio:16/9; height:auto;
  object-fit:cover;
}
.detailSwiper .swiper-pagination-bullet-active{
  background:#00b96b;
}
.detail-info{
  background:#fff;
  border-radius:20px;
  padding:35px;
  box-shadow:0 4px 16px rgba(0,0,0,.06);
  margin-bottom:24px;
}
.detail-title{
  font-size:34px;
  line-height:1.5;
  font-weight:700;
  color:#111;
}
.detail-tag{
  display:inline-block;
  background:#00b96b;
  color:#fff;
  font-size:13px;
  padding:4px 12px;
  border-radius:20px;
  margin-left:10px;
  font-weight:600;
  vertical-align:middle;
}
.detail-meta{
  margin-top:30px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}
.meta-item{
  background:#f7f7f7;
  border-radius:14px;
  padding:18px;
}
.meta-item span{
  display:block;
  color:#888;
  font-size:13px;
  margin-bottom:6px;
}
.meta-item strong{
  font-size:17px;
  color:#111;
  font-weight:600;
}
.detail-price{
  margin-top:30px;
  color:#e1251b;
  font-size:48px;
  font-weight:700;
}
.detail-price .unit{
  font-size:20px;
  font-weight:400;
}
.contact-box{
  margin-top:30px;
  display:flex;
  gap:15px;
}
.contact-btn{
  flex:1;
  height:56px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  font-weight:600;
  color:#fff;
  border:none;
  cursor:pointer;
  text-decoration:none;
  transition:.2s;
}
.phone-btn{
  background:#111;
}
.phone-btn:hover{ background:#333; }
.wechat-btn{
  background:#00b96b;
}
.wechat-btn:hover{ background:#00a05e; }
.desc-box{
  background:#fff;
  border-radius:20px;
  padding:35px;
  box-shadow:0 4px 16px rgba(0,0,0,.05);
  margin-bottom:24px;
}
.desc-box h3{
  font-size:22px;
  font-weight:700;
  color:#111;
  margin:0 0 20px;
  position:relative;
  padding-left:16px;
}
.desc-box h3::before{
  content:'';
  position:absolute;
  left:0;
  top:4px;
  bottom:4px;
  width:4px;
  background:#00b96b;
  border-radius:2px;
}
.desc-content{
  line-height:2;
  color:#555;
  font-size:16px;
}
.highlights-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.highlight-tag{flex:1;text-align:center;min-width:28%;
  background:#f0faf5;
  color:#00b96b;
  padding:8px 16px;
  border-radius:10px;
  font-size:14px;
  font-weight:600;
}

/* 手机端 */
@media(max-width:768px){
  .detailSwiper .swiper-slide img{ height:280px; }
  .detail-info{ padding:20px; }
  .detail-title{ font-size:22px; }
  .detail-price{ font-size:36px; }
  .contact-box{ flex-direction:column; }
  .detail-meta{ grid-template-columns:1fr 1fr; gap:10px; }
  .meta-item{ padding:14px; }
  .desc-box{ padding:20px; }
}

/* ====== 副标题 ====== */
.section-subtitle{
  margin-top:8px;
  color:#777;
  font-size:15px;
  font-weight:400;
}

/* ====== 广告图 ====== */
.ads-section{
  max-width:1200px;
  margin:0 auto;
  padding:10px 20px 50px;
}
.ads-image{
  width:100%;
  border-radius:24px;
  object-fit:cover;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
  transition:.3s;
}
.ads-image:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,0,0,.12);
}

/* ====== 推荐车源横滑 ====== */
.featured-scroll{
  display:flex;
  gap:20px;
  overflow-x:auto;
  padding-bottom:10px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}
.featured-scroll::-webkit-scrollbar{
  height:6px;
}
.featured-scroll::-webkit-scrollbar-thumb{
  background:#ddd;
  border-radius:3px;
}
.featured-scroll .car-card{
  min-width:100%;
  flex-shrink:0;
  scroll-snap-align:start;
}

/* ====== 品牌横滑 ====== */
.brand-scroll{
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding-bottom:10px;
  -webkit-overflow-scrolling:touch;
}
.brand-scroll::-webkit-scrollbar{
  display:none;
}
.brand-scroll .brand-card{
  min-width:90px;
  flex-shrink:0;
}

/* ====== 手机端优化 ====== */
@media(max-width:768px){
  .section-subtitle{ font-size:13px; }
  .featured-scroll .car-card{ min-width:100%; }
}

/* ====== Hero轮播 ====== */
.hero-slider{
  position:relative;
}
.hero-slide{
  position:relative;
  aspect-ratio:16/9; min-height:auto;
  display:flex;
  align-items:center;
  background-size:cover;
  background-position:center;
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
}
.hero-content{
  position:relative;
  z-index:2;
  color:#fff;
  max-width:700px;
  padding:0 40px;
}
.hero-content h1{
  font-size:64px;
  font-weight:800;
  line-height:1.2;
  margin:0;
}
.hero-content h1 span{
  color:#00b96b;
}
.hero-content p{
  margin-top:20px;
  font-size:22px;
  color:rgba(255,255,255,.9);
  letter-spacing:1px;
}
.hero-btn{
  display:inline-block;
  margin-top:35px;
  padding:16px 38px;
  border-radius:16px;
  background:#00b96b;
  color:#fff;
  font-size:18px;
  font-weight:700;
  text-decoration:none;
  transition:.2s;
}
.hero-btn:hover{
  background:#00a05e;
  transform:translateY(-2px);
}

/* 轮播指示器 */
.hero-dots{
  position:absolute;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  z-index:10;
}
.hero-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  background:rgba(255,255,255,.4);
  cursor:pointer;
  transition:.3s;
}
.hero-dot.active{
  background:#00b96b;
  width:32px;
  border-radius:6px;
}

/* 轮播箭头 */
.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:50px;
  height:50px;
  border-radius:50%;
  background:rgba(0,0,0,.3);
  color:#fff;
  font-size:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:10;
  transition:.2s;
}
.hero-arrow:hover{
  background:rgba(0,0,0,.5);
}
.hero-arrow.prev{ left:20px; }
.hero-arrow.next{ right:20px; }

/* 手机端 */
@media(max-width:768px){
  .hero-slide{ aspect-ratio:16/9; min-height:auto; }
  .hero-content{ padding:0 24px; }
  .hero-content h1{ font-size:36px; }
  .hero-content p{ font-size:15px; }
  .hero-btn{ padding:12px 28px; font-size:15px; }
  .hero-arrow{ width:36px; height:36px; font-size:18px; }
}
/* 漂浮按钮 */
.float-buttons {
    position: fixed;
    right: 16px;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    transition: transform .2s, box-shadow .2s;
    -webkit-tap-highlight-color: transparent;
    flex-direction: column;
    line-height: 1.2;
}
.float-btn:active {
    transform: scale(0.92);
}
.float-btn-nav {
    background: linear-gradient(135deg, #00b96b, #059669);
}
.float-btn-warranty {
    background: linear-gradient(135deg, #00b96b, #059669);
}
.float-btn .float-icon {
    font-size: 20px;
    line-height: 1;
}
.float-btn .float-text {
    font-size: 10px;
    margin-top: 2px;
}
@media (min-width: 769px) {
    .float-buttons {
        right: 30px;
        bottom: 50px;
    }
    .float-btn {
        width: 64px;
        height: 64px;
    }
    .float-btn .float-icon {
        font-size: 24px;
    }
    .float-btn .float-text {
        font-size: 12px;
    }
}
