/* joiningcode.com · 橙星教育 · 星梦岛 — OLED Cyber Landing */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Figtree:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Noto+Serif+SC:wght@500;600;700&display=swap");

:root {
  --jc-bg: #050508;
  --jc-bg-elevated: #0c0c14;
  --jc-surface: rgba(14, 14, 24, 0.88);
  --jc-glass: rgba(18, 18, 32, 0.62);
  --jc-border: rgba(248, 250, 252, 0.08);
  --jc-border-glow: rgba(225, 29, 72, 0.35);
  --jc-orange: #f97316;
  --jc-orange-dim: #ea580c;
  --jc-gold: #fbbf24;
  --jc-cyan: #38bdf8;
  --jc-magenta: #e11d48;
  --jc-magenta-bright: #fb7185;
  --jc-purple: #818cf8;
  --jc-text: #f8fafc;
  --jc-muted: #94a3b8;
  --jc-dim: #64748b;
  --jc-max: 1180px;
  --jc-font: "Figtree", "PingFang SC", "Microsoft YaHei", sans-serif;
  --jc-display: "Bricolage Grotesque", "Noto Sans SC", sans-serif;
  --jc-serif: "Noto Serif SC", "Songti SC", serif;
  --jc-mono: "JetBrains Mono", ui-monospace, monospace;
  --jc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --jc-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --jc-glow-magenta: 0 0 60px rgba(225, 29, 72, 0.18);
  --jc-glow-cyan: 0 0 50px rgba(56, 189, 248, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--jc-font);
  color: var(--jc-text);
  background: var(--jc-bg);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 55% at 15% -15%, rgba(225, 29, 72, 0.16), transparent 55%),
    radial-gradient(ellipse 65% 45% at 90% 5%, rgba(56, 189, 248, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(129, 140, 248, 0.08), transparent 45%),
    var(--jc-bg);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(248, 250, 252, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
  pointer-events: none;
}

a { color: var(--jc-cyan); text-decoration: none; transition: color 0.2s var(--jc-ease); }
a:hover { color: var(--jc-magenta-bright); text-decoration: none; }

/* ── Nav ── */
.jc-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(5, 5, 8, 0.78);
  border-bottom: 1px solid var(--jc-border);
}
.jc-nav__inner {
  max-width: var(--jc-max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.jc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--jc-text);
}
.jc-brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--jc-magenta), var(--jc-orange));
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  box-shadow: var(--jc-glow-magenta);
}
.jc-brand__text { font-family: var(--jc-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; }
.jc-brand__sub { display: block; font-size: 0.68rem; color: var(--jc-dim); font-weight: 400; }

.jc-nav__links {
  display: flex;
  align-items: center;
  gap: 6px 22px;
  flex-wrap: wrap;
}
.jc-nav__links a {
  color: var(--jc-muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}
.jc-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--jc-magenta), var(--jc-cyan));
  transition: width 0.25s var(--jc-ease);
}
.jc-nav__links a:hover,
.jc-nav__links a.is-active { color: var(--jc-text); }
.jc-nav__links a:hover::after,
.jc-nav__links a.is-active::after { width: 100%; }

.jc-nav__sep {
  width: 1px;
  height: 18px;
  margin-inline: 4px 10px;
  background: var(--jc-border);
  flex-shrink: 0;
}
.jc-nav__links a.jc-nav__ext {
  color: var(--jc-cyan);
  font-size: 0.84rem;
}
.jc-nav__links a.jc-nav__ext::after {
  background: linear-gradient(90deg, var(--jc-cyan), var(--jc-magenta));
}
.jc-nav__links a.jc-nav__ext:hover {
  color: #fff;
}

