/* ==============================================
   MUTBOT — Products New Page Styles (浅色主题)
   参考 PL-Universe ProWhiteRobot 结构与配色
   ============================================== */

/* 页面级浅色覆盖已移至 shared.css 全局主题 */

/* ==================== HERO BANNER（左文右图） ==================== */
.pn-hero {
  position: relative;
  width: 100%;
  min-height: clamp(620px, 74vh, 760px);
  min-height: clamp(620px, 74svh, 760px);
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(245, 245, 247, 0.74) 0%,
    #ffffff 15%,
    #ffffff 85%,
    rgba(245, 245, 247, 0.74) 100%
  );
}

.pn-hero-bg {
  display: none;
}

.pn-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.08),
    transparent
  );
}

/* 左右分列容器 */
.pn-hero-inner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: clamp(520px, calc(74vh - var(--nav-height)), 650px);
  min-height: clamp(520px, calc(74svh - var(--nav-height)), 650px);
}

/* 左侧文字 */
.pn-hero-content {
  width: 45%;
  flex-shrink: 0;
  padding: 3rem clamp(1.5rem, 4vw, 4rem) 3rem clamp(2rem, 6vw, 7rem);
}

.pn-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.15);
  border-radius: 20px;
  animation: fadeInUp 0.6s ease-out;
}

.pn-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.pn-hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #666;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.pn-hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* 浅色主题 ghost 按钮 */
.pn-hero-buttons .btn-ghost {
  color: #1d1d1f;
  border-color: rgba(0, 0, 0, 0.2);
}

.pn-hero-buttons .btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: #1d1d1f;
}

/* 右侧产品图 */
.pn-hero-image {
  width: 55%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  animation: pnHeroImageIn 1s ease-out 0.3s both;
}

.pn-hero-image img {
  display: block;
  max-height: min(62vh, 620px);
  max-height: min(62svh, 620px);
  max-width: 105%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 28px;
}

@keyframes pnHeroImageIn {
  from {
    opacity: 0;
    transform: translateX(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* ==================== 产品介绍 ==================== */
.pn-intro {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pn-intro p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #444;
  line-height: 2;
  letter-spacing: 0.02em;
}

/* ==================== 通用 Section ==================== */
.pn-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pn-section:last-of-type {
  border-bottom: none;
}

.pn-section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.pn-section-eyebrow {
  font-size: 0.8rem;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.pn-section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
  color: #1d1d1f;
}

.pn-section-lead {
  max-width: 800px;
  margin: 0.75rem auto 0;
  color: #5f6368;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.8;
  text-wrap: balance;
}

/* ==================== 产品参数 标注图 + 折叠卡片 ==================== */

.pn-product-diagram {
  background: #f0f0f2;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto 2rem;
}

.pn-product-diagram img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  padding: 1.5rem;
}

/* 全宽撑满模式 */
.pn-product-diagram--full {
  max-width: 1280px;
  border-radius: 28px;
  border: none;
  background: #ffffff;
  width: 100%;
  position: static;
  left: auto;
  transform: none;
  margin: 0 auto 2rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.pn-product-diagram--full img {
  padding: 0;
  max-width: none;
  margin: 0;
  border-radius: 28px;
}

/* 更多参数按钮 */
.pn-specs-toggle-wrap {
  text-align: center;
  margin-bottom: 2rem;
}

.pn-specs-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.25);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s;
}

.pn-specs-toggle-btn:hover {
  background: rgba(0, 122, 255, 0.12);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.pn-specs-toggle-btn i {
  width: 18px;
  height: 18px;
  transition: transform 0.4s;
}
.pn-specs-toggle-btn.expanded i {
  transform: rotate(180deg);
}

/* 折叠容器 */
.pn-specs-collapsible {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.pn-specs-collapsible.expanded {
  max-height: 1200px;
}

/* 三栏参数卡片 */
.pn-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pn-spec-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition:
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}

.pn-spec-card:hover {
  border-color: rgba(0, 122, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.pn-spec-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pn-spec-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 122, 255, 0.08);
  border-radius: 10px;
  color: var(--accent);
}
.pn-spec-card-icon i {
  width: 20px;
  height: 20px;
}

.pn-spec-card-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1d1d1f;
}

.pn-spec-card-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pn-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.pn-spec-item:last-child {
  border-bottom: none;
}

.pn-spec-label {
  font-size: 0.9rem;
  color: #666;
}
.pn-spec-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1d1d1f;
  text-align: right;
}
.pn-spec-highlight {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

/* 展开更多 */
.pn-spec-card-extra {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.pn-spec-card-extra .pn-spec-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.pn-spec-card-extra .pn-spec-item:last-child {
  border-bottom: none;
}

/* ==================== 核心优势 四栏卡片 ==================== */
.pn-advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pn-advantage-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  transition:
    border-color 0.4s,
    transform 0.4s,
    box-shadow 0.4s;
  display: flex;
  flex-direction: column;
}

.pn-advantage-card:hover {
  border-color: rgba(0, 122, 255, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pn-advantage-visual {
  position: relative;
  height: 240px;
  overflow: hidden;
}

/* Dark panel variant: for live mini dashboards in place of photos */
.pn-advantage-visual--dark {
  background: #050a15;
  padding: 0.9rem 1rem;
  display: flex;
}

/* ============================================================
   Mini "DECISION ENGINE" panel — fits inside .pn-advantage-visual (240px)
   ============================================================ */
.pn-mini {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #0a101e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--font);
  color: #e2e8f0;
  position: relative;
}
.pn-mini::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 0% 0%,
    rgba(0, 122, 255, 0.1),
    transparent 55%
  );
  pointer-events: none;
}

.pn-mini__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.01);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #94a3b8;
  text-transform: uppercase;
}
.pn-mini__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: pn-pulse 1.4s ease-in-out infinite;
}
.pn-mini__title {
  flex: 1;
  color: #cbd5e1;
}
.pn-mini__tag {
  background: rgba(0, 122, 255, 0.15);
  color: #3399ff;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.pn-mini__body {
  flex: 1;
  padding: 0.7rem 0.8rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  z-index: 1;
}

