/* ==========================================================================
   小问号vibecoding · Wegic-Inspired Monochrome Editorial Portal (v2.0)
   高对比黑白交替 (#09090B → 磨砂玻璃 → #FBFBFB → #000 点阵 → #FBFBFB)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 极简智能隐现悬浮导航栏 (Smart Auto-Hiding Navbar)
   -------------------------------------------------------------------------- */
.portal-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--xwh-nav-h);
  display: flex;
  align-items: center;
  color: #ffffff;
  transition:
    transform 0.34s var(--xwh-ease-out),
    background-color 0.28s var(--xwh-ease-out),
    border-color 0.28s var(--xwh-ease-out),
    color 0.28s var(--xwh-ease-out);
  border-bottom: 1px solid transparent;
}

.portal-nav.is-scrolled {
  background: rgba(9, 9, 11, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.portal-nav.is-hidden {
  transform: translateY(-100%);
}

.portal-nav-inner {
  width: min(100% - var(--xwh-gutter) * 2, var(--xwh-max-w));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.portal-nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.portal-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.portal-nav-link {
  padding: 7px 13px;
  border-radius: var(--xwh-radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition:
    color var(--xwh-dur-fast) var(--xwh-ease-out),
    background-color var(--xwh-dur-fast) var(--xwh-ease-out);
}

.portal-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.portal-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu-btn {
  display: none;
  font-size: 16px;
  padding: 0 10px;
}

.mobile-nav-sheet {
  position: absolute;
  top: var(--xwh-nav-h);
  left: 0;
  right: 0;
  background: rgba(10, 10, 13, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px var(--xwh-gutter) 18px;
  display: none;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-sheet.is-open {
  display: flex;
}

.mobile-nav-item {
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.86);
  transition: background-color var(--xwh-dur-fast);
}

.mobile-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   2. BAND 1: 电影级明暗光影 Hero + 暖白触感灵感输入框
   -------------------------------------------------------------------------- */
.hero-band {
  position: relative;
  min-height: 100svh;
  background: #09090b;
  color: #ffffff;
  overflow: hidden;
  padding-top: calc(var(--xwh-nav-h) + clamp(36px, 7vh, 72px));
  padding-bottom: clamp(88px, 12vh, 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 细腻胶片颗粒微纹 */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#hero-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 香槟金荣誉麦穗徽章（致敬 Wegic 标志性顶部视觉锚点） */
.hero-laurel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--xwh-gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.94;
}

.hero-laurel-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.35;
}

.hero-laurel-sub {
  font-size: 11px;
  opacity: 0.82;
  font-weight: 400;
}

.hero-laurel-main {
  font-family: var(--xwh-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* 超大居中纯白展示标题（干净精致的思源黑体 + 一次性开场逐字浮现） */
.hero-headline {
  margin: 0 0 34px;
  font-family: var(--xwh-font-sans);
  font-size: clamp(34px, 5.4vw, 76px);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: 0.015em;
  color: #ffffff;
  max-width: 960px;
}

.hero-headline-line {
  display: block;
}

.hero-char {
  display: inline-block;
  opacity: 0.42;
  filter: blur(4px);
  transform: translateY(5px);
  animation: heroCharReveal 0.42s var(--xwh-ease-out) forwards;
  animation-delay: calc(var(--ci, 0) * 14ms);
}

@keyframes heroCharReveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

/* 标志性暖白触感 Prompt 灵感输入框 (#F7F6F5) */
.hero-prompt-shell {
  width: min(100%, 720px);
  border-radius: 22px;
  background: var(--xwh-light-surface);
  color: #0a0a0c;
  padding: 18px 18px 14px 20px;
  box-shadow: var(--xwh-shadow-prompt);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  transition:
    transform var(--xwh-dur-base) var(--xwh-ease-out),
    box-shadow var(--xwh-dur-base) var(--xwh-ease-out);
}

.hero-prompt-shell:focus-within {
  transform: translateY(-2px);
  box-shadow:
    0 30px 84px -16px rgba(0, 0, 0, 0.85),
    0 0 0 2px rgba(255, 255, 255, 0.55);
}

/* 首页 Hero 内嵌实时 AI 对话面板 */
.hero-chat-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-chat-panel[hidden] {
  display: none;
}

.hero-chat-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-chat-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #27272a;
}

.hero-chat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.45);
}

.hero-chat-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-chat-tool-btn {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  color: #3f3f46;
  font-size: 11.5px;
  font-weight: 600;
  transition: background-color var(--xwh-dur-fast), color var(--xwh-dur-fast), border-color var(--xwh-dur-fast);
}

.hero-chat-tool-btn:hover {
  background: #0a0a0c;
  color: #ffffff;
  border-color: #0a0a0c;
}

.hero-chat-messages {
  max-height: min(320px, 42vh);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
}

.hero-chat-msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.65;
  word-break: break-word;
}

.hero-chat-msg-user {
  align-self: flex-end;
  background: #111114;
  color: #ffffff;
  border-bottom-right-radius: 5px;
}

.hero-chat-msg-ai {
  align-self: flex-start;
  background: #ffffff;
  color: #18181b;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom-left-radius: 5px;
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.08);
}

.hero-chat-msg-ai strong {
  color: #09090b;
  font-weight: 650;
}

.hero-chat-msg-ai code {
  font-family: var(--xwh-font-mono);
  font-size: 12.5px;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.06);
}

.hero-chat-msg-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.hero-chat-copy-btn {
  border: none;
  background: rgba(0, 0, 0, 0.045);
  color: #52525b;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.hero-chat-copy-btn:hover {
  background: #0a0a0c;
  color: #ffffff;
}

.hero-chat-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: #18181b;
  animation: xwhCursorBlink 0.9s steps(2) infinite;
}