.jc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--jc-ease), box-shadow 0.2s var(--jc-ease), border-color 0.2s;
}
.jc-btn:hover { text-decoration: none; transform: translateY(-2px); }
.jc-btn--primary {
  background: linear-gradient(135deg, var(--jc-magenta), #be123c);
  color: #fff;
  box-shadow: 0 10px 32px rgba(225, 29, 72, 0.4);
}
.jc-btn--primary:hover { box-shadow: 0 14px 40px rgba(225, 29, 72, 0.55); }
.jc-btn--ghost {
  background: var(--jc-glass);
  color: var(--jc-text);
  border: 1px solid var(--jc-border);
  backdrop-filter: blur(8px);
}
.jc-btn--ghost:hover { border-color: rgba(56, 189, 248, 0.45); box-shadow: var(--jc-glow-cyan); }
.jc-btn--cyan {
  background: linear-gradient(135deg, #0284c7, var(--jc-cyan));
  color: #fff;
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.3);
}

.jc-main {
  max-width: var(--jc-max);
  margin-inline: auto;
  padding: 0 clamp(16px, 3vw, 28px) clamp(48px, 6vh, 80px);
}

/* ── Hero (Home) ── */
.jc-hero {
  position: relative;
  padding: 72px 0 56px;
  text-align: center;
}
.jc-hero--split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  text-align: left;
  padding: 64px 0 72px;
}
.jc-hero__kicker {
  font-family: var(--jc-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jc-cyan);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.jc-hero__kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--jc-cyan), transparent);
}
.jc-hero h1 {
  font-family: var(--jc-display);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  margin: 0 0 18px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.jc-hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--jc-text) 20%, var(--jc-magenta-bright) 55%, var(--jc-cyan) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.jc-hero__lead {
  max-width: 36em;
  margin: 0 0 28px;
  color: var(--jc-muted);
  font-size: 1.06rem;
  line-height: 1.75;
}
.jc-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.jc-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}
.jc-pill {
  font-family: var(--jc-mono);
  font-size: 0.68rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--jc-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--jc-muted);
  letter-spacing: 0.04em;
}
.jc-pill--live {
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
}
.jc-pill--live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 6px;
  box-shadow: 0 0 8px #22c55e;
  animation: jc-pulse 2s ease infinite;
}
@keyframes jc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.jc-hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--jc-border);
  background: var(--jc-surface);
  box-shadow: var(--jc-shadow), var(--jc-glow-magenta);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s var(--jc-ease);
}
.jc-hero-visual:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}
.jc-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.jc-hero-visual__glow {
  position: absolute;
  inset: auto 10% -30% 10%;
  height: 40%;
  background: radial-gradient(ellipse, rgba(225, 29, 72, 0.35), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

/* ── Sections ── */
.jc-section {
  padding: 64px 0;
  border-top: 1px solid var(--jc-border);
}
.jc-section__head { margin-bottom: 36px; }
.jc-section__kicker {
  font-family: var(--jc-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--jc-magenta-bright);
  margin: 0 0 10px;
  text-transform: uppercase;
}
.jc-section h2 {
  font-family: var(--jc-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.jc-section__desc { color: var(--jc-muted); margin: 0; max-width: 52em; font-size: 1rem; }
.jc-section__head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.jc-section__head--row .jc-section__desc { margin-bottom: 0; }
.jc-section__more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--jc-cyan);
  white-space: nowrap;
  padding: 8px 0;
}
.jc-section__more:hover { color: var(--jc-magenta-bright); }

.jc-page-hero {
  padding: 28px 0 40px;
  border-bottom: 1px solid var(--jc-border);
  margin-bottom: 40px;
}
.jc-page-hero h1 {
  font-family: var(--jc-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.jc-page-hero .jc-section__desc { max-width: 42em; }

.jc-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.jc-card {
  position: relative;
  background: var(--jc-glass);
  border: 1px solid var(--jc-border);
  border-radius: 18px;
  padding: 26px;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s var(--jc-ease), box-shadow 0.3s var(--jc-ease), transform 0.3s var(--jc-ease);
  overflow: hidden;
}
.jc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.06), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.jc-card:hover {
  border-color: rgba(225, 29, 72, 0.35);
  box-shadow: var(--jc-shadow);
  transform: translateY(-4px);
}
.jc-card:hover::before { opacity: 1; }
.jc-card--featured {
  grid-column: span 1;
  border-color: rgba(225, 29, 72, 0.25);
}
.jc-card__tag {
  display: inline-block;
  font-family: var(--jc-mono);
  font-size: 0.65rem;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.12);
  color: var(--jc-magenta-bright);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}
.jc-card h3 {
  margin: 0 0 10px;
  font-family: var(--jc-display);
  font-size: 1.2rem;
  font-weight: 700;
}
.jc-card p { margin: 0 0 18px; color: var(--jc-muted); font-size: 0.92rem; line-height: 1.7; }
.jc-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--jc-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.jc-card__link:hover { color: var(--jc-magenta-bright); }

/* 平铺网格 — 替代横向滚动 */
.jc-showcase-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.jc-showcase-grid .jc-showcase-card {
  flex: unset;
  height: 100%;
  min-height: 100%;
}

/* 产品中心 — 详细卡片 */
.jc-product-grid {
  display: grid;
  gap: 28px;
}
.jc-product-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 20px;
  border: 1px solid var(--jc-border);
  background: var(--jc-glass);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s var(--jc-ease), box-shadow 0.3s var(--jc-ease), transform 0.3s var(--jc-ease);
}
.jc-product-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: var(--jc-shadow), var(--jc-glow-cyan);
  transform: translateY(-4px);
}
.jc-product-card--featured {
  border-color: rgba(225, 29, 72, 0.3);
  box-shadow: var(--jc-glow-magenta);
}
.jc-product-card__media {
  aspect-ratio: 16 / 9;
  background: #0a0a12;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.jc-product-card__media img,
.jc-product-card__media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.jc-product-card__content {
  padding: 28px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.jc-product-card__content h2 {
  margin: 0;
  font-family: var(--jc-display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  line-height: 1.3;
}
.jc-product-card__subtitle {
  margin: 0;
  color: var(--jc-cyan);
  font-size: 0.92rem;
  font-weight: 500;
}
.jc-product-card__summary {
  margin: 0;
  color: var(--jc-muted);
  font-size: 0.94rem;
  line-height: 1.75;
  flex: 1;
}
.jc-product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
@media (min-width: 960px) {
  .jc-product-card--featured {
    grid-template-columns: 1.15fr 1fr;
  }
  .jc-product-card--featured .jc-product-card__media {
    aspect-ratio: auto;
    min-height: 320px;
  }
}

.jc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.jc-stat {
  text-align: center;
  padding: 20px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--jc-border);
  transition: border-color 0.25s;
}
.jc-stat:hover { border-color: rgba(56, 189, 248, 0.3); }
.jc-stat strong {
  display: block;
  font-family: var(--jc-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--jc-gold), var(--jc-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.jc-stat span { font-size: 0.78rem; color: var(--jc-dim); }

/* ── Workflow strip (home preview) ── */
.jc-pipeline {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--jc-magenta) transparent;
}
.jc-pipeline__step {
  flex: 0 0 auto;
  min-width: 130px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--jc-border);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  transition: all 0.25s var(--jc-ease);
  cursor: default;
}
.jc-pipeline__step:not(:last-child) { margin-right: 8px; }
.jc-pipeline__step strong {
  display: block;
  font-family: var(--jc-mono);
  font-size: 0.62rem;
  color: var(--jc-magenta-bright);
  margin-bottom: 4px;
}
.jc-pipeline__step span { font-size: 0.78rem; color: var(--jc-muted); }
.jc-pipeline__step:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.06);
  transform: translateY(-2px);
}