.pn-mini__prompt {
  position: relative;
  padding: 0.5rem 0.65rem 0.5rem 0.85rem;
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: 6px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  color: #3399ff;
  min-height: 1.6em;
  line-height: 1.4;
}
.pn-mini__prompt-bar {
  position: absolute;
  left: -1px;
  top: 7px;
  bottom: 7px;
  width: 2px;
  background: #007aff;
  box-shadow: 0 0 6px rgba(0, 122, 255, 0.9);
  border-radius: 0 1px 1px 0;
}
.pn-mini__caret {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background: #3399ff;
  margin-left: 1px;
  vertical-align: -2px;
  animation: pn-blink 1s step-end infinite;
}

.pn-mini__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.4rem;
}
.pn-mini__steps li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  font-size: 0.68rem;
  color: #64748b;
  transition:
    background 0.4s,
    border-color 0.4s,
    color 0.4s,
    box-shadow 0.4s;
  white-space: nowrap;
  min-width: 0;
}
.pn-mini__steps li.pn-mini__step--done {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: #10b981;
}
.pn-mini__steps li.pn-mini__step--active {
  background: rgba(0, 122, 255, 0.12);
  border-color: rgba(0, 122, 255, 0.45);
  color: #3399ff;
  box-shadow: 0 0 14px rgba(0, 122, 255, 0.25);
}
.pn-mini__idx {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  flex: none;
}
.pn-mini__step--done .pn-mini__idx {
  background: rgba(16, 185, 129, 0.2);
}
.pn-mini__step--done .pn-mini__idx::before {
  content: "✓";
  font-size: 0.7rem;
}
.pn-mini__step--active .pn-mini__idx {
  background: rgba(0, 122, 255, 0.25);
  position: relative;
}
.pn-mini__step--active .pn-mini__idx::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid #3399ff;
  border-right-color: transparent;
  animation: pn-spin 1s linear infinite;
}

.pn-mini__foot {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.25rem;
}
.pn-mini__conf {
  font-size: 0.62rem;
  color: #94a3b8;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.pn-mini__conf em {
  font-style: normal;
  color: #3399ff;
  font-weight: 700;
}
.pn-mini__foot-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
}
.pn-mini__foot-bar span {
  display: block;
  height: 100%;
  width: 98%;
  background: #007aff;
  box-shadow: 0 0 6px rgba(0, 122, 255, 0.6);
  transition: width 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  .pn-mini__dot,
  .pn-mini__caret,
  .pn-mini__step--active .pn-mini__idx::before {
    animation: none !important;
  }
}

.pn-advantage-visual img,
.pn-advantage-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.pn-advantage-card:hover .pn-advantage-visual img,
.pn-advantage-card:hover .pn-advantage-visual video {
  transform: scale(1.06);
}

.pn-advantage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(255, 255, 255, 0.9) 100%
  );
  pointer-events: none;
}

.pn-advantage-body {
  background: #fff;
  padding: 1.5rem 1.75rem 2rem;
  flex: 1;
}

.pn-advantage-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #1d1d1f;
}

.pn-advantage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.pn-advantage-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
}
.pn-advantage-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* ==================== 产品特点 6卡片 ==================== */
#features {
  background: #f5f5f7;
  max-width: none;
  padding: 4rem 2rem;
  margin: 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
  overflow-x: clip;
}

#features .pn-section-header {
  max-width: 1280px;
  margin: 0 auto 2.75rem;
}
#features .pn-section-eyebrow {
  color: #999;
}
#features .pn-section-title {
  color: #1d1d1f;
}

.pn-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pn-feature-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 1.5rem 0.5rem;
  text-align: center;
  transition: transform 0.3s;
}
.pn-feature-card:hover {
  transform: translateY(-4px);
}

.pn-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #1d1d1f;
}
.pn-feature-icon i,
.pn-feature-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.2;
}
.pn-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1d1d1f;
}
.pn-feature-card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
}

/* ==================== 可适配末端执行器 ==================== */
.pn-effectors-section {
  background: #f5f5f7;
  max-width: none;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 4rem 2rem;
  border-bottom: none;
  overflow-x: clip;
}

.pn-effectors-section .pn-section-header {
  max-width: 1280px;
  margin: 0 auto 1.5rem;
}
.pn-effectors-section .pn-section-title {
  color: #1d1d1f;
}

.pn-effectors-cta {
  text-align: center;
  margin-bottom: 3rem;
}

/* Carousel 容器 — 与参考站 pl-universe 一致：外侧圆形箭头 + 可滑动轨道 */
.pn-effectors-carousel {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 60px;
}

.pn-effectors-viewport {
  overflow: hidden;
}

.pn-effectors-track {
  --effectors-gap: 1.5rem;
  --effectors-visible: 4;
  display: flex;
  gap: var(--effectors-gap);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  touch-action: pan-y;
}

.pn-effector-card {
  flex: 0 0
    calc(
      (100% - (var(--effectors-visible) - 1) * var(--effectors-gap)) /
        var(--effectors-visible)
    );
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.pn-effector-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* 左右圆形箭头按钮 */
.pn-effectors-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  color: #1d1d1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}
.pn-effectors-arrow:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 113, 227, 0.25);
}
.pn-effectors-arrow:active {
  transform: translateY(-50%) scale(0.96);
}
.pn-effectors-arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.pn-effectors-arrow svg,
.pn-effectors-arrow i {
  width: 22px;
  height: 22px;
}
.pn-effectors-prev {
  left: 6px;
}
.pn-effectors-next {
  right: 6px;
}

.pn-effector-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.pn-effector-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.pn-effector-card:hover .pn-effector-image img {
  transform: scale(1.04);
}
.pn-effector-card h3 {
  padding: 1.25rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1d1d1f;
}

