/* =========================
   KBetSoft 产品介绍页局部优化
   追加到原 CSS 最后，不改整体布局
   ========================= */

/* 全局细节 */
body {
  color: #4b5563;
}

.main {
  overflow-x: hidden;
}

.container {
  position: relative;
  z-index: 1;
}

/* -------------------------
   顶部导航 / Header
   ------------------------- */
#site_header.header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04) !important;
}

#site_header .header-brand img {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

#site_header .header-brand:hover img {
  transform: translateY(-1px);
}

#site_header .menu-item > .menu-link {
  min-height: 72px;
  padding: 0 14px !important;
  position: relative;
}

#site_header .menu-item > .menu-link .menu-text {
  font-weight: 600;
  color: #334155 !important;
  transition: color 0.25s ease;
}

#site_header .menu-item:hover > .menu-link .menu-text,
#site_header .menu-item.menu-item-active > .menu-link .menu-text {
  color: var(--primary) !important;
}

#site_header .menu-item.menu-item-active > .menu-link::after,
#site_header .menu-item:hover > .menu-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), #38c4fa);
  opacity: 1;
}

#site_header .menu-item > .menu-link::after {
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* mega menu */
#site_header .menu-submenu {
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12) !important;
  background: #ffffff !important;
}

#site_header .menu-btn {
  border: 1px solid transparent !important;
  background: #f8fafc !important;
  transition: all 0.25s ease !important;
}

#site_header .menu-btn:hover {
  background: #ffffff !important;
  border-color: rgba(0, 148, 255, 0.12) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-2px);
  text-decoration: none !important;
}

#site_header .menu-label {
  color: #0f172a !important;
  letter-spacing: 0.2px;
}

#site_header .menu-sub-label {
  color: #64748b !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
}

/* -------------------------
   顶部产品头图区 / Subheader Hero
   ------------------------- */
section.subheader.bgi-size-cover {
  position: relative;
}

section.subheader.bgi-size-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(8, 15, 30, 0.78), rgba(0, 148, 255, 0.28)),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  pointer-events: none;
}

section.subheader.bgi-size-cover .container {
  position: relative;
  z-index: 2;
}

section.subheader.bgi-size-cover .label-inline {
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff5cc !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: none !important;
}

section.subheader.bgi-size-cover h1 {
  line-height: 1.18 !important;
  letter-spacing: 0.2px;
  max-width: 900px;
  margin-bottom: 0 !important;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

section.subheader.bgi-size-cover .opacity-50 {
  opacity: 0.82 !important;
}

section.subheader.bgi-size-cover .require.text-info {
  color: #9ae6ff !important;
  font-weight: 600;
}

section.subheader.bgi-size-cover .btn.btn-primary {
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--primary), #38c4fa) !important;
  border: none !important;
  box-shadow: 0 10px 24px rgba(0, 148, 255, 0.22) !important;
  transition: all 0.25s ease !important;
}

section.subheader.bgi-size-cover .btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 148, 255, 0.28) !important;
}

/* 左侧产品主图 */
section.subheader.bgi-size-cover .rounded-lg.position-relative.zindex-1 {
  border-radius: 22px !important;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(2, 8, 23, 0.22) !important;
  background: rgba(255, 255, 255, 0.08);
}

section.subheader.bgi-size-cover .rounded-lg.position-relative.zindex-1 img {
  display: block;
  width: 100%;
  height: auto;
}

/* -------------------------
   功能标签卡片
   ------------------------- */
.container.mt-lg-n22 .card.bg-white.border-0.shadow.rounded-lg {
  border-radius: 20px !important;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08) !important;
  border: 1px solid rgba(15, 23, 42, 0.05) !important;
}