/* ── Reveal animation ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--jc-ease), transform 0.7s var(--jc-ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* ── Product page: Daxing showcase ── */
.jc-product-hero {
  padding: 48px 0 40px;
  position: relative;
}
.jc-product-hero h1 {
  font-family: var(--jc-display);
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}
.jc-product-hero h1 em {
  font-style: normal;
  color: var(--jc-magenta-bright);
}

.dx-showcase {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 40px;
}
.dx-steps-nav {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  background: var(--jc-glass);
  border: 1px solid var(--jc-border);
  backdrop-filter: blur(14px);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.dx-steps-nav__label {
  font-family: var(--jc-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--jc-dim);
  padding: 4px 10px 8px;
  text-transform: uppercase;
}
.dx-step-btn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--jc-muted);
  font-family: var(--jc-font);
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s var(--jc-ease);
}
.dx-step-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--jc-text);
}
.dx-step-btn.is-active {
  background: rgba(225, 29, 72, 0.12);
  border-color: rgba(225, 29, 72, 0.35);
  color: var(--jc-text);
  box-shadow: inset 3px 0 0 var(--jc-magenta);
}
.dx-step-btn__num {
  font-family: var(--jc-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--jc-magenta-bright);
  min-width: 42px;
  padding-top: 2px;
}
.dx-step-btn__title { font-weight: 600; line-height: 1.35; }

.dx-panel {
  display: none;
  animation: dx-fade-in 0.45s var(--jc-ease);
}
.dx-panel.is-active { display: block; }
@keyframes dx-fade-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.dx-panel__head { margin-bottom: 20px; }
.dx-panel__head h3 {
  font-family: var(--jc-display);
  font-size: 1.35rem;
  margin: 0 0 8px;
  font-weight: 700;
}
.dx-panel__head p { margin: 0; color: var(--jc-muted); font-size: 0.95rem; max-width: 52em; }

