/* 墨境·叙事工坊 官网 — 黄灰色产品落地页布局 */
:root {
  --mj-bg: #d8d0bd;
  --mj-bg-elevated: #efe6d2;
  --mj-bg-band: #bfb49f;
  --mj-text: #241d14;
  --mj-text-muted: rgba(36, 29, 20, 0.68);
  --mj-text-dim: rgba(36, 29, 20, 0.42);
  --mj-accent: #9a6b2e;
  --mj-accent-soft: rgba(154, 107, 46, 0.14);
  --mj-gold: #8f672f;
  --mj-gold-deep: #64441e;
  --mj-border: rgba(70, 54, 38, 0.14);
  --mj-nav-h: 64px;
  --mj-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-x: clip;
  max-width: 100%;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 245, 218, 0.72), transparent 34%),
    radial-gradient(circle at 92% 14%, rgba(154, 107, 46, 0.18), transparent 36%),
    linear-gradient(135deg, #e5dcc9 0%, #c8bea8 46%, #b8ad99 100%);
  color: var(--mj-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::-webkit-scrollbar {
  display: none;
}

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

.mj-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background-image:
    linear-gradient(rgba(70, 54, 38, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 54, 38, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.mj-site > main {
  flex: 1;
}

/* ── 子页面 ── */
.mj-page {
  padding: 56px 0 64px;
}

.mj-page__inner {
  width: 100%;
  max-width: var(--mj-max);
  margin: 0 auto;
  padding: 0 24px;
}

.mj-page__eyebrow {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #8f672f;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mj-page__inner > h1 {
  margin: 0 0 12px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #241d14;
}

.mj-page__lead {
  margin: 0 0 28px;
  max-width: 640px;
  color: var(--mj-text-muted);
  font-size: 0.95rem;
}

/* ── 顶栏 ── */
.mj-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--mj-nav-h);
  background: rgba(239, 230, 210, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--mj-border);
}

.mj-nav__inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.mj-brand--logo-only .mj-brand__text {
  display: none;
}

.mj-nav__links {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  font-size: 0.88rem;
  color: var(--mj-text-muted);
}

.mj-nav__links a.is-active {
  color: var(--mj-text);
  font-weight: 600;
}

.mj-nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mj-nav__link-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.65rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--mj-text-muted);
  border: none;
  background: none;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.mj-nav__link-btn:hover {
  color: var(--mj-text);
  background: rgba(143, 103, 47, 0.08);
}

.mj-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mj-brand__mark {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b2f21 0%, #8f672f 100%);
  color: #fff7e8;
  font-family: "Noto Serif SC", serif;
  font-weight: 800;
  font-size: 1rem;
}

.mj-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.mj-brand__name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mj-brand__sub {
  font-size: 0.58rem;
  color: var(--mj-text-dim);
  letter-spacing: 0.22em;
}

.mj-nav__links a:hover {
  color: var(--mj-text);
}

.mj-btn--nav-web {
  background: #2b241a;
  color: #fff7e8;
  height: 3.35rem;
  box-sizing: border-box;
  padding: 0 1.05rem;
  font-size: 0.84rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.mj-btn--nav-web:hover {
  background: #3a2e20;
  color: #fff7e8;
  border-color: rgba(255, 255, 255, 0.12);
}

.mj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.58rem 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.mj-btn:hover {
  transform: translateY(-1px);
}

.mj-btn--nav-download {
  background: #2b241a;
  color: #fff7e8;
  padding: 0.5rem 1.25rem;
}

.mj-btn--nav-download:hover {
  background: #3a2e20;
  color: #fff7e8;
}

.mj-btn--primary {
  background: linear-gradient(135deg, #2f271c 0%, #8f672f 100%);
  color: #fff7e8;
  box-shadow: 0 12px 34px rgba(80, 55, 26, 0.32);
  padding: 0.72rem 1.35rem;
  font-size: 0.92rem;
}

.mj-btn--primary:hover {
  box-shadow: 0 16px 42px rgba(80, 55, 26, 0.4);
  color: #fff7e8;
}

.mj-btn--outline {
  background: rgba(255, 248, 232, 0.36);
  color: var(--mj-text);
  border-color: rgba(70, 54, 38, 0.18);
}

.mj-btn--outline:hover {
  border-color: rgba(143, 103, 47, 0.45);
  color: var(--mj-accent);
}

.mj-btn:disabled,
.mj-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.mj-btn:disabled:hover,
.mj-btn[disabled]:hover {
  transform: none;
  border-color: rgba(70, 54, 38, 0.18);
  color: var(--mj-text);
}

/* ── Hero ── */
.mj-hero {
  position: relative;
  overflow-x: clip;
  padding: 48px 24px 32px;
}

.mj-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.mj-hero__glow--left {
  width: 420px;
  height: 420px;
  top: -80px;
  left: -120px;
  background: rgba(255, 244, 216, 0.55);
}

.mj-hero__glow--right {
  width: 520px;
  height: 520px;
  top: 40px;
  right: -160px;
  background: rgba(143, 103, 47, 0.2);
}

.mj-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--mj-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.mj-hero__eyebrow {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--mj-text-dim);
  text-transform: uppercase;
}

.mj-hero__title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.mj-hero__title-accent {
  background: linear-gradient(90deg, #241d14 0%, #8f672f 48%, #645743 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mj-hero__lead {
  margin: 0 0 22px;
  max-width: 34em;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--mj-text-muted);
}

.mj-hero__tags {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #7a5526;
  white-space: nowrap;
}

.mj-hero__tags li {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.mj-hero__tags li + li::before {
  content: "|";
  margin: 0 5px;
  color: rgba(70, 54, 38, 0.22);
  font-weight: 400;
}

.mj-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.mj-hero__platform {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mj-hero__platform-label {
  font-size: 0.72rem;
  color: var(--mj-text-dim);
}

.mj-hero__platform-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 248, 232, 0.42);
  border: 1px solid var(--mj-border);
  font-size: 0.72rem;
  color: var(--mj-text-muted);
}

/* ── 预览窗 ── */
.mj-hero__preview {
  min-width: 0;
  width: 100%;
  margin-right: clamp(-12px, -2vw, -36px);
}

.mj-hero__preview--carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  overflow: visible;
  align-items: stretch;
}

.mj-hero__preview--carousel::after {
  display: none;
}

.mj-preview-stage {
  --mj-preview-viewport-w: 1000px;
  --mj-preview-viewport-h: 544px;
  --mj-preview-fade-y-solid: 66%;
  --mj-preview-fade-y-soft: 82%;
  --mj-preview-fade-y-cut: 100%;
  --mj-preview-copy-ratio: 0.4;
  position: relative;
  width: min(var(--mj-preview-viewport-w), 100%);
  height: var(--mj-preview-viewport-h);
  overflow: visible;
  background: transparent;
  flex-shrink: 0;
  border-radius: 0;
}

.mj-preview-clip {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: 0;
  -webkit-mask-image:
    linear-gradient(
      to right,
      #000 0%,
      #000 50%,
      rgba(0, 0, 0, 0.96) 58%,
      rgba(0, 0, 0, 0.88) 65%,
      rgba(0, 0, 0, 0.74) 72%,
      rgba(0, 0, 0, 0.56) 78%,
      rgba(0, 0, 0, 0.38) 84%,
      rgba(0, 0, 0, 0.22) 89%,
      rgba(0, 0, 0, 0.1) 93.5%,
      rgba(0, 0, 0, 0.04) 96.5%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      #000 0%,
      #000 var(--mj-preview-fade-y-solid),
      rgba(0, 0, 0, 0.72) var(--mj-preview-fade-y-soft),
      rgba(0, 0, 0, 0.28) 90%,
      transparent var(--mj-preview-fade-y-cut)
    );
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(
      to right,
      #000 0%,
      #000 50%,
      rgba(0, 0, 0, 0.96) 58%,
      rgba(0, 0, 0, 0.88) 65%,
      rgba(0, 0, 0, 0.74) 72%,
      rgba(0, 0, 0, 0.56) 78%,
      rgba(0, 0, 0, 0.38) 84%,
      rgba(0, 0, 0, 0.22) 89%,
      rgba(0, 0, 0, 0.1) 93.5%,
      rgba(0, 0, 0, 0.04) 96.5%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      #000 0%,
      #000 var(--mj-preview-fade-y-solid),
      rgba(0, 0, 0, 0.72) var(--mj-preview-fade-y-soft),
      rgba(0, 0, 0, 0.28) 90%,
      transparent var(--mj-preview-fade-y-cut)
    );
  mask-composite: intersect;
}

.mj-preview-clip::after {
  content: "";
  position: absolute;
  top: -4%;
  right: -2%;
  bottom: -4%;
  width: 26%;
  z-index: 4;
  pointer-events: none;
  background: transparent;
  -webkit-backdrop-filter: blur(18px) saturate(1.04);
  backdrop-filter: blur(18px) saturate(1.04);
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.72) 22%,
    rgba(0, 0, 0, 0.42) 48%,
    rgba(0, 0, 0, 0.14) 72%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.72) 22%,
    rgba(0, 0, 0, 0.42) 48%,
    rgba(0, 0, 0, 0.14) 72%,
    transparent 100%
  );
}