/* ==================== 能力与应用 — 横向轮播（中间大图 + 两侧邻居露出） ==================== */
.pn-caps-section {
  max-width: none;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 4rem 0;
  overflow-x: clip;
  background: linear-gradient(
    90deg,
    rgba(245, 245, 247, 0.72) 0%,
    #ffffff 16%,
    #ffffff 84%,
    rgba(245, 245, 247, 0.72) 100%
  );
}

.pn-caps-section .pn-section-header {
  max-width: 1280px;
  margin: 0 auto 2.5rem;
  padding: 0 2rem;
}

.pn-caps-carousel {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.pn-caps-viewport {
  overflow: hidden;
}

.pn-caps-track {
  --caps-gap: 1.25rem;
  --caps-visible: 1;
  display: flex;
  gap: var(--caps-gap);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  touch-action: pan-y;
}

.pn-cap-card {
  flex: 0 0 70%;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: default;
  transition:
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.4s ease;
}

.pn-cap-card img,
.pn-cap-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.pn-cap-card:hover img,
.pn-cap-card:hover video {
  transform: scale(1.03);
}

.pn-cap-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(0, 0, 0, 0.72) 100%
  );
  pointer-events: none;
}

/* 左下角胶囊标签 —— 字号更大、字重更跳、半透明圆角 pill，带 blur 质感 */
.pn-cap-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.1rem;
  color: #ffffff;
  font-family:
    "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB",
    "Microsoft YaHei UI", var(--font-display), sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  z-index: 2;
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.pn-cap-label i {
  width: 22px;
  height: 22px;
  color: var(--accent, #4da3ff);
  flex-shrink: 0;
}

/* 两侧邻居卡片降低透明度以强调当前主卡 */
.pn-cap-card[aria-hidden="true"] {
  opacity: 0.45;
}

/* =====================================================
   Split capability card: 左图 + 右 force-control 仪表板
   ===================================================== */
.pn-cap-card--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #050a15;
}
.pn-cap-card--split .pn-cap-split-image {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}
.pn-cap-card--split .pn-cap-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pn-cap-card--split .pn-cap-split-panel {
  position: relative;
  display: flex;
  padding: clamp(0.75rem, 1.6vw, 1.4rem);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 100% 0%,
      rgba(0, 122, 255, 0.14),
      transparent 55%
    ),
    #050a15;
}
.pn-cap-card--split:hover .pn-cap-split-image img {
  transform: scale(1.03);
}

/* === Force-control dashboard === */
.pn-fc {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.45rem, 0.9vw, 0.85rem);
  color: #e2e8f0;
  font-family:
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  min-width: 0;
  min-height: 0;
}
.pn-fc__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.pn-fc__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}
.pn-fc__title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #94a3b8;
  text-transform: uppercase;
}
.pn-fc__tag {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
}
.pn-fc__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(0.45rem, 0.9vw, 0.85rem);
  min-height: 0;
}
.pn-fc__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(0.55rem, 1vw, 0.85rem);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}
.pn-fc__cell-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.4rem;
  flex-shrink: 0;
}
.pn-fc__wave {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.pn-fc__gauge {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.pn-fc__gauge svg {
  width: 80%;
  height: 80%;
  max-width: 90px;
  max-height: 90px;
}
.pn-fc__gauge-arc {
  stroke-dasharray: 150.8;
  stroke-dashoffset: 60;
  animation: pn-fc-arc 3s ease-in-out infinite alternate;
}
.pn-fc__gauge-value {
  position: absolute;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 700;
  color: #fff;
}
.pn-fc__gauge-value em {
  font-style: normal;
  font-size: 0.6em;
  color: #94a3b8;
  margin-left: 2px;
  font-weight: 500;
}
.pn-fc__big {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(1.1rem, 2.6vw, 1.85rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  text-align: center;
}
.pn-fc__big em {
  font-style: normal;
  font-size: 0.55em;
  color: #94a3b8;
  margin-left: 4px;
  font-weight: 500;
}
.pn-fc__pulse {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.62rem, 1vw, 0.78rem);
  letter-spacing: 0.08em;
  color: #10b981;
  font-weight: 700;
  white-space: nowrap;
  min-width: 0;
}
.pn-fc__pulse-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pn-fc__pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  animation: pn-fc-pulse 1.6s ease-out infinite;
  flex: 0 0 auto;
}
.pn-fc__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: #94a3b8;
  flex-shrink: 0;
  padding-top: 0.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.pn-fc__foot strong {
  color: #e2e8f0;
  font-weight: 700;
}
.pn-fc__hz em {
  font-style: normal;
  color: #4da3ff;
  font-weight: 700;
  margin-left: 2px;
}

@keyframes pn-fc-arc {
  0% {
    stroke-dashoffset: 95;
  }
  100% {
    stroke-dashoffset: 35;
  }
}
@keyframes pn-fc-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pn-fc__gauge-arc,
  .pn-fc__pulse-dot {
    animation: none !important;
  }
}

/* =====================================================
   pn-fc media / audio 变体 — 多模态感知 split 卡专用
   （与首页 mini-perc 多模态卡片同步：真实 RGB/Depth 照片）
   ===================================================== */
