/* 英文联系页：布局参考设计稿；校验条位置逻辑对齐 $.showAlertStatus（顶栏居中、定时关闭、悬停暂停） */

.en-contact-page {
  padding: 60px 0 80px;

  background: radial-gradient(
    circle at center,
    #edeaff 0%,
    #f2f4ff 70%,
    #f9eaff 100%
  );
  box-sizing: border-box;
}

.en-contact-page__shell {
  max-width: 1280px;
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
  border: none;
  box-sizing: border-box;
  padding-left: 144px;
  padding-right: 144px;
}

.en-contact-page__left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.en-contact-page__eyebrow {
  margin: 0 0 10px;
  color: #6366f1;
  font-weight: 500;
}

.en-contact-page__title {
  margin: 0 0 12px;
  color: #111827;
  letter-spacing: -0.02em;
}

.en-contact-page__desc {
  margin: 0 0 32px;
  color: #6b7280;
  line-height: 1.6;
  max-width: 420px;
}

.en-contact-page__info-title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.en-contact-page__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.en-contact-page__info-block {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.en-contact-page__info-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.en-contact-page__info-icon svg {
  display: block;
}

.en-contact-page__info-icon-img {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  object-fit: contain;
  margin-top: 2px;
}

.en-contact-page__info-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.en-contact-page__info-label {
  font-size: 14px;
  font-weight: 500;
  color: #363b45;
}

.en-contact-page__info-link {
  font-size: 14px;
  color: #2563eb;
  text-decoration: none;
  word-break: normal;
  overflow-wrap: break-word;
}

.en-contact-page__info-link:hover {
  text-decoration: underline;
}

.en-contact-page__info-muted {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}

.en-contact-page__info-address {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.55;
  word-break: normal;
  overflow-wrap: normal;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.en-contact-page__demo-bullet {
  display: flex;
  align-items: center;
}
/* 申请 Demo 左侧：卖点 + 客户背书（与联系我们「联系方式」区块区分） */
.en-contact-page__demo-bullet-icon {
  margin-right: 12px;
}

.en-contact-page__demo-bullets {
  list-style: none;
  margin: 16px 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 556px;
}

.en-contact-page__demo-bullet {
  position: relative;
  margin: 0;
  color: #5c626e;
  font-size: 16px;
  line-height: 24px;
}

.en-contact-page__demo-divider {
  border: 0;
  height: 1px;
  margin: 0 0 16px;
  background: #dcdfe6;
  width: 100%;
}

.en-contact-page__demo-proof {
}

.en-contact-page__demo-proof-desc {
  margin: 8px 0;
  font-size: 14px;
  color: #7f8694;
  line-height: 1.6;
}

.en-contact-page__demo-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  width: 100%;
}

.en-contact-page__demo-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.en-contact-page__demo-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1);
  opacity: 0.72;
  mix-blend-mode: multiply;
}

/* 右侧表单 */
.en-contact-page__right {
  min-width: 0;
  max-width: 556px;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 32px;
  /* box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06); */
}

.en-contact-page__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.en-contact-page__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.en-contact-page__req {
  color: #ef4444;
  font-weight: 600;
}
.en-contact-page__field-label {
  color: #6a6a73;
}

.en-contact-page__field input {
  width: 100%;
  border: 1px solid #d5d9e0;
  border-radius: 4px;
  height: 32px;
  padding: 8px;
  font-size: 14px;
  line-height: 1.5;
  box-sizing: border-box;
  background: #fff;
}

.en-contact-page__field input:focus,
.en-contact-page__message-wrap textarea:focus {
  outline: none;
  border-color: #a5b4fc;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.en-contact-page__field--message {
  gap: 8px;
}