@keyframes xwhCursorBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero-chat-thinking {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #71717a;
  font-size: 13px;
}

.hero-chat-thinking-dots span {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #71717a;
  animation: xwhDotBounce 1.1s infinite ease-in-out;
}

.hero-chat-thinking-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.hero-chat-thinking-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes xwhDotBounce {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.prompt-submit-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.hero-prompt-input {
  width: 100%;
  min-height: 58px;
  max-height: 140px;
  border: none;
  outline: none;
  resize: none;
  background: transparent;
  color: #0a0a0c;
  font-size: 15.5px;
  line-height: 1.55;
  padding: 0;
}

.hero-prompt-input::placeholder {
  color: #8f8f99;
}

.hero-prompt-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-prompt-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prompt-plus-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
  color: #3f3f46;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background-color var(--xwh-dur-fast), color var(--xwh-dur-fast);
}

.prompt-plus-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #000000;
}

.prompt-helper-note {
  font-size: 12px;
  color: #7c7c86;
}

.prompt-submit-btn {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: none;
  background: #e4e4e7;
  color: #9b9ba6;
  font-size: 18px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition:
    background-color var(--xwh-dur-fast) var(--xwh-ease-out),
    color var(--xwh-dur-fast) var(--xwh-ease-out),
    transform var(--xwh-dur-fast) var(--xwh-ease-out);
}

.prompt-submit-btn.is-ready {
  background: #0a0a0c;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.prompt-submit-btn.is-ready:hover {
  background: #222228;
  transform: translateY(-1px);
}