.pn-fc__cell--media {
  padding: 0;
  position: relative;
  overflow: hidden;
}
.pn-fc__cell--media .pn-fc__cell-label {
  position: absolute;
  top: 0.45rem;
  left: 0.55rem;
  background: rgba(5, 10, 21, 0.72);
  padding: 2px 7px;
  border-radius: 4px;
  z-index: 2;
  margin: 0;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: #cbd5e1;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.pn-fc__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.pn-fc__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(0.95);
}
.pn-fc__scan-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.pn-fc__scan {
  animation: pn-fc-scan 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.pn-fc__cell--audio {
  /* keep base padding */
}
.pn-fc__audio {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px;
  min-height: 0;
}
.pn-fc__audio span {
  flex: 1;
  min-width: 2px;
  height: var(--pn-h, 40%);
  background: #4da3ff;
  border-radius: 1px 1px 0 0;
  box-shadow: 0 0 4px rgba(77, 163, 255, 0.4);
  transform-origin: bottom;
  animation: pn-fc-audio 1.4s ease-in-out infinite alternate;
  animation-delay: var(--pn-d, 0s);
}
.pn-fc__audio-bar--1 {
  --pn-d: 0s;
  --pn-h: 65%;
}
.pn-fc__audio-bar--2 {
  --pn-d: 0.18s;
  --pn-h: 35%;
}
.pn-fc__audio-bar--3 {
  --pn-d: 0.32s;
  --pn-h: 80%;
}
.pn-fc__audio-bar--4 {
  --pn-d: 0.08s;
  --pn-h: 45%;
}
.pn-fc__audio-bar--5 {
  --pn-d: 0.42s;
  --pn-h: 72%;
}
.pn-fc__audio-bar--6 {
  --pn-d: 0.22s;
  --pn-h: 30%;
}
.pn-fc__audio-bar--7 {
  --pn-d: 0.14s;
  --pn-h: 88%;
}
.pn-fc__audio-bar--8 {
  --pn-d: 0.36s;
  --pn-h: 50%;
}
.pn-fc__audio-bar--9 {
  --pn-d: 0.04s;
  --pn-h: 62%;
}
.pn-fc__audio-bar--10 {
  --pn-d: 0.28s;
  --pn-h: 38%;
}
.pn-fc__audio-bar--11 {
  --pn-d: 0.46s;
  --pn-h: 75%;
}
.pn-fc__audio-bar--12 {
  --pn-d: 0.12s;
  --pn-h: 42%;
}

@keyframes pn-fc-scan {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(56px);
    opacity: 0;
  }
}
@keyframes pn-fc-audio {
  0% {
    transform: scaleY(0.4);
    opacity: 0.55;
  }
  100% {
    transform: scaleY(1.1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pn-fc__scan,
  .pn-fc__audio span {
    animation: none !important;
  }
}

/* Split 卡在窄屏改为上下堆叠（与 .pn-cap-card 移动断点一致 768px）。
   覆盖基础 .pn-cap-card 的 aspect-ratio 4/3 — 双 class 选择器提升特异性，
   确保胜过文件后段同断点的 .pn-cap-card { aspect-ratio: 4/3 } */
@media (max-width: 768px) {
  .pn-cap-card.pn-cap-card--split {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    aspect-ratio: auto;
  }
  .pn-cap-card.pn-cap-card--split .pn-cap-split-image {
    aspect-ratio: 16 / 9;
  }
  .pn-cap-card.pn-cap-card--split .pn-cap-split-panel {
    min-height: 260px;
  }
}

/* 左右圆形箭头（与 effectors 同款） */
.pn-caps-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  color: #1d1d1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}
.pn-caps-arrow:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 113, 227, 0.25);
}
.pn-caps-arrow:active {
  transform: translateY(-50%) scale(0.96);
}
.pn-caps-arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.pn-caps-arrow svg,
.pn-caps-arrow i {
  width: 22px;
  height: 22px;
}
.pn-caps-prev {
  left: 6px;
}
.pn-caps-next {
  right: 6px;
}

/* ==================== CTA 区 ==================== */
.pn-cta {
  text-align: center;
  padding: 5rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}
.pn-cta h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  color: #1d1d1f;
}
.pn-cta p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #666;
  margin-bottom: 2.5rem;
}
.pn-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pn-cta .btn-ghost {
  color: #1d1d1f;
  border-color: rgba(0, 0, 0, 0.2);
}
.pn-cta .btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: #1d1d1f;
}

/* ==================== 视频弹窗 ==================== */
.video-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
}
.video-modal::backdrop {
  background: rgba(0, 0, 0, 0.92);
}
.video-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
}
.video-modal-inner {
  position: relative;
  width: 88%;
  max-width: 1100px;
}
.video-modal-close {
  position: absolute;
  top: -52px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s;
}
.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
.video-modal-close i,
.video-modal-close svg {
  width: 20px;
  height: 20px;
}
.video-modal video {
  width: 100%;
  border-radius: var(--radius-lg);
  background: #000;
}
.video-modal-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ==================== 占位板块（大模型算法 / 遥测流程） ==================== */
.pn-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pn-placeholder-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
}

.pn-placeholder-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(0, 122, 255, 0.3);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(0, 122, 255, 0.04) 0 12px,
      rgba(0, 122, 255, 0.01) 12px 24px
    ),
    #f5f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.3s;
}

.pn-placeholder-card:hover .pn-placeholder-visual {
  border-color: rgba(0, 122, 255, 0.55);
  transform: translateY(-3px);
}

.pn-placeholder-index {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: rgba(0, 122, 255, 0.35);
  letter-spacing: 0.05em;
}

.pn-placeholder-caption {
  font-size: 0.9rem;
  color: #777;
  text-align: center;
  line-height: 1.5;
}

/* =====================================================
   Dashboard · 大模型算法 / 遥测采集  (dark, interactive)
   ===================================================== */
.pn-dashboard {
  --d-bg: #050a15;
  --d-bg-2: #080d1a;
  --d-panel: #0a101e;
  --d-panel-2: #111827;
  --d-line: rgba(255, 255, 255, 0.05);
  --d-line-2: rgba(255, 255, 255, 0.1);
  --d-text: #e2e8f0;
  --d-text-2: #94a3b8;
  --d-text-3: #64748b;
  --d-primary: #007aff;
  --d-primary-2: #3399ff;
  --d-success: #10b981;
  --d-danger: #f43f5e;
  --d-amber: #f59e0b;

  margin: 0 auto;
  max-width: 1280px;
  background: var(--d-bg);
  border: 1px solid var(--d-line);
  border-radius: var(--radius-xl);
  box-shadow:
    0 24px 64px -16px rgba(15, 23, 42, 0.28),
    0 0 80px rgba(0, 122, 255, 0.06);
  overflow: hidden;
  color: var(--d-text);
  font-family: var(--font);
}

