/* ========================================================
   原生辅助与兼容样式 (custom.css)
   --------------------------------------------------------
   加载位置：每个 HTML 页面 <head> 中**前两个** <link>（umi.css 之后、
   mobile.css 之前），负责：
     · 下拉菜单 / 弹窗 Modal / Toast 等浮层组件的还原
     · iconfont.js 注入的 SVG Sprite 隐形横向溢出兜底
     · Footer 三栏列宽撑开 + 自媒体二维码区块样式

   全站生效，不依赖任何媒体查询。移动端独有规则在 mobile.css 里。
   ======================================================== */

/* 下拉菜单浮层 */
.site-dropdown-menu {
  position: fixed;
  display: none;
  background: #ffffff;
  min-width: 160px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  padding: 8px 0;
  z-index: 1050;
  border: 1px solid #f0f0f0;
  transform: translateX(-50%);
}

/* 顶部透明热区桥接，防止鼠标滑向菜单时断开 */
.site-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.site-dropdown-menu.dropdown-visible {
  display: block;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.site-dropdown-menu .dropdown-item {
  display: block;
  padding: 9px 20px;
  color: #333333;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.site-dropdown-menu .dropdown-item:hover {
  background: #f4f8ff;
  color: #1890ff;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* 弹窗遮罩层 */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1060;
  display: none;
  align-items: center;
  justify-content: center;
}

.custom-modal-dialog {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 760px;
  max-width: 90vw;
  position: relative;
  overflow: hidden;
  animation: modalZoom 0.25s ease-out;
}

@keyframes modalZoom {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 24px;
  color: #999999;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10;
}

.modal-close-btn:hover {
  color: #333333;
}

.custom-modal-body {
  display: flex;
  padding: 40px;
  align-items: center;
}

.modal-body-left {
  width: 260px;
  text-align: center;
  border-right: 1px dashed #e8e8e8;
  padding-right: 32px;
}

.modal-body-left h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1f1f1f;
  margin-bottom: 20px;
}

.modal-body-left img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 6px;
}

.modal-body-right {
  flex: 1;
  padding-left: 36px;
}

.modal-body-right h3 {
  font-size: 18px;
  color: #1f1f1f;
  margin-bottom: 16px;
  font-weight: 600;
}

.custom-form-group {
  margin-bottom: 16px;
}

.custom-form-label {
  display: block;
  font-size: 13px;
  color: #555555;
  margin-bottom: 6px;
}

.custom-form-input,
.custom-form-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
  box-sizing: border-box;
}