/* 输入框下方的互动灵感胶囊 + 换一批按钮 */
.hero-chips-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.hero-chip {
  min-height: 36px;
  padding: 0 15px;
  border-radius: var(--xwh-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background-color var(--xwh-dur-fast),
    border-color var(--xwh-dur-fast),
    color var(--xwh-dur-fast),
    transform var(--xwh-dur-fast);
}

.hero-chip:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

.hero-chip.is-active {
  background: #ffffff;
  color: #0a0a0c;
  border-color: #ffffff;
  font-weight: 600;
}

.hero-chip-shuffle {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 15px;
}

.hero-micro-hint {
  margin: 22px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   3. BAND 2: 重磨砂玻璃作品展馆（自然承接 Hero 暗幕）
   -------------------------------------------------------------------------- */
.showcase-band {
  position: relative;
  z-index: 4;
  background: #09090b;
  padding-bottom: clamp(68px, 9vh, 108px);
}

.showcase-glass-panel {
  margin-top: -54px;
  border-radius: var(--xwh-radius-xl);
  padding: clamp(28px, 4.5vw, 52px);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(56px);
  -webkit-backdrop-filter: blur(56px);
  box-shadow: var(--xwh-shadow-glass-panel);
}

.showcase-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.showcase-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.showcase-sub {
  margin: 0;
  font-size: 14.5px;
  color: var(--xwh-text-on-dark-muted);
}

/* 分类筛选胶囊（黑白极简风） */
.filter-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-tab {
  min-height: 36px;
  padding: 0 15px;
  border-radius: var(--xwh-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--xwh-dur-fast) var(--xwh-ease-out);
}

.filter-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.filter-tab.is-active {
  background: #ffffff;
  color: #0a0a0c;
  border-color: #ffffff;
  font-weight: 600;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.work-card {
  display: flex;
  flex-direction: column;
  background: #121215;
}

.work-preview {
  position: relative;
  height: 210px;
  padding: 18px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.work-preview-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* 作品专属画廊陈列视觉（高质感实物感，而非廉价发光霓虹） */
.preview-garden {
  background: linear-gradient(145deg, #27322a 0%, #171c19 100%);
}

.mini-garden-paper {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100%, 326px);
  padding: 15px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbf1da 0%, #f5e4be 100%);
  color: #3f3428;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: transform var(--xwh-dur-base) var(--xwh-ease-out);
}

.work-card:hover .mini-garden-paper,
.work-card:hover .mini-dust-dash,
.work-card:hover .mini-sandbox-panel {
  transform: translateY(-4px) scale(1.02);
}

.mini-garden-eq {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--xwh-font-mono);
  font-weight: 800;
  font-size: 19px;
}

.mini-garden-bud {
  padding: 4px 10px;
  border-radius: 999px;
  background: #78ab68;
  color: #fffdf5;
  font-size: 14px;
  box-shadow: 0 3px 0 #4d7840;
}

.mini-garden-seed {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e59362;
  color: #fffdf5;
  font-size: 15px;
  box-shadow: 0 3px 0 #b8683a;
}

.mini-garden-meta {
  font-size: 11px;
  color: #77634d;
  font-weight: 600;
  margin-top: 6px;
}

.preview-dust {
  background: linear-gradient(145deg, #212126 0%, #111114 100%);
}

.mini-dust-dash {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100%, 326px);
  padding: 15px 18px;
  border-radius: 16px;
  background: #f7f6f5;
  color: #0a0a0c;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: transform var(--xwh-dur-base) var(--xwh-ease-out);
}

.mini-dust-score {
  font-family: var(--xwh-font-mono);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: #0a0a0c;
}

.mini-dust-bar {
  width: 116px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-top: 6px;
}

.mini-dust-fill {
  width: 78%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #111114, #ff6b6b);
}

.mini-dust-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: #0a0a0c;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
}

.preview-sandbox {
  background: linear-gradient(145deg, #1b1a24 0%, #101014 100%);
}

.mini-sandbox-panel {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100%, 326px);
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--xwh-dur-base) var(--xwh-ease-out);
}

.mini-slider-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.mini-slider-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
}

.mini-slider-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.work-body {
  flex: 1;
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.work-audience {
  font-size: 12px;
  color: var(--xwh-text-on-dark-faint);
  margin-top: 3px;
}

.work-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.68;
  color: var(--xwh-text-on-dark-muted);
  flex: 1;
}

.work-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.work-metric-tag {
  padding: 3px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 6px;
}

.work-card-wish {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 28px;
  gap: 14px;
  min-height: 360px;
}

.showcase-footer-cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   4. BAND 3: 纯净暖画廊浅色区 (#FBFBFB · 理念与真实产品展示)
   -------------------------------------------------------------------------- */
.light-band {
  background: var(--xwh-light-canvas);
  color: var(--xwh-text-on-light);
  padding-block: clamp(76px, 11vh, 132px);
}

.editorial-center-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(48px, 7vh, 80px);
}

.editorial-eyebrow-light {
  font-size: 15px;
  font-weight: 500;
  color: var(--xwh-text-on-light-faint);
  margin-bottom: 10px;
}

.editorial-title-light {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.22;
  color: #0a0a0c;
}

.editorial-split-list {
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 7vh, 84px);
}

.editorial-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
}

.editorial-split.is-reversed .editorial-visual {
  order: 2;
}

.pastel-pedestal {
  border-radius: var(--xwh-radius-xl);
  padding: clamp(24px, 3.8vw, 40px);
  box-shadow: var(--xwh-shadow-light-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pastel-sage {
  background: var(--xwh-pastel-sage);
}

.pastel-cream {
  background: var(--xwh-pastel-cream);
}

.pedestal-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.pedestal-name {
  font-weight: 700;
  color: #0a0a0c;
}

.pedestal-tag {
  color: #6b7280;
}

/* 写实感极简 MacBook/浏览器画框 */
.device-frame {
  border-radius: 16px;
  background: #0d0d10;
  padding: 10px 10px 12px;
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.28);
}

.device-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
  padding-left: 4px;
}