/* ---------- Top bar ---------- */
.pn-dashboard__bar {
  height: 60px;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: var(--d-bg-2);
  border-bottom: 1px solid var(--d-line);
  display: flex;
  align-items: center;
}

.pn-dashboard__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pn-dashboard__logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--d-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 122, 255, 0.45);
}
.pn-dashboard__logo svg {
  width: 18px;
  height: 18px;
}

.pn-dashboard__title {
  font-weight: 600;
  color: #f1f5f9;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.pn-dashboard__sep {
  color: rgba(255, 255, 255, 0.18);
  font-weight: 300;
}
.pn-dashboard__subtitle {
  color: var(--d-text-2);
  font-size: 0.88rem;
  font-weight: 500;
}

.pn-dashboard__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--d-success);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.pn-dashboard__pill--rec {
  background: rgba(244, 63, 94, 0.1);
  color: var(--d-danger);
  border-color: rgba(244, 63, 94, 0.3);
}
/* DEMO UI 徽标 — 明确告知该面板为概念示意，非实时数据 */
.pn-dashboard__pill--demo {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.3);
}
.pn-dashboard__pill--demo .pn-dashboard__dot {
  animation: none;
  background: currentColor;
}
.pn-dashboard__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pn-pulse 1.4s ease-in-out infinite;
}

/* ---------- Grid ---------- */
.pn-dashboard__grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1rem, 2.2vw, 1.75rem);
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(0, 122, 255, 0.04),
    transparent 60%
  );
}
.pn-dashboard__grid--2x2 {
  grid-template-columns: repeat(2, 1fr);
}
.pn-dashboard__grid--1x2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ---------- Module shell ---------- */
.pn-dashmod {
  background: var(--d-panel);
  border: 1px solid var(--d-line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.pn-dashmod:hover {
  border-color: var(--d-line-2);
}
.pn-dashmod__head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--d-line);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.01);
  color: var(--d-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pn-dashmod__head svg {
  width: 16px;
  height: 16px;
  color: var(--d-primary);
}
.pn-dashmod__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

/* =========================================
   Module 1 — Task Decomposition
   ========================================= */
.pn-dashmod__body--task {
  gap: 1.5rem;
}
.pn-task-input {
  position: relative;
  padding: 1rem 3rem 1rem 1.25rem;
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: var(--radius);
}
.pn-task-input__bar {
  position: absolute;
  left: -1px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--d-primary);
  box-shadow: 0 0 10px rgba(0, 122, 255, 0.8);
}
.pn-task-input__text {
  margin: 0;
  color: #3399ff;
  font-weight: 500;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.5;
  min-height: 1.5em;
}
.pn-task-input__caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #3399ff;
  vertical-align: -2px;
  margin-left: 2px;
  animation: pn-blink 1s step-end infinite;
}
.pn-task-input__dots {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 4px;
}
.pn-task-input__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--d-primary);
  animation: pn-pulse 1.2s ease-in-out infinite;
}
.pn-task-input__dots span:nth-child(2) {
  animation-delay: 0.15s;
}
.pn-task-input__dots span:nth-child(3) {
  animation-delay: 0.3s;
}

.pn-task-tree {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.5rem 0;
}
.pn-task-node {
  width: 100%;
  max-width: 320px;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--d-line);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  opacity: 0.35;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}
.pn-task-node--visible {
  background: var(--d-panel-2);
  opacity: 1;
}
.pn-task-node__idx {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  color: var(--d-text-3);
  transition: all 0.3s ease;
}
.pn-task-node--visible .pn-task-node__idx {
  background: rgba(0, 122, 255, 0.18);
  color: var(--d-primary-2);
}
.pn-task-node__idx svg {
  width: 14px;
  height: 14px;
}
.pn-task-node__label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--d-text);
}
.pn-task-node__check {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--d-success);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.4s ease;
}
.pn-task-node--done .pn-task-node__check {
  opacity: 1;
  transform: scale(1);
}
.pn-task-node--active {
  background: rgba(0, 122, 255, 0.1);
  border-color: rgba(0, 122, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 122, 255, 0.18);
}
.pn-task-node--active .pn-task-node__idx {
  background: var(--d-panel);
  border: 1px solid var(--d-primary);
  color: var(--d-primary-2);
}
.pn-task-node--active .pn-task-node__label {
  color: var(--d-primary-2);
  font-weight: 700;
}
.pn-task-node--active .pn-task-node__idx svg {
  animation: pn-spin 1.2s linear infinite;
}
.pn-task-node__badge {
  margin-left: auto;
  padding: 2px 8px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--d-primary-2);
  background: var(--d-panel);
  border: 1px solid rgba(0, 122, 255, 0.3);
  border-radius: 4px;
}
.pn-task-node--active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 122, 255, 0.14),
    transparent
  );
  transform: translateX(-100%);
  animation: pn-shimmer 2.4s ease-in-out infinite;
}
.pn-task-line {
  width: 2px;
  height: 28px;
  background: var(--d-line);
  transition: background 0.5s ease;
}
.pn-task-line--lit {
  background: rgba(0, 122, 255, 0.5);
}

/* =========================================
   Module 2 — Multimodal Fusion
   ========================================= */
.pn-sensor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  flex: 1;
}
.pn-sensor {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 110px;
  overflow: hidden;
  position: relative;
}
.pn-sensor__head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--d-text-2);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.pn-sensor__head svg {
  width: 13px;
  height: 13px;
}
.pn-sensor__viz {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

/* RGB */
.pn-sensor__viz--rgb {
  color: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}
.pn-sensor__viz--rgb svg {
  width: 54px;
  height: 54px;
}
.pn-sensor__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--d-primary);
  box-shadow: 0 0 12px var(--d-primary);
  animation: pn-scan 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

/* Depth cloud */
.pn-sensor__viz--depth {
  overflow: hidden;
}
.pn-sensor__viz--depth span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--d-primary-2);
  animation: pn-breathe 3s ease-in-out infinite alternate;
}