.custom-form-input:focus,
.custom-form-textarea:focus {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.custom-form-submit {
  width: 100%;
  background: #1890ff;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.custom-form-submit:hover {
  background: #40a9ff;
}

/* Toast 提示条 */
.site-toast {
  position: fixed;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 1080;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: top 0.3s ease-out;
  color: #ffffff;
  pointer-events: none;
}

.site-toast.toast-show {
  top: 30px;
}

.site-toast.toast-success {
  background: #52c41a;
}

.site-toast.toast-warn {
  background: #fa8c16;
}

.site-toast.toast-info {
  background: #1890ff;
}

/* 保证 Ant Design Tab 切换动画与游标位置平滑过渡 */
.ant-tabs-ink-bar {
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.ant-tabs-tab {
  cursor: pointer !important;
}

.header_tab {
  cursor: pointer;
  user-select: none;
}

.header_tab a {
  color: inherit;
  text-decoration: none;
}

/* 导航中右侧免费试用按钮光标手势 */
.header_wrap_right .ant-btn {
  cursor: pointer;
}

.btn-trigger-modal {
  cursor: pointer;
}

/* 覆盖关于我们大背景英文艺术字，替换为 ABOUT ANZHENTECH 并消除原厂水印 */
.m-about-section .about-logo {
  width: 800px;
  height: 58px;
  background: url('../image/about_anzhentech.svg') 50% no-repeat !important;
  background-size: contain !important;
}

/* ========================================================
   关键修复：iconfont.js 注入的 SVG Sprite 容器
   --------------------------------------------------------
   iconfont.js 会把 sprite <svg> 插入 body 的首个子节点，
   并设置 position:absolute; width:0; height:0; overflow:hidden。
   但容器内部的 <path class="path object"> 依旧保留 1024x1024 的
   天然尺寸，导致它们撑破视口、产生水平滚动条（移动端尤其严重）。
   这里强制把 sprite 及其所有子元素压缩为 0 并阻止溢出。
   ======================================================== */
body > svg[aria-hidden="true"][style*="position: absolute"],
body > svg[aria-hidden="true"] {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  max-width: 0 !important;
  max-height: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* 兜底：任何出现在 sprite 里的 path / symbol / use 一律不吃空间 */
body > svg[aria-hidden="true"] > symbol,
body > svg[aria-hidden="true"] path,
body > svg[aria-hidden="true"] use,
body > svg[aria-hidden="true"] g {
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
}

/* 页面里真正显示的业务图标（1em 的 <use> 图标）保持正常尺寸 */
.anticon > svg {
  width: 1em !important;
  height: 1em !important;
  max-width: 1em !important;
  max-height: 1em !important;
  overflow: visible !important;
  vertical-align: -0.125em;
}

/* ===== Footer 列宽修复 =====
   桌面布局：.official-footer 用 flex+column+align-items:center，
   .container 虽然 width:1200px，但其内部的 .ant-row 因为不是
   flex 项目（被 align-items:center 压缩），结果只跟内容一样宽，
   导致里面的 .ant-col-16 / .ant-col-6 全部挤在 ~200px 内，
   中文标题如"媒体/服务/公司"被逐字拆行。强制 footer 内所有
   .ant-row 撑满容器即可。 */
.official-footer .container > .ant-row,
.official-footer .container .ant-row {
  width: 100% !important;
}

/* ===== Footer 自媒体二维码 + 协议链接 ===== */
.official-footer .container {
  position: relative;
}

.footer-social-row {
  width: 100%;
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.social-item {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #a9a9a9;
  cursor: pointer;
  outline: none;
}

.social-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #6e6e6e;
  color: #cfcfcf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, border-color .2s, background-color .2s;
}

.social-circle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-text {
  margin-top: 6px;
  font-size: 12px;
  color: #a9a9a9;
  letter-spacing: .5px;
}

.social-item:hover .social-circle,
.social-item:focus .social-circle {
  color: #ffffff;
  border-color: #2c68ff;
  background-color: rgba(44, 104, 255, .08);
}

.social-item:hover .social-text,
.social-item:focus .social-text {
  color: #ffffff;
}

.social-qr-popup {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(6px);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  padding: 12px 12px 10px;
  width: 132px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 50;
}

.social-qr-popup::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #ffffff;
}

.social-qr-popup .qr-box {
  width: 108px;
  height: 108px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border: 1px solid #f0f0f0;
}

.social-qr-popup .qr-box canvas,
.social-qr-popup .qr-box img {
  width: 108px !important;
  height: 108px !important;
  display: block;
}

.social-qr-popup .qr-label {
  margin-top: 8px;
  font-size: 12px;
  color: #595959;
  line-height: 1.4;
}

.social-item:hover .social-qr-popup,
.social-item:focus .social-qr-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ========================================================
   下拉菜单分组标题 (产品和服务 / 解决方案 的多列分组)
   --------------------------------------------------------
   每个分组标题用一条 12px 的小标题 + 上方分割线分隔，
   强调这是一个"组"，下方紧跟该组内的若干 .dropdown-item。
   ======================================================== */
.site-dropdown-menu .dropdown-group-title {
  padding: 10px 20px 4px;
  margin-top: 4px;
  font-size: 12px;
  color: #8c8c8c;
  letter-spacing: 1px;
  border-top: 1px dashed #f0f0f0;
  cursor: default;
}

.site-dropdown-menu .dropdown-group-title:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 4px;
}

.site-dropdown-menu .dropdown-item.is-group-parent {
  font-weight: 600;
  color: #1f1f1f;
  position: relative;
}

.site-dropdown-menu .dropdown-item.is-group-parent:hover {
  color: #1890ff;
}

/* ========================================================
   色块组件 (page-hero / page-section / block-card)
   --------------------------------------------------------
   通用页面骨架：顶部 hero banner → 内容区块（含色块网格）→ CTA。
   "色块"是统一规格的圆角矩形：纯色背景 + emoji/字符 + 标题 + 描述，
   不依赖任何图片资源，可作为后续正式内容的占位。
   ======================================================== */
.page-stack {
  background: #ffffff;
}

.page-hero {
  position: relative;
  min-height: 480px;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #f0f5ff 0%, #f7fbff 50%, #e6f7ff 100%);
  border-bottom: 1px solid #f0f0f0;
  overflow: hidden;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 700;
  color: #1f1f1f;
  margin: 0 0 16px;
  letter-spacing: 0.5px;
}

.page-hero-sub {
  font-size: 16px;
  color: #595959;
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.page-hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.page-hero-link {
  font-size: 14px;
  color: #1890ff;
  text-decoration: none;
}

.page-hero-link:hover {
  text-decoration: underline;
}

.page-section {
  padding: 72px 0;
}

.page-section-alt {
  background: #fafafa;
}

.page-section-title {
  font-size: 28px;
  font-weight: 700;
  color: #1f1f1f;
  text-align: center;
  margin: 0 0 12px;
}

.page-section-desc {
  font-size: 15px;
  color: #8c8c8c;
  text-align: center;
  margin: 0 auto 40px;
  max-width: 640px;
  line-height: 1.7;
}

.block-grid {
  display: grid;
  gap: 20px;
}

.block-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.block-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.block-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.block-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e8eaed;
  color: #1f2944;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  counter-increment: card-num;
}

/* 每个 block-grid 内部从 01 开始自动编号（右上角灰色小字） */
.block-grid {
  counter-reset: card-num;
}
.block-card::after {
  content: counter(card-num, decimal-leading-zero);
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #c8ccd5;
  letter-spacing: 1.5px;
  line-height: 1;
}

/* 去掉旧版彩虹色色条 */
.block-card::before {
  display: none;
}

.block-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(31, 41, 68, 0.08);
  border-color: #1f2944;
}
.block-card:hover::after {
  color: #1f2944;
}

