:root {
  --page-bg: #ffffff;
  --ink: #1c2440;
  --ink-soft: #6f7996;
  --accent: #2ba0e8;
  --panel-shadow: 0 20px 50px rgba(15, 33, 76, 0.12);
  --container: 1510px;
  --header-height: 108px;
  --header-logo-height: 56px;
  --header-nav-font-size: 18px;
  --header-nav-item-width: 120px;
}

html,
body {
  margin: 0;
  min-width: 320px;
  background: var(--page-bg) !important;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

html.jz_full_screen_scrolling,
html.jz_full_screen_scrolling body {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

/* Recover content when source markup nests #jzPreviewArea inside hidden mobi alert wrapper */
#jzRoot .jz_edit_container > #jzPreviewWrap > .mobi_setting_tips {
  display: block !important;
  position: static !important;
  width: 100% !important;
  min-height: 1px !important;
}

#jzRoot .jz_edit_container > #jzPreviewWrap > .mobi_setting_tips > .jz_alert_content {
  display: none !important;
}

#jzRoot #jzPreviewArea,
#jzRoot #jzPreviewContent,
#jzRoot #jz_web,
#jzRoot #jzWebContainer,
#jzRoot #jzWebContainer .jz_web_content {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 1px !important;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

#gridHeader,
#gridFooter,
.s_spserv__wrap,
#jzBackTopCompon,
.jz_tool_container,
.jz_mobi_designer_btn_list,
.jz_svg_animation,
#hoverToolAreaLayout,
.hover_tool_area_layout {
  display: none !important;
}

/* Hide builder/edit overlays to match published page */
.inner_feature_wrap,
.feature_project_resize_wrap,
.project_handler_line,
.project_handler_btn,
.project_handler_right_bottom_btn,
.row_handler_line,
.f_row_padding_resizor,
.jz_tooltip,
.jz_drag_module,
.jz_project_operation {
  display: none !important;
}

#jzRoot,
.jz_root,
.jz_web_container,
.jz_web_container_main {
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
}

#jzRoot > .jz_edit_container {
  top: 0 !important;
}

.fai-dnd-drop-preview-default-class,
.fai-dnd-drop-preview-constant-class {
  display: none !important;
}

.offline-header-inner,
.offline-footer-inner {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}

.offline-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 12px rgba(15, 33, 76, 0.06);
}

.offline-header-inner {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  gap: 28px;
}

.offline-brand {
  flex: 0 0 auto;
}

.offline-brand-logo {
  width: auto;
  height: var(--header-logo-height);
  object-fit: contain;
  object-position: left center;
}

.offline-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.offline-nav-toggle span,
.offline-nav-toggle::before,
.offline-nav-toggle::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.offline-site-header.is-open .offline-nav-toggle span {
  opacity: 0;
}

.offline-site-header.is-open .offline-nav-toggle::before {
  transform: translateY(7px) rotate(45deg);
}

.offline-site-header.is-open .offline-nav-toggle::after {
  transform: translateY(-7px) rotate(-45deg);
}

.offline-site-nav {
  flex: 1 1 auto;
}

.offline-site-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.offline-site-nav-item {
  position: relative;
}

.offline-site-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: var(--header-nav-item-width);
  min-width: var(--header-nav-item-width);
  min-height: var(--header-height);
  padding: 0 8px;
  font-size: var(--header-nav-font-size);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #1f2742;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

/* Force the subpage header metrics to be exactly the same as homepage */
.offline-site-header .offline-header-inner {
  min-height: var(--header-height) !important;
}

.offline-site-header .offline-brand-logo {
  height: var(--header-logo-height) !important;
}

.offline-site-header .offline-site-nav-link {
  width: var(--header-nav-item-width) !important;
  min-width: var(--header-nav-item-width) !important;
  min-height: var(--header-height) !important;
  font-size: var(--header-nav-font-size) !important;
}

.offline-site-nav-item.is-active > .offline-site-nav-link,
.offline-site-nav-link:hover {
  color: var(--accent);
  text-shadow: 0 0 14px rgba(43, 160, 232, 0.2);
}

.offline-site-nav-item.is-active > .offline-site-nav-link::after,
.offline-site-nav-link:hover::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: var(--accent);
}