.mj-carousel-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 8;
  width: calc(100% * var(--mj-preview-copy-ratio));
  height: calc(100% * var(--mj-preview-copy-ratio));
  max-width: none;
  padding: 0 5% 14% 6%;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.mj-carousel-copy__tag {
  display: inline-block;
  margin-bottom: 0.4em;
  padding-bottom: 0.1em;
  font-size: clamp(0.8125rem, 0.72rem + 0.28vw, 0.9375rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #8f672f;
  text-decoration: underline;
  text-decoration-color: rgba(143, 103, 47, 0.72);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.32em;
}

.mj-carousel-copy strong {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.0625rem, 0.92rem + 0.55vw, 1.375rem);
  font-weight: 600;
  line-height: 1.28;
  color: #241d14;
  text-align: right;
}

.mj-carousel-copy span:last-child {
  display: block;
  margin-top: 0.55em;
  font-size: clamp(0.75rem, 0.68rem + 0.32vw, 0.875rem);
  line-height: 1.55;
  color: rgba(36, 29, 20, 0.68);
  text-align: right;
}

.mj-app-screens {
  position: absolute;
  top: 0;
  left: 0;
  width: 108%;
  height: 108%;
  background: #161210;
  transform: none;
}

.mj-app-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.mj-app-screen.is-active {
  opacity: 1;
}