/* Wave */
.pn-sensor__viz--wave {
  overflow: hidden;
}
.pn-sensor__viz--wave svg {
  position: absolute;
  width: 200%;
  height: 100%;
  top: 0;
  left: 0;
  animation: pn-wave 4s linear infinite;
}

/* Real-photo media variant: 与首页 mini-perc 多模态卡片同步 */
.pn-sensor__viz--media {
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  align-items: stretch;
  justify-content: stretch;
}
.pn-sensor__viz--media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(0.95);
}
.pn-sensor__viz--media .pn-sensor__scan {
  z-index: 2;
}

/* Audio bars */
.pn-sensor__viz--audio {
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px;
  padding: 0 6px 2px;
}
.pn-sensor__viz--audio span {
  flex: 1;
  min-width: 3px;
  background: var(--d-primary);
  border-radius: 1px 1px 0 0;
  box-shadow: 0 0 5px rgba(0, 122, 255, 0.4);
  transition: height 0.15s ease;
}

/* Fusion result */
.pn-fusion-result {
  background: rgba(0, 122, 255, 0.05);
  border: 1px solid rgba(0, 122, 255, 0.12);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.pn-fusion-result__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--d-text);
}
.pn-fusion-result__line strong {
  color: #fff;
  font-weight: 700;
  margin-left: 0.3rem;
}
.pn-fusion-result__conf {
  color: var(--d-primary-2);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.05em;
}
.pn-fusion-result__conf em {
  font-style: normal;
  animation: pn-pulse 2s ease-in-out infinite;
}
.pn-fusion-result__bar {
  height: 4px;
  background: var(--d-panel);
  border-radius: 999px;
  border: 1px solid var(--d-line);
  overflow: hidden;
}
.pn-fusion-result__bar span {
  display: block;
  height: 100%;
  width: 98.7%;
  background: var(--d-primary);
  box-shadow: 0 0 10px var(--d-primary);
  border-radius: inherit;
  animation: pn-fill 2s ease-out;
}

/* =========================================
   Module 3 — Motion Planning
   ========================================= */
.pn-motion {
  flex: 1;
  display: flex;
  background: rgba(17, 24, 39, 0.3);
  border: 1px solid var(--d-line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 200px;
  position: relative;
}
.pn-motion::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  pointer-events: none;
}
.pn-motion__canvas {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  z-index: 1;
}
.pn-motion__canvas svg {
  width: 100%;
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(0, 122, 255, 0.18));
}
.pn-motion__path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: pn-draw 3s ease-out forwards;
}
.pn-motion__target {
  animation: pn-pulse 2s ease-in-out infinite;
}
.pn-motion__joints {
  width: 160px;
  flex: none;
  padding: 1.25rem;
  background: rgba(17, 24, 39, 0.5);
  border-left: 1px solid var(--d-line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}
.pn-motion__joints-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--d-text-3);
}
.pn-motion__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--d-success);
  animation: pn-pulse 1.4s ease-in-out infinite;
}
.pn-motion__joint-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.pn-motion__joint-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: var(--d-text);
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--d-line);
}
.pn-motion__joint-list > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.pn-motion__joint-list dt {
  color: var(--d-text);
}
.pn-motion__joint-list dd {
  margin: 0;
  color: var(--d-primary-2);
  transition: all 0.3s ease;
}
.pn-motion__status {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.14);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--d-success);
  font-weight: 500;
}
.pn-motion__status svg {
  width: 16px;
  height: 16px;
  animation: pn-pulse 2s ease-in-out infinite;
}
.pn-motion__sep {
  color: rgba(16, 185, 129, 0.3);
}

/* =========================================
   Module 4 — Closed-Loop Feedback
   ========================================= */
.pn-feedback-chart {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem 0.9rem;
  display: flex;
  flex-direction: column;
  min-height: 170px;
}
.pn-feedback-chart__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 0.72rem;
  color: var(--d-text-2);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pn-feedback-chart__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--d-primary-2);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  background: rgba(0, 122, 255, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}
.pn-feedback-chart__tag svg {
  width: 11px;
  height: 11px;
  animation: pn-pulse 1.5s ease-in-out infinite;
}
.pn-feedback-chart__canvas {
  flex: 1;
  position: relative;
  min-height: 70px;
}
.pn-feedback-chart__canvas svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pn-feedback-chart__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(25% - 1px),
    rgba(255, 255, 255, 0.05) calc(25% - 1px),
    rgba(255, 255, 255, 0.05) 25%,
    transparent 25%
  );
  background-size: 100% 25%;
  pointer-events: none;
}
.pn-feedback-chart__glow {
  opacity: 0.2;
  filter: blur(4px);
}
.pn-feedback-chart__line {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: pn-draw 3s ease-out 0.2s forwards;
}
.pn-feedback-chart__end {
  animation: pn-pulse 1.5s ease-in-out infinite;
}
.pn-feedback-chart__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  color: var(--d-text-3);
}
.pn-feedback-chart__axis strong {
  color: var(--d-primary-2);
  font-weight: 700;
}

.pn-feedback-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.pn-feedback-cards__col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pn-metric {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  position: relative;
  overflow: hidden;
}
.pn-metric__label {
  font-size: 0.62rem;
  color: var(--d-text-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.pn-metric__value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f1f5f9;
  font-family: var(--font-display);
}
.pn-metric__value--mono {
  font-family: "SF Mono", Menlo, Consolas, monospace;
}
.pn-metric:first-child::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  background: rgba(0, 122, 255, 0.12);
  filter: blur(20px);
  border-radius: 50%;
}

