/* 合作页面样式 */

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

.container {
  max-width: 1400px;
  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样式 */
.cooperation-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;
}

.cooperation-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;
}

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

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

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

/* 表格区域样式 */
.cooperation-section {
  background-color: #fff;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 40px;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fff;
}

.cooperation-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
  background-color: #fff;
}

.cooperation-table th,
.cooperation-table td {
  padding: 15px 20px;
  text-align: center;
  border: 1px solid #eee;
  font-size: 14px;
  color: #555;
}

.cooperation-table th {
  background-color: #f8f9fa;
  color: #333;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  border-bottom: 2px solid #8b8cbe;
}

.cooperation-table .row-header {
  background-color: #fff;
  font-weight: 600;
  color: #333;
  text-align: left;
  white-space: nowrap;
}

.cooperation-table tr:nth-child(even) td:not(.row-header) {
  background-color: #fff;
}

.cooperation-table tr:hover td {
  background-color: #f9f9fc;
}

/* 申请动作区域 */
.apply-action {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #f9f9fc;
  border-radius: 8px;
}

.apply-action p {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
}

.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;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .cooperation-banner {
    padding: 100px 0 60px;
  }
  
  .intro-title {
    font-size: 32px;
  }
  
  .section-title h2 {
    font-size: 26px;
  }
  
  .apply-action {
    padding: 30px 20px;
    margin-top: 40px;
  }
}

/* 新增政策样式 */

.idc-notice-text {
  text-align: center;
  margin-bottom: 25px;
  font-size: 16px;
  font-weight: 600;
  color: #8b8cbe;
  letter-spacing: 0.5px;
}

.policy-block {
  margin-bottom: 60px;
  background: #fff;
  padding: 0;
}

.policy-block-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  position: relative;
}

.policy-block-title:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #8b8cbe;
}

.policy-block-title i {
  color: #8b8cbe;
  margin-right: 12px;
  font-size: 20px;
  width: auto;
  height: auto;
  background: none;
}

.policy-block-desc {
  margin-bottom: 25px;
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

/* 权益卡片网格 */
.privilege-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.privilege-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 30px 25px;
  display: flex;
  align-items: flex-start;
  transition: all 0.3s ease;
}

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

.privilege-item i {
  font-size: 26px;
  color: #8b8cbe;
  margin-right: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  width: auto;
  height: auto;
  background: none;
}

.privilege-item:hover i {
  background: none;
  transform: none;
}

.privilege-content h4 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.privilege-content p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* 策略列表 */
.strategy-list {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.strategy-item {
  display: flex;
  padding: 25px;
  border-bottom: 1px solid #f5f5f5;
  align-items: flex-start;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.strategy-item:last-child {
  border-bottom: none;
}

.strategy-item:hover {
  background-color: #fafbfc;
  border-left-color: #8b8cbe;
}

.strategy-bullet {
  background-color: rgba(139, 140, 190, 0.1);
  color: #8b8cbe;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  margin-right: 20px;
  flex-shrink: 0;
  margin-top: 0;
  box-shadow: none;
}

.strategy-item p {
  margin: 0;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

.strategy-item strong {
  color: #333;
  font-weight: 600;
}

/* 保级卡片 */
.retention-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.retention-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.retention-card::before {
  display: none;
}

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

.retention-level {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.retention-req {
  font-size: 13px;
  color: #666;
}

.retention-req span {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #8b8cbe;
  margin-top: 5px;
  font-family: inherit;
}

.policy-note {
  background-color: #fff8e6;
  border: 1px solid #ffeeba;
  color: #856404;
  padding: 15px 20px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
}

.policy-note i {
  margin-right: 8px;
  margin-top: 4px;
  font-size: 16px;
}

.policy-note p {
  margin: 0;
}

/* 表格解释说明样式 */
.table-explanation {
  background-color: #fff;
  border: none;
  padding: 20px 0;
  margin-top: 20px;
  display: block;
}

.explain-item {
  margin-bottom: 15px;
  padding-bottom: 0;
  border-bottom: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  height: auto;
  display: flex;
  align-items: baseline;
}

.explain-item:hover {
  transform: none;
  background: transparent;
}

.explain-item h5 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 0;
  margin-right: 15px;
  display: flex;
  align-items: center;
  min-width: 120px;
  flex-shrink: 0;
}

.explain-item h5 i {
  color: #8b8cbe;
  margin-right: 8px;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.explain-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  padding-left: 0;
}

.explain-note {
  margin-top: 5px !important;
  background-color: #f9f9f9;
  padding: 8px 12px !important;
  border-radius: 4px;
  font-size: 12px !important;
  border-left: 2px solid #8b8cbe;
  box-shadow: none;
  /* margin-left: 135px; Removed for better layout with wrapper */
  display: block;
  width: fit-content;
  max-width: 100%;
}

.explain-content-wrapper {
  flex: 1;
  min-width: 0; /* Prevents flex item from overflowing */
}

@media (max-width: 992px) {
  .retention-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .privilege-grid {
    grid-template-columns: 1fr;
  }
  
  .retention-grid {
    grid-template-columns: 1fr;
  }
  
  .policy-block-title {
    font-size: 18px;
  }
  
  .explain-item {
    flex-direction: column;
  }
  
  .explain-item h5 {
    margin-bottom: 5px;
  }

  .explain-item p {
    padding-left: 0;
  }
  
  .explain-note {
    margin-left: 0;
  }
  
  .table-explanation {
    grid-template-columns: 1fr;
    padding: 20px 0;
  }
}

/* 星钻代理特权列表样式 */
.star-agent-privilege {
  display: block !important;
}

.privilege-list {
  margin: 5px 0 0 0;
  padding-left: 20px;
  list-style-type: disc;
}

.privilege-list li {
  margin-bottom: 5px;
  color: #555;
  font-size: 13px;
}

.privilege-list li:last-child {
  margin-bottom: 0;
}

.note-small {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 2px;
  line-height: 1.4;
}

/* 表格解释标题样式 */
.explanation-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-top: 30px;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid #8b8cbe;
  line-height: 1.4;
}

/* 调整表格解释容器的上边距 */
.table-explanation {
  margin-top: 0 !important;
  padding-top: 10px !important;
}

/* 政策更新提示样式 */
.policy-update-notice {
  font-size: 14px;
  color: #ff4d4f;
  margin-top: 10px;
  margin-bottom: 0;
  font-weight: 500;
}

.policy-update-notice a {
  color: #ff4d4f;
  text-decoration: underline;
  font-weight: 600;
}

.policy-update-notice a:hover {
  color: #d9363e;
}