/* 大纲 / 设定：左侧预览面板 + 右侧树/看板，与截图 top-left 锚点对齐 */
.mj-hero__preview--split .mj-app-screens {
  width: 106%;
  height: 106%;
  transform: none;
}

.mj-hero__preview--split .mj-app-screen {
  object-position: 0 0;
}

.mj-feature-media--split img {
  object-position: 0 0;
}

/* 小墨 slide：对齐截图底部，露出功能栏与输入会话框 */
.mj-hero__preview--xiaomo .mj-app-screens {
  top: auto;
  bottom: 0;
  left: 0;
  width: 102%;
  height: 102%;
  transform: none;
}

.mj-hero__preview--xiaomo .mj-app-screen {
  object-position: 0 100%;
}

.mj-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  transform: translateX(-50%);
  pointer-events: auto;
}

.mj-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(70, 54, 38, 0.28);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}

.mj-carousel-dot.is-active {
  width: 26px;
  background: #8f672f;
}

/* ── 底部价值区 ── */
.mj-feature-details {
  padding: 36px 24px 60px;
}

.mj-feature-details__inner {
  max-width: var(--mj-max);
  margin: 0 auto;
}

.mj-feature-details__head {
  max-width: 760px;
  margin: 0 0 28px;
}

.mj-feature-details__eyebrow {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #8f672f;
  letter-spacing: 0.16em;
}

.mj-feature-details__head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #241d14;
}

.mj-feature-details__head p {
  margin: 0;
  max-width: 650px;
  color: var(--mj-text-muted);
  font-size: 0.95rem;
}