.block-icon {
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: transparent;
  color: #1f2944;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: none;
}
.block-card:hover .block-icon {
  transform: none;
}

/* ===== SVG 图标统一描边样式（统一深色，去掉彩虹） ===== */
.block-icon svg {
  width: 26px;
  height: 26px;
  display: block;
  stroke: #1f2944;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.block-title {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 12px;
  color: #1f2944;
  letter-spacing: 0.2px;
  line-height: 1.4;
}

.block-desc {
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.75;
  margin: 0 0 16px;
}

.block-tag {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #1f2944;
  letter-spacing: 0.3px;
  transition: gap 0.22s ease, color 0.22s ease;
}

.block-card:hover .block-tag {
  color: #2c68ff;
  gap: 8px;
}

.block-tag::after {
  content: "→";
  font-size: 16px;
  line-height: 1;
  margin-top: -2px;
  transition: transform 0.22s ease;
}

.block-card:hover .block-tag {
  gap: 8px;
}

.block-card:hover .block-tag::after {
  transform: translateX(2px);
}

.block-step {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: #8c8c8c;
  margin-bottom: 12px;
}

/* 场景标签 chips（仅主推大卡 c1 使用）：白色圆角小标签 + 主色淡描边 */
.block-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.block-chip {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  color: #2c68ff;
  background: #ffffff;
  border: 1px solid #d9e8ff;
  border-radius: 6px;
  letter-spacing: 0.2px;
}

/* ========== Hero 区：标题/按钮层级高于 3D 圆环主视觉 ==========
   umi.css 中 .indexbanner_wrap_main_img_roate 设了 z-index:3 盖住了副标题右侧文字，
   把标题/按钮层级提高到 5，确保不被遮挡。 */
.indexbanner_wrap_area {
  z-index: 5 !important;
  width: 700px;
}

/* ========== "AI 落地全流程服务" 区段 ==========
   覆盖老样式：流程图改横向数字步骤条 + 卡片去掉背景图改为白底卡片 */

/* 副标题 */
.suc_content_wrap_subtitle {
  margin-top: 12px;
  font-size: 16px;
  color: #787878;
  line-height: 24px;
  text-align: center;
}

/* 步骤条容器：8 个圆 + 7 个箭头 */
.suc_stepbar {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 0 8px;
}

.suc_step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: transparent;
  cursor: pointer;
  flex: 1 1 0;
  min-width: 0;
}

.suc_step_circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #d9e8ff;
  color: #2c68ff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.5px;
  transition: all 0.28s ease;
  box-shadow: 0 4px 12px rgba(44, 104, 255, 0.06);
}

.suc_step_circle .suc_step_name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2c68ff;
  line-height: 1.25;
}