.device-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.device-screen {
  border-radius: 10px;
  overflow: hidden;
  padding: 20px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.device-screen-garden {
  background: linear-gradient(180deg, #fcf4df 0%, #f5e4be 100%);
  color: #3f3428;
}

.device-screen-dust {
  background: #111114;
  color: #ffffff;
}

.editorial-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.editorial-copy h3 {
  margin: 0;
  font-size: clamp(23px, 2.5vw, 31px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-wrap: balance;
  color: #0a0a0c;
}

.editorial-copy p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--xwh-text-on-light-muted);
}

.editorial-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #2f2f36;
}

.editorial-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 三项底层承诺横条（画廊白底） */
.light-proof-row {
  margin-top: clamp(56px, 8vh, 92px);
  padding-top: 40px;
  border-top: 1px solid var(--xwh-light-border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.light-proof-item h4 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 600;
  color: #0a0a0c;
}

.light-proof-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--xwh-text-on-light-muted);
}

/* --------------------------------------------------------------------------
   5. BAND 4: 纯黑点阵区 (#000 · 三步协作卡片 + 标志性手绘薄荷圈 CTA)
   -------------------------------------------------------------------------- */
.collab-band {
  color: #ffffff;
  padding-block: clamp(84px, 12vh, 136px);
}

.collab-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(48px, 7vh, 72px);
}

.collab-eyebrow {
  font-size: 14px;
  color: var(--xwh-text-on-dark-faint);
  margin-bottom: 10px;
}

.collab-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.24;
}

.collab-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: clamp(72px, 11vh, 124px);
}

.collab-card {
  position: relative;
  border-radius: 26px;
  padding: 28px 24px 24px;
  background: #121215;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  transition:
    transform 0.38s var(--xwh-ease-out),
    border-color 0.28s var(--xwh-ease-out);
}

.collab-card:nth-child(1) {
  transform: rotate(-1.6deg);
}
.collab-card:nth-child(3) {
  transform: rotate(1.6deg);
}

.collab-card:hover {
  transform: rotate(0deg) translateY(-6px);
  border-color: rgba(255, 255, 255, 0.26);
}

.collab-step-num {
  font-family: var(--xwh-font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.collab-card h3 {
  margin: 6px 0 8px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.collab-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--xwh-text-on-dark-muted);
}

.collab-mini-ui {
  border-radius: 16px;
  padding: 14px;
  background: #0a0a0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.collab-mini-bubble {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
}

/* 标志性底部 CTA + 手绘薄荷绿笔触圆圈 + 探头小吉祥物 */
.cta-spotlight {
  text-align: center;
  padding-top: clamp(24px, 4vh, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

.cta-spotlight-title {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 56px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.cta-loop-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 34px;
}

.cta-hand-loop {
  position: absolute;
  inset: -4px -10px;
  width: calc(100% + 20px);
  height: calc(100% + 8px);
  pointer-events: none;
  overflow: visible;
}

.cta-hand-loop path {
  stroke: var(--xwh-mint);
  stroke-width: 3.4;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 760;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 10px rgba(56, 232, 158, 0.35));
}

.cta-mascot-peek {
  position: absolute;
  top: -22px;
  left: 20px;
  pointer-events: none;
  animation: xwh-float 3.2s ease-in-out infinite;
}

@keyframes xwh-float {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-6px) rotate(-2deg);
  }
}

.cta-big-btn {
  position: relative;
  z-index: 2;
  min-height: 54px;
  padding: 0 32px;
  font-size: 16px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   6. BAND 5: 暖画廊白底 (#FBFBFB) · 灵感墙 + 点线 FAQ 手风琴 + 极简页脚
   -------------------------------------------------------------------------- */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: clamp(72px, 11vh, 120px);
}

.voice-card {
  padding: 22px;
  border-radius: 20px;
  background: var(--xwh-light-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--xwh-dur-base) var(--xwh-ease-out);
}

.voice-card:hover {
  transform: translateY(-3px);
}

.voice-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.voice-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  background: #0a0a0c;
  color: #ffffff;
  flex-shrink: 0;
}

