/* 代理页面样式 */
/* 通用样式 */
.section-title {
  font-weight: 600;
  font-size: 48px;
  line-height: 56px;
  margin-bottom: 80px;
  text-align: center;
  color: #1d1d20;
}

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

/* Banner部分 */
.agent-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.agent-cooperate {
  background-image: url(../images/agent/banner-pc.png);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 648px;
  min-width: 1200px;
  margin: 0 auto;
  padding-top: 180px;
  padding-bottom: 80px;
}

.banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.banner-content h1 {
  display: none;
}

.banner-content .banner-title {
  margin-bottom: 24px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.banner-content .banner-title .pc-title {
  display: block;
  height: 64px;
}

.banner-content .banner-title .mobile-title {
  display: none;
}

.banner-desc {
  margin-bottom: 48px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 0 50px;
}

.banner-desc span {
  font-weight: 400;
  font-size: 24px;
  color: #1c1c1c;
  line-height: 28px;
}

.banner-features {
  border-radius: 16px;
  padding: 48px;
  display: flex;
  gap: 48px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.4) 0%,
    #e2eaf2 100%
  );
  box-shadow: 0px 4px 16px 0px rgba(215, 220, 233, 0.3);
  border: 1px solid #ffffff;
}

.feature-content {
  flex: 1;
}