.offline-site-nav-submenu {
  position: absolute;
  left: 50%;
  top: calc(100% - 10px);
  transform: translateX(-50%) translateY(12px);
  min-width: 240px;
  padding: 14px 12px;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(32, 45, 86, 0.08);
  box-shadow: 0 18px 42px rgba(15, 33, 76, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.offline-site-nav-item:hover .offline-site-nav-submenu,
.offline-site-nav-item:focus-within .offline-site-nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.offline-site-nav-submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 15px;
  color: #51607f;
}

.offline-site-nav-submenu a:hover {
  color: var(--accent);
  background: rgba(43, 160, 232, 0.08);
}

body.offline-product-page .jz_web_row_line--full {
  display: block !important;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
}

body.offline-product-page .jz_web_row_line--full > .jz_web_row,
body.offline-product-page .jz_web_row__content--full {
  height: auto !important;
  min-height: auto !important;
}

.offline-footer {
  margin-top: 48px;
  padding: 50px 0 0;
  background: linear-gradient(90deg, #16191f 0%, #111317 100%);
  color: #e9eef8;
}

.offline-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.offline-footer-main {
  flex: 1 1 auto;
  min-width: 0;
}

.offline-footer-link-groups {
  display: flex;
  align-items: flex-start;
  gap: 72px;
}

.offline-footer-column a,
.offline-footer-contact {
  color: rgba(233, 238, 248, 0.85);
  font-size: 14px;
  line-height: 2;
  text-decoration: none;
}

.offline-footer-column h4 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #ffffff;
  font-weight: 500;
}

.offline-footer-column a {
  display: block;
  margin-bottom: 2px;
}

.offline-footer-contact {
  margin-top: 22px;
  line-height: 1.7;
}

.offline-footer-qrcode {
  flex: 0 0 170px;
  text-align: center;
}

.offline-footer-qrcode h4 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
}

.offline-footer-qrcode img {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  padding: 6px;
  background: #ffffff;
}

.offline-footer-bottom {
  width: 100%;
  margin: 24px 0 0;
  padding: 18px 16px 10px;
  text-align: center;
  font-size: 13px;
  color: rgba(233, 238, 248, 0.62);
}

.floating-tools {
  position: fixed;
  right: 34px;
  top: 470px;
  z-index: 35;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tool-item {
  position: relative;
}

.tool-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  color: #666f84;
  box-shadow: 0 12px 26px rgba(13, 20, 55, 0.18);
}

.tool-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-panel {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  min-width: 220px;
  padding: 14px 16px;
  transform: translateY(-50%);
  background: rgba(18, 24, 45, 0.94);
  color: #ffffff;
  box-shadow: var(--panel-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.tool-item:hover .tool-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(-4px);
}

.tool-panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.tool-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.7;
}

.tool-panel img {
  width: 132px;
  margin-top: 10px;
  padding: 8px;
  background: #ffffff;
}

#jzWebContainer.jz_col_112 #row342 .jz_web_col[style*="box-shadow"],
#jzWebContainer.jz_col_112 #row542 .jz_web_col[style*="box-shadow"],
#jzWebContainer.jz_col_112 #row544 .jz_web_col[style*="box-shadow"] {
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15), 0 6px 12px -8px rgba(0, 0, 0, 0.15) !important;
}

#jzWebContainer.jz_col_111 #row315 .jz_web_col[style*="box-shadow"],
#jzWebContainer.jz_col_111 #row318 .jz_web_col[style*="box-shadow"],
#jzWebContainer.jz_col_111 #row533 .jz_web_col[style*="box-shadow"] {
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15), 0 6px 12px -8px rgba(0, 0, 0, 0.15) !important;
}

/* col-112: align paired image bottoms in two-row comparison sections */
#jzWebContainer.jz_col_112 #row542 .jz_web_col0 > .web_col_content,
#jzWebContainer.jz_col_112 #row542 .jz_web_col1 > .web_col_content,
#jzWebContainer.jz_col_112 #row544 .jz_web_col0 > .web_col_content,
#jzWebContainer.jz_col_112 #row544 .jz_web_col1 > .web_col_content {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

/* row 542 text blocks: keep same text-area height for visual alignment */
#jzWebContainer.jz_col_112 #module1064,
#jzWebContainer.jz_col_112 #module1070 {
  min-height: 176px;
  margin-top: 72px !important;
  margin-bottom: 20px !important;
}

#jzWebContainer.jz_col_112 #module1061,
#jzWebContainer.jz_col_112 #module1069,
#jzWebContainer.jz_col_112 #module1072,
#jzWebContainer.jz_col_112 #module1074 {
  width: 100% !important;
  height: auto !important;
  margin: 24px 0 0 0 !important;
  align-self: stretch !important;
}

/* col-112: keep a clear visual gap between text block and image block */
#jzWebContainer.jz_col_112 #module1061 .module_content,
#jzWebContainer.jz_col_112 #module1069 .module_content,
#jzWebContainer.jz_col_112 #module1072 .module_content,
#jzWebContainer.jz_col_112 #module1074 .module_content {
  box-sizing: border-box;
  padding: 14px 28px 0 !important;
}

@media (max-width: 1400px) {
  #jzWebContainer.jz_col_112 #module1061 .module_content,
  #jzWebContainer.jz_col_112 #module1069 .module_content,
  #jzWebContainer.jz_col_112 #module1072 .module_content,
  #jzWebContainer.jz_col_112 #module1074 .module_content {
    padding: 12px 20px 0 !important;
  }
}