.container.mt-lg-n22 .py-8.px-13 {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.container.mt-lg-n22 .btn.btn-lg {
  min-height: 44px;
  line-height: 44px;
  padding: 0 18px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  margin-bottom: 10px !important;
  margin-right: 10px !important;
  box-shadow: none !important;
  border: 1px solid transparent !important;
  transition: all 0.25s ease !important;
}

.container.mt-lg-n22 .btn-light-primary.btn {
  background: #f3f8ff !important;
  color: #1677ff !important;
  border-color: rgba(22, 119, 255, 0.10) !important;
}

.container.mt-lg-n22 .btn-light-primary.btn:hover {
  background: #e9f3ff !important;
  color: #0f5fd6 !important;
  border-color: rgba(22, 119, 255, 0.20) !important;
}

.container.mt-lg-n22 .btn-light-danger.btn {
  background: #fff1f2 !important;
  color: #e11d48 !important;
  border-color: rgba(225, 29, 72, 0.12) !important;
}

.container.mt-lg-n22 .btn-light-danger.btn:hover {
  background: #ffe4e6 !important;
  color: #be123c !important;
}

/* -------------------------
   正文说明区
   ------------------------- */
.container.mt-20 .content {
  max-width: 980px;
}

.container.mt-20 .content h3 {
  margin-bottom: 18px !important;
}

.container.mt-20 .content h3 strong {
  color: #0f172a;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: 0.2px;
}

.container.mt-20 .content {
  color: #475569;
  font-size: 15px;
  line-height: 1.95;
}

.wdl-title {
  display: inline-flex;
  align-items: center;
  margin: 18px 0 14px !important;
  padding: 8px 14px !important;
  border-radius: 10px !important;
  background: linear-gradient(90deg, rgba(0,148,255,0.08), rgba(56,196,250,0.10)) !important;
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-left: 3px solid var(--primary) !important;
}

.wdl-title::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex: 0 0 auto;
}

/* 软件截图 */
.embed-responsive-16by9 {
  border-radius: 18px !important;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.wdl-soft {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}

.embed-responsive-16by9:hover .wdl-soft {
  transform: scale(1.02);
}

/* -------------------------
   底部绿色横幅
   ------------------------- */
.container.positon-relative.pt-10 .rounded-lg.shadow {
  position: relative;
  overflow: hidden;
  border-radius: 22px !important;
  box-shadow: 0 22px 50px rgba(3, 165, 136, 0.18) !important;
}

.container.positon-relative.pt-10 .rounded-lg.shadow::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
}

.container.positon-relative.pt-10 .rounded-lg.shadow::after {
  content: "";
  position: absolute;
  right: 60px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.container.positon-relative.pt-10 .font-size-8,
.container.positon-relative.pt-10 .font-size-lg-14 {
  line-height: 1.2 !important;
}

.container.positon-relative.pt-10 .opacity-75 {
  opacity: 0.88 !important;
}

/* -------------------------
   Footer
   ------------------------- */
.footer.block-dark {
  background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%) !important;
}

.footer .pb-10 {
  padding-bottom: 30px !important;
}

.footer h3.text-muted {
  color: #94a3b8 !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px;
  margin-bottom: 16px !important;
}

.footer .d-flex.flex-column.font-size-3.font-weight-bold a {
  color: #cbd5e1 !important;
  border-radius: 10px;
  padding-left: 10px !important;
  padding-right: 10px !important;
  transition: all 0.22s ease;
}

.footer .d-flex.flex-column.font-size-3.font-weight-bold a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none !important;
  transform: translateX(3px);
}

.footer .font-size-1.font-weight-bold.text-dark-60,
.footer .font-size-2.font-weight-bold.text-dark-60,
.footer .text-dark-60 {
  color: #94a3b8 !important;
}

/* -------------------------
   通用图片与链接精修
   ------------------------- */
a {
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

img {
  image-rendering: auto;
}

/* -------------------------
   桌面端轻微收口，让页面更简洁
   ------------------------- */
@media (min-width: 1200px) {
  .container.mt-20 {
    margin-top: 60px !important;
  }

  .container.mt-20 .content {
    max-width: 920px;
  }

  .container.mt-lg-n22 .my-2.mr-4.mr-lg-10 {
    max-width: 100%;
  }
}

/* -------------------------
   小屏不专门做移动端，只做防挤压
   ------------------------- */
@media (max-width: 991.98px) {
  #site_header .menu-item > .menu-link {
    min-height: 52px;
  }

  section.subheader.bgi-size-cover h1 {
    font-size: 32px !important;
  }

  .container.mt-lg-n22 .py-8.px-13 {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .container.mt-lg-n22 .btn.btn-lg {
    padding: 0 14px !important;
    font-size: 12px !important;
  }
}