.en-contact-page__message-wrap {
  position: relative;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.en-contact-page__message-wrap textarea {
  display: block;
  width: 100%;
  min-height: 168px;
  padding: 14px 14px 52px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  resize: vertical;
  box-sizing: border-box;
  font-family: inherit;
}

.en-contact-page__message-wrap textarea.is-over,
.en-contact-page__message-wrap textarea.is-invalid {
  box-shadow: inset 0 0 0 1px #fecaca;
}

.en-contact-page__upload {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.en-contact-page__upload > * {
  pointer-events: auto;
}

.en-contact-page__upload-add {
  width: 40px;
  height: 40px;
  border: 1px dashed #c4cad4;
  border-radius: 10px;
  background: #f3f4f6;
  color: #64748b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.en-contact-page__upload-add:hover:not(:disabled) {
  border-color: #6366f1;
  color: #6366f1;
  background: #eef2ff;
}

.en-contact-page__upload-add:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* 满 3 张时与中文版一致：不再展示 + 号（仅隐藏，不占交互） */
.en-contact-page__upload.is-limit .en-contact-page__upload-add {
  display: none;
}

.en-contact-page__upload-tip {
  font-size: 13px;
  color: #9ca3af;
  line-height: 40px;
}

.en-contact-page__char-count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 12px;
  color: #9ca3af;
  line-height: 40px;
  pointer-events: none;
}

.en-contact-page__char-count.is-over {
  color: #ef4444;
  font-weight: 600;
}

.en-contact-upload-item {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.en-contact-upload-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.en-contact-upload-item__remove {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.5);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  display: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.en-contact-upload-item:hover .en-contact-upload-item__remove {
  display: flex;
}

.en-contact-page__actions {
  margin-top: 8px;
}

.en-contact-page__submit {
  width: 100%;
  justify-content: center;
}

.en-contact-page__privacy {
  margin: 4px 0 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 22px;
}

.en-contact-page__privacy a {
  color: #2563eb;
  text-decoration: none;
}

.en-contact-page__privacy a:hover {
  text-decoration: underline;
}

/* 顶栏提示：位置对齐 common.less .show_tip_new（fixed + 顶 30px + 水平居中） */
.en-contact-alert {
  position: fixed;
  z-index: 99000;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
  min-width: 320px;
  max-width: min(520px, calc(100vw - 32px));
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 40px 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #4b5563;
}

.en-contact-alert--error {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #9f1239;
}

.en-contact-alert--success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.en-contact-alert--warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.en-contact-alert__status {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e11d48;
  position: relative;
}

.en-contact-alert--success .en-contact-alert__status {
  background: #22c55e;
}

.en-contact-alert--warning .en-contact-alert__status {
  background: #f59e0b;
}

.en-contact-alert__status::before,
.en-contact-alert__status::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.en-contact-alert--error .en-contact-alert__status::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.en-contact-alert--error .en-contact-alert__status::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.en-contact-alert--success .en-contact-alert__status::before {
  content: "\2713";
  left: 50%;
  top: 50%;
  width: auto;
  height: auto;
  background: none;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  transform: translate(-50%, -56%);
}

.en-contact-alert--success .en-contact-alert__status::after {
  display: none;
}

.en-contact-alert--warning .en-contact-alert__status::before {
  content: "!";
  left: 50%;
  top: 50%;
  width: auto;
  height: auto;
  background: none;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  transform: translate(-50%, -52%);
}

.en-contact-alert--warning .en-contact-alert__status::after {
  display: none;
}

.en-contact-alert__text {
  flex: 1;
  margin: 0;
  text-align: left;
  word-break: normal;
  overflow-wrap: normal;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.en-contact-alert__close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #9ca3af;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.en-contact-alert__close.is-visible {
  display: flex;
}

.en-contact-alert__close:hover {
  color: #4b5563;
  background: rgba(0, 0, 0, 0.05);
}

@media (min-width: 800px) and (max-width: 1024px) {
  .en-contact-page__demo-bullets {
    max-width: none;
  }
  .en-contact-page__shell {
    grid-template-columns: 1fr;
    padding: 0px 80px 0px;
  }
}

@media (max-width: 779px) {
  .en-contact-page__demo-logos {
    gap: 20px;
    max-width: none;
  }

  .en-contact-page__left {
    min-width: 0;
  }
  .en-contact-page__right {
    min-width: 0;
    max-width: none;
  }

  .en-contact-page__shell {
    grid-template-columns: 1fr;
    padding: 0px 20px 0px;
  }

  .en-contact-page__desc {
    max-width: none;
  }

  .en-contact-page__right {
    padding: 32px 28px;
  }

  .en-contact-page {
  }

  .en-contact-alert {
    min-width: 0;
    width: calc(100vw - 24px);
    padding-right: 36px;
  }
}
/* 提交成功弹窗（对齐中文版意见反馈成功提示交互） */
.en-contact-success-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: block;
  box-sizing: border-box;
}

.en-contact-success-modal[hidden] {
  display: none !important;
}

.en-contact-success-modal__mask {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(15, 23, 42, 0.5);
}

.en-contact-success-modal__box {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 28px 22px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  border: 1px solid #e5e7eb;
}

.en-contact-success-modal__x {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9ca3af;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.en-contact-success-modal__x:hover {
  color: #374151;
  background: #f3f4f6;
}

.en-contact-success-modal__title {
  margin: -10px 40px 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.en-contact-success-modal__body {
  text-align: center;
  color: #374151;
}

.en-contact-success-modal__headline {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  line-height: 1.45;
}

.en-contact-success-modal__text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
}

.en-contact-success-modal__countdown {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.en-contact-success-modal__sec {
  font-weight: 700;
  color: #6366f1;
}

.en-contact-success-modal__footer {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.en-contact-success-modal__btn {
  min-width: 120px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.en-contact-success-modal__btn:hover {
  border-color: #9ca3af;
  background: #f9fafb;
}
