/* jsx_solution — 仅本前缀；提纯自 solution.html */
.jsx_solution {
  box-sizing: border-box;
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: #1a1a1a;
  overflow: hidden;
  color: #222;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}
.fp-tableCell > .jsx_solution {
  min-height: 100%;
  height: 100%;
}
.jsx_solution *,
.jsx_solution *::before,
.jsx_solution *::after {
  box-sizing: border-box;
}

/* ====== 左侧菜单：叠在全幅图之上，磨玻璃透出右侧大图 ====== */
.jsx_solution_menu {
  position: relative;
  z-index: 5;
  width: 320px;
  flex-shrink: 0;
  min-height: 0;
  padding: 28px 40px;
  background: rgba(255, 255, 255, 0);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    8px 0 28px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jsx_menu_eyebrow_en {
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  color: #d7e3ee;
  line-height: 1;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to bottom, #000 8%, rgba(0, 0, 0, 0.45) 42%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 8%, rgba(0, 0, 0, 0.45) 42%, transparent 88%); opacity: .5; display: none;
} 
.jsx_menu_h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px; display: none;
}

.jsx_menu_list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jsx_menu_item {
  display: flex;
  align-items: flex-start;
  padding: 30px 40px;
  margin: 0 -40px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.25s ease;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.jsx_menu_item:last-child { border-bottom: none; }

.jsx_menu_icon {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin-right: 16px;
  color: #999;
  transition: color 0.25s ease, transform 0.25s ease;
}
.jsx_menu_text {
  position: relative;
  z-index: 1;
  flex: 1;
}
.jsx_menu_title {
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 6px;
  transition: color 0.25s ease;
}
.jsx_menu_sub {
  font-size: 15px;
  color: #b5b5b5;
  line-height: 1.5;
  transition: color 0.25s ease; display: none;
}
.jsx_menu_series {
  font-size: 14px;
  color: #c4c4c4;
  letter-spacing: 1.5px;
  font-weight: 600;
  line-height: 1.4;
  max-height: 0;
  opacity: 0;
  margin: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease, color 0.25s ease;
}
.jsx_menu_item:hover .jsx_menu_series,
.jsx_menu_item.is_active .jsx_menu_series {
  max-height: 26px;
  opacity: 1;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.9);
}

/* 红底：与左侧栏同宽，从左到右扫入 */
.jsx_menu_item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background: #ba0404;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}
.jsx_menu_item:hover::before,
.jsx_menu_item.is_active::before {
  transform: scaleX(1);
}
.jsx_menu_item:hover,
.jsx_menu_item.is_active {
  border-bottom-color: transparent;
}

.jsx_menu_item:hover .jsx_menu_icon,
.jsx_menu_item.is_active .jsx_menu_icon {
  color: #fff;
  transform: scale(1.08);
}
.jsx_menu_item:hover .jsx_menu_title,
.jsx_menu_item.is_active .jsx_menu_title {
  color: #fff;
  font-weight: 700;
}
.jsx_menu_item:hover .jsx_menu_sub,
.jsx_menu_item.is_active .jsx_menu_sub {
  color: rgba(255, 255, 255, 0.75);
}

/* ====== 内容区：全幅铺底（含左侧底下），图从左铺到右 ====== */
.jsx_solution_content {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
  background: #1a1a1a;
}
.jsx_content_panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  /* 文案避开左侧菜单 */
  padding: 0 60px 0 380px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  z-index: 1;
}
.jsx_content_panel.is_visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 2;
}
.jsx_content_panel.is_active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 3;
  pointer-events: auto;
}
.jsx_content_panel.is_entering {
  animation: jsx_slide_in 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
@keyframes jsx_slide_in {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

/* 文案飘入：独立 is_text_in，面板到位后再播，自下而上（与整板横滑区分） */
.jsx_panel_text > * {
  opacity: 1;
  transform: none;
}
.jsx_panel_text.is_text_in > * {
  animation: jsx_text_float_in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.jsx_panel_text.is_text_in .jsx_panel_eyebrow { animation-delay: 0s; }
.jsx_panel_text.is_text_in .jsx_panel_title { animation-delay: 0.14s; }
.jsx_panel_text.is_text_in .jsx_panel_desc { animation-delay: 0.28s; }
.jsx_panel_text.is_text_in .jsx_panel_btn { animation-delay: 0.42s; }
@keyframes jsx_text_float_in {
  from {
    opacity: 0;
    transform: translateY(42px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jsx_panel_bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.jsx_panel_bg::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 左侧略浅，方便磨玻璃透图；右侧渐变保证文案可读 */
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.22) 320px,
    rgba(0, 0, 0, 0.45) 55%,
    rgba(0, 0, 0, 0.1) 100%
  );
}
.jsx_bg_1 {
  background-image: url('../images/cp/cp1.jpg');
  background-position: center center;
}
.jsx_bg_2 {
  background-image:
    url('../images/cp/cp2.jpg'),
    radial-gradient(ellipse at 75% 45%, #3d4a55 0%, #1f2a33 65%, #0f1620 100%);
}
.jsx_bg_3 {
  background-image:
    url('../images/cp/cp3.jpg'),
    radial-gradient(ellipse at 70% 55%, #4d4035 0%, #2a2018 65%, #15100a 100%);
}
.jsx_bg_4 {
  background-image:
    url('../images/cp/cp4.jpg'),
    radial-gradient(ellipse at 65% 50%, #2c4a3f 0%, #142822 65%, #0a1612 100%);
}
.jsx_bg_5 {
  background-image:
    url('../images/cp/cp5.jpg'),
    radial-gradient(ellipse at 70% 50%, #4a3d55 0%, #2a1f33 65%, #140a1a 100%);
}

.jsx_panel_text {
  position: relative;
  z-index: 2;
  max-width: 580px;
  color: #fff;
}
.jsx_panel_eyebrow {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 6px; font-family: Arial;
  color: transparent;
  background-image: linear-gradient(to bottom, #ffffff  0%, rgba(255, 255, 255, 0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; opacity: .5; display: none;
}
.jsx_panel_title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.jsx_panel_desc {
  font-size: 16px;
  line-height: 1.9;
  color: #e6e6e6;
  margin: 0 0 56px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  padding-right: 120px;
}
.jsx_panel_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 14px 28px 14px 34px;
  background: linear-gradient(90deg, #d41515 0%, #ba0404 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(186, 4, 4,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 0px;
}
.jsx_panel_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(186, 4, 4,0.45);
}
.jsx_panel_btn i {
  display: block;
  width: 18px;
  height: 1px;
  margin-left: 12px;
  background: #fff;
  opacity: 0.35;
  position: relative;
}
.jsx_panel_btn i::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: #fff;
}

.jsx_menu_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 22px;
  padding: 14px 34px;
  background: linear-gradient(90deg, #d41515 0%, #ba0404 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(186, 4, 4,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jsx_menu_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(186, 4, 4,0.45);
}
.jsx_menu_btn svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .jsx_solution {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }
  .jsx_solution_menu {
    width: 100%;
    padding: 24px;
    justify-content: flex-start;
  }
  .jsx_menu_eyebrow_en { font-size: 36px;  }
  .jsx_solution_content {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    min-height: 360px; 
  }
  .jsx_content_panel { padding: 30px 24px; }
  .jsx_panel_eyebrow { font-size: 28px; }
  .jsx_panel_title { font-size: 26px; }
}
