/* banner样式 */
/* ===== Banner 图片背景样式 ===== */
.mh-bannerx {
  position: relative;
  width: 100%;
  height: 650px; /* 保持原高度 */
  overflow: hidden;
}

.mh-bannerx-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.mh-bannerx:hover .mh-bannerx-bg {
  transform: scale(1.1);
}

/* 遮罩层 */
.mh-bannerx-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(0, 20, 60, 0.45),
    rgba(0, 0, 0, 0.35)
  );
  z-index: 2;
}

/* 内容区 */
.mh-bannerx-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
}

.mh-bannerx-title {
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.3;
  letter-spacing: 1px;
}

.mh-bannerx-subtitle {
  font-size: clamp(15px, 1.8vw, 20px);
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0.9;
}

/* 按钮 */
.mh-bannerx-btn {
  background: linear-gradient(90deg, #0077ff, #00c6ff);
  color: #fff;
  padding: 12px 36px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}
.mh-bannerx-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 123, 255, 0.45);
}

/* 响应式 */
@media (max-width: 768px) {
  .mh-bannerx {
    height: 480px;
  }
  .mh-bannerx-title {
    font-size: 26px;
  }
  .mh-bannerx-subtitle {
    font-size: 14px;
  }
  .mh-bannerx-btn {
    padding: 10px 26px;
    font-size: 14px;
  }
}
/* banner样式结束 */

/* ========== 通用样式 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 通用按钮样式 */
.common-btn {
  background: linear-gradient(90deg, #0056b3, #0077ff);
  color: #fff;
  border: none;
  padding: 10px 26px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 86, 179, 0.3);
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.common-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 86, 179, 0.4);
}

/* 通用卡片样式 */
.common-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  overflow: hidden;
}

.common-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 86, 179, 0.15);
}

/* 通用标题样式 */
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #0a2540;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 14px;
  color: #6c8cbf;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* 通用容器样式 */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* 通用弹窗样式 */
.wechat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  /* animation: fadeIn 0.3s ease; */
}

.wechat-box {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 123, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.2);
  border-radius: 12px;
  padding: 30px 40px;
  text-align: center;
  width: 320px;
}

.wechat-close {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  transition: 0.3s;
}

.wechat-close:hover {
  color: #007bff;
}

.wechat-title {
  font-size: 20px;
  color: #084d8c;
  margin-bottom: 10px;
}

.wechat-tip {
  color: #333;
  font-size: 14px;
  margin-bottom: 15px;
}

.wechat-qrcode img {
  width: 180px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ========== 模块1：业务介绍 ========== */
.mhppx5-section {
  background: #ffffff;
  padding: 80px 0;
  overflow: hidden;
}

.mhppx5-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
  flex-wrap: nowrap;
}

/* 左侧卡片 */
.mhppx5-card {
  flex: 1;
  background: #fff;
  padding: 40px 35px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 40, 100, 0.08);
  transition: all 0.35s ease;
}

.mhppx5-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 86, 179, 0.15);
}

/* 主标题 */
.mhppx5-title {
  font-size: 30px;
  font-weight: 800;
  color: #0a2540;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.mhppx5-line {
  display: inline-block;
  width: 5px;
  height: 26px;
  border-radius: 3px;
  margin-right: 12px;
  background: linear-gradient(180deg, #007bff, #00c6ff);
  flex-shrink: 0;
}

/* 正文描述 */
.mhppx5-desc {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  text-align: justify;
  max-width: 520px;
  margin-bottom: 25px;
}

/* 右侧图片卡片（优化版） */
.mhppx5-media {
  flex: 1;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  aspect-ratio: 1 / 1; /* ✅ 固定比例，防止拉伸变形 */
  max-height: 380px;   /* ✅ 降低整体高度 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.mhppx5-image {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* ✅ 自动裁切、保持比例、不变形 */
  display: block;
  filter: brightness(1.05);
  transition: transform 0.5s ease;
}

.mhppx5-media:hover .mhppx5-image {
  transform: scale(1.05); /* 小幅放大交互 */
}

.mhppx5-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.mhppx5-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 8px 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.mhppx5-badge:hover {
  box-shadow: 0 0 14px rgba(0, 150, 255, 0.9);
  background: rgba(0, 123, 255, 0.25);
  border-color: rgba(0, 123, 255, 0.4);
}

/* ========== 模块2：我们能为商家带来什么 ========== */
.mhppx6-section {
  background: #f5f7fa;
  padding: 50px 0;
}

/* 顶部标题行 */
.mhppx6-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* 卡片网格：PC端固定4列，居中对齐 */
.mhppx6-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  gap: 28px;
}

/* 单张卡片 */
.mhppx6-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.mhppx6-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 123, 255, 0.15);
}

.mhppx6-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mhppx6-card:hover img {
  transform: scale(1.05);
}

.mhppx6-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 15px 18px 8px;
  color: #0a2540;
}

.mhppx6-card p {
  font-size: 15px;
  color: #444;
  margin: 0 18px 20px;
  line-height: 1.6;
}

/* ========== 模块3：课程目录 ========== */
.mhppx7-section {
  background: #fff;
  padding: 50px 0;
}

/* 表格外层 */
.mhppx7-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  -webkit-overflow-scrolling: touch;
}

/* 表格本体 */
.mhppx7-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 15px;
  background: #fff;
  min-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  color: #222;
}

