/* Card Steps Container - 三列平铺布局 */
.card-steps-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 100%;
  margin: 0 auto;
}

/* 每个步骤卡片 */
.card-step-item {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.04);
}

/* 步骤标题区域 */
.card-step-header {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-step-badge {
  background: #4E42C2;
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
}

.card-step-optional {
  color: #666;
  font-size: 14px;
}

/* 内容区域 */
.card-step-content {
  flex-grow: 1;
}

.card-step-title {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.card-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-step-list li {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 12px;
  padding-left: 16px;
  position: relative;
}

.card-step-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #4E42C2;
  font-weight: bold;
}

/* 图片区域 */
.card-step-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}

.card-step-image img {
  max-width: 100%;
  height: auto;
  display: block;
  max-height: 500px;
  object-fit: contain;
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
  .card-steps-container {
    gap: 20px;
    padding: 30px 15px;
  }

  .card-step-item {
    padding: 24px 20px;
  }

  .card-step-image img {
    max-height: 400px;
  }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
  .card-steps-container {
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px;
  }

  .card-step-item {
    padding: 24px 20px;
  }

  .card-step-badge {
    padding: 6px 16px;
    font-size: 14px;
  }

  .card-step-title,
  .card-step-list li {
    font-size: 14px;
  }

  .card-step-image {
    padding: 16px;
  }

  .card-step-image img {
    max-height: 450px;
  }
}

/* 小屏手机优化 */
@media (max-width: 575.98px) {
  .card-steps-container {
    padding: 20px 12px;
    gap: 20px;
  }

  .card-step-item {
    padding: 20px 16px;
  }

  .card-step-content {
    margin-bottom: 20px;
  }
}

/* 修复 remittance-check 在 1099px 以下的布局 - 改为垂直排列 */
@media (max-width: 1099px) {
  .remittance-head-content .remittance-check {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  html[lang="zh"] .remittance-head-content .remittance-check p,
  html[lang="cn"] .remittance-head-content .remittance-check p,
  html[lang="en"] .remittance-head-content .remittance-check p {
    width: 100% !important;
    margin-bottom: 12px;
  }

  .remittance-head-content .remittance-check-offset {
    margin-left: 0 !important;
  }
}

/* 修复 576px - 1099px 范围内按钮与下方模块的间距 */
@media (min-width: 576px) and (max-width: 1099px) {
  .section-remittance .payment-connect-a {
    margin-bottom: 40px;
  }
  
  /* 或者给下方的图标区域添加上边距 */
  .section-remittance + .remittance-icon-section {
    margin-top: 40px;
  }
}

@media (max-width: 575.98px) {
  /* 标题样式 - 紫色 */
  html[lang="en"] .remittance-head-content .remittance-head-title {
    font-size: 36px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #4E42C2 !important;
    margin-bottom: 16px !important;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal !important;
    text-align: left !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  html[lang="en"] .remittance-head-content .remittance-head-title .remittance-blue {
    color: #4E42C2 !important;
    white-space :normal !important;
  }

  /* 副标题样式 - 黑色 */
  html[lang="en"] .remittance-head-content .remittance-head-subtitle {
    font-size: 20px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    color: #000 !important;
    margin-bottom: 24px !important;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal !important;
  }

  /* 4个特性列表 - 完全垂直排列 */
  html[lang="en"] .remittance-head-content .remittance-check {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100%;
  }

  html[lang="en"] .remittance-head-content .remittance-check p {
    width: 100% !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: flex-start !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    color: #000 !important;
  }

  html[lang="en"] .remittance-head-content .remittance-check p:last-child {
    margin-bottom: 24px !important;
  }

  html[lang="en"] .remittance-head-content .remittance-check p img {
    flex-shrink: 0;
    margin-right: 12px;
    margin-top: 2px;
  }

  html[lang="en"] .remittance-head-content .remittance-check p span {
    flex: 1;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    text-align: left;
    display: block;
  }

  html[lang="en"] .remittance-head-content .remittance-check-offset {
    margin-left: 0 !important;
  }


}