.dx-shot {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--jc-border);
  background: #0a0a12;
  box-shadow: var(--jc-shadow);
}
.dx-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.dx-shot__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(56, 189, 248, 0.06) 50%, transparent 60%);
  background-size: 100% 200%;
  animation: dx-scan 4s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.6;
}
@keyframes dx-scan {
  0%, 100% { background-position: 0 -100%; }
  50% { background-position: 0 100%; }
}

.dx-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.dx-feat {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--jc-border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.85rem;
  color: var(--jc-muted);
}
.dx-feat strong {
  display: block;
  color: var(--jc-cyan);
  font-size: 0.78rem;
  margin-bottom: 4px;
  font-family: var(--jc-mono);
}

.dx-extra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.dx-extra-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--jc-border);
  background: var(--jc-glass);
  backdrop-filter: blur(10px);
}
.dx-extra-card__body { padding: 22px 24px; }
.dx-extra-card__body h4 {
  font-family: var(--jc-display);
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.dx-extra-card__body p { margin: 0; color: var(--jc-muted); font-size: 0.9rem; }
.dx-extra-card img { width: 100%; display: block; border-top: 1px solid var(--jc-border); }

.dx-settings-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
}
.dx-settings-list li {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--jc-border);
  font-size: 0.88rem;
  color: var(--jc-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.dx-settings-list li::before {
  content: "◆";
  color: var(--jc-magenta);
  font-size: 0.55rem;
}

.jc-cta-band {
  margin-top: 56px;
  padding: 40px 32px;
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.12), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(225, 29, 72, 0.25);
}
.jc-cta-band h3 {
  font-family: var(--jc-display);
  font-size: 1.5rem;
  margin: 0 0 10px;
}
.jc-cta-band p { color: var(--jc-muted); margin: 0 0 22px; }

/* ── Misc pages ── */
.jc-team-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.jc-person {
  padding: 20px;
  border-radius: 14px;
  background: var(--jc-glass);
  border: 1px solid var(--jc-border);
}
.jc-person h4 { margin: 0 0 6px; color: var(--jc-gold); }
.jc-person .role { font-size: 0.82rem; color: var(--jc-muted); margin-bottom: 10px; }
.jc-person p { margin: 0; font-size: 0.88rem; color: var(--jc-muted); }

.jc-prose { color: #cbd5e1; font-size: 0.95rem; }
.jc-prose p { margin: 0 0 14px; }
.jc-prose ul { margin: 0 0 14px; padding-left: 1.2em; color: var(--jc-muted); }
.jc-prose li { margin: 6px 0; }

.jc-feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.jc-feature-list li {
  padding: 12px 0 12px 28px;
  position: relative;
  border-bottom: 1px solid var(--jc-border);
  color: var(--jc-muted);
}
.jc-feature-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--jc-magenta);
  font-size: 0.85rem;
}

.jc-foot {
  border-top: 1px solid var(--jc-border);
  padding: 36px 24px;
  text-align: center;
  color: var(--jc-dim);
  font-size: 0.82rem;
}
.jc-foot a { color: var(--jc-cyan); }

.jc-breadcrumb {
  font-size: 0.82rem;
  color: var(--jc-dim);
  margin-bottom: 20px;
  padding-top: 24px;
}
.jc-breadcrumb a { color: var(--jc-dim); }
.jc-breadcrumb a:hover { color: var(--jc-cyan); }

@media (max-width: 960px) {
  .jc-hero--split { grid-template-columns: 1fr; text-align: center; }
  .jc-hero--split .jc-hero__lead { margin-left: auto; margin-right: auto; }
  .jc-hero--split .jc-hero__actions { justify-content: center; }
  .jc-hero--split .jc-hero__badges { justify-content: center; }
  .jc-hero-visual { transform: none; max-width: 520px; margin: 0 auto; }
  .dx-showcase { grid-template-columns: 1fr; }
  .dx-steps-nav {
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-height: none;
  }
  .dx-step-btn { min-width: 140px; flex-direction: column; gap: 4px; }
}