/* ── 功能详情 · 右左右左交替展示 ── */
.mj-feature-showcase {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.mj-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.mj-feature-row--media-right .mj-feature-row__copy {
  order: 1;
}

.mj-feature-row--media-right .mj-feature-row__media {
  order: 2;
}

.mj-feature-row--media-left .mj-feature-row__copy {
  order: 2;
}

.mj-feature-row--media-left .mj-feature-row__media {
  order: 1;
}

.mj-feature-row__eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8f672f;
}

.mj-feature-row__title {
  margin: 0 0 12px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.28;
  color: #241d14;
}

.mj-feature-row__lead {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--mj-text-muted);
}

.mj-feature-row__list {
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.84rem;
  line-height: 1.75;
  color: rgba(36, 29, 20, 0.72);
}

.mj-feature-row__list li::marker {
  color: #8f672f;
}

.mj-feature-media {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(70, 54, 38, 0.16);
  background: #161210;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 22px 48px rgba(70, 54, 38, 0.16);
  aspect-ratio: 16 / 10;
}

.mj-feature-media--expandable {
  position: relative;
  padding: 0;
  cursor: zoom-in;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mj-feature-media--expandable:hover,
.mj-feature-media--expandable:focus-visible {
  border-color: rgba(143, 103, 47, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 26px 52px rgba(70, 54, 38, 0.22);
  outline: none;
}

.mj-feature-media--expandable:focus-visible {
  box-shadow:
    0 0 0 3px rgba(143, 103, 47, 0.28),
    0 26px 52px rgba(70, 54, 38, 0.22);
}

.mj-feature-media img,
.mj-feature-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 0;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  pointer-events: none;
}

.mj-feature-media--expandable video {
  pointer-events: none;
}

.mj-feature-media--xiaomo img {
  object-position: 0 100%;
}

/* ── 功能演示浮窗（大图 / 视频） ── */
.mj-media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--mj-nav-h) + 16px) 20px 20px;
}

.mj-media-lightbox[hidden] {
  display: none !important;
}

.mj-media-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 16, 0.78);
  backdrop-filter: blur(8px);
}

.mj-media-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  max-height: calc(100vh - var(--mj-nav-h) - 40px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 247, 232, 0.12);
  background: #161210;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.42);
}

.mj-media-lightbox__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 247, 232, 0.08);
  background: rgba(36, 29, 20, 0.92);
}

.mj-media-lightbox__title {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff7e8;
}

.mj-media-lightbox__close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 247, 232, 0.16);
  border-radius: 8px;
  background: rgba(255, 247, 232, 0.06);
  color: #fff7e8;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.mj-media-lightbox__close:hover {
  background: rgba(255, 247, 232, 0.12);
}

.mj-media-lightbox__stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f0d0b;
  overflow: auto;
}

.mj-media-lightbox__img,
.mj-media-lightbox__video {
  display: block;
  width: 100%;
  max-height: calc(100vh - var(--mj-nav-h) - 120px);
  object-fit: contain;
  object-position: center;
  background: #0f0d0b;
}

.mj-media-lightbox__video {
  outline: none;
}

.mj-feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mj-feature-detail-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 1.25rem 1.25rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(70, 54, 38, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.72), rgba(232, 220, 198, 0.78));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.42) inset,
    0 18px 38px rgba(70, 54, 38, 0.11);
}

.mj-feature-detail-card__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(143, 103, 47, 0.12);
  border: 1px solid rgba(143, 103, 47, 0.18);
  font-size: 1.12rem;
}

.mj-feature-detail-card h3 {
  margin: 0 0 6px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.05rem;
  color: #241d14;
}

.mj-feature-detail-card p {
  margin: 0 0 10px;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(36, 29, 20, 0.68);
}

.mj-feature-detail-card ul {
  margin: 0;
  padding-left: 1.1em;
  color: rgba(36, 29, 20, 0.72);
  font-size: 0.8rem;
  line-height: 1.75;
}

.mj-feature-detail-card li::marker {
  color: #8f672f;
}

.mj-value-band {
  padding: 0 24px 48px;
}