.suc_step_circle_finish {
  background: linear-gradient(135deg, #2c68ff 0%, #5b8aff 100%);
  border-color: #2c68ff;
  box-shadow: 0 8px 20px rgba(44, 104, 255, 0.30);
}
.suc_step_circle_finish .suc_step_name {
  color: #ffffff;
}

.suc_step_desc {
  font-size: 13px;
  color: #787878;
  text-align: center;
  line-height: 1.5;
  transition: color 0.25s ease;
}

.suc_step_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  height: 72px;
  font-size: 28px;
  font-weight: 300;
  color: #d9e8ff;
  flex: 0 0 auto;
  padding: 0 2px;
  line-height: 1;
}

.suc_step:hover .suc_step_circle {
  background: #2c68ff;
  border-color: #2c68ff;
  box-shadow: 0 12px 28px rgba(44, 104, 255, 0.30);
  transform: translateY(-4px);
}
.suc_step:hover .suc_step_circle .suc_step_name {
  color: #ffffff;
}
.suc_step:hover .suc_step_desc {
  color: #2c68ff;
}

/* 底部两张卡片：白底 + 左侧蓝色大色块图标 + 右侧内容 */
#section-customer .suc_content_wrap_content_box {
  width: calc(50% - 14px);
  height: auto;
  min-height: 200px;
  background: #ffffff;
  background-image: none !important;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 0;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

#section-customer .suc_content_wrap_content_box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(44, 104, 255, 0.12);
  border-color: #d9e8ff;
}

/* 覆盖老 tip 样式 */
#section-customer .suc_content_wrap_content_box .suc_content_wrap_content_box_tip {
  display: none;
}

/* 左侧蓝色大色块（装图标） */
.suc_box_icon {
  flex: 0 0 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f4f8ff 0%, #e9f1ff 100%);
  border-right: 1px solid #e8e8e8;
  color: #2c68ff;
}

.suc_box_icon svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 右侧内容区 */
.suc_box_body {
  flex: 1;
  padding: 32px 32px 28px 28px;
  display: flex;
  flex-direction: column;
}

.suc_box_area {
  width: 100%;
  height: auto;
  padding: 0;
  display: block;
}

.suc_box_area_title {
  font-size: 22px;
  font-weight: 600;
  color: #1f1f1f;
  line-height: 30px;
  margin-bottom: 10px;
}

.suc_box_area_desc {
  font-size: 14px;
  color: #595959;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* 角色 tags：水平排列的小标签（白色 + 主色淡描边） */
.suc_box_area_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.suc_box_area_wrap div {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  color: #2c68ff;
  background: #f4f8ff;
  border: 1px solid #d9e8ff;
  border-radius: 6px;
  margin: 0 !important;
  line-height: 1.6;
}

/* 覆盖老umi.css 的 .suc_content_wrap_content 横向布局：让两张卡用 gap 分隔 */
#section-customer .suc_content_wrap_content {
  margin-top: 32px;
  gap: 28px;
  display: flex;
  align-items: stretch;
}

/* 旧版 8 色主色调已废弃，全部统一为深色商务风，不再生效（保留占位防止引用报错） */
.block-card-c1, .block-card-c2, .block-card-c3, .block-card-c4,
.block-card-c5, .block-card-c6, .block-card-c7, .block-card-c8 {
  --card-accent: transparent;
  --card-accent-bg: transparent;
}