.pn-feedback-reasons {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.pn-feedback-reasons__label {
  font-size: 0.62rem;
  color: var(--d-text-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.pn-feedback-reasons ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--d-text);
  font-weight: 500;
}
.pn-feedback-reasons li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.pn-feedback-reasons__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.pn-feedback-reasons__dot--r {
  background: var(--d-danger);
  box-shadow: 0 0 5px var(--d-danger);
}
.pn-feedback-reasons__dot--a {
  background: var(--d-amber);
  box-shadow: 0 0 5px var(--d-amber);
}
.pn-feedback-reasons__dot--b {
  background: var(--d-primary);
  box-shadow: 0 0 5px var(--d-primary);
}

/* =========================================
   Teleop · 示教与遥测
   ========================================= */
.pn-dashmod__body--teleop {
  gap: 1rem;
}
.pn-teleop-cam {
  background: rgba(17, 24, 39, 0.55);
  border: 1px solid var(--d-line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  min-height: 220px;
}
.pn-teleop-cam__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--d-text-2);
}
.pn-teleop-cam__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "SF Mono", Menlo, Consolas, monospace;
}
.pn-teleop-cam__label svg {
  width: 12px;
  height: 12px;
}
.pn-teleop-cam__rec {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  color: var(--d-danger);
  letter-spacing: 0.05em;
}
.pn-teleop-cam__rec em {
  font-style: normal;
  color: var(--d-text);
}
.pn-teleop-cam__rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--d-danger);
  box-shadow: 0 0 6px var(--d-danger);
  animation: pn-pulse 1s ease-in-out infinite;
}
/* DEMO 变体 — 禁用红色脉动，改为中性灰静态圆点，避免伪装正在录制 */
.pn-teleop-cam__rec--demo {
  color: #94a3b8;
}
.pn-teleop-cam__rec--demo .pn-teleop-cam__rec-dot {
  background: #94a3b8;
  box-shadow: none;
  animation: none;
}
.pn-teleop-cam__viz {
  flex: 1;
  width: 100%;
  min-height: 120px;
}
.pn-teleop-cam__ghost {
  stroke-dasharray: 4 4;
  animation: pn-dash 1.6s linear infinite;
}
.pn-teleop-cam__target {
  transform-origin: 250px 28px;
  animation: pn-pulse 1.6s ease-in-out infinite;
}
.pn-teleop-cam__bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
}
.pn-teleop-cam__mode {
  padding: 4px 10px;
  background: rgba(0, 122, 255, 0.12);
  border: 1px solid rgba(0, 122, 255, 0.28);
  color: var(--d-primary-2);
  border-radius: 999px;
  font-size: 0.7rem;
}
.pn-teleop-cam__hz {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  color: var(--d-text-3);
}

