@font-face {
  font-family: "AlibabaPuHuiTi";
  src: url("https://file.it-simple.cn/fonts/AlibabaPuHuiTi/AlibabaPuHuiTi-2-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AlibabaPuHuiTi";
  src: url("https://file.it-simple.cn/fonts/AlibabaPuHuiTi/AlibabaPuHuiTi-2-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AlibabaPuHuiTi";
  src: url("https://file.it-simple.cn/fonts/AlibabaPuHuiTi/AlibabaPuHuiTi-2-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AlibabaPuHuiTi";
  src: url("https://file.it-simple.cn/fonts/AlibabaPuHuiTi/AlibabaPuHuiTi-2-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space_Grotesk";
  src: url("https://file.it-simple.cn/fonts/Space_Grotesk/SpaceGrotesk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space_Grotesk";
  src: url("https://file.it-simple.cn/fonts/Space_Grotesk/SpaceGrotesk-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space_Grotesk";
  src: url("https://file.it-simple.cn/fonts/Space_Grotesk/SpaceGrotesk-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space_Grotesk";
  src: url("https://file.it-simple.cn/fonts/Space_Grotesk/SpaceGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space_Grotesk";
  src: url("https://file.it-simple.cn/fonts/Space_Grotesk/SpaceGrotesk-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
/**
 * ⚠️  全站 reset 已迁入 src/tailwind.css @layer base —— 本文件不再写 type-selector reset
 * 本文件仅保留：@font-face、过渡期 hook class（`.containers .flex-row .flex-between .flex-center .align-center .flex-item .flex-wrap`）、富文本样式 .editor-content、二维码弹层 .sm-qr-modal。
 * 待全部页面 utility-first 重写完成后，过渡期 hook class 区段可一并删除。
 *
 * 🔴 新代码禁止使用过渡期 hook class——一律使用 Tailwind utility 或 .simaicong-container。
 */

/* ============================================================================
 * 过渡期 hook class（保留至所有业务模板 utility-first 重写完成）
 *
 * .containers 别名为 .simaicong-container 同样视觉（1440 max + auto + 双轨 padding），
 * 让仍在使用 .containers 的旧模板（page-home/page-solution 等）自动获得新容器行为。
 * ========================================================================= */

.containers {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 1024px) {
  .containers {
    padding-inline: 60px;
  }
}

.flex-item    { flex: 1; }
.flex-row     { display: flex; flex-direction: row; }
.flex-between { display: flex; justify-content: space-between; }
.flex-center  { justify-content: center; }
.flex-wrap    { flex-wrap: wrap; }
.align-center { align-items: center; }

.default-btn {
  border: 1px solid #fabb28;
  border-radius: 4px;
  color: #fabb28;
  text-align: center;
  font-weight: 400;
}

.primary-btn {
  border: 1px solid #fabb28;
  background-color: #fabb28;
  border-radius: 4px;
  color: #000000;
  text-align: center;
  font-weight: 400;
}

.general-margin-top { margin-top: 20px; }

.swiperLine {
  width: 40px !important;
  height: 6px !important;
  border-radius: 0 !important;
}
.swiperLine.swiper-pagination-bullet {
  background: rgba(0, 0, 0, 0.1);
}
.swiperLine.swiper-pagination-bullet-active {
  background: #5400e2;
}

.editor-content {
  position: relative;
}
.editor-content img {
  max-width: 100%;
  margin: 0 auto;
}
.editor-content blockquote {
  margin: 30px 30px;
  padding: 0 15px;
  font-style: italic;
  border-left: 5px solid #ccc !important;
  color: #495057 !important;
}
.editor-content .image {
  margin: 0 auto;
  text-align: left;
  margin-bottom: 15px;
  max-width: 100%;
}
.editor-content .image figcaption {
  font-weight: 400;
  font-size: 16px;
  line-height: 170%;
  padding-top: 15px;
  /* or 27px */
  text-transform: uppercase;
  color: #808080;
}
.editor-content hr {
  height: 1px !important;
  margin: 40px 0 !important;
  background: #dde2e5;
  opacity: 1;
}
.editor-content h2 {
  color: #212429;
  font-weight: 500 !important;
  font-size: 24px;
  line-height: 120%;
}
.editor-content h2 strong {
  font-weight: 500 !important;
}
.editor-content h3 {
  margin: 26px 0;
  color: #212429;
  font-weight: 500 !important;
  font-size: 20px;
  line-height: 120%;
}
.editor-content h3 strong {
  font-weight: 500 !important;
}
.editor-content h4 {
  margin-bottom: 16px;
  color: #212429;
  font-weight: 500 !important;
  font-size: 18px;
  line-height: 120%;
}
.editor-content h4 strong {
  font-weight: 500 !important;
}
.editor-content ul li {
  color: #000;
  font-size: 16px;
  line-height: 22px;
  list-style-type: disc;
  margin-bottom: 8px;
  font-weight: 500 !important;
}
.editor-content p {
  color: #9a9ba5;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  text-align: justify;
  margin-bottom: 24px;
}
.editor-content p strong {
  color: #000;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500 !important;
}

/* 联系表单 — 提交反馈消息 */
.sm-contact__msg {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
  color: #9a9ba5;
  min-height: 20px;
}
.sm-contact__msg.is-error {
  color: #d92d20;
}

/* 联系表单 — 提交成功后的二维码弹层 */
.sm-qr-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.sm-qr-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.sm-qr-modal__dialog {
  position: relative;
  background: #fff;
  width: 360px;
  max-width: 90vw;
  border-radius: 16px;
  padding: 32px 24px 28px;
  text-align: center;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
}
.sm-qr-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #9a9ba5;
  cursor: pointer;
}
.sm-qr-modal__close:hover {
  color: #000;
}
.sm-qr-modal__title {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  line-height: 28px;
  margin-bottom: 18px;
}
.sm-qr-modal__img {
  width: 200px;
  height: 200px;
  margin: 0 auto 14px;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f7;
}
.sm-qr-modal__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.sm-qr-modal__desc {
  font-size: 14px;
  color: #444;
  line-height: 20px;
}
@media (max-width: 768px) {
  .sm-qr-modal__dialog {
    width: 88vw;
    padding: 28px 20px 24px;
  }
  .sm-qr-modal__img {
    width: 180px;
    height: 180px;
  }
}

/* 联系页：用户表单区域（contact_page，复用产品页表单类名） */
.contactPage .userContactPage {
  margin-top: 40px;
}
.contactPage .userContactPage .contactFromBox .userFormBox {
  width: 584px;
  max-width: 100%;
  position: relative;
}
.contactPage .userContactPage .contactFromBox .userFormBox .small {
  width: 280px;
}
.contactPage .userContactPage .contactFromBox .userFormBox .small + .small {
  margin-left: 24px;
}
.contactPage .userContactPage .contactFromBox .userFormBox .big {
  width: 584px;
  max-width: 100%;
}
.contactPage .userContactPage .contactFromBox .userFormBox .inputBox {
  height: 72px;
  margin-bottom: 14px;
  padding: 15px 16px;
  border-radius: 10px;
  box-sizing: border-box;
  border: 0.5px solid #d2d3d4;
  background: #fff;
}
.contactPage .userContactPage .contactFromBox .userFormBox .inputBox:focus-within {
  border: 2px solid #5400e2;
  background: rgba(84, 0, 226, 0.05);
}
.contactPage .userContactPage .contactFromBox .userFormBox .inputBox .inputTitle {
  color: #9a9ba5;
  font-size: 13px;
  line-height: 18px;
}
.contactPage .userContactPage .contactFromBox .userFormBox .inputBox .defaultInput {
  width: 100%;
  font-size: 15px;
  border: 0;
  margin-top: 3px;
  background: transparent;
  outline: none;
}
.contactPage .userContactPage .contactFromBox .userFormBox .btn {
  width: 100%;
  height: 56px;
  margin-top: 18px;
  border-radius: 10px;
  border: 0;
  background: #5400e2;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}
.contactPage .userContactPage .contactFromBox .userFormBox .btn:hover {
  background: #3f00aa;
}
.contactPage .userContactPage .contactFromBox .userFormBox .btn[disabled] {
  background: #9a9ba5;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  .contactPage .userContactPage .contactFromBox .userFormBox,
  .contactPage .userContactPage .contactFromBox .userFormBox .big {
    width: 100%;
  }
  .contactPage .userContactPage .contactFromBox .userFormBox .small {
    width: calc(50% - 7px);
  }
  .contactPage .userContactPage .contactFromBox .userFormBox .small + .small {
    margin-left: 14px;
  }
}