.page-cta {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(120, 180, 255, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 15% 80%, rgba(180, 130, 255, 0.25) 0%, transparent 50%),
    linear-gradient(135deg, #f5f8ff 0%, #eef3ff 50%, #f0eaff 100%);
  color: #1f2944;
  overflow: hidden;
}

.page-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(44, 104, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 104, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.page-cta .container {
  position: relative;
  z-index: 1;
}

.page-cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 14px;
  color: #1f2944;
  letter-spacing: 0.5px;
}

.page-cta p {
  font-size: 15px;
  margin: 0 0 32px;
  color: #5a6478;
}

.page-cta .ant-btn-primary {
  background: linear-gradient(135deg, #2c68ff 0%, #548aff 100%);
  border-color: #2c68ff;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(44, 104, 255, 0.35);
  height: 46px;
  padding: 0 32px;
  font-size: 15px;
  border-radius: 23px;
}

.page-cta .ant-btn-primary:hover {
  background: linear-gradient(135deg, #1a4ad9 0%, #2c68ff 100%);
  border-color: #1a4ad9;
  box-shadow: 0 8px 24px rgba(44, 104, 255, 0.45);
  transform: translateY(-1px);
}

/* ========== 解决方案页底部 .customization 咨询区 ==========
   覆盖 umi.css 的深蓝色 + 人物图背景，改用浅蓝紫渐变 + 几何装饰，保持与 .page-cta 风格一致 */
.customization {
  position: relative;
  height: auto !important;
  min-height: 220px;
  padding: 64px 24px 60px !important;
  background:
    radial-gradient(circle at 85% 25%, rgba(120, 180, 255, 0.30) 0%, transparent 55%),
    radial-gradient(circle at 12% 80%, rgba(167, 139, 250, 0.22) 0%, transparent 55%),
    linear-gradient(135deg, #f5f8ff 0%, #eef3ff 50%, #f0eaff 100%) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
}

.customization::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(44, 104, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 104, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.customization::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 8%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(44, 104, 255, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.customization > * {
  position: relative;
  z-index: 1;
}

.customization p {
  margin: 0 0 14px !important;
  font-size: 16px !important;
  color: #5a6478 !important;
  font-weight: 400 !important;
  letter-spacing: 0.3px;
}

.customization h1 {
  margin: 0 0 32px !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  color: #1f2944 !important;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.customization .ant-btn-primary {
  background: linear-gradient(135deg, #2c68ff 0%, #548aff 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(44, 104, 255, 0.32);
  transition: all 0.25s ease;
}

.customization .ant-btn-primary:hover {
  background: linear-gradient(135deg, #1a4ad9 0%, #2c68ff 100%) !important;
  box-shadow: 0 8px 24px rgba(44, 104, 255, 0.42);
  transform: translateY(-1px);
}

/* ========== 首页 "AI 产品矩阵" 区段 ========== */
.top_content_ai_blocks {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 24px;
}

.top-ai-grid {
  margin-bottom: 24px;
}

.top-ai-line {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 22px;
  min-height: 180px;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-ai-line:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(44, 104, 255, 0.12);
}

.top-ai-line-head {
  flex: 1;
}

.top-ai-line-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #2c68ff;
}

.top-ai-line-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-ai-line-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 6px;
}

.top-ai-line-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #4b5563;
}

.top-ai-line-foot {
  margin-top: 14px;
}

.top-ai-line-link {
  font-size: 13px;
  color: #2c68ff;
  text-decoration: none;
  font-weight: 500;
}

.top-ai-line-link:hover {
  text-decoration: underline;
}

.top-ai-subgrid {
  margin-top: 0;
}

/* 右侧 fixed 浮动条：默认显示图标，悬停或键盘聚焦时完整展开。 */
.index_righttips {
  width: 52px !important;
  bottom: 24px !important;
  right: 20px !important;
  overflow: hidden;
  border-radius: 24px !important;
  box-shadow: 0 6px 22px rgba(24, 39, 75, 0.12);
  transition: width 0.24s ease, box-shadow 0.24s ease;
}
.index_righttips:hover,
.index_righttips:focus-within {
  width: 144px !important;
  box-shadow: 0 10px 28px rgba(24, 39, 75, 0.18) !important;
}
.index_righttips .righttips_box_text {
  font-size: 12px !important;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.18s ease;
}
.index_righttips:hover .righttips_box_text,
.index_righttips:focus-within .righttips_box_text {
  opacity: 1;
}
.index_righttips .righttips_box_img {
  width: 30px !important;
  height: 30px !important;
}

/* "获取定制方案"按钮：方案区段内 z-index 高于 fixed 浮动条，避免被遮挡 */
#section-solutions .ant-btn-primary.btn-trigger-modal {
  position: relative;
  z-index: 110;
}

/* ========== 首页 "7 大 AI 解决方案" 区段 ==========
   7 张卡 = 1 主推大卡（跨 2 行）+ 6 小卡（3+3 排布在右侧 3 列）。
   4 列网格：第 1 列 2fr（占大卡），第 2-4 列各 1fr（6 个小卡分两行）。 */
#section-solutions .block-grid-4 {
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  margin-top: 56px;
}

/* 解决 c1 跨 2 行后高度超过原 930px 的问题，让区段自然撑高 */
#section-solutions.numtab_content {
  height: auto;
  min-height: 930px;
  padding-bottom: 80px;
}

#section-solutions .numtab_wrap_title_second {
  margin-bottom: 0;
}

#section-solutions .block-card:nth-child(1) {
  grid-row: 1 / 3;
}

