/* =========================
   Banner 区域
   ========================= */
.banner-section {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.banner {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.banner-content {
    max-width: 1200px;
    padding: 0 20px;
}

.banner h1 {
    font-size: 42px;
    margin-bottom: 8px;
    color: #ffffff;
    text-shadow: 
        0 1px 0 #cccccc,
        0 2px 0 #c9c9c9,
        0 3px 0 #bbb,
        0 4px 0 #b9b9b9,
        0 5px 0 #aaa,
        0 6px 1px rgba(0,0,0,.1),
        0 0 5px rgba(0,0,0,.1),
        0 1px 3px rgba(0,0,0,.3),
        0 3px 5px rgba(0,0,0,.2),
        0 5px 10px rgba(0,0,0,.25),
        0 10px 10px rgba(0,0,0,.2),
        0 20px 20px rgba(0,0,0,.15);
}

.banner p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* 卡片容器区域 */
.product-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.product-card-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

/* 卡片样式 */
.product-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(26, 43, 72, 0.12);
}

/* 图片占位（你可换成自己的图） */
.card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
}

.product-card h3 {
  font-size: 18px;
  color: #1a2b48;
  margin-bottom: 12px;
}
.product-card .desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}
.product-card .tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}
.product-card .btn-detail {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 30px;
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all .3s ease;
  margin-top: auto;
  align-self: center;
}

.product-card .btn-detail:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 112, 154, .4);
}
.product-card .tags span {
  font-size: 12px;
  padding: 4px 8px;
  background: #fef1f6;
  color: #fa709a;
  border-radius: 4px;
}

/* ======================================
   产品页响应式媒体查询
   ====================================== */

/* 平板适配 */
@media (max-width: 1024px) {
    .product-card-wrap {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .banner h1 {
        font-size: 36px !important;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    /* Banner缩小 */
    .banner {
        height: 140px;
    }
    
    .banner h1 {
        font-size: 28px !important;
    }
    
    .banner p {
        font-size: 13px;
    }
    
    /* 卡片单列布局 */
    .product-card-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-section {
        padding: 40px 20px;
    }
    
    .product-card {
        padding: 25px 20px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
    
    .product-card h3 {
        font-size: 17px;
    }
    
    .product-card .desc {
        font-size: 13px;
    }
    
    .product-card .btn-detail {
        padding: 8px 20px;
        font-size: 13px;
    }
}

/* 小屏手机适配 */
@media (max-width: 480px) {
    .banner {
        height: 120px;
    }
    
    .banner h1 {
        font-size: 24px !important;
    }
    
    .product-card {
        padding: 20px 15px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .product-card h3 {
        font-size: 16px;
    }
}
