/* 推广返利 — 企业直角风，对齐 contact / agent */
.bo-aff-page {
  --f-primary: #0052d9;
  --f-primary-hover: #003ec5;
  --f-ink: #181818;
  --f-muted: #667085;
  --f-soft: #98a2b3;
  --f-line: #e6e9ec;
  --f-bg: #f7f9fd;
  --f-card: #fff;
  background: var(--f-bg);
  color: var(--f-ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
.bo-aff-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(16px, min(3vw, 40px));
  box-sizing: border-box;
}

.bo-aff-hero {
  position: relative;
  overflow: hidden;
  height: 400px;
  min-height: 400px;
  max-height: 400px;
  padding: 0;
  color: #fff;
  background: #071833;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.bo-aff-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bo-aff-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: none;
  animation: none;
}
.bo-aff-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(5, 16, 36, 0.88) 0%, rgba(7, 28, 64, 0.72) 42%, rgba(10, 45, 110, 0.38) 72%, rgba(12, 58, 140, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 16, 36, 0.35) 0%, transparent 40%, rgba(5, 16, 36, 0.45) 100%);
  pointer-events: none;
}
.bo-aff-hero::after {
  display: none;
}
.bo-aff-hero .bo-aff-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.bo-aff-hero-brand {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.3;
}
.bo-aff-hero-title {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}
.bo-aff-hero-desc {
  margin: 0 0 28px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.75;
}
.bo-aff-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bo-aff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  height: 42px;
  padding: 0 20px;
  border-radius: 0;
  background: #fff;
  color: #0a1a38 !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.bo-aff-btn:hover {
  background: #eff6ff;
  transform: translateY(-1px);
}
.bo-aff-btn--ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
}
.bo-aff-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.bo-aff-highlights {
  position: relative;
  z-index: 3;
  margin-top: -28px;
  background: transparent;
  border-bottom: none;
  overflow: visible;
}
.bo-aff-highlights::before {
  display: none;
}
.bo-aff-highlights__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 0 8px;
}
.bo-aff-hi {
  position: relative;
  padding: 22px 22px 24px;
  text-align: left;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  border-top: 3px solid var(--f-primary);
  box-shadow: 0 12px 28px rgba(15, 40, 90, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.bo-aff-hi:hover {
  border-color: #bfd0ea;
  box-shadow: 0 16px 36px rgba(15, 40, 90, 0.12);
  transform: translateY(-3px);
}
.bo-aff-hi:last-child {
  border-right: 1px solid #e2e8f0;
}
.bo-aff-hi__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.bo-aff-hi__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--f-primary) !important;
  background: linear-gradient(180deg, #f3f7ff 0%, #e8f0ff 100%);
  border: 1px solid #d4e2ff;
}
.bo-aff-hi__ico svg {
  display: block;
  stroke: currentColor;
}
.bo-aff-hi__idx {
  color: #c5d0e0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}
.bo-aff-hi__val {
  display: block;
  margin: 0 0 8px;
  color: var(--f-primary);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.bo-aff-hi__label {
  display: block;
  color: var(--f-muted);
  font-size: 13px;
  line-height: 1.55;
}

.bo-aff-section {
  padding: 64px 0;
}
.bo-aff-section--alt {
  background: #fff;
  border-top: 1px solid var(--f-line);
  border-bottom: 1px solid var(--f-line);
}
.bo-aff-section-head {
  margin-bottom: 28px;
}
.bo-aff-section-head h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--f-ink);
}
.bo-aff-section-head h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 12px;
  background: var(--f-primary);
}
.bo-aff-section-head p {
  margin: 12px 0 0;
  color: var(--f-muted);
  font-size: 14px;
  line-height: 1.65;
}

