.jx {
  --jx-primary: #1f3b50;
  --jx-accent: #ffc05c;
  --jx-light: #f7f8ff;
  --jx-black: #111111;
  --jx-white: #ffffff;
  --jx-text: #222222;
  --jx-text-secondary: #5a5f66;
  --jx-text-muted: #8a9099;
  --jx-border: #e3e6ec;
  --jx-border-strong: #c9ced8;
  --jx-container: 1400px;
  --jx-gutter: 20px;
  width: 100%;
  color: var(--jx-text);
  font-size: 16px;
  line-height: 1.6;
}

.jx *,
.jx *::before,
.jx *::after { box-sizing: border-box; }

.jx a { color: inherit; text-decoration: none; }
.jx img { display: block; max-width: 100%; }
.jx ul { margin: 0; padding: 0; list-style: none; }
.jx h1, .jx h2, .jx h3, .jx h4 { margin: 0; font-weight: 700; }

.jx-container {
  width: 100%;
  max-width: var(--jx-container);
  margin: 0 auto;
  padding: 0 var(--jx-gutter);
}

/* ---------- 按钮 ---------- */
.jx-btn,
.jx a.jx-btn {
  display: inline-block;
  padding: 16px 34px;
  border: 1px solid var(--jx-primary);
  background: var(--jx-primary);
  color: var(--jx-white);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.jx-btn:hover,
.jx a.jx-btn:hover {
  background: var(--jx-accent);
  border-color: var(--jx-accent);
  color: var(--jx-text);
}

.jx-btn--black,
.jx a.jx-btn--black { background: var(--jx-black); border-color: var(--jx-black); }

.jx-btn--black:hover,
.jx a.jx-btn--black:hover {
  background: var(--jx-accent);
  border-color: var(--jx-accent);
  color: var(--jx-text);
}

.jx-btn--white,
.jx a.jx-btn--white {
  background: var(--jx-white);
  border-color: var(--jx-white);
  color: var(--jx-text);
}

.jx-btn--white:hover,
.jx a.jx-btn--white:hover {
  background: var(--jx-accent);
  border-color: var(--jx-accent);
  color: var(--jx-text);
}

.jx-btn--ghost,
.jx a.jx-btn--ghost { background: transparent; color: var(--jx-primary); }

.jx-btn--ghost:hover,
.jx a.jx-btn--ghost:hover {
  background: var(--jx-primary);
  border-color: var(--jx-primary);
  color: var(--jx-white);
}

/* ---------- 箭头链接（link-with-arrow） ---------- */
.jx-link,
.jx a.jx-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--jx-primary);
  transition: gap 0.3s ease;
}

.jx-link::after {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.jx-link::before {
  content: "";
  position: absolute;
  left: calc(100% - 22px);
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.jx-link:hover { gap: 18px; }

.jx-link--white,
.jx a.jx-link--white { color: var(--jx-white); }

/* 返回链接（back-btn） ---------- */
.jx-back,
.jx a.jx-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--jx-text);
  transition: color 0.3s ease, gap 0.3s ease;
}

.jx-back::before {
  content: "";
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.jx-back:hover { gap: 16px; color: var(--jx-primary); }

/* ---------- 区块标题（section-intro） ---------- */
.jx-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 56px;
}

.jx-intro__title {
  max-width: 585px;
  font-size: 4rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--jx-text);
}

.jx-intro__desc {
  margin: 24px 0 0;
  max-width: 585px;
  font-size: 1.7rem;
  line-height: 1.7;
  color: var(--jx-text-secondary);
}

.jx-intro__links {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  grid-column: 2;
  grid-row: 1 / span 2;
}

/* ---------- 页面大标题（simple-header） ---------- */
.jx-header {
  padding: 84px 0 100px;
  background: var(--jx-white);
}

.jx-header__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.jx-header__title {
  font-size: 5.2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--jx-text);
}

.jx-header__desc {
  margin: 0;
  max-width: 820px;
  font-size: 1.8rem;
  line-height: 1.7;
  color: var(--jx-text-secondary);
}

/* ---------- split-hero（左文右图） ---------- */
.jx-split {
  background: var(--jx-white);
}

.jx-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 960px;
}

.jx-split__left {
  display: flex;
  flex-direction: column;
  padding: 140px 18% 80px 0;
}

.jx-split__back { margin-bottom: 32px; }

.jx-split__title {
  font-size: 5.2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--jx-text);
}

.jx-split__desc {
  margin: 24px 0 0;
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--jx-text-secondary);
}

.jx-split__action { margin-top: 32px; }

.jx-split__body {
  margin-top: 72px;
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--jx-text-secondary);
}

.jx-split__body p { margin: 0 0 22px; }

.jx-split__media {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}

.jx-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 3 列文字网格（simple-text-grid） ---------- */
.jx-textgrid {
  padding: 100px 0;
  background: var(--jx-white);
}

.jx-textgrid__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 20px;
}

.jx-textgrid__item {
  padding-top: 32px;
  border-top: 1px solid var(--jx-border-strong);
}