/* ── 下载 / 定价 / 联系 / 反馈 ── */
.mj-download__actions,
.mj-download__meta {
  margin: 0;
}

.mj-download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.mj-download__meta {
  padding-left: 1.1em;
  color: var(--mj-text-muted);
  font-size: 0.86rem;
  line-height: 1.85;
}

.mj-download__meta li::marker {
  color: #8f672f;
}

.mj-download__soon {
  margin: -8px 0 16px;
  font-size: 0.8rem;
  color: var(--mj-text-dim);
}

.mj-download__file {
  margin: -4px 0 18px;
  font-size: 0.82rem;
  color: var(--mj-text-muted);
}

.mj-download-btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

.mj-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.mj-pricing__grid--plans {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 40px;
}

.mj-pricing-card {
  position: relative;
  padding: 1.35rem 1.25rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(70, 54, 38, 0.14);
  background: linear-gradient(180deg, rgba(255, 248, 232, 0.72), rgba(232, 220, 198, 0.78));
  box-shadow: 0 18px 38px rgba(70, 54, 38, 0.08);
}

.mj-pricing-card--featured {
  border-color: rgba(143, 103, 47, 0.35);
  box-shadow: 0 20px 42px rgba(80, 55, 26, 0.14);
}

.mj-pricing-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(143, 103, 47, 0.14);
  color: #8f672f;
  font-size: 0.68rem;
  font-weight: 700;
}

.mj-pricing-card h2,
.mj-pricing-card h3 {
  margin: 0 0 8px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.05rem;
}

.mj-pricing-card__price {
  margin: 0 0 14px;
  font-size: 1.75rem;
  font-weight: 800;
  color: #241d14;
}

.mj-pricing-card__price small {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mj-text-muted);
}

.mj-pricing-card__desc {
  margin: 0 0 14px;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--mj-text-muted);
}

.mj-pricing-card__block {
  margin-bottom: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(70, 54, 38, 0.1);
}

.mj-pricing-card__block:last-child {
  margin-bottom: 0;
}

.mj-pricing-card__block h3 {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8f672f;
}

.mj-pricing-card ul {
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(36, 29, 20, 0.72);
}

.mj-pricing__note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--mj-text-dim);
}

.mj-pricing__note a {
  color: var(--mj-accent);
}

.mj-pricing__note a:hover {
  text-decoration: underline;
}

.mj-pricing-compare {
  margin-bottom: 36px;
}

.mj-pricing-compare > h2,
.mj-pricing-faq > h2 {
  margin: 0 0 10px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: #241d14;
}

.mj-pricing-compare__lead {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--mj-text-muted);
}

.mj-pricing-compare__wrap {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 16px;
  border: 1px solid rgba(70, 54, 38, 0.14);
  background: rgba(255, 248, 232, 0.5);
}

.mj-pricing-compare__wrap::-webkit-scrollbar {
  display: none;
}

.mj-pricing-compare__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.mj-pricing-compare__table th,
.mj-pricing-compare__table td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(70, 54, 38, 0.1);
}

.mj-pricing-compare__table thead th {
  background: rgba(143, 103, 47, 0.1);
  font-weight: 700;
  color: #241d14;
}

.mj-pricing-compare__table tbody th[scope="row"] {
  font-weight: 600;
  color: #241d14;
  white-space: nowrap;
}

.mj-pricing-compare__table tbody tr:last-child th,
.mj-pricing-compare__table tbody tr:last-child td {
  border-bottom: none;
}

.mj-pricing-faq {
  margin-bottom: 24px;
}

.mj-pricing-faq dl {
  margin: 0;
}

.mj-pricing-faq dt {
  margin: 16px 0 6px;
  font-weight: 700;
  color: #241d14;
}

.mj-pricing-faq dt:first-child {
  margin-top: 0;
}

.mj-pricing-faq dd {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--mj-text-muted);
}

.mj-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 0;
}

.mj-contact__social {
  margin-bottom: 32px;
}

.mj-contact__company {
  padding-top: 28px;
  border-top: 1px solid rgba(70, 54, 38, 0.1);
}