@media (max-width: 640px) {
  .jc-nav__links { width: 100%; justify-content: center; }
  .jc-main { padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .dx-panel { animation: none; }
  .dx-shot__scan { animation: none; }
  .jc-pill--live::before { animation: none; }
  .jc-marquee__track { animation: none; }
}

/* ── open.joiningcode.com extensions ── */
.jc-marquee {
  overflow: hidden;
  border-block: 1px solid var(--jc-border);
  padding: 14px 0;
  background: rgba(0, 0, 0, 0.35);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.jc-marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: jc-marquee 28s linear infinite;
  font-family: var(--jc-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jc-dim);
}
.jc-marquee__track span { white-space: nowrap; color: var(--jc-muted); }
@keyframes jc-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.jc-showcase-scroll {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
}
.jc-showcase-card {
  flex: unset;
  scroll-snap-align: unset;
  height: 100%;
  cursor: pointer;
}
.jc-showcase-card > a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: 18px;
}
.jc-showcase-card > a:focus-visible {
  outline: 2px solid var(--jc-cyan);
  outline-offset: 3px;
}
.jc-showcase-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-6px);
}
.jc-showcase-card {
  border-radius: 18px;
  border: 1px solid var(--jc-border);
  background: var(--jc-glass);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--jc-ease);
}
.jc-showcase-card__media {
  aspect-ratio: 16/9;
  background: #0a0a12;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.jc-showcase-card__media img,
.jc-showcase-card__media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.jc-showcase-card__body { padding: 20px 22px; }
.jc-showcase-card__body h3 {
  margin: 0 0 8px;
  font-family: var(--jc-display);
  font-size: 1.05rem;
}
.jc-showcase-card__body p { margin: 0; color: var(--jc-muted); font-size: 0.88rem; }

.jc-bento {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(12, 1fr);
}
.jc-bento__item {
  grid-column: span 4;
  min-height: 220px;
  border-radius: 18px;
  border: 1px solid var(--jc-border);
  background: var(--jc-glass);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.jc-bento__item--wide { grid-column: span 8; }
.jc-bento__item--tall { min-height: 280px; }
.jc-bento__item::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(225, 29, 72, 0.15), transparent 70%);
  pointer-events: none;
}

.jc-testimonial {
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--jc-border);
  background: linear-gradient(145deg, rgba(14, 14, 24, 0.9), rgba(8, 8, 16, 0.95));
}
.jc-testimonial blockquote {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.75;
  color: #e2e8f0;
}
.jc-testimonial cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--jc-dim);
}
.jc-testimonial cite strong { color: var(--jc-cyan); display: block; margin-bottom: 2px; }

.jc-contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 28px 0;
}
.jc-contact-card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--jc-border);
  background: var(--jc-glass);
}
.jc-contact-card__label {
  font-family: var(--jc-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--jc-dim);
  text-transform: uppercase;
  margin: 0 0 10px;
}
.jc-contact-card__value {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}
.jc-contact-card__hint { font-size: 0.82rem; color: var(--jc-muted); margin: 8px 0 0; }
.jc-contact-card__desc {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--jc-muted);
  line-height: 1.65;
}
.jc-contact-card__media {
  margin: 12px 0 14px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}
.jc-contact-card__media img {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  border-radius: 10px;
  object-fit: contain;
}
.jc-contact-card--media .jc-contact-card__media img {
  max-width: 100%;
}
.jc-contact-card--wechat .jc-contact-card__media img {
  max-width: 180px;
}
.jc-contact-meta {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 0 0 28px;
}

.jc-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}
.jc-form label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--jc-muted);
}
.jc-form input,
.jc-form textarea,
.jc-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--jc-border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--jc-text);
  font: inherit;
}
.jc-form textarea { min-height: 120px; resize: vertical; }

