/* 推广返佣页面样式 */

/* 页面通用样式 */
.section {
  padding: 80px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.title-tag {
  display: inline-block;
  padding: 0;
  background-color: transparent;
  color: #8b8cbe;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 30px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* Banner样式 */
.affiliate-banner {
  background-image: url('/web/hbyv10sym1/assets/img/about/banner.png');
  background-position: center;
  background-size: cover;
  padding: 180px 0 120px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.affiliate-banner:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 140, 190, 0.1) 0%, rgba(139, 140, 190, 0.3) 100%);
  z-index: 1;
}

.affiliate-banner .container {
  position: relative;
  z-index: 2;
}

.intro-title {
  font-size: 48px;
  font-weight: 800;
  color: #333;
  margin-bottom: 25px;
  display: inline-block;
  letter-spacing: -0.5px;
}

.intro-subtitle {
  font-size: 22px;
  color: #555;
  max-width: 800px;
  margin: 0;
  line-height: 1.5;
}

/* 适合人群区域 */
.affiliate-target {
  background-color: #fff;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.target-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #f9f9fc;
}

.target-item:hover {
  background: #fff;
  box-shadow: 0 10px 25px rgba(139, 140, 190, 0.15);
  transform: translateY(-5px);
}

.target-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(139, 140, 190, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #8b8cbe;
  font-size: 24px;
}

.target-item h4 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
}

.target-item p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.target-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(139, 140, 190, 0.1) 0%, rgba(139, 140, 190, 0.2) 100%);
  padding: 20px;
  border-radius: 8px;
  color: #555;
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto;
}

.target-cta p {
  margin: 0;
  text-align: center;
  width: 100%;
}

/* 案例展示区域 */
.affiliate-cases {
  background-color: #f9f9fc;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.case-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.case-item:hover {
  transform: translateY(-5px);
}

.case-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.case-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-content h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.case-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.case-tags span {
  display: inline-block;
  padding: 5px 12px;
  background-color: rgba(139, 140, 190, 0.1);
  color: #8b8cbe;
  font-size: 12px;
  border-radius: 20px;
  margin-right: 8px;
  font-weight: 500;
}

/* 响应式调整追加 */
@media (max-width: 768px) {
  .target-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .target-grid {
    grid-template-columns: 1fr;
  }
}

/* 亮点区域 */
.affiliate-highlights {
  background-color: #fff;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.highlight-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(139, 140, 190, 0.15);
  border-color: transparent;
}

.highlight-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(139, 140, 190, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.highlight-icon i {
  font-size: 32px;
  color: #8b8cbe;
}

.highlight-item h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.highlight-item p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* 流程区域 */
.affiliate-process {
  background-color: #f9f9fc;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto 60px;
  position: relative;
}

.process-steps:before {
  content: '';
  position: absolute;
  top: 40px;
  left: 100px;
  right: 100px;
  height: 2px;
  background-color: #e0e0e0;
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  text-align: center;
  background-color: #f9f9fc;
  padding: 0 20px;
  width: 30%;
}

.step-number {
  width: 80px;
  height: 80px;
  background-color: #fff;
  border: 2px solid #8b8cbe;
  border-radius: 50%;
  color: #8b8cbe;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(139, 140, 190, 0.1);
}

.step-item h4 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
}

.step-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.process-action {
  text-align: center;
}

.apply-btn {
  display: inline-block;
  padding: 12px 35px;
  background-color: #8b8cbe;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.apply-btn:hover {
  background-color: #7a7bb0;
}

/* 联系我们区域 */
.affiliate-contact {
  background-color: #fff;
  border-top: 1px solid #f0f0f0;
}

.contact-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-cta p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .affiliate-banner {
    padding: 120px 0 80px;
  }
  
  .intro-title {
    font-size: 32px;
  }
  
  .intro-subtitle {
    font-size: 16px;
  }
  
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    flex-direction: column;
    align-items: center;
  }
  
  .process-steps:before {
    display: none;
  }
  
  .step-item {
    width: 100%;
    margin-bottom: 40px;
    padding: 0;
  }
  
  .step-item:last-child {
    margin-bottom: 0;
  }
}