.mj-contact__section-title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #241d14;
}

.mj-contact-card {
  padding: 1.1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(70, 54, 38, 0.12);
  background: rgba(255, 248, 232, 0.42);
  min-height: 88px;
}

.mj-contact-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.mj-contact-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.mj-contact-card__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.mj-contact-card--placeholder {
  border-style: dashed;
  border-color: rgba(70, 54, 38, 0.18);
  background: rgba(255, 248, 232, 0.24);
}

.mj-contact-card--placeholder p {
  color: var(--mj-text-dim);
}

.mj-contact-card h3 {
  margin: 0;
  font-size: 0.92rem;
  color: #241d14;
}

.mj-contact-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--mj-text-muted);
}

.mj-contact-card a {
  color: var(--mj-accent);
}

.mj-feedback__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.mj-feedback-card {
  padding: 1.35rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(70, 54, 38, 0.14);
  background: linear-gradient(180deg, rgba(52, 43, 31, 0.92) 0%, rgba(36, 29, 20, 0.96) 100%);
  color: var(--mj-text);
}

.mj-feedback-card h2,
.mj-feedback-card h3 {
  margin: 0 0 8px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.05rem;
  color: #fff7e8;
}

.mj-feedback-card p {
  margin: 0 0 16px;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(255, 247, 232, 0.72);
}

.mj-feedback-card .mj-btn--outline {
  background: rgba(255, 248, 232, 0.08);
  color: #fff7e8;
  border-color: rgba(255, 247, 232, 0.22);
}

.mj-feedback-card .mj-btn--outline:hover {
  border-color: rgba(228, 197, 142, 0.55);
  color: #e4c58e;
}

.mj-feedback__note {
  margin: 0;
  font-size: 0.76rem;
  color: var(--mj-text-dim);
}

.mj-value-band__inner {
  max-width: var(--mj-max);
  margin: 0 auto;
  padding: 18px clamp(24px, 4vw, 36px);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(52, 43, 31, 0.95) 0%, rgba(36, 29, 20, 0.98) 100%);
  border: 1px solid rgba(255, 248, 235, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #faf3e6;
}