.pn-teleop-joints {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.pn-teleop-joints > div {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.pn-teleop-joints dt {
  font-size: 0.62rem;
  color: var(--d-text-3);
  letter-spacing: 0.1em;
}
.pn-teleop-joints dd {
  margin: 0;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--d-primary-2);
  transition: all 0.3s ease;
}

/* =========================================
   Teleop · 轨迹采集
   ========================================= */
.pn-dashmod__body--traj {
  gap: 1rem;
}
.pn-traj {
  flex: 1;
  background: rgba(17, 24, 39, 0.55);
  border: 1px solid var(--d-line);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 220px;
}
.pn-traj__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pn-traj__tabs {
  display: flex;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 3px;
  border-radius: 6px;
  border: 1px solid var(--d-line);
}
.pn-traj__tab {
  padding: 4px 12px;
  font-size: 0.72rem;
  background: transparent;
  border: none;
  color: var(--d-text-2);
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.pn-traj__tab:hover {
  color: var(--d-text);
}
.pn-traj__tab--on {
  background: rgba(0, 122, 255, 0.18);
  color: var(--d-primary-2);
}
.pn-traj__axis {
  font-size: 0.7rem;
  color: var(--d-text-3);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.1em;
}
.pn-traj__viz {
  flex: 1;
  position: relative;
  min-height: 130px;
}
.pn-traj__count {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 0.68rem;
  color: var(--d-text-3);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  z-index: 1;
}
/* 示意图角标 — 明确告知三个 tab 切换的是概念示意 SVG，非真实数据 */
.pn-traj__illustrative {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  z-index: 1;
  pointer-events: none;
}
.pn-traj__viz svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.pn-traj__mode {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0s linear 0.4s;
  pointer-events: none;
}
.pn-traj__mode--on {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.4s ease,
    visibility 0s linear 0s;
}
.pn-traj__mode--on .pn-traj__highlight {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: pn-draw 1.6s ease-out forwards;
}
.pn-traj__unit {
  position: absolute;
  right: 6px;
  bottom: 4px;
  font-size: 0.62rem;
  color: var(--d-text-3);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  z-index: 1;
  opacity: 0.7;
}

.pn-traj-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.pn-traj-stat {
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.pn-traj-stat span {
  font-size: 0.6rem;
  color: var(--d-text-3);
  letter-spacing: 0.1em;
}
.pn-traj-stat strong {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--d-text);
  letter-spacing: 0.02em;
}

/* =========================================
   Keyframes
   ========================================= */
@keyframes pn-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@keyframes pn-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@keyframes pn-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pn-scan {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(90px);
    opacity: 0;
  }
}
@keyframes pn-breathe {
  0% {
    opacity: 0.3;
    transform: scale(0.7);
  }
  100% {
    opacity: 0.95;
    transform: scale(1.25);
  }
}
@keyframes pn-wave {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes pn-shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
@keyframes pn-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes pn-fill {
  from {
    width: 0;
  }
}
@keyframes pn-dash {
  to {
    stroke-dashoffset: -16;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pn-task-input__caret,
  .pn-task-input__dots span,
  .pn-dashboard__dot,
  .pn-sensor__scan,
  .pn-sensor__viz--depth span,
  .pn-sensor__viz--wave svg,
  .pn-task-node--active::after,
  .pn-task-node--active .pn-task-node__idx svg,
  .pn-fusion-result__conf em,
  .pn-motion__target,
  .pn-motion__path,
  .pn-feedback-chart__line,
  .pn-feedback-chart__end,
  .pn-feedback-chart__tag svg,
  .pn-motion__dot,
  .pn-teleop-cam__rec-dot,
  .pn-teleop-cam__ghost,
  .pn-teleop-cam__target,
  .pn-traj__highlight,
  .pn-motion__status svg {
    animation: none !important;
  }
  .pn-motion__path,
  .pn-feedback-chart__line,
  .pn-traj__highlight {
    stroke-dashoffset: 0 !important;
  }
}

/* ==================== 响应式 ==================== */

@media (min-width: 1800px) {
  .pn-hero-inner {
    max-width: min(1920px, calc(100vw - 96px));
  }

  .pn-section {
    max-width: min(1920px, calc(100vw - 96px));
  }

  .pn-section.pn-effectors-section,
  .pn-section.pn-caps-section {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .pn-product-diagram--full {
    max-width: min(1920px, calc(100vw - 96px));
  }

  .pn-advantages-grid {
    gap: 1.5rem;
  }

  .pn-advantage-visual {
    height: 270px;
  }

  #features .pn-section-header {
    max-width: min(1920px, calc(100vw - 96px));
  }

  .pn-features-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    max-width: min(1920px, calc(100vw - 96px));
  }

  .pn-effectors-carousel {
    max-width: min(1760px, calc(100vw - 96px));
  }

  .pn-caps-carousel {
    max-width: min(1880px, calc(100vw - 96px));
  }
}

@media (max-width: 1024px) {
  .pn-placeholder-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pn-specs-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pn-advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .pn-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pn-effectors-track {
    --effectors-visible: 2;
    --effectors-gap: 1.25rem;
  }
  .pn-effectors-carousel {
    padding: 0 56px;
  }
  .pn-cap-card {
    flex: 0 0 80%;
  }
  .pn-caps-carousel {
    padding: 0 48px;
  }
}

@media (max-width: 640px) {
  .pn-advantages-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pn-hero {
    min-height: auto;
    padding-top: var(--nav-height);
  }
  .pn-hero-inner {
    flex-direction: column;
    min-height: auto;
    text-align: center;
  }
  .pn-hero-content {
    width: 100%;
    padding: 3rem 1.5rem 1.5rem;
  }
  .pn-hero-buttons {
    justify-content: center;
  }
  .pn-hero-image {
    width: 100%;
    padding: 1rem 1.5rem 2rem;
  }
  .pn-hero-image img {
    max-height: 40vh;
  }

  .pn-intro {
    padding: 3rem 1.5rem;
  }
  .pn-section {
    padding: 3rem 1.5rem;
  }
  .pn-section-header {
    margin-bottom: 2rem;
  }
  .pn-caps-section .pn-section-header {
    padding: 0;
  }

  #features {
    padding: 3rem 1.5rem;
  }
  .pn-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .pn-cap-card {
    flex: 0 0 90%;
    aspect-ratio: 4 / 3;
  }
  .pn-caps-carousel {
    padding: 0 36px;
  }
  .pn-caps-arrow {
    width: 40px;
    height: 40px;
  }
  .pn-cap-label {
    bottom: 1rem;
    left: 1rem;
    padding: 0.45rem 0.85rem;
    font-size: 1.1rem;
    gap: 0.4rem;
  }
  .pn-cap-label i {
    width: 18px;
    height: 18px;
  }
  .pn-cta {
    padding: 3rem 1.5rem;
  }

  .video-modal-inner {
    width: 95%;
  }
  .video-modal-close {
    top: -44px;
    width: 36px;
    height: 36px;
  }
  .pn-product-diagram img {
    padding: 0.75rem;
  }
  .pn-product-diagram--full img {
    padding: 1rem;
  }

  .pn-effectors-carousel {
    padding: 0 48px;
  }
  .pn-effectors-track {
    --effectors-visible: 1;
    --effectors-gap: 1rem;
  }
  .pn-effectors-arrow {
    width: 40px;
    height: 40px;
  }
  .pn-effectors-prev {
    left: 2px;
  }
  .pn-effectors-next {
    right: 2px;
  }
}

/* =========================================
   Dashboard responsive
   ========================================= */
@media (max-width: 1024px) {
  .pn-dashboard__subtitle {
    font-size: 0.8rem;
  }
  .pn-motion__joints {
    width: 140px;
    padding: 1rem;
  }
}

@media (max-width: 860px) {
  .pn-dashboard__grid--2x2,
  .pn-dashboard__grid--1x2 {
    grid-template-columns: 1fr;
  }
  .pn-dashboard__bar {
    height: auto;
    padding: 0.75rem 1rem;
  }
  .pn-dashboard__brand {
    gap: 0.5rem;
  }
  .pn-dashboard__subtitle {
    width: 100%;
    order: 3;
    font-size: 0.78rem;
  }
  .pn-dashboard__sep {
    display: none;
  }
  .pn-dashboard__pill {
    order: 2;
  }
  .pn-motion {
    flex-direction: column;
    min-height: unset;
  }
  .pn-motion__canvas {
    padding: 1.25rem 1rem;
    min-height: 160px;
  }
  .pn-motion__joints {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--d-line);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0.9rem 1.1rem;
  }
  .pn-motion__joints-head {
    width: 100%;
  }
  .pn-motion__joint-list {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
  }
  .pn-motion__joint-list > div {
    border-bottom: none;
    padding-bottom: 0;
    flex: 1;
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
  }
  .pn-feedback-cards {
    grid-template-columns: 1fr;
  }
  .pn-teleop-joints,
  .pn-traj-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 540px) {
  .pn-dashmod__body {
    padding: 1rem;
    gap: 1rem;
  }
  .pn-sensor-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .pn-sensor {
    padding: 0.75rem;
    min-height: 90px;
  }
  .pn-feedback-cards {
    gap: 0.65rem;
  }
  .pn-metric__value {
    font-size: 1.1rem;
  }
  .pn-teleop-joints dd,
  .pn-traj-stat strong {
    font-size: 0.95rem;
  }
  .pn-task-node {
    padding: 0.7rem 0.9rem;
  }
  .pn-task-node__label {
    font-size: 0.82rem;
  }
}