.voice-name {
  font-size: 14px;
  font-weight: 700;
  color: #0a0a0c;
}

.voice-role {
  font-size: 12px;
  color: var(--xwh-text-on-light-faint);
}

.voice-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #3f3f46;
}

/* 社区与 FAQ 手风琴（复刻 Wegic 标志性左大标 + 右点线展开） */
.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.community-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.community-left h2 {
  margin: 0;
  font-size: clamp(28px, 3.3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.26;
  color: #0a0a0c;
}

.community-left p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--xwh-text-on-light-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1.5px dotted rgba(0, 0, 0, 0.18);
}

.faq-trigger {
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 650;
  color: #0a0a0c;
}

.faq-chevron {
  font-size: 14px;
  color: #71717a;
  transition: transform 0.25s var(--xwh-ease-out);
  flex-shrink: 0;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--xwh-ease-out);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-answer {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--xwh-text-on-light-muted);
}

/* 极简画廊页脚 */
.portal-footer {
  background: var(--xwh-light-canvas);
  color: var(--xwh-text-on-light);
  border-top: 1px solid var(--xwh-light-border);
  padding: 56px 0 max(44px, env(safe-area-inset-bottom));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.7fr));
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #0a0a0c;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: var(--xwh-text-on-light-muted);
}

.footer-links a:hover {
  color: #0a0a0c;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--xwh-light-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--xwh-text-on-light-faint);
}

/* --------------------------------------------------------------------------
   7. 幕后揭秘抽屉 & 许愿提交弹窗（深色影院极简风）
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--xwh-ease-out);
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.story-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: min(560px, 100vw);
  background: #0d0d10;
  color: #ffffff;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -24px 0 64px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.36s var(--xwh-ease-out);
}

.story-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.drawer-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.drawer-meta-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.drawer-meta-k {
  font-size: 11px;
  color: var(--xwh-text-on-dark-faint);
  margin-bottom: 3px;
}

.drawer-meta-v {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.story-step-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--xwh-mint);
}

.story-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--xwh-text-on-dark-muted);
}

.story-prompt-box {
  padding: 16px;
  border-radius: 16px;
  background: #f7f6f5;
  color: #0a0a0c;
  font-size: 13.5px;
  line-height: 1.72;
}

.story-prompt-tag {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--xwh-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #5a5a63;
}

.story-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-timeline-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid rgba(255, 255, 255, 0.42);
}

.story-timeline-stage {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.story-challenge-box {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(56, 232, 158, 0.08);
  border: 1px solid rgba(56, 232, 158, 0.25);
}

.drawer-footer {
  padding: 16px 24px max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* 许愿卡确认/补充弹窗 */
.wish-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 105;
  width: min(520px, calc(100vw - 28px));
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  border-radius: 26px;
  background: #111114;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.78);
  padding: 26px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(0.96);
  transition:
    opacity 0.25s var(--xwh-ease-out),
    transform 0.28s var(--xwh-ease-out);
}

.wish-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.wish-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wish-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* --------------------------------------------------------------------------
   8. 响应式适配（国内微信手机端极致体验）
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .portal-nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .works-grid,
  .editorial-split,
  .light-proof-row,
  .collab-cards,
  .voices-grid,
  .community-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .editorial-split.is-reversed .editorial-visual {
    order: 0;
  }

  .collab-card:nth-child(1),
  .collab-card:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 600px) {
  .hero-headline {
    font-size: clamp(28px, 7.6vw, 40px);
  }

  .showcase-glass-panel {
    padding: 24px 16px;
    border-radius: 22px;
  }

  .xwh-brand-en,
  #nav-calm-toggle {
    display: none;
  }

  .portal-nav-right .xwh-btn-glass,
  .portal-nav-right .xwh-btn-white {
    padding: 0 11px;
    font-size: 12px;
    min-height: 32px;
  }

  .portal-nav-right .xwh-btn-ghost {
    padding: 0 7px;
    font-size: 12px;
    min-height: 32px;
  }

  .xwh-user-badge {
    max-width: 106px;
    font-size: 12px;
  }

  .wish-form-row,
  .drawer-meta-grid {
    grid-template-columns: 1fr;
  }

  .prompt-helper-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-char {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }
  .cta-mascot-peek {
    animation: none;
  }
}