.mj-value-band__line {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.mj-value-band__muted {
  color: rgba(255, 248, 235, 0.88);
}

.mj-value-band__accent {
  color: #ffe9b8;
}

.mj-value-band__white {
  color: #fffdf8;
}

/* ── 开发中提示弹窗 ── */
.mj-notice-dialog {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(36, 29, 20, 0.42);
  backdrop-filter: blur(4px);
}

.mj-notice-dialog[hidden] {
  display: none !important;
}

.mj-notice-dialog__card {
  width: min(100%, 360px);
  padding: 1.35rem 1.5rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(70, 54, 38, 0.14);
  background: linear-gradient(180deg, #faf6ee 0%, #ede4d6 100%);
  box-shadow: 0 22px 48px rgba(70, 54, 38, 0.18);
  text-align: center;
}

.mj-notice-dialog__title {
  margin: 0 0 0.55rem;
  font-family: "Noto Serif SC", serif;
  font-size: 1.15rem;
  color: #241d14;
}

.mj-notice-dialog__text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(36, 29, 20, 0.68);
}

.mj-notice-dialog__actions {
  display: flex;
  justify-content: center;
}

.mj-notice-dialog__actions .mj-btn {
  min-width: 7rem;
}

/* ── 页脚 ── */
.mj-footer {
  margin-top: auto;
  padding: 28px 24px 32px;
  border-top: 1px solid var(--mj-border);
  background: #2d251a;
}

.mj-footer__inner {
  max-width: var(--mj-max);
  margin: 0 auto 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.76rem;
  color: var(--mj-text-dim);
  line-height: 1.6;
}

.mj-footer__line {
  margin: 0;
}

.mj-footer__line a {
  color: var(--mj-text-muted);
}

.mj-footer__line a:hover {
  color: var(--mj-accent);
}

.mj-footer__loading {
  margin: 0;
}

.mj-footer__legal {
  max-width: var(--mj-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.72rem;
}

.mj-footer__legal a {
  color: var(--mj-text-dim);
}

.mj-footer__legal a:hover {
  color: var(--mj-gold);
}

/* ── 首页右侧文字导航 ── */
[data-scroll-section] {
  scroll-margin-top: calc(var(--mj-nav-h) + 12px);
}

.mj-scroll-rail {
  position: fixed;
  z-index: 120;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  pointer-events: none;
}

.mj-scroll-rail__inner {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-end;
  gap: 12px;
  pointer-events: auto;
}

.mj-scroll-rail__track {
  position: relative;
  order: 2;
  width: 2px;
  border-radius: 2px;
  background: rgba(70, 54, 38, 0.12);
  flex-shrink: 0;
  align-self: stretch;
}

.mj-scroll-rail__thumb {
  position: absolute;
  left: 0;
  width: 100%;
  min-height: 20px;
  border-radius: 2px;
  background: linear-gradient(180deg, #8f672f 0%, #64441e 100%);
  box-shadow: 0 0 10px rgba(143, 103, 47, 0.35);
  transition: top 0.28s ease, height 0.28s ease;
}

.mj-scroll-rail__list {
  order: 1;
  list-style: none;
  margin: 0;
  padding: 0 2px 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.45rem;
}

.mj-scroll-rail__item {
  display: block;
  padding: 0.12rem 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: rgba(36, 29, 20, 0.38);
  text-align: right;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.mj-scroll-rail__item:hover {
  color: rgba(36, 29, 20, 0.72);
}

.mj-scroll-rail__item.is-active {
  color: #8f672f;
  transform: translateX(2px);
}

/* ── 响应式 ── */
@media (max-width: 1100px) {
  .mj-pricing__grid--plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mj-scroll-rail {
    display: none;
  }
}

@media (max-width: 960px) {
  .mj-hero__inner {
    grid-template-columns: 1fr;
  }

  .mj-hero__preview {
    order: -1;
    min-height: 0;
    margin-right: 0;
  }

  .mj-preview-stage {
    --mj-preview-viewport-w: 100%;
    --mj-preview-viewport-h: min(54vw, 544px);
    width: 100%;
    max-width: none;
  }

  .mj-carousel-copy {
    width: calc(100% * var(--mj-preview-copy-ratio));
    height: calc(100% * var(--mj-preview-copy-ratio));
    padding: 0 4% 16% 5%;
  }

  .mj-nav__links {
    flex: 1;
    min-width: 0;
    gap: 14px;
    font-size: 0.8rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mj-nav__links::-webkit-scrollbar {
    display: none;
  }

  .mj-pricing__grid,
  .mj-pricing__grid--plans,
  .mj-contact__grid,
  .mj-feedback__cards {
    grid-template-columns: 1fr;
  }

  .mj-pricing__grid--plans {
    grid-template-columns: 1fr;
  }

  .mj-feature-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mj-feature-row--media-left .mj-feature-row__media,
  .mj-feature-row--media-right .mj-feature-row__media {
    order: 1;
  }

  .mj-feature-row--media-left .mj-feature-row__copy,
  .mj-feature-row--media-right .mj-feature-row__copy {
    order: 2;
  }

  .mj-feature-detail-grid {
    grid-template-columns: 1fr;
  }

  .mj-page__inner {
    padding: 0 16px;
  }
}

@media (max-width: 640px) {
  .mj-nav__inner {
    padding: 0 12px;
    gap: 10px;
  }

  .mj-nav__link-btn {
    display: none;
  }

  .mj-btn--nav-web {
    height: 3.35rem;
    padding: 0 0.75rem;
    font-size: 0.78rem;
  }

  .mj-hero {
    padding: 32px 14px 24px;
  }

  .mj-feature-details {
    padding: 28px 14px 44px;
  }

  .mj-feature-detail-card {
    grid-template-columns: 1fr;
  }

  .mj-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mj-hero__tags {
    font-size: 0.66rem;
    letter-spacing: -0.02em;
  }

  .mj-hero__tags li + li::before {
    margin: 0 4px;
  }

  .mj-btn--primary,
  .mj-btn--outline {
    width: 100%;
  }
}