/* 表头 */
.mhppx7-table thead th {
  background: linear-gradient(90deg, #0056b3, #0077ff);
  color: #fff;
  padding: 14px 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.mhppx7-table thead th:last-child {
  border-right: none;
}

/* 内容单元格 */
.mhppx7-table td {
  border: 1px solid #e0e4eb;
  padding: 14px 18px;
  color: #333;
  line-height: 1.8;
  vertical-align: middle;
  text-align: center;
}

/* 行交替背景 */
.mhppx7-table tbody tr:nth-child(even) {
  background: #f9fbff;
}

/* hover效果 */
.mhppx7-table tbody tr:hover {
  background: #eaf3ff;
  transition: 0.25s ease;
}

/* CTA按钮 */
.mhppx7-cta {
  text-align: center;
  margin-top: 40px;
}

/* ========== 模块4：核心优势 ========== */
.mhppx8-section {
  background: #f5f7fa;
  padding: 50px 0;
  text-align: center;
}

/* 网格布局：PC端固定4列 */
.mhppx8-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

/* 卡片 */
.mhppx8-card {
  background: #fff;
  border-radius: 14px;
  padding: 35px 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
}

.mhppx8-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 86, 179, 0.18);
}

/* 图标样式 */
.mhppx8-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0056b3, #0077ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0, 86, 179, 0.25);
  transition: all 0.3s ease;
}

.mhppx8-card:hover .mhppx8-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 86, 179, 0.35);
}

/* 文本 */
.mhppx8-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 10px;
}

.mhppx8-card-text {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  max-width: 280px;
  margin: 0 auto;
}

/* ========== 响应式布局 ========== */
@media (max-width: 992px) {
  .mhppx5-container {
    flex-direction: column-reverse;
    gap: 35px;
    padding: 0 20px;
  }
  
  .mhppx5-card {
    width: 100%;
    text-align: center;
    padding: 30px 25px;
  }
  
  .mhppx5-title {
    justify-content: center;
    font-size: 26px;
  }
  
  .mhppx5-subtitle {
    font-size: 13px;
    margin-bottom: 18px;
  }
  
  .mhppx5-desc {
    font-size: 15px;
    max-width: 100%;
  }
  
  .mhppx5-media {
    width: 100%;
    max-height: 300px;
    border-radius: 10px;
  }
  
  .mhppx5-badge {
    font-size: 12px;
    bottom: 10px;
    right: 10px;
    padding: 6px 10px;
  }
  
  .mhppx6-grid, .mhppx8-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .mhppx6-btn, .mhppx8-btn {
    margin-top: 10px;
  }
  
  .section-title {
    font-size: 26px;
  }
  
  .mhppx7-table {
    font-size: 14px;
    min-width: 720px;
  }
  
  .mhppx7-table td {
    padding: 12px 10px;
  }
  
  .mhppx8-card {
    padding: 30px 22px;
  }
  
  .mhppx8-icon {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
  
  .mhppx8-card-title {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .mhppx6-grid, .mhppx8-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .mhppx6-card img {
    height: 140px;
  }
  
  .mhppx6-card h3 {
    font-size: 16px;
  }
  
  .mhppx6-card p {
    font-size: 14px;
    margin: 0 14px 16px;
  }
  
  .mhppx7-section, .mhppx8-section {
    padding: 60px 0;
  }
  
  .mhppx8-card {
    padding: 24px 16px;
  }
  
  .mhppx8-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .mhppx8-card-text {
    font-size: 14px;
  }
  
  /* 提高移动端清晰度 */
  .mhppx7-section,
  .mhppx7-container,
  .mhppx7-table,
  .mhppx7-table td,
  .mhppx7-table th {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transform: none !important;
    zoom: 1 !important;
  }
  
  /* 禁止缩放导致的模糊 */
  .mhppx7-table-wrapper {
    -webkit-transform: translateZ(0);
    will-change: transform;
  }
}

@media (max-width: 600px) {
  .mhppx6-head, .mhppx7-head, .mhppx8-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* ========== 模块3、模块4 副标题美化 + 装饰线 ========== */
.mhppx7-subtitle,
.mhppx8-subtitle {
  position: relative;
  display: inline-block;
  margin-bottom: 45px !important; /* 拉开与下方内容间距 */
  padding-bottom: 10px;
}

/* 蓝色渐变装饰线 */
.mhppx7-subtitle::after,
.mhppx8-subtitle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

/* ===== 模块3标题区：上下排列且整体居中 ===== */
.mhppx7-head {
  display: flex;
  flex-direction: column;        /* 垂直排列：标题在上，副标题在下 */
  align-items: center;           /* 水平居中对齐 */
  justify-content: center;       /* 竖直方向本身不需要撑满，但这样写没坏处 */
  text-align: center;            /* 多行文字也居中 */
  margin-bottom: 10px;           /* 整个标题区与表格之间的距离 */
}

/* 标题本身（上面的“课程目录”） */
.mhppx7-title {
  margin: 0 0 10px 0;            /* 下方留10px给副标题 */
  font-size: 32px;
  font-weight: 800;
  color: #0a2540;
  line-height: 1.3;
}

/* 副标题本身（下面那行英文 + 蓝线） */
.mhppx7-subtitle {
  position: relative;
  font-size: 14px;
  color: #6c8cbf;
  font-weight: 500;
  letter-spacing: 0.6px;
  line-height: 1.5;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  padding-bottom: 12px;          /* 给蓝色装饰线留空间 */
  margin: 0 0 45px 0;            /* 与下面的表格拉开距离 */
}

/* 蓝色装饰线（副标题下那条） */
.mhppx7-subtitle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;                   /* 装饰线长度，可按审美调 */
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

/* 响应式微调字体 */
@media (max-width: 992px) {
  .mhppx7-title {
    font-size: 26px;
  }
  .mhppx7-subtitle {
    font-size: 13px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .mhppx7-title {
    font-size: 24px;
  }
  .mhppx7-subtitle {
    font-size: 13px;
    letter-spacing: 0.4px;
    margin-bottom: 35px;
  }
}