.jc-guide-body {
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 0.96rem;
}
.jc-guide-body h1, .jc-guide-body h2, .jc-guide-body h3 {
  font-family: var(--jc-display);
  color: var(--jc-text);
  margin: 1.4em 0 0.6em;
}
.jc-guide-body p { margin: 0 0 1em; }
.jc-guide-body ul, .jc-guide-body ol { margin: 0 0 1em; padding-left: 1.4em; }
.jc-guide-body code {
  font-family: var(--jc-mono);
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.jc-guide-preview {
  margin-top: 28px;
  padding: 36px 28px;
  border-radius: var(--jc-radius, 16px);
  border: 1px dashed rgba(56, 189, 248, 0.35);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(30, 27, 75, 0.55));
  text-align: center;
  box-shadow: var(--jc-glow-cyan, 0 0 40px rgba(56, 189, 248, 0.08));
}
.jc-guide-preview__badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jc-cyan-bright, #38bdf8);
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.08);
}
.jc-guide-preview__summary {
  margin: 0 auto 14px;
  max-width: 640px;
  color: var(--jc-text);
  font-size: 1.05rem;
  line-height: 1.75;
}
.jc-guide-preview__hint {
  margin: 0 auto 24px;
  max-width: 520px;
  color: var(--jc-dim);
  font-size: 0.86rem;
  line-height: 1.6;
}
.jc-guide-preview__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.jc-fab-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.jc-fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--jc-border);
  background: linear-gradient(135deg, #0c4a6e, var(--jc-cyan));
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.35);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0;
  font-family: inherit;
  line-height: 1;
}
.jc-fab--phone {
  background: linear-gradient(135deg, #0c4a6e, var(--jc-cyan));
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.35);
}
.jc-fab--wechat { background: linear-gradient(135deg, #14532d, #22c55e); box-shadow: 0 12px 32px rgba(34, 197, 94, 0.3); }

.jc-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}
.jc-modal.is-open { display: grid; }
.jc-modal__panel {
  width: min(400px, 94vw);
  border-radius: 20px;
  border: 1px solid var(--jc-border);
  background: var(--jc-bg-elevated);
  padding: 28px;
  text-align: center;
  position: relative;
}
.jc-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--jc-muted);
  font-size: 1.4rem;
  cursor: pointer;
}
.jc-modal__qr {
  width: min(240px, 80vw);
  max-height: 280px;
  margin: 16px auto;
  border-radius: 12px;
  border: 1px solid var(--jc-border);
  object-fit: contain;
  background: #fff;
}

.jc-modal__panel--contact {
  width: min(440px, 94vw);
  text-align: left;
  max-height: min(88vh, 720px);
  overflow: auto;
}
.jc-modal__title {
  margin: 0 0 6px;
  font-family: var(--jc-display);
  text-align: center;
}
.jc-modal__contact-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 8px;
}
.jc-modal-contact-row {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--jc-border);
  background: rgba(255, 255, 255, 0.03);
}
.jc-modal-contact-row__label {
  margin: 0 0 8px;
  font-family: var(--jc-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jc-dim);
}
.jc-modal-contact-row__value {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
}
.jc-modal-contact-row__value a { color: inherit; text-decoration: none; }
.jc-modal-contact-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.jc-modal-contact-row__desc {
  margin: 8px 0 10px;
  font-size: 0.88rem;
  color: var(--jc-muted);
  line-height: 1.6;
}
.jc-modal-contact-row__thumb {
  display: block;
  max-width: min(200px, 100%);
  max-height: 160px;
  margin: 8px 0;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.25);
}
.jc-modal-contact-meta {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--jc-muted);
  text-align: center;
}
.jc-btn--sm {
  padding: 8px 14px;
  font-size: 0.82rem;
}

.jc-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--jc-dim);
  border: 1px dashed var(--jc-border);
  border-radius: 16px;
}

.jc-loading { opacity: 0.5; pointer-events: none; }

@media (max-width: 960px) {
  .jc-bento__item, .jc-bento__item--wide { grid-column: span 12; }
}

/* 全站图片等比例缩放，不拉伸变形 */
.jc-img-contain,
.jc-product-body img,
.jc-product-body video,
.jc-guide-body img,
.jc-guide-body video,
.jc-prose video,
.jc-media-block video,
.dx-shot img,
.jc-hero-visual img,
.jc-card img,
.jc-extra-card img,
.jc-contact-qr {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.jc-product-body,
.jc-guide-body {
  color: var(--jc-muted);
  line-height: 1.75;
}
.jc-product-body figure,
.jc-guide-body figure,
.jc-media-block {
  margin: 24px 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--jc-border);
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
}
.jc-product-body video,
.jc-guide-body video,
.jc-media-block video {
  width: 100%;
  max-height: 480px;
  border-radius: 10px;
  background: #0a0a12;
}
.dx-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a12;
}
.dx-shot img,
.dx-shot video {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
}
.jc-hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.jc-contact-qr-wrap {
  margin-top: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  text-align: center;
}
.jc-contact-qr {
  max-width: 200px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
}