.feature-content h2 {
  height: 69px;
  font-weight: 600;
  font-size: 28px;
  color: #000000;
  line-height: 69px;
  letter-spacing: 1px;
  background-image: url(../images/agent/case-banner.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-group {
  margin-bottom: 56px;
  margin-top: 40px;
}

.feature-group:last-child {
  margin-bottom: 24px;
}

.feature-group h3 {
  font-weight: 500;
  font-size: 24px;
  color: #1c1c1c;
  line-height: 28px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-item span {
  font-size: 16px;
  line-height: 1.5;
  color: #666;
}

.feature-item:first-child {
  margin-top: 24px;
}

.social-platforms {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
}

.social-platforms img {
  width: 48px;
  height: 48px;
}

/* 视频容器 */
.video-container {
  width: 600px;
  height: 600px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: #94959ab3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-container .play-icon:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-container .play-icon svg {
  width: 36px;
  height: 36px;
  fill: #252525;
}

/* 全屏视频弹窗 */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
}

.video-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal video {
  max-width: 90%;
  max-height: 90vh;
}

.video-modal .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.video-modal .close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 代理优势部分 */
.agent-advantages {
  padding: 80px 0;
  background: #fff;
}

.advantages-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.advantage-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #e4e8f0;
}

.advantage-card:hover {
  transform: translateY(-8px);
}

.advantage-card .icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-card .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.advantage-card h3 {
  font-weight: 600;
  margin-bottom: 16px;
  color: #1c1c1c;
  text-align: center;
  font-size: 20px;
  line-height: 23px;
}

.advantage-card p {
  font-weight: 400;
  font-size: 14px;
  color: #5f5f5f;
  line-height: 25px;
}

/* 合作流程部分 */
.agent-process {
  padding: 80px 0;
  background-color: #fff;
}

.process-content {
  display: flex;
  justify-content: space-between;
  gap: 89px;
  align-items: center;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  width: 120px;
}

.step-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.step-connector {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: -25px;
}

.step-connector img {
  width: 100%;
  max-width: 160px;
  height: auto;
}

.step h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

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

.process-qrcode img {
  width: 160px;
  height: 160px;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #dfe7ef 0%, rgba(255, 255, 255, 0) 100%);
  box-shadow: 0px 4px 16px 0px rgba(215, 220, 233, 0.3);
  border-radius: 14px 14px 14px 14px;
  border: 1px solid #ffffff;
}

.process-qrcode p {
  font-size: 12px;
  color: #1c1c1c;
  line-height: 16px;
}

/* 合作模式部分 */
.agent-modes {
  padding: 80px 0;
  background: #f8f9fa;
  overflow: hidden;
  position: relative;
}

.modes-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.modes-container {
  position: relative;
  height: 622px;
  overflow: hidden;
  perspective: 1200px;
  margin-bottom: 40px;
}

.modes-wheel {
  position: absolute;
  width: 100%;
  height: 838px;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.mode-card {
  position: absolute;
  left: 0;
  width: 100%;
  height: 622px;
  background: #ffffff;
  border-radius: 16px;
  padding: 48px;
  backface-visibility: hidden;
  transform-origin: 50% 100%;
  transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mode-card[data-index="0"] {
  transform: rotateX(0) translateZ(0);
  opacity: 1;
  z-index: 3;
  top: 112px;
  width: 100%;
  left: 0;
  height: 50%;
}

.mode-card[data-index="1"],
.mode-card[data-index="2"] {
  width: 50%;
  left: 25%;
  transform-origin: 50% 50%;
  height: 25%;
}

.mode-card[data-index="1"] {
  transform: rotateX(5deg) translateZ(-250px) translateY(39px);
  opacity: 0.7;
  z-index: 2;
  top: calc(112px + 419px);
}

.mode-card[data-index="2"] {
  transform: rotateX(-5deg) translateZ(-250px) translateY(-39px);
  opacity: 0.7;
  z-index: 2;
  top: 0;
}

.mode-card.light-blue {
  background: #f4f0ff;
}

.mode-card.dark-blue {
  background: #2b3441;
  color: #ffffff;
}

.mode-card.support-card {
  background: #ffffff;
  border: 1px solid #e4e8f0;
}

.mode-header {
  margin-bottom: 40px;
}

.mode-header h3 {
  font-size: 28px;
  font-weight: 600;
  line-height: 33px;
  margin-bottom: 16px;
}

.dark-blue .mode-header h3,
.dark-blue .price-info p {
  color: #ffffff;
}

.price-info p {
  font-size: 16px;
  line-height: 24px;
  color: #666666;
}

.mode-details {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.mode-image {
  flex: 0 0 auto;
  width: 48%;
  height: auto;
}

.mode-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.mode-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.list-item .dot {
  width: 6px;
  height: 6px;
  background: #1c1c1c;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.dark-blue .list-item .dot {
  background: #ffffff;
}

.list-item p {
  font-size: 14px;
  line-height: 22px;
  color: #5f5f5f;
  margin: 0;
}

.dark-blue .list-item p {
  color: rgba(255, 255, 255, 0.8);
}

/* 滚轮指示器 */
.wheel-indicator {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-dot.active {
  background-color: #1d1d20;
  transform: scale(1.2);
}

/* 申请表单部分 */
.agent-apply {
  padding: 80px 0;
  background-color: #fff;
}

.apply-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

.form-control {
  height: 48px;
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 10px 15px;
  font-size: 16px;
}

textarea.form-control {
  height: auto;
}

/* 常见问题部分 */
.agent-faq {
  padding: 80px 0;
  background-color: #fff;
}

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

.faq-item {
  padding: 24px;
  margin-bottom: 16px;
  border-radius: 10px 10px 10px 10px;
  border: 1px solid #eeeeee;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 8px;
}

.faq-question h3 {
  font-weight: 500;
  font-size: 16px;
  color: #000000;
  line-height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s;
}

.minus-icon {
  opacity: 0;
}

.faq-item.active .plus-icon {
  opacity: 0;
}

.faq-item.active .minus-icon {
  opacity: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding-top: 24px;
  max-height: 500px;
}

.faq-answer p {
  margin: 0;
  font-size: 14px;
  color: #5f5f5f;
  line-height: 22px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  /* 通用样式 */
  .section-title {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 40px;
  }

  /* Banner部分 */
  .agent-cooperate {
    width: 100%;
    min-width: auto;
    min-height: auto;
    background-image: url(../images/agent/banner-mobile.png);
    padding: 112px 20px 0;
    background-size: 100% 100%;
  }

  .banner-content {
    padding: 0;
  }

  .banner-content .banner-title {
    margin-bottom: 16px;
  }

  .banner-content .banner-title .pc-title {
    display: none;
  }

  .banner-content .banner-title .mobile-title {
    display: block;
    width: 100%;
  }

  .banner-desc {
    margin-bottom: 0;
    padding: 35px 0 57px;
    gap: 24px;
  }

  .banner-desc span {
    font-size: 14px;
    line-height: 20px;
  }

  .banner-features {
    flex-direction: column;
    gap: 24px;
    padding: 24px 20px;
  }

  .feature-content {
    padding: 0 20px 24px;
  }

  .feature-content h2 {
    height: 80px;
    margin-bottom: 24px;
    font-size: 24px;
    line-height: 32px;
    display: flex;
    align-items: flex-end;
    background-size: 30%;
    background-position-y: 0;
  }

  .feature-group {
    margin-top: 48px;
    margin-bottom: 48px;
  }

  .feature-group h3 {
    font-size: 20px;
    line-height: 23px;
  }

  .feature-list {
    gap: 12px;
  }

  .feature-item span {
    font-size: 14px;
    line-height: 16px;
  }

  .social-platforms {
    gap: 16px;
    margin-top: 0;
    padding: 0;
  }

  .social-platforms img {
    width: 32px;
    height: 32px;
  }

  .video-container {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin-top: 0;
  }

  /* 代理优势部分 */
  .agent-advantages {
    padding: 80px 0 64px;
  }

  .advantages-content {
    padding: 0 16px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .advantage-card {
    padding: 40px;
  }

  .advantage-card .icon {
    margin-bottom: 24px;
    width: 64px;
    height: 64px;
  }

  .advantage-card h3 {
    margin-bottom: 20px;
  }

  .advantage-card p {
    line-height: 22px;
  }

  /* 合作流程部分 */
  .agent-process {
    padding: 0 0 64px;
  }

  .process-content {
    flex-direction: column;
    gap: 8px;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    height: 420px;
    position: relative;
    margin: 0 20px;
    width: 84%;
  }

  .step {
    width: 96px;
    height: auto;
    position: absolute;
  }

  .step:nth-child(1) {
    top: 0;
    left: 0;
  }

  .step:nth-child(3) {
    top: 0;
    right: 0;
  }

  .step:nth-child(5) {
    top: 220px;
    right: 0;
  }

  .step:nth-child(7) {
    top: 220px;
    left: 0;
  }

  .step h3 {
    font-size: 14px;
    margin-top: 0;
  }

  .step-connector {
    position: absolute;
    width: auto;
    height: auto;
    flex: none;
    top: auto;
  }

  .step-connector:nth-child(2) {
    top: 40px;
    left: 96px;
    width: calc(100% - 192px);
  }

  .step-connector:nth-child(4) {
    top: 172px;
    right: 9px;
    transform: rotate(90deg);
    width: 84px;
  }

  .step-connector:nth-child(6) {
    top: 262px;
    left: 96px;
    width: calc(100% - 192px);
    transform: rotate(-180deg);
  }

  .step-connector img {
    width: 100%;
    height: auto;
  }

  .step-icon {
    margin-bottom: 0;
  }

  .step-icon img {
    width: 96px;
    height: 96px;
  }

  .process-qrcode {
    margin-top: 0;
    text-align: center;
  }

  /* 合作模式部分 */
  .agent-modes {
    padding: 40px 0;
  }

  .modes-container {
    height: auto;
    perspective: none;
    overflow: visible;
  }

  .modes-wheel {
    position: relative;
    transform-style: flat !important;
    transform: none !important;
    transition: none;
    height: auto;
  }

  .mode-card {
    position: relative;
    transform: none !important;
    opacity: 1 !important;
    margin-bottom: 24px;
    padding: 24px;
    height: auto;
    top: auto !important;
  }

  .mode-header {
    margin-bottom: 24px;
  }

  .mode-header h3 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 12px;
  }

  .price-info p {
    font-size: 14px;
    line-height: 20px;
  }

  .mode-details {
    flex-direction: column;
    gap: 16px;
  }

  .mode-image {
    width: 100%;
  }

  .mode-list {
    gap: 12px;
  }

  .list-item p {
    font-size: 14px;
    line-height: 20px;
  }

  .wheel-indicator {
    display: none;
  }

  /* 申请表单部分 */
  .agent-apply {
    padding: 40px 0;
  }

  .apply-form {
    padding: 20px;
  }

  /* 常见问题部分 */
  .agent-faq {
    padding: 0 0 12px;
  }

  .faq-item {
    margin-bottom: 8px;
  }

  .faq-question h3 {
    font-size: 14px;
    color: #000000;
    line-height: 24px;
  }

  .faq-answer p {
    font-size: 14px;
  }
}