.jx-textgrid__title {
  margin-bottom: 16px;
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--jx-text);
}

.jx-textgrid__text {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.75;
  color: var(--jx-text-secondary);
}

/* ---------- 标签 ---------- */
.jx-tag {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  padding: 6px 14px;
  font-size: 1.3rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--jx-primary);
  background: var(--jx-light);
}

.jx-tag--black {
  background: var(--jx-black);
  color: var(--jx-white);
}

.jx-tag--outline {
  background: transparent;
  color: var(--jx-text);
  border: 1px solid var(--jx-border-strong);
}

.jx-tag--white {
  background: transparent;
  color: var(--jx-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* ---------- 手风琴（accordion） ---------- */
.jx-acc { border-top: 1px solid var(--jx-border); }

.jx-acc__item { border-bottom: 1px solid var(--jx-border); }

.jx-acc__trigger {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 26px 60px 26px 0;
  border: 0;
  background: transparent;
  color: var(--jx-text);
  font-family: inherit;
  font-size: 2rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.jx-acc__trigger::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}

.jx-acc__item.is-open .jx-acc__trigger { color: var(--jx-primary); font-weight: 600; }

.jx-acc__item.is-open .jx-acc__trigger::after {
  transform: translateY(-30%) rotate(-135deg);
}

.jx-acc__trigger:hover { color: var(--jx-primary); }

.jx-acc__panel { display: none; overflow: hidden; }

.jx-acc__item.is-open .jx-acc__panel {
  display: block;
  animation: jxSlide 0.4s ease both;
}

@keyframes jxSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.jx-acc__text {
  margin: 0;
  padding: 0 60px 32px 0;
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--jx-text-secondary);
}

/* ---------- 筛选条（view-with-filters） ---------- */
.jx-filters { padding: 0 0 40px; background: var(--jx-white); }

.jx-filters__form {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--jx-border);
}

.jx-field { display: flex; flex-direction: column; gap: 8px; }

.jx-field__label {
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--jx-text-muted);
}

.jx-field__control {
  min-width: 220px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--jx-border-strong);
  background: var(--jx-white);
  color: var(--jx-text);
  font-size: 1.5rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

select.jx-field__control {
  padding-right: 40px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--jx-primary) 50%),
    linear-gradient(135deg, var(--jx-primary) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.jx-field__control:focus { outline: none; border-color: var(--jx-primary); }

.jx-field--search { flex: 1; min-width: 240px; }
.jx-field--search .jx-field__control { width: 100%; }
.jx-field__actions { display: flex; align-items: center; gap: 12px; }

.jx-filters__label {
  font-size: 2rem;
  font-weight: 700;
  color: var(--jx-text);
  margin-right: 20px;
  align-self: center;
}

/* ---------- 分页 ---------- */
.jx-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 72px;
}

.jx-pager__item {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--jx-border-strong);
  background: var(--jx-white);
  color: var(--jx-text);
  font-size: 1.5rem;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.jx-pager__item:hover { border-color: var(--jx-primary); color: var(--jx-primary); }

.jx-pager__item.is-active {
  background: var(--jx-primary);
  border-color: var(--jx-primary);
  color: var(--jx-white);
}

.jx-pager__item.is-disabled { opacity: 0.35; pointer-events: none; }
.jx-pager__item--ellipsis { border-color: transparent; background: transparent; pointer-events: none; }

/* ---------- 箭头按钮（轮播控制） ---------- */
.jx-arrow {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--jx-border-strong);
  background: transparent;
  color: var(--jx-text);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.jx-arrow:hover:not(:disabled) {
  background: var(--jx-accent);
  border-color: var(--jx-accent);
  color: var(--jx-text);
}

.jx-arrow:disabled { opacity: 0.45; cursor: not-allowed; }

.jx-arrow--light {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--jx-white);
}

.jx-arrow--light:disabled { opacity: 0.55; }

.jx-arrows { display: flex; align-items: center; gap: 12px; }

/* ---------- 统计块（stats） ---------- */
.jx-stats { padding: 80px 0; background: var(--jx-white); }

.jx-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.jx-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 298px;
  padding: 50px 32px;
  background: var(--jx-light);
}

.jx-stat__value {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--jx-text);
}

.jx-stat__value em {
  font-style: normal;
  font-size: 2.4rem;
  font-weight: 600;
  margin-left: 6px;
  color: var(--jx-text-secondary);
}

.jx-stat__desc {
  margin: 0;
  padding-top: 4px;
  font-size: 1.6rem;
  color: var(--jx-text-secondary);
}

.jx-stat__link { margin-top: auto; }

/* ---------- 卡片滑块（card-slider） ---------- */
.jx-slider { position: relative; }

.jx-slider__viewport { overflow: hidden; }

.jx-slider__track {
  display: flex;
  gap: 16px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.jx-slider__item { min-width: 0; }
.jx-slider__item--4 { flex: 0 0 calc((100% - 48px) / 4); }
.jx-slider__item--3 { flex: 0 0 calc((100% - 32px) / 3); }
.jx-slider__item--2 { flex: 0 0 calc((100% - 16px) / 2); }

.jx-slider__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
}

