/* 代理加盟 — 企业直角风，对齐 contact */
.bo-agent-page {
  --a-primary: #0052d9;
  --a-primary-hover: #003ec5;
  --a-ink: #181818;
  --a-muted: #667085;
  --a-soft: #98a2b3;
  --a-line: #e6e9ec;
  --a-bg: #f7f9fd;
  --a-card: #fff;
  background: var(--a-bg);
  color: var(--a-ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
.bo-agent-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(16px, min(3vw, 40px));
  box-sizing: border-box;
}

.bo-agent-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 64px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(7, 24, 51, 0.92) 0%, rgba(0, 82, 217, 0.88) 55%, rgba(20, 102, 237, 0.82) 100%),
    linear-gradient(135deg, #0a1a38 0%, #123a8a 50%, #1a56db 100%);
}
.bo-agent-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 88% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(77, 163, 255, 0.18) 0%, transparent 50%);
  pointer-events: none;
  animation: bo-agent-hero-glow 8s ease-in-out infinite alternate;
}
.bo-agent-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -30px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}
@keyframes bo-agent-hero-glow {
  from { opacity: 0.85; }
  to { opacity: 1; }
}
.bo-agent-hero .bo-agent-wrap {
  position: relative;
  z-index: 1;
}
.bo-agent-hero-brand {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.3;
}
.bo-agent-hero-title {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}
.bo-agent-hero-desc {
  margin: 0 0 28px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.75;
}
.bo-agent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.bo-agent-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-agent-btn:hover {
  background: #eff6ff;
  transform: translateY(-1px);
}
.bo-agent-btn--ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55);
}
.bo-agent-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.bo-agent-section {
  padding: 56px 0;
}
.bo-agent-section--alt {
  background: #fff;
  border-top: 1px solid var(--a-line);
  border-bottom: 1px solid var(--a-line);
}
.bo-agent-section-head {
  margin-bottom: 28px;
}
.bo-agent-section-head h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--a-ink);
}
.bo-agent-section-head h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 12px;
  background: var(--a-primary);
}
.bo-agent-section-head p {
  margin: 12px 0 0;
  color: var(--a-muted);
  font-size: 14px;
  line-height: 1.65;
}

.bo-agent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bo-agent-item {
  padding: 28px 24px;
  background: var(--a-card);
  border: 1px solid var(--a-line);
  border-radius: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.bo-agent-item:hover {
  border-color: #c9d8f5;
  box-shadow: 0 8px 24px rgba(0, 82, 217, 0.08);
  transform: translateY(-2px);
}
.bo-agent-item__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--a-primary);
  background: #eff5ff;
  border: 1px solid #d6e4ff;
}
.bo-agent-item h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--a-ink);
}
.bo-agent-item p {
  margin: 0;
  color: var(--a-muted);
  font-size: 14px;
  line-height: 1.7;
}

.bo-agent-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: none;
}
.bo-agent-steps li {
  position: relative;
  padding: 24px 20px;
  background: var(--a-bg);
  border: 1px solid var(--a-line);
  border-radius: 0;
}
.bo-agent-steps__num {
  display: block;
  margin-bottom: 14px;
  color: var(--a-primary);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}
.bo-agent-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--a-ink);
}
.bo-agent-steps em {
  display: block;
  font-style: normal;
  color: var(--a-muted);
  font-size: 13px;
  line-height: 1.6;
}

.bo-agent-cta {
  background:
    linear-gradient(90deg, #0a1a38 0%, #123a8a 50%, #1a56db 100%);
  color: #fff;
}
.bo-agent-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 0;
}
.bo-agent-cta h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
}
.bo-agent-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
}
.bo-agent-cta .bo-agent-btn {
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .bo-agent-grid,
  .bo-agent-steps {
    grid-template-columns: 1fr 1fr;
  }
  .bo-agent-hero-title {
    font-size: 32px;
  }
  .bo-agent-hero-brand {
    font-size: 18px;
  }
}
@media (max-width: 640px) {
  .bo-agent-hero {
    padding: 64px 0 48px;
  }
  .bo-agent-hero-title {
    font-size: 28px;
  }
  .bo-agent-grid,
  .bo-agent-steps,
  .bo-agent-cta__inner {
    grid-template-columns: 1fr;
    display: grid;
  }
  .bo-agent-cta__inner {
    text-align: center;
    justify-items: center;
  }
}