/* 交互：焦点与可点击反馈 */
.jc-nav__links a:focus-visible,
.jc-btn:focus-visible,
.jc-card__link:focus-visible,
.jc-section__more:focus-visible {
  outline: 2px solid var(--jc-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
.jc-form input:focus-visible,
.jc-form textarea:focus-visible,
.jc-form select:focus-visible {
  outline: none;
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
.dx-step-btn:focus-visible {
  outline: 2px solid var(--jc-cyan);
  outline-offset: 2px;
}
@media (max-width: 959px) {
  .jc-product-card--featured { grid-template-columns: 1fr; }
}

/* 公司介绍 · 管理团队 */
.jc-company-body {
  margin-bottom: 48px;
}
.jc-company-body img,
.jc-company-body video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.jc-team-section {
  padding-top: 8px;
}
.jc-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 28px;
}
.jc-team-card {
  display: flex;
  flex-direction: column;
  background: var(--jc-glass);
  border: 1px solid var(--jc-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--jc-shadow);
  transition: transform 0.35s var(--jc-ease), border-color 0.35s var(--jc-ease), box-shadow 0.35s var(--jc-ease);
}
.jc-team-card:hover {
  transform: translateY(-4px);
  border-color: var(--jc-border-glow);
  box-shadow: var(--jc-shadow), var(--jc-glow-magenta);
}
.jc-team-card__photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, rgba(225, 29, 72, 0.12), rgba(56, 189, 248, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.jc-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jc-team-card__placeholder {
  font-family: var(--jc-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(248, 250, 252, 0.18);
}
.jc-team-card__body {
  padding: 24px 26px 28px;
}
.jc-team-card__subtitle {
  margin: 0 0 8px;
  font-family: var(--jc-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jc-cyan);
}
.jc-team-card__body h3 {
  margin: 0 0 6px;
  font-family: var(--jc-serif);
  font-size: 1.45rem;
  font-weight: 700;
}
.jc-team-card__role {
  margin: 0 0 14px;
  color: var(--jc-orange);
  font-weight: 600;
  font-size: 0.92rem;
}
.jc-team-card__bio {
  margin: 0;
  color: var(--jc-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* 公司介绍 · 荣誉 */
.jc-honors-section {
  padding-top: 16px;
  padding-bottom: 32px;
}
.jc-honors-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.jc-honors-list::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--jc-magenta), rgba(56, 189, 248, 0.35));
  opacity: 0.55;
}
.jc-honor-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px 28px;
  padding: 28px 0 28px 8px;
  position: relative;
}
.jc-honor-card__date {
  display: block;
  margin-top: 6px;
  font-family: var(--jc-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--jc-gold);
  letter-spacing: 0.04em;
  text-align: right;
  padding-right: 12px;
}
.jc-honor-card__content {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  background: var(--jc-glass);
  border: 1px solid var(--jc-border);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--jc-shadow);
  transition: border-color 0.3s var(--jc-ease);
}
.jc-honor-card:hover .jc-honor-card__content {
  border-color: rgba(56, 189, 248, 0.35);
}
.jc-honor-card__media {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  aspect-ratio: 4 / 3;
}
.jc-honor-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jc-honor-card__body h3 {
  margin: 0 0 10px;
  font-family: var(--jc-display);
  font-size: 1.12rem;
  font-weight: 700;
}
.jc-honor-card__body p {
  margin: 0;
  color: var(--jc-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
@media (max-width: 720px) {
  .jc-honors-list::before { left: 10px; }
  .jc-honor-card {
    grid-template-columns: 1fr;
    padding-left: 28px;
  }
  .jc-honor-card__date {
    text-align: left;
    padding-right: 0;
    margin-bottom: -8px;
  }
  .jc-honor-card__content {
    grid-template-columns: 1fr;
  }
}

/* ── 媒体比例自适应（竖屏素材紧凑展示） ── */
.jc-media-empty {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 120px;
  color: var(--jc-dim);
  font-size: 0.88rem;
}

.jc-showcase-card__media,
.jc-product-card__media {
  max-height: min(42vh, 420px);
  transition: max-height 0.35s var(--jc-ease), max-width 0.35s var(--jc-ease), aspect-ratio 0.35s var(--jc-ease);
}

.jc-showcase-card__media.is-portrait,
.jc-product-card__media.is-portrait {
  aspect-ratio: 9 / 16;
  max-height: min(52vh, 520px);
  max-width: min(100%, 300px);
  width: 100%;
  margin-inline: auto;
}

.jc-showcase-card__media.is-landscape,
.jc-product-card__media.is-landscape {
  aspect-ratio: 16 / 9;
  max-height: min(38vh, 360px);
}

.jc-showcase-card__media.is-square,
.jc-product-card__media.is-square {
  aspect-ratio: 1 / 1;
  max-height: min(44vh, 400px);
  max-width: min(100%, 420px);
  margin-inline: auto;
}

.jc-showcase-card.is-portrait-card {
  max-width: 340px;
  width: 100%;
  justify-self: center;
}

.jc-showcase-grid,
.jc-showcase-scroll {
  justify-items: stretch;
}

.jc-showcase-grid:has(.is-portrait-card) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 340px));
  justify-content: center;
}

