/* ======================
   CPS Banner 样式
====================== */
.cps-banner {
  height: 450px;
  position: relative;
  background: url("img/cps/banner.jpg?v=1") center top #fff no-repeat;
  background-size: cover;
  min-width: unset; /* 取消强制宽，适配手机 */
  width: 100%;
}

.cps-banner .header-info {

  padding-top: 160px;
  color: #333333;
  overflow: hidden;
  margin: 0 auto;
}

.cps-banner h3 {
  font-size: 38px;
  overflow: hidden;
  font-weight: bold;
}

.cps-banner h1 {
  font-size: 18px;
  margin: 30px 0 65px;
}

.cps-banner .btn {
  float: left;
  width: 180px;
  height: 50px;
  line-height: 40px;
  text-align: center;
  background: #015bfe;
  color: #fff;
  font-size: 16px;
  border-radius: 0;
}

.cps-banner .btn:hover {
  background: #0055ff;
  color: #fff;
}

.cps-banner .share {
  line-height: 50px;
  float: left;
  margin-left: 30px;
}

.cps-banner .share a {
  display: inline-block;
  vertical-align: top;
  margin-right: 10px;
  width: 21px;
  height: 50px;
  background: url("img/cps/wb.png") left center no-repeat;
}

/* ======================
   手机端完美适配
====================== */
@media (max-width: 768px) {
  .cps-banner {
    height: auto;
    min-height: 350px;
    padding: 60px 0 80px;
    background-position: center;
    background-size: cover;
  }

  .cps-banner .header-info {
    width: 90%;
    padding-top: 80px;
    text-align: center;
    float: none;
  }

  .cps-banner h3 {
    font-size: 24px;
    line-height: 1.4;
  }

  .cps-banner h1 {
    font-size: 16px;
    margin: 15px 0 35px;
  }

  .cps-banner .btn {
    float: none;
    display: inline-block;
    width: 160px;
    height: 46px;
    line-height: 46px;
    font-size: 15px;
  }

  .cps-banner .share {
    float: none;
    margin-left: 0;
    margin-top: 15px;
    text-align: center;
  }
}

/* 代理顶部固定导航条 */
.agent-type {
  padding-top: 0;
  padding-bottom: 0;
  z-index: 1000;
  box-shadow: none;
}

/* 导航 pills 样式 */
.agent-type .nav-pills .nav-link {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  padding: 18px 10px;
  border-radius: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* 激活状态：蓝色下划线 + 文字蓝色 */
.agent-type .nav-pills .nav-link.active {
  color: #0055ff;
  background-color: transparent;
  font-weight: 600;
}
.agent-type .nav-pills .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background-color: #0055ff;
  border-radius: 3px 3px 0 0;
}

/* 悬浮效果 */
.agent-type .nav-pills .nav-link:hover {
  color: #0055ff;
  background-color: transparent;
}