/* 主推大卡：加大视觉权重，柔和浅蓝底 + 加大标题字号 */
#section-solutions .block-card:nth-child(1) {
  background: linear-gradient(135deg, #fafbfd 0%, #f4f7fb 100%);
  border-color: #e1e7ef;
  padding: 36px 32px 32px;
}
#section-solutions .block-card:nth-child(1) .block-title {
  font-size: 22px;
  margin-bottom: 14px;
}
#section-solutions .block-card:nth-child(1) .block-desc {
  font-size: 14.5px;
  line-height: 1.85;
  margin-bottom: 18px;
}
#section-solutions .block-card:nth-child(1) .block-tag {
  padding-top: 22px;
  font-size: 14px;
}

/* 主推大卡内的动态插图（仅 c1 显示） */
.block-card-illu {
  margin: 6px 0 14px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(44, 104, 255, 0.08);
}
.block-card-illu img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* 主推标签徽章（仅 c1 显示） */
#section-solutions .block-card:nth-child(1)::after {
  content: "客户首选 · 销量 TOP 1";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #2c68ff;
  background: #ffffff;
  border: 1px solid #d9e8ff;
  border-radius: 12px;
  letter-spacing: 0.3px;
}

/* 中等桌面宽度下改为三列，保持标题可读并避免四列卡片过窄。 */
@media (min-width: 769px) and (max-width: 1180px) {
  #section-solutions .block-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 16px;
    margin-top: 40px;
  }
  #section-solutions .block-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  #section-solutions .block-card:not(:first-child) {
    padding: 24px 22px 22px;
  }
}

/* 移动端抽屉：二级菜单内的子项 */
.drawer-sub-menu {
  display: none;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.drawer-sub-menu.sub-open {
  display: block;
}

.drawer-sub-item {
  display: block;
  padding: 10px 16px 10px 32px;
  font-size: 13px;
  color: #595959;
  text-decoration: none;
  border-top: 1px solid #f0f0f0;
}

.drawer-sub-item:hover {
  color: #1890ff;
  background: #f4f8ff;
}

/* 关于安贞特：价值观 4 列静态展示（覆盖原 hover 展开） */
.m-about-section-value-container {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px;
}

.m-about-section-value-tab {
  width: 100% !important;
  height: auto !important;
  min-height: 180px;
  position: relative !important;
  cursor: default;
  background: #fff !important;
  background-image: none !important;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 24px;
  transition: box-shadow .3s ease, transform .3s ease !important;
}

.m-about-section-value-tab:hover {
  height: auto !important;
  box-shadow: 0 10px 24px rgba(44, 104, 255, 0.15) !important;
  transform: translateY(-3px);
}

.m-about-section-value-tab .icon-value {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  font-size: 20px !important;
  font-weight: 600;
  color: #2c68ff !important;
  margin-bottom: 16px;
  text-align: left;
}

.m-about-section-value-tab .tab-list {
  position: static !important;
  top: auto !important;
  left: auto !important;
  opacity: 1 !important;
  font-size: 14px !important;
  color: #666 !important;
  line-height: 24px;
}

/* 关于安贞特：图片改 SVG 后，原 .m-about-section-img:after 蓝幕伪元素会遮挡内容，禁用 */
.m-about-section-img:after {
  display: none !important;
}

/* 关于安贞特：图片 SVG 不受 .m-about-section-img img z-index 影响，确保 svg 可见 */
.m-about-section-img svg {
  position: relative;
  z-index: 101;
}

/* 通用页面宽度：所有页面主体的 .container 限制到 1200px 居中（hero/fullwidth 背景可仍占满） */
.page-stack .container,
.page-section .container,
.page-cta .container {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* 防止 block-card 内 SVG / 长文本撑大 grid */
.block-card {
  min-width: 0;
  word-break: break-word;
}

.block-grid {
  max-width: 100%;
}

.block-icon svg {
  max-width: 100%;
}

/* ========== 右侧悬浮"回到顶部"按钮 ==========
   与 .righttips_box 系列按钮风格保持一致：
   - 44px 圆角胶囊容器（鼠标悬停整条展开至 72px）
   - 默认只显示图标，悬停展开文字
   - 默认隐藏，滚动 300px 后由 main.js 控制显示 */
.ant-back-top {
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #ffffff;
  color: #2c68ff;
  border-top: 1px solid #f0f0f0;
  transition: background 0.2s ease, color 0.2s ease;
  position: relative;
  user-select: none;
}
.ant-back-top:hover {
  background: #2c68ff;
  color: #ffffff;
}
.ant-back-top .righttips_box_text {
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.index_righttips:hover .ant-back-top .righttips_box_text {
  opacity: 1;
}
.ant-back-top .back-top-icon {
  width: 20px;
  height: 20px;
  display: block;
}
.ant-back-top .back-top-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