.dx-shot {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--jc-border);
  max-height: min(72vh, 720px);
  transition: max-width 0.35s var(--jc-ease), max-height 0.35s var(--jc-ease);
}

.dx-shot.is-portrait {
  max-width: min(420px, 92vw);
  max-height: min(75vh, 820px);
  margin-inline: auto;
}

.dx-shot.is-portrait img,
.dx-shot.is-portrait video {
  max-height: min(75vh, 820px);
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}

.dx-shot.is-landscape {
  width: 100%;
  max-height: min(50vh, 540px);
}

.jc-hero-visual.is-portrait {
  max-width: min(380px, 88vw);
  margin-inline: auto;
}

.jc-media-inline.is-portrait img,
.jc-media-inline.is-portrait video {
  max-width: min(420px, 100%);
  max-height: min(70vh, 720px);
  margin-inline: auto;
  display: block;
}

.jc-honor-card__media.is-portrait {
  max-width: 220px;
  margin-inline: auto;
  aspect-ratio: 9 / 16;
}

.jc-team-card__photo.is-portrait {
  max-width: 320px;
  margin-inline: auto;
}

/* ── 视口横竖屏布局（1920×1080 / 1080×1920） ── */
@media (orientation: portrait) {
  .jc-nav__inner {
    flex-direction: column;
    align-items: stretch;
    padding-inline: clamp(14px, 4vw, 24px);
  }
  .jc-nav__links {
    width: 100%;
    justify-content: center;
    gap: 8px 10px;
  }
  .jc-hero--split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .jc-hero--split .jc-hero__actions,
  .jc-hero--split .jc-hero__badges {
    justify-content: center;
  }
  .jc-showcase-grid,
  .jc-showcase-scroll,
  .jc-product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .jc-showcase-grid:has(.is-portrait-card) {
    grid-template-columns: minmax(0, 1fr);
    max-width: 380px;
    margin-inline: auto;
  }
  .jc-contact-grid,
  .jc-contact-meta {
    grid-template-columns: 1fr;
  }
  .jc-grid {
    grid-template-columns: 1fr;
  }
  .jc-product-card,
  .jc-product-card--featured {
    grid-template-columns: 1fr !important;
  }
  .jc-product-card--featured .jc-product-card__media {
    aspect-ratio: auto;
    min-height: 0;
  }
  .jc-team-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
  .jc-bento__item,
  .jc-bento__item--wide {
    grid-column: span 12;
  }
  .jc-fab-contact {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
  }
  .jc-foot {
    padding-bottom: max(36px, env(safe-area-inset-bottom));
  }
}

@media (orientation: landscape) and (max-height: 820px) {
  .jc-nav__inner {
    padding-block: 10px;
  }
  .jc-nav__links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 12px;
  }
  .jc-showcase-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  }
  .jc-product-hero,
  .jc-page-hero {
    padding-block: clamp(20px, 4vh, 36px);
  }
  .jc-showcase-card__media,
  .jc-product-card__media {
    max-height: min(36vh, 320px);
  }
  .jc-showcase-card__media.is-portrait,
  .jc-product-card__media.is-portrait {
    max-height: min(44vh, 380px);
    max-width: min(100%, 240px);
  }
}

@media (min-width: 1600px) and (orientation: landscape) {
  :root {
    --jc-max: 1240px;
  }
  .jc-showcase-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (min-width: 900px) and (max-width: 1200px) and (min-height: 1700px) and (orientation: portrait) {
  .jc-showcase-grid:not(:has(.is-portrait-card)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .jc-showcase-grid:has(.is-portrait-card) {
    grid-template-columns: repeat(2, minmax(0, 340px));
  }
}

@media (min-width: 1080px) and (max-width: 1080px) and (min-height: 1900px) {
  .jc-main { max-width: 960px; }
}