/* ---------- 通用卡片（teaser） ---------- */
.jx-teaser {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.jx-teaser__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 344 / 267;
  background: var(--jx-light);
}

.jx-teaser__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.jx-teaser:hover .jx-teaser__image img { transform: scale(1.08); }

.jx-teaser__top-tag {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 6px 14px;
  font-size: 1.3rem;
  line-height: 1.4;
  background: var(--jx-black);
  color: var(--jx-white);
}

.jx-teaser__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 32px;
}

.jx-teaser__title {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--jx-text);
}

.jx-teaser__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.jx-teaser__title a:hover { color: var(--jx-primary); }

.jx-teaser__tags { margin-top: auto; padding-top: 36px; }
.jx-teaser__tags .jx-tag { margin-right: 8px; }

/* ---------- 信息方块（info-tile） ---------- */
.jx-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px 36px;
  border: 1px solid var(--jx-border-strong);
  background: var(--jx-white);
  transition: border-color 0.3s ease;
}

.jx-tile:hover { border-color: var(--jx-text-muted); }

.jx-tile__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--jx-text);
}

.jx-tile__text {
  margin: 24px 0 0;
  font-size: 1.5rem;
  line-height: 1.75;
  color: var(--jx-text-secondary);
}

/* ---------- 空状态 ---------- */
.jx-empty {
  padding: 80px 0;
  text-align: center;
  font-size: 1.6rem;
  color: var(--jx-text-muted);
}

/* ---------- 区块背景工具类 ---------- */
.jx-section { padding: 100px 0; background: var(--jx-white); }
.jx-section--light { background: var(--jx-light); }
.jx-section--black { background: var(--jx-black); color: var(--jx-white); }
.jx-section--black .jx-intro__title { color: var(--jx-white); }
.jx-section--black .jx-intro__desc { color: rgba(255, 255, 255, 0.72); }
.jx-section--black .jx-teaser__title { color: var(--jx-white); }
.jx-section--black .jx-teaser__title { color: var(--jx-white); }
.jx-section--black .jx-teaser__title a:hover { color: var(--jx-accent); }
.jx-section--black .jx-arrow { border-color: rgba(255, 255, 255, 0.45); }
.jx-section--black .jx-arrow:disabled { opacity: 0.55; }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .jx-slider__item--4 { flex: 0 0 calc((100% - 32px) / 3); }
  .jx-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .jx-intro__title { font-size: 3.4rem; }
  .jx-header__title { font-size: 4.2rem; }
  .jx-split__title { font-size: 4.2rem; }
}

@media (max-width: 992px) {
  .jx-intro { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .jx-intro__links { grid-column: 1; grid-row: auto; justify-content: flex-start; }
  .jx-intro__title { font-size: 3rem; }
  .jx-intro__desc { font-size: 1.5rem; }

  .jx-header { padding: 56px 0 64px; }
  .jx-header__inner { gap: 24px; }
  .jx-header__title { font-size: 3.2rem; }
  .jx-header__desc { font-size: 1.6rem; }

  .jx-split__grid { grid-template-columns: 1fr; min-height: 0; }
  .jx-split__media { order: -1; aspect-ratio: 16 / 9; }
  .jx-split__left { padding: 120px 0 56px; }
  .jx-split__title { font-size: 3.2rem; }
  .jx-split__desc { font-size: 1.6rem; }
  .jx-split__body { margin-top: 40px; }

  .jx-textgrid { padding: 56px 0; }
  .jx-textgrid__grid { grid-template-columns: 1fr; gap: 32px; }

  .jx-slider__item--4,
  .jx-slider__item--3 { flex: 0 0 calc((100% - 16px) / 2); }

  .jx-stat { min-height: 0; padding: 32px 24px; }
  .jx-stat__value { font-size: 4.4rem; }

  .jx-filters__form { gap: 20px; }
  .jx-filters__label { width: 100%; margin: 0; }
  .jx-field { flex: 1 1 100%; }
  .jx-field__control { min-width: 0; width: 100%; }
  .jx-field__actions { flex: 1 1 100%; }
  .jx-field__actions .jx-btn { flex: 1; }

  .jx-section { padding: 56px 0; }
}

@media (max-width: 640px) {
  .jx-header__title { font-size: 2.6rem; }
  .jx-split__title { font-size: 2.6rem; }
  .jx-intro__title { font-size: 2.4rem; }
  .jx-stats__grid { grid-template-columns: 1fr; }
  .jx-slider__item--4,
  .jx-slider__item--3,
  .jx-slider__item--2 { flex: 0 0 100%; }
  .jx-arrow { width: 44px; height: 44px; font-size: 1.6rem; }
  .jx-acc__trigger { padding: 20px 40px 20px 0; font-size: 1.7rem; }
  .jx-acc__text { padding: 0 40px 24px 0; font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .jx-slider__track,
  .jx-teaser__image img,
  .jx-link,
  .jx-acc__item.is-open .jx-acc__panel { transition: none; animation: none; }
}