@media (max-width: 980px) {
  #jzWebContainer.jz_col_112 #module1061 .module_content,
  #jzWebContainer.jz_col_112 #module1069 .module_content,
  #jzWebContainer.jz_col_112 #module1072 .module_content,
  #jzWebContainer.jz_col_112 #module1074 .module_content {
    padding: 10px 16px 0 !important;
  }
}

#jzWebContainer.jz_col_112 #module1061 .module_wrap,
#jzWebContainer.jz_col_112 #module1069 .module_wrap,
#jzWebContainer.jz_col_112 #module1072 .module_wrap,
#jzWebContainer.jz_col_112 #module1074 .module_wrap,
#jzWebContainer.jz_col_112 #module1061 .module_content,
#jzWebContainer.jz_col_112 #module1069 .module_content,
#jzWebContainer.jz_col_112 #module1072 .module_content,
#jzWebContainer.jz_col_112 #module1074 .module_content,
#jzWebContainer.jz_col_112 #module1061 .module_image_content,
#jzWebContainer.jz_col_112 #module1069 .module_image_content,
#jzWebContainer.jz_col_112 #module1072 .module_image_content,
#jzWebContainer.jz_col_112 #module1074 .module_image_content,
#jzWebContainer.jz_col_112 #module1061 .module_img_wrap,
#jzWebContainer.jz_col_112 #module1069 .module_img_wrap,
#jzWebContainer.jz_col_112 #module1072 .module_img_wrap,
#jzWebContainer.jz_col_112 #module1074 .module_img_wrap,
#jzWebContainer.jz_col_112 #module1061 .c__imgeffects_wrap,
#jzWebContainer.jz_col_112 #module1069 .c__imgeffects_wrap,
#jzWebContainer.jz_col_112 #module1072 .c__imgeffects_wrap,
#jzWebContainer.jz_col_112 #module1074 .c__imgeffects_wrap {
  width: 100% !important;
  height: auto !important;
}

#jzWebContainer.jz_col_112 #module1061 .module_image_content img,
#jzWebContainer.jz_col_112 #module1069 .module_image_content img,
#jzWebContainer.jz_col_112 #module1072 .module_image_content img,
#jzWebContainer.jz_col_112 #module1074 .module_image_content img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
  object-position: center top;
}

@media (max-width: 1400px) {
  .offline-header-inner,
  .offline-footer-inner {
    width: min(var(--container), calc(100% - 36px));
  }

  .floating-tools {
    right: 18px;
  }
}

@media (max-width: 1120px) {
  .offline-nav-toggle {
    display: block;
  }

  .offline-site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    padding: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--panel-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .offline-site-header.is-open .offline-site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .offline-site-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .offline-site-nav-link {
    min-height: 58px;
    justify-content: flex-start;
  }

  .offline-site-nav-link::after {
    left: 0 !important;
    right: auto !important;
    width: 36px;
  }

  .offline-site-nav-submenu {
    position: static;
    transform: none;
    min-width: 0;
    margin-bottom: 12px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
  }

  .offline-footer-inner {
    width: calc(100% - 24px);
    flex-direction: column;
    gap: 26px;
  }

  .offline-footer-link-groups {
    gap: 36px;
    flex-wrap: wrap;
  }

  .offline-footer-qrcode {
    text-align: left;
  }

  .offline-footer-qrcode img {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .offline-header-inner,
  .offline-footer-inner {
    width: calc(100% - 24px);
  }

  .offline-footer-link-groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .floating-tools {
    right: 12px;
    top: auto;
    bottom: 18px;
  }

  .tool-button {
    width: 54px;
    height: 54px;
  }

  .tool-panel {
    display: none;
  }
}

/* Match subpage footer alignment with homepage */
.offline-footer-inner {
  width: min(1140px, calc(100% - 220px));
  justify-content: center;
  gap: 180px;
}

.offline-footer-main {
  flex: 0 1 720px;
}

.offline-footer-qrcode {
  flex: 0 0 150px;
}

@media (max-width: 1120px) {
  .offline-footer-inner {
    width: min(1140px, calc(100% - 120px));
    gap: 90px;
  }
}

@media (max-width: 760px) {
  .offline-footer-inner {
    width: calc(100% - 24px);
    gap: 24px;
  }
}

/* ===== 2026-04 Structure-Safe Visual Polish ===== */
:root {
  --polish-radius-sm: 8px;
  --polish-radius-md: 12px;
  --polish-border-soft: rgba(22, 36, 80, 0.1);
  --polish-shadow-soft: 0 10px 24px rgba(16, 32, 76, 0.08);
  --polish-shadow-card: 0 14px 30px rgba(16, 32, 76, 0.11);
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  text-rendering: optimizeLegibility;
}

.offline-site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--polish-border-soft);
  backdrop-filter: saturate(130%) blur(8px);
  -webkit-backdrop-filter: saturate(130%) blur(8px);
}