/* ====================================== */
/* 手机端完美适配：自动缩小间距、不撑开 */
/* ====================================== */
@media (max-width: 768px) {
  .agent-type {
    top: 60px !important;
  }
  .agent-type .nav-item.mx-5 {
    margin-left: 0.25rem !important;
    margin-right: 0.25rem !important;
  }
  .agent-type .nav-pills .nav-link {
    font-size: 14px;
    padding: 14px 6px;
  }
  .agent-type .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
/* 隐藏代理导航条的滚动条 */
.agent-type .container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* 隐藏滚动条（Webkit内核浏览器） */
  &::-webkit-scrollbar {
    display: none;
  }
  /* 兼容IE/Edge */
  -ms-overflow-style: none;
  /* 兼容Firefox */
  scrollbar-width: none;
}

 /* 代理流程模块 */
        .agent-step-section {
            padding: 60px 0;
            background-color: #fff;
            text-align: center;
        }
        .agent-step-title {
            font-size: 32px;
            font-weight: 600;
            color: #222;
            margin-bottom: 15px;
        }
        .agent-step-subtitle {
            font-size: 16px;
            color: #666;
            margin-bottom: 50px;
        }

        /* 步骤容器 */
        .agent-steps-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        
            margin: 0 auto 50px;
        }
        /* 步骤连接线 */
        .agent-steps-wrapper::before {
            content: '';
            position: absolute;
            top: 30px;
            left: 10%;
            right: 10%;
            height: 2px;
            background: repeating-linear-gradient(90deg, #ddd, #ddd 6px, transparent 6px, transparent 12px);
            z-index: 0;
        }

        /* 单个步骤 */
        .agent-step-item {
            position: relative;
            z-index: 1;
            flex: 1;
            text-align: center;
        }
        /* 步骤圆圈 */
        .agent-step-circle {
            width: 100px;
            height: 100px;
            margin: 0 auto 15px;
            border-radius: 50%;
            border: 3px solid #ddd;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            background: #fff;
        }
        .agent-step-circle .step-text {
            font-size: 18px;
            color: #999;
        }
        .agent-step-circle .step-num {
            font-size: 40px;
            font-weight: 700;
            color: #333;
        }
        /* 步骤蓝色进度 */
        .agent-step-circle::after {
            content: '';
            position: absolute;
            top: -3px;
            left: -3px;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            border: 3px solid transparent;
            border-top-color: #0055ff;
            border-right-color: #0055ff;
            transform: rotate(45deg);
        }
        /* 第1步进度 */
        .agent-step-item:nth-child(1) .agent-step-circle::after {
            transform: rotate(45deg);
        }
        /* 第2步进度 */
        .agent-step-item:nth-child(2) .agent-step-circle::after {
            transform: rotate(135deg);
        }
        /* 第3步进度 */
        .agent-step-item:nth-child(3) .agent-step-circle::after {
            transform: rotate(225deg);
        }
        /* 第4步进度 */
        .agent-step-item:nth-child(4) .agent-step-circle::after {
            transform: rotate(360deg);
        }
        /* 步骤文字 */
        .agent-step-label {
            font-size: 16px;
            color: #333;
            font-weight: 500;
        }

        /* 按钮 */
        .agent-btn {
            background-color: #0055ff;
            color: #fff;
            border: none;
            padding: 12px 60px;
            font-size: 18px;
            border-radius: 0;
            transition: background-color 0.2s;
        }
        .agent-btn:hover {
            background-color: #0044dd;
            color: #fff;
        }

        /* 手机端适配 */
        @media (max-width: 768px) {
            .agent-step-section {
                padding: 40px 15px;
            }
            .agent-step-title {
                font-size: 24px;
            }
            .agent-step-subtitle {
                font-size: 14px;
                margin-bottom: 30px;
            }
            /* 手机端改为竖排 */
            .agent-steps-wrapper {
                flex-direction: column;
                gap: 30px;
                margin-bottom: 40px;
            }
            .agent-steps-wrapper::before {
                display: none;
            }
            /* 竖排连接线 */
            .agent-step-item:not(:last-child)::after {
                content: '';
                position: absolute;
                top: 100px;
                left: 50%;
                transform: translateX(-50%);
                width: 2px;
                height: 30px;
                background: repeating-linear-gradient(180deg, #ddd, #ddd 6px, transparent 6px, transparent 12px);
            }
            .agent-step-circle {
                width: 80px;
                height: 80px;
            }
            .agent-step-circle::after {
                width: 80px;
                height: 80px;
            }
            .agent-step-circle .step-text {
                font-size: 16px;
            }
            .agent-step-circle .step-num {
                font-size: 32px;
            }
            .agent-step-label {
                font-size: 15px;
            }
            .agent-btn {
                padding: 10px 40px;
                font-size: 16px;
            }
        }
        
        
              /* 推广优势模块 */
        .promo-advantage-section {
            padding: 60px 0;
            background-color: #f5f8fc;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><defs><pattern id="bg-pattern" width="200" height="200" patternUnits="userSpaceOnUse"><path d="M0 100 Q50 50, 100 100 T200 100" fill="none" stroke="%23e5ebf5" stroke-width="1"/><path d="M0 120 Q50 70, 100 120 T200 120" fill="none" stroke="%23e5ebf5" stroke-width="1"/><path d="M0 140 Q50 90, 100 140 T200 140" fill="none" stroke="%23e5ebf5" stroke-width="1"/><path d="M0 160 Q50 110, 100 160 T200 160" fill="none" stroke="%23e5ebf5" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23bg-pattern)"/></svg>');
            text-align: center;
        }
        .promo-advantage-title {
            font-size: 32px;
            font-weight: 600;
            color: #222;
            margin-bottom: 15px;
        }
        .promo-advantage-subtitle {
            font-size: 16px;
            color: #666;
            margin-bottom: 50px;
        }

        /* 优势卡片容器 */
        .promo-advantage-list {
            display: flex;
            justify-content: center;
            gap: 0;
        }

        /* 单个优势卡片 */
        .promo-advantage-item {
            background-color: #fff;
            padding: 40px 20px;
            flex: 1;
            max-width: 320px;
            text-align: center;
            border: 1px solid #eef1f5;
            margin: 0 20px;
        }
        .promo-advantage-item:first-child {
            border-radius: 4px 0 0 4px;
        }
        .promo-advantage-item:last-child {
            border-radius: 0 4px 4px 0;
        }

        /* 图标容器 */
        .promo-advantage-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .promo-advantage-icon svg {
            width: 100%;
            height: 100%;
        }

        /* 文字样式 */
        .promo-advantage-name {
            font-size: 22px;
            font-weight: 600;
            color: #222;
            margin-bottom: 15px;
        }
        .promo-advantage-desc {
            font-size: 15px;
            color: #666;
            line-height: 1.8;
        }

        /* 手机端适配 */
        @media (max-width: 768px) {
            .promo-advantage-section {
                padding: 40px 15px;
            }
            .promo-advantage-title {
                font-size: 24px;
            }
            .promo-advantage-subtitle {
                font-size: 14px;
                margin-bottom: 30px;
            }
            /* 手机端改为两列布局 */
            .promo-advantage-list {
                flex-wrap: wrap;
                gap: 15px;
            }
            .promo-advantage-item {
                flex: 1 1 calc(50% - 8px);
                max-width: 320px;
                border-radius: 4px !important;
            }
            .promo-advantage-icon {
                width: 60px;
                height: 60px;
            }
            .promo-advantage-name {
                font-size: 18px;
            }
            .promo-advantage-desc {
                font-size: 14px;
            }
        }
        
        
         /* 推广方式模块 */
        .promo-method-section {
            padding: 60px 0;
            background-color: #fff;
            text-align: center;
        }
        .promo-method-title {
            font-size: 32px;
            font-weight: 600;
            color: #222;
            margin-bottom: 15px;
        }
        .promo-method-subtitle {
            font-size: 16px;
            color: #666;
            margin-bottom: 50px;
        }

        /* 卡片容器 */
        .promo-method-list {
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
        }

        /* 单个卡片 */
        .promo-method-item {
            background-color: #fff;
            border: 1px solid #eee;
            border-radius: 4px;
            overflow: hidden;
            width: 500px;
            text-align: left;
        }

        /* 卡片头部（蓝色背景+图标文字） */
        .promo-method-header {
            background-color: #0055ff;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><defs><pattern id="bg-grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M0 0 L100 0 L100 100 L0 100 Z" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/><path d="M0 50 L100 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/><path d="M50 0 L50 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23bg-grid)"/></svg>');
            padding: 30px 20px;
            display: flex;
            align-items: center;
            gap: 15px;
            color: #fff;
        }
        .promo-method-icon {
            width: 60px;
            height: 60px;
            flex-shrink: 0;
        }
        .promo-method-icon svg {
            width: 100%;
            height: 100%;
        }
        .promo-method-name {
            font-size: 22px;
            font-weight: 600;
            margin: 0;
        }

        /* 卡片内容 */
        .promo-method-body {
            padding: 30px 25px;
        }
        .promo-method-desc {
            font-size: 16px;
            color: #666;
            line-height: 1.8;
            margin: 0;
        }

        /* 手机端适配 */
        @media (max-width: 768px) {
            .promo-method-section {
                padding: 40px 15px;
            }
            .promo-method-title {
                font-size: 24px;
            }
            .promo-method-subtitle {
                font-size: 14px;
                margin-bottom: 30px;
            }
            .promo-method-list {
                gap: 20px;
            }
            .promo-method-item {
                width: 100%;
                max-width: 360px;
            }
            .promo-method-header {
                padding: 25px 15px;
            }
            .promo-method-icon {
                width: 50px;
                height: 50px;
            }
            .promo-method-name {
                font-size: 18px;
            }
            .promo-method-body {
                padding: 25px 20px;
            }
            .promo-method-desc {
                font-size: 15px;
            }
        }
        
        
          /* 代理优势模块 */
        .agent-advantage-section {
            padding: 60px 0;
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><rect width="100%" height="100%" fill="%23333"/></svg>') center/cover no-repeat;
            color: #fff;
            text-align: center;
        }
        .agent-advantage-title {
            font-size: 32px;
            font-weight: 600;
            margin-bottom: 15px;
        }
        .agent-advantage-subtitle {
            font-size: 16px;
            opacity: 0.9;
            margin-bottom: 50px;
        }

        /* 对比表格容器 */
        .agent-compare-table {
            width: 100%;
         
            margin: 0 auto;
            background: #fff;
            color: #333;
            border-collapse: collapse;
            border-radius: 4px;
            overflow: hidden;
        }
        .agent-compare-table th,
        .agent-compare-table td {
            padding: 20px;
            text-align: center;
            border: 1px solid #eee;
        }
        /* 表头样式 */
        .agent-compare-table th {
            background-color: #f5f7fa;
            font-weight: 500;
            font-size: 16px;
        }
        /* 中间高亮列 */
        .agent-compare-table th.highlight-col,
        .agent-compare-table td.highlight-col {
            background-color: #0055ff;
            color: #fff;
            font-weight: 500;
        }
        /* 对比项列 */
        .agent-compare-table th:first-child,
        .agent-compare-table td:first-child {
            background-color: #f5f7fa;
            font-weight: 500;
        }

        /* 手机端适配 */
        @media (max-width: 768px) {
            .agent-advantage-section {
                padding: 40px 15px;
            }
            .agent-advantage-title {
                font-size: 24px;
            }
            .agent-advantage-subtitle {
                font-size: 14px;
                margin-bottom: 30px;
            }
            /* 手机端表格改为横向滚动 */
            .agent-compare-table {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
            }
            .agent-compare-table th,
            .agent-compare-table td {
                padding: 15px 10px;
                font-size: 14px;
            }
        }
        
        
        /* 规则说明模块 */
        .rule-section {
            padding: 60px 0;
            background-color: #fff;
            text-align: center;
        }
        .rule-title {
            font-size: 32px;
            font-weight: 600;
            color: #222;
            margin-bottom: 15px;
        }
        .rule-subtitle {
            font-size: 16px;
            color: #666;
            margin-bottom: 50px;
        }

        /* 规则内容容器 */
        .rule-content {

            margin: 0 auto;
            text-align: left;
            position: relative;
            padding: 20px 0;
        }
        /* 引号装饰 */
        .rule-content::before {
            content: "“";
            position: absolute;
            top: 0;
            left: -40px;
            font-size: 120px;
            color: #e5ebf5;
            line-height: 1;
            z-index: 0;
        }
        .rule-content::after {
            content: "”";
            position: absolute;
            bottom: -60px;
            right: -40px;
            font-size: 120px;
            color: #e5ebf5;
            line-height: 1;
            z-index: 0;
        }

        /* 规则列表 */
        .rule-list {
            list-style: none;
            padding: 0;
            margin: 0;
            position: relative;
            z-index: 1;
        }
        .rule-list li {
            margin-bottom: 20px;
            font-size: 16px;
            color: #333;
            line-height: 1.8;
        }
        .rule-list li .rule-title-text {
            font-weight: 600;
            display: block;
            margin-bottom: 8px;
        }
        .rule-list li .rule-desc {
            padding-left: 20px;
        }
        .rule-list li .rule-desc p {
            margin: 0 0 10px;
        }

        /* 手机端适配 */
        @media (max-width: 768px) {
            .rule-section {
                padding: 40px 15px;
            }
            .rule-title {
                font-size: 24px;
            }
            .rule-subtitle {
                font-size: 14px;
                margin-bottom: 30px;
            }
            .rule-content {
                padding: 10px;
            }
            .rule-content::before,
            .rule-content::after {
                display: none;
            }
            .rule-list li {
                font-size: 15px;
            }
            .rule-list li .rule-desc {
                padding-left: 10px;
            }
        }