.bo-aff-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bo-aff-benefit {
  padding: 28px 24px;
  background: var(--f-card);
  border: 1px solid var(--f-line);
  border-radius: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.bo-aff-benefit:hover {
  border-color: #c9d8f5;
  box-shadow: 0 8px 24px rgba(0, 82, 217, 0.08);
  transform: translateY(-2px);
}
.bo-aff-benefit__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--f-primary);
  background: #eff5ff;
  border: 1px solid #d6e4ff;
}
.bo-aff-benefit h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--f-ink);
}
.bo-aff-benefit p {
  margin: 0;
  color: var(--f-muted);
  font-size: 14px;
  line-height: 1.7;
}

.bo-aff-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.bo-aff-steps li {
  position: relative;
  padding: 26px 22px 24px;
  background: var(--f-bg);
  border: 1px solid var(--f-line);
  border-radius: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bo-aff-steps li:hover {
  border-color: #c9d8f5;
  box-shadow: 0 8px 22px rgba(0, 82, 217, 0.06);
}
.bo-aff-steps__num {
  display: block;
  margin-bottom: 16px;
  color: var(--f-primary);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}
.bo-aff-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--f-ink);
}
.bo-aff-steps em {
  display: block;
  margin-bottom: 16px;
  font-style: normal;
  color: var(--f-muted);
  font-size: 13px;
  line-height: 1.6;
  min-height: 42px;
}
.bo-aff-steps__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--f-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.bo-aff-steps__link i {
  font-style: normal;
  transition: transform 0.2s ease;
}
.bo-aff-steps__link:hover {
  text-decoration: none;
}
.bo-aff-steps__link:hover i {
  transform: translateX(3px);
}

.bo-aff-rules {
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--f-line);
  border-radius: 0;
}
.bo-aff-rules__lead {
  margin: 0 0 18px;
  color: var(--f-muted);
  font-size: 14px;
  line-height: 1.75;
}
.bo-aff-rules__lead a {
  color: var(--f-primary);
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
}
.bo-aff-rules__lead a:hover {
  text-decoration: underline;
}
.bo-aff-rules ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bo-aff-rules li {
  padding: 14px 0;
  border-top: 1px solid #f0f3f7;
  color: #475467;
  font-size: 14px;
  line-height: 1.7;
}
.bo-aff-rules li:first-child {
  border-top: 0;
  padding-top: 0;
}
.bo-aff-rules li b {
  display: inline-block;
  min-width: 72px;
  margin-right: 10px;
  color: var(--f-primary);
  font-weight: 700;
}

.bo-aff-cta {
  background: linear-gradient(90deg, #0a1a38 0%, #123a8a 50%, #1a56db 100%);
  color: #fff;
}
.bo-aff-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 0;
}
.bo-aff-cta h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
}
.bo-aff-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
}
.bo-aff-cta .bo-aff-btn {
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .bo-aff-highlights {
    margin-top: -16px;
  }
  .bo-aff-highlights__grid,
  .bo-aff-benefits,
  .bo-aff-steps {
    grid-template-columns: 1fr 1fr;
  }
  .bo-aff-hero-title {
    font-size: 32px;
  }
  .bo-aff-hero-brand {
    font-size: 18px;
  }
}
@media (max-width: 640px) {
  .bo-aff-hero {
    height: 340px;
    min-height: 340px;
    max-height: 340px;
    padding: 0;
  }
  .bo-aff-hero-title {
    font-size: 28px;
  }
  .bo-aff-hero-desc {
    margin-bottom: 20px;
    font-size: 14px;
  }
  .bo-aff-highlights {
    margin-top: 0;
    padding-top: 16px;
  }
  .bo-aff-highlights__grid,
  .bo-aff-benefits,
  .bo-aff-steps,
  .bo-aff-cta__inner {
    grid-template-columns: 1fr;
    display: grid;
  }
  .bo-aff-highlights__grid {
    gap: 12px;
    padding: 0 0 8px;
  }
  .bo-aff-hi__val {
    font-size: 22px;
  }
  .bo-aff-cta__inner {
    text-align: center;
    justify-items: center;
  }
  .bo-aff-rules {
    padding: 22px 18px;
  }
  .bo-aff-rules li b {
    display: block;
    margin: 0 0 4px;
  }
}