.offline-site-nav-link {
  border-radius: var(--polish-radius-sm);
  transition: color 0.2s ease, text-shadow 0.2s ease, background-color 0.2s ease;
}

.offline-site-nav-link:hover {
  background: rgba(43, 160, 232, 0.07);
}

.offline-site-nav-item.is-active > .offline-site-nav-link {
  background: rgba(43, 160, 232, 0.06);
}

.offline-site-nav-item.is-active > .offline-site-nav-link::after,
.offline-site-nav-link:hover::after {
  left: 22px;
  right: 22px;
  border-radius: 2px;
}

#jzWebContainer .jz_web_col[style*="box-shadow"] {
  border: 1px solid var(--polish-border-soft);
  border-radius: var(--polish-radius-md);
  overflow: hidden;
  box-shadow: var(--polish-shadow-soft) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

#jzWebContainer .jz_web_col[style*="box-shadow"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--polish-shadow-card) !important;
}

#jzWebContainer .module_text_content .fk-editor {
  line-height: 1.78;
  color: #5a6583;
}

#jzWebContainer .module_text_content .fk-editor b {
  color: #2b3550;
}

#jzWebContainer .module_image_content img {
  border-radius: 4px;
}

.offline-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.offline-footer-qrcode img {
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
}

.tool-button {
  transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.tool-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(13, 20, 55, 0.2);
  color: #2ba0e8;
}

/* ===== Cursor Normalization ===== */
body,
#jzRoot,
#jzRoot * {
  cursor: default !important;
}

#jzRoot a[href],
#jzRoot button,
#jzRoot [role='button'],
#jzRoot .offline-site-nav-link,
#jzRoot .offline-site-nav-submenu a,
#jzRoot .offline-footer a,
#jzRoot .tool-button,
#jzRoot .checkbox_item,
#jzRoot .checkbox_item *,
#jzRoot input[type='checkbox'],
#jzRoot input[type='radio'],
#jzRoot input[type='submit'],
#jzRoot input[type='button'],
#jzRoot select,
.floating-tools .tool-button,
.offline-site-header a[href],
.offline-site-header button,
.offline-footer a[href] {
  cursor: pointer !important;
}

#jzRoot input:not([type='button']):not([type='submit']):not([type='reset']):not([type='checkbox']):not([type='radio']),
#jzRoot textarea {
  cursor: text !important;
}

/* ===== Trial Form Fixes ===== */
.offline-trial-page .m_form .form_item,
.offline-trial-page .m_form .form_item_wrap {
  outline: none !important;
  border: none !important;
}

.offline-trial-page .item_type_checkbox.content {
  border: 0 !important;
}

.offline-trial-page .item_type_checkbox .checkbox_item {
  display: inline-flex;
  align-items: center;
  user-select: none;
  cursor: pointer !important;
}

.offline-trial-page .item_type_checkbox .checkbox_inner {
  width: 20px;
  height: 20px;
  border: 1px solid #c8d1e5;
  border-radius: 2px;
  background: #fff !important;
  color: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.offline-trial-page .item_type_checkbox .checkbox_inner svg {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.offline-trial-page .item_type_checkbox .checkbox_item.offline-checked .checkbox_inner {
  background: #2ba0e8 !important;
  border-color: #2ba0e8;
  color: #fff;
}

.offline-trial-page .item_type_checkbox .checkbox_item.offline-checked .checkbox_inner svg {
  opacity: 1;
}

.offline-trial-page .item_type_checkbox .checkbox_inner_text {
  margin-left: 10px;
}

/* ===== Trial Success Dialog ===== */
.offline-trial-dialog {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
}

.offline-trial-dialog.is-visible {
  display: block;
}

.offline-trial-dialog__mask {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 48, 0.36);
}

.offline-trial-dialog__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(420px, calc(100% - 36px));
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 44px rgba(13, 28, 64, 0.28);
  padding: 24px 22px 18px;
  text-align: center;
}

.offline-trial-dialog__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #1f2f55;
}

.offline-trial-dialog__message {
  margin: 12px 0 18px;
  font-size: 15px;
  line-height: 1.7;
  color: #4d5a79;
}

.offline-trial-dialog.is-error .offline-trial-dialog__title {
  color: #d05b4d;
}

.offline-trial-dialog__confirm {
  min-width: 108px;
  height: 40px;
  border: 0;
  border-radius: 22px;
  background: #2ba0e8;
  color: #fff;
  font-size: 14px;
  cursor: pointer !important;
}
