/* ==========================================================================
   瑞安云筑 工程管理助手 — 落地页样式
   PostHog × 工业蓝图 风格
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Inter+Tight:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Caveat:wght@500;700&display=swap');

/* ---------- TOKENS ---------- */
:root {
  --cream: #F1ECDF;
  --cream-2: #E8E2D1;
  --paper: #FBF8F1;
  --ink: #151513;
  --ink-soft: #3F3D38;
  --ink-mute: #6B6962;
  --line: #151513;
  --line-soft: #C7BFA8;
  --orange: #FF6B2C;
  --orange-deep: #DD4D11;
  --yellow: #FFD23F;
  --yellow-soft: #FFEDA0;
  --teal: #1B6B5B;
  --teal-soft: #B6D9CC;
  --rose: #E14B5A;
  --rose-soft: #F5C0C5;
  --lake: #3A6BC9;
  --lake-soft: #C2D2EE;
  --plum: #6B3FA0;

  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter Tight', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-hand: 'Caveat', cursive;

  --shadow-hard: 4px 4px 0 0 var(--ink);
  --shadow-hard-lg: 8px 8px 0 0 var(--ink);
  --shadow-hard-xl: 12px 12px 0 0 var(--ink);

  --radius: 12px;
  --radius-sm: 6px;
}

/* ---------- RESET ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* halftone background */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: radial-gradient(var(--ink) 0.6px, transparent 0.6px);
  background-size: 18px 18px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* ---------- ANNOUNCEMENT BAR ---------- */
.announce {
  position: relative; z-index: 50;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
.announce-track {
  display: flex; gap: 48px;
  padding: 9px 0;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.announce-track span { display: inline-flex; align-items: center; gap: 10px; }
.announce-track .dot { color: var(--orange); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(6px);
}
.nav-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 32px; height: 32px;
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-3deg);
}
.brand-mark::before { content: '⌬'; font-size: 18px; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-link {
  padding: 8px 12px;
  font-size: 14px; font-weight: 500;
  border-radius: 6px;
  position: relative;
  transition: background .15s;
}
.nav-link:hover { background: var(--cream-2); }
.nav-link.has-new::after {
  content: 'NEW';
  position: absolute; top: -2px; right: -8px;
  background: var(--orange); color: var(--cream);
  font-family: var(--font-mono); font-size: 8px;
  padding: 2px 4px; border-radius: 3px;
  border: 1px solid var(--ink);
  transform: rotate(8deg);
}
.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 14px;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-ghost { background: transparent; box-shadow: none; }
.btn-ghost:hover { background: var(--cream-2); box-shadow: none; transform: none; }
.btn-sm { padding: 6px 12px; font-size: 13px; box-shadow: 2px 2px 0 var(--ink); }
.btn-sm:hover { box-shadow: 3px 3px 0 var(--ink); }

/* ---------- LAYOUT ---------- */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 60px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 5px 10px;
  border-radius: 4px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 2px var(--cream);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
}
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em; }
.hand { font-family: var(--font-hand); font-weight: 700; }
.hi-orange { background: var(--orange); padding: 0 .12em; border-radius: 4px; color: var(--ink); display: inline-block; transform: rotate(-1deg); }
.hi-yellow { background: var(--yellow); padding: 0 .12em; border-radius: 4px; }
.hi-rose { background: var(--rose-soft); padding: 0 .12em; border-radius: 4px; }
.under-wave { position: relative; }
.under-wave::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 8'%3E%3Cpath d='M0 4 Q 7.5 0, 15 4 T 30 4 T 45 4 T 60 4' stroke='%23FF6B2C' stroke-width='2' fill='none' /%3E%3C/svg%3E");
  background-size: 60px 8px;
}

.stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  transform: rotate(-2deg);
  background: var(--yellow);
}
.stamp.outlined {
  background: transparent;
  color: var(--ink);
  border-style: dashed;
}

/* ---------- HERO ---------- */
.hero {
  padding: 64px 0 96px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 .word {
  display: inline-block;
  opacity: 0; transform: translateY(20px);
  animation: rise .65s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero h1 .word:nth-child(1) { animation-delay: 0.05s; }
.hero h1 .word:nth-child(2) { animation-delay: 0.15s; }
.hero h1 .word:nth-child(3) { animation-delay: 0.25s; }
.hero h1 .word:nth-child(4) { animation-delay: 0.35s; }
.hero h1 .word:nth-child(5) { animation-delay: 0.45s; }
.hero h1 .word:nth-child(6) { animation-delay: 0.55s; }
.hero h1 .word:nth-child(7) { animation-delay: 0.65s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
.hero p.lead { margin-top: 26px; font-size: 20px; }
.hero-meta {
  margin-top: 32px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.meta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  box-shadow: 2px 2px 0 var(--ink);
}
.meta-pill .ico {
  width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px; color: var(--paper);
  font-weight: 700;
}
.meta-pill .ico.o { background: var(--orange); }
.meta-pill .ico.t { background: var(--teal); }
.meta-pill .ico.l { background: var(--lake); }
.meta-pill .ico.y { background: var(--yellow); color: var(--ink); }
.meta-pill .ico.r { background: var(--rose); }

.hero-cta { margin-top: 36px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.hero-canvas {
  position: relative;
  padding: 24px;
}
.hero-canvas .scribble {
  position: absolute;
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--ink);
  pointer-events: none;
  z-index: 3;
}
.hero-canvas .scribble.s1 {
  top: -10px; right: -10px;
  font-size: 26px;
  transform: rotate(6deg);
}
.hero-canvas .scribble.s2 {
  bottom: -16px; left: -8px;
  font-size: 22px;
  transform: rotate(-4deg);
  color: var(--orange-deep);
}

/* fake browser frame for chat panel */
.frame {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 12px 12px 0 var(--ink);
  overflow: hidden;
  position: relative;
  text-align: center;
}
.frame-body {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--cream-2);
  min-height: 120px;
  padding: 12px;
}
.frame > img,
.hero-canvas .frame img,
.frame-body img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(360px, 48vh);
  object-fit: contain;
  object-position: center center;
  display: block;
  margin: 0 auto;
}
.frame-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border-bottom: 2px solid var(--ink);
  background: var(--cream-2);
}
.frame-dots { display: flex; gap: 6px; }
.frame-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); }
.frame-bar .url {
  flex: 1; text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
}

/* ---------- LOGO STRIP ---------- */
.logo-strip {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  overflow: hidden;
}
.logo-strip-track {
  display: flex; gap: 80px;
  padding: 28px 0;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
}
.logo-strip-track > div {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0.85;
  display: flex; align-items: center; gap: 8px;
}
.logo-strip-track .sep { color: var(--orange); font-size: 14px; }

/* ---------- SECTION HEADERS ---------- */
.sec-head {
  margin-bottom: 56px;
  display: flex; gap: 32px; align-items: end;
  flex-wrap: wrap;
}
.sec-head .left { max-width: 720px; }
.sec-head .right { max-width: 320px; color: var(--ink-soft); font-size: 15px; }
.sec-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 12px;
}

/* ---------- BENTO ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 0;
  border: 2px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 12px 12px 0 var(--ink);
}
.bento .cell {
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--paper);
  overflow: hidden;
  transition: background .2s;
}
.bento .cell:hover { background: var(--cream); }
.bento .cell.col-3 { grid-column: span 3; }
.bento .cell.col-2 { grid-column: span 2; }
.bento .cell.col-4 { grid-column: span 4; }
.bento .cell.row-2 { grid-row: span 2; }
.bento .cell:nth-child(3n) { border-right: none; }
.bento .cell .h3 { display: flex; align-items: center; gap: 10px; }
.bento .cell .ic {
  width: 36px; height: 36px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  background: var(--yellow);
  flex-shrink: 0;
}
.bento .cell.bg-o .ic { background: var(--orange); color: var(--paper); }
.bento .cell.bg-t .ic { background: var(--teal); color: var(--paper); }
.bento .cell.bg-l .ic { background: var(--lake); color: var(--paper); }
.bento .cell.bg-r .ic { background: var(--rose); color: var(--paper); }
.bento .cell.bg-p .ic { background: var(--plum); color: var(--paper); }
.bento .cell .body { font-size: 14px; color: var(--ink-soft); flex: 1; }
.bento .cell .stamp { align-self: flex-start; }
.bento .cell .img-wrap {
  margin: 8px -28px -28px;
  border-top: 2px solid var(--ink);
  background: var(--cream);
  padding: 16px;
  flex-shrink: 0;
  overflow: hidden;
}
.bento .cell .img-wrap img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  object-position: top center;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  box-shadow: 4px 4px 0 var(--ink);
}

/* ---------- SHOWCASE (alternating) ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 120px;
}
.showcase.flip { grid-template-columns: 1.05fr 1fr; direction: rtl; }
.showcase.flip > * { direction: ltr; }
.showcase-content .stamp { margin-bottom: 18px; }
.showcase-content h2 { margin-bottom: 18px; }
.showcase-content .lead { margin-bottom: 28px; }
.showcase-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
}
.showcase-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
}
.showcase-list li::before {
  content: '✱';
  color: var(--orange);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: -2px;
}
.showcase-img {
  position: relative;
}
.showcase-img img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow-hard-xl);
  background: var(--paper);
}
.showcase-img .scribble {
  position: absolute;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 22px;
  pointer-events: none;
}
.showcase-img .scribble.tl { top: -28px; left: 24px; transform: rotate(-3deg); }
.showcase-img .scribble.tr { top: -22px; right: 0; transform: rotate(4deg); color: var(--orange-deep); }
.showcase-img .scribble.br { bottom: -22px; right: 32px; transform: rotate(-2deg); }
.showcase-img .scribble.bl { bottom: -28px; left: 0; transform: rotate(3deg); color: var(--lake); }

/* ---------- INTERACTIVE CHAT DEMO ---------- */
.demo-shell {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-hard-xl);
  overflow: hidden;
}
.demo-bar {
  display: flex; align-items: center;
  padding: 10px 14px;
  border-bottom: 2px solid var(--ink);
  background: var(--cream-2);
  font-family: var(--font-mono);
  font-size: 12px;
  gap: 8px;
}
.demo-bar .live {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: var(--paper);
  padding: 2px 8px; border-radius: 4px;
  font-size: 10px; letter-spacing: 0.1em;
}
.demo-bar .live::before {
  content: ''; width: 6px; height: 6px; background: var(--orange);
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
}
.demo-body {
  display: grid; grid-template-columns: 220px 1fr;
  height: 540px;
}
.demo-side {
  background: #F7F5EE;
  border-right: 2px solid var(--ink);
  padding: 14px 12px;
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto;
}
.demo-side .label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--ink-mute); text-transform: uppercase; padding: 8px 4px 4px;
}
.demo-side .item {
  padding: 8px 10px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  font-size: 13px; cursor: pointer;
  transition: background .12s;
}
.demo-side .item:hover { background: var(--cream-2); }
.demo-side .item.active { background: var(--orange); border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); font-weight: 600; }
.demo-side .new-btn {
  margin-bottom: 10px;
  padding: 8px 10px;
  border: 1.5px dashed var(--ink);
  border-radius: 6px;
  font-family: var(--font-mono); font-size: 12px;
  text-align: left; display: flex; gap: 6px; align-items: center;
}
.demo-main {
  display: flex; flex-direction: column;
  background: var(--paper);
}
.demo-thread {
  flex: 1; padding: 22px 24px;
  display: flex; flex-direction: column; gap: 16px;
  overflow-y: auto;
}
.demo-thread::-webkit-scrollbar { width: 6px; }
.demo-thread::-webkit-scrollbar-thumb { background: var(--line-soft); border-radius: 3px; }

.msg { display: flex; gap: 10px; align-items: flex-start; max-width: 88%; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg .av {
  width: 28px; height: 28px;
  border: 1.5px solid var(--ink); border-radius: 6px;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  flex-shrink: 0;
  background: var(--yellow);
}
.msg.user .av { background: var(--ink); color: var(--paper); }
.msg .bubble {
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  font-size: 14px; line-height: 1.55;
}
.msg.user .bubble { background: var(--cream-2); }
.msg .bubble strong { background: var(--yellow); padding: 0 3px; }
.msg .bubble .think {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-mute);
  background: var(--cream); padding: 3px 6px; border-radius: 4px;
  margin-bottom: 8px;
}
.msg .bubble .think::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); animation: pulse 1.2s infinite;
}
.msg .citation {
  font-family: var(--font-mono); font-size: 10px;
  background: var(--lake-soft);
  border: 1px solid var(--lake);
  color: var(--ink);
  padding: 1px 5px; border-radius: 3px;
  margin: 0 2px;
}

.demo-input {
  border-top: 2px solid var(--ink);
  padding: 12px 14px 14px;
  background: var(--paper);
}
.suggest-row {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.suggest {
  font-size: 12px;
  padding: 6px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  cursor: pointer;
  transition: background .12s, transform .12s;
  font-family: inherit;
}
.suggest:hover { background: var(--orange); transform: translateY(-1px); }
.suggest .k {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--ink-mute);
  margin-right: 6px;
}
.input-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--cream-2);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  padding: 8px 10px;
}
.input-row input {
  flex: 1; border: none; background: transparent;
  font-family: inherit; font-size: 14px; outline: none; color: var(--ink);
}
.input-row .ctrls { display: flex; gap: 6px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
}
.chip.active { background: var(--orange); }
.send-btn {
  width: 32px; height: 32px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--orange);
  display: grid; place-items: center;
  box-shadow: 2px 2px 0 var(--ink);
  font-weight: 700;
}

/* ---------- KNOWLEDGE STACK DIAGRAM ---------- */
.diagram {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 40px;
  box-shadow: var(--shadow-hard-xl);
  position: relative;
}
.diagram-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.dia-stack { display: flex; flex-direction: column; gap: 12px; }
.dia-card {
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--cream);
  display: flex; align-items: center; gap: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  position: relative;
}
.dia-card .badge {
  width: 36px; height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 12px;
  flex-shrink: 0;
}
.dia-card.aliyun-1 .badge { background: var(--orange); color: var(--paper); }
.dia-card.aliyun-2 .badge { background: var(--lake); color: var(--paper); }
.dia-card.aliyun-3 .badge { background: var(--plum); color: var(--paper); }
.dia-card .meta { flex: 1; }
.dia-card .name { font-weight: 700; font-size: 14px; }
.dia-card .uri { font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); }
.dia-card .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 var(--teal);
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(27, 107, 91, 0.5); }
  100% { box-shadow: 0 0 0 12px rgba(27, 107, 91, 0); }
}

.dia-mid {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.dia-arrow {
  width: 100px; height: 2px;
  background: var(--ink);
  position: relative;
}
.dia-arrow::after {
  content: ''; position: absolute;
  right: -2px; top: -5px;
  width: 12px; height: 12px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  transform: rotate(45deg);
}
.dia-arrow.flow {
  background: linear-gradient(to right, var(--ink) 50%, transparent 50%);
  background-size: 12px 2px;
  animation: flow 2s linear infinite;
}
@keyframes flow { 0% { background-position: 0 0; } 100% { background-position: 24px 0; } }
.dia-core {
  width: 130px; height: 130px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  box-shadow: 6px 6px 0 var(--ink);
  position: relative;
}
.dia-core::before {
  content: ''; position: absolute; inset: -10px;
  border: 1.5px dashed var(--ink);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.dia-tag {
  font-family: var(--font-mono); font-size: 10px;
  background: var(--ink); color: var(--cream);
  padding: 3px 8px; border-radius: 4px;
  letter-spacing: 0.1em;
}

.dia-blocked {
  position: absolute;
  bottom: -18px; right: 24px;
  font-family: var(--font-hand); font-weight: 700;
  font-size: 22px;
  color: var(--rose);
  transform: rotate(-3deg);
}
.dia-blocked::before {
  content: '✘ ';
  color: var(--rose);
}

/* ---------- COMPARE TABLE ---------- */
.compare {
  border: 2px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-hard-xl);
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td {
  padding: 16px 20px;
  border-bottom: 1.5px solid var(--line-soft);
  border-right: 1.5px solid var(--line-soft);
  text-align: left;
  font-size: 14px;
  vertical-align: middle;
}
.compare th:last-child, .compare td:last-child { border-right: none; }
.compare thead th {
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.compare thead th.us {
  background: var(--orange);
  position: relative;
}
.compare thead th.us::after {
  content: '✓ 我们';
  font-family: var(--font-mono);
  font-size: 10px;
  position: absolute; top: 6px; right: 8px;
  background: var(--ink); color: var(--cream);
  padding: 2px 6px; border-radius: 3px;
}
.compare td.row-label { font-weight: 600; background: #F7F5EE; }
.compare td .mark { font-family: var(--font-mono); font-weight: 700; }
.compare td .yes { color: var(--teal); }
.compare td .no { color: var(--ink-mute); text-decoration: line-through; }
.compare td .ok { color: var(--orange-deep); font-weight: 700; }
.compare tr:hover td:not(.row-label) { background: #FFFDF6; }

/* ---------- ROADMAP ---------- */
.roadmap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.road-item {
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  padding: 20px;
  position: relative;
  box-shadow: 4px 4px 0 var(--ink);
}
.road-item .when {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.road-item h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; line-height: 1.15;
  margin-bottom: 10px;
}
.road-item ul { list-style: none; font-size: 13px; color: var(--ink-soft); }
.road-item ul li { padding: 4px 0; display: flex; gap: 6px; align-items: flex-start; }
.road-item ul li::before { content: '◆'; color: var(--orange); font-size: 10px; margin-top: 4px; }
.road-item.now { background: var(--yellow-soft); }
.road-item.now::before {
  content: 'NOW SHIPPING';
  position: absolute; top: -10px; right: 16px;
  background: var(--orange); color: var(--ink);
  padding: 4px 10px; border: 1.5px solid var(--ink);
  border-radius: 4px; font-family: var(--font-mono); font-size: 10px;
  font-weight: 700; letter-spacing: 0.1em;
  transform: rotate(3deg);
  box-shadow: 2px 2px 0 var(--ink);
}
.road-item.next { background: var(--paper); }
.road-item.later { background: #F7F5EE; }
.road-item.dream {
  background: var(--cream-2);
  border-style: dashed;
}
.road-item.dream .when { color: var(--plum); }

/* ---------- QUOTE ---------- */
.quote-block {
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 64px 48px;
  background: var(--paper);
  box-shadow: var(--shadow-hard-xl);
  position: relative;
  text-align: center;
  overflow: hidden;
}
.quote-block::before {
  content: '"';
  position: absolute;
  top: -40px; left: 24px;
  font-family: var(--font-display);
  font-size: 240px;
  font-weight: 800;
  color: var(--orange);
  opacity: 0.18;
  line-height: 1;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 900px; margin: 0 auto 28px;
  position: relative;
}
.quote-block .who {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 14px;
}
.quote-block .who .av {
  width: 44px; height: 44px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq {
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 2px solid var(--ink);
}
.faq details {
  border-bottom: 1.5px solid var(--line-soft);
  padding: 24px 0;
}
.faq details[open] { background: var(--paper); padding: 24px 24px; margin: 0 -24px; border-radius: 8px; border-bottom-color: var(--ink); }
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 26px;
  width: 32px; height: 32px;
  border: 1.5px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .25s, background .15s;
}
.faq details[open] summary::after { content: '−'; background: var(--orange); transform: rotate(180deg); }
.faq details > div {
  margin-top: 14px;
  font-size: 15px; color: var(--ink-soft); line-height: 1.65;
  max-width: 70ch;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 40px;
  border-top: 2px solid var(--ink);
  position: relative;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}
.footer h5 {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-2);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer ul { list-style: none; }
.footer ul li { padding: 5px 0; font-size: 14px; }
.footer ul li a { color: var(--cream); opacity: 0.75; transition: opacity .15s; }
.footer ul li a:hover { opacity: 1; color: var(--orange); }
.footer .brand { color: var(--cream); font-size: 22px; }
.footer .brand-mark { background: var(--orange); }
.footer-tag { color: var(--cream-2); font-size: 14px; max-width: 32ch; margin-top: 20px; opacity: 0.75; line-height: 1.6; }
.footer-base {
  border-top: 1px solid #2A2A26;
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--cream-2);
}
.footer-base .icp { opacity: 0.6; }

.footer-stamp {
  position: absolute;
  top: -36px; right: 80px;
  background: var(--orange);
  color: var(--ink);
  padding: 16px 24px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  transform: rotate(-3deg);
  box-shadow: 4px 4px 0 var(--ink);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .showcase, .showcase.flip { grid-template-columns: 1fr; direction: ltr; }
  .bento { grid-template-columns: 1fr; }
  .bento .cell { grid-column: span 1 !important; border-right: none; }
  .roadmap { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .demo-body { grid-template-columns: 1fr; height: auto; }
  .demo-side { display: none; }
  .diagram-grid { grid-template-columns: 1fr; }
  .dia-mid { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .dia-arrow { width: 60px; }
}
@media (max-width: 600px) {
  .roadmap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .quote-block { padding: 40px 20px; }
  .section { padding: 64px 0; }
}

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- BENTO 新增配色 ---------- */
.bento .cell.bg-d .ic { background: var(--lake); color: var(--paper); }
.bento .cell.bg-a .ic { background: var(--ink); color: var(--paper); }
.bento .cell .body strong { background: var(--yellow); padding: 0 3px; border-radius: 2px; }

/* ---------- BOT INTEGRATION (DingTalk) ---------- */
.bot-flow {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}
.bot-steps {
  list-style: none;
  display: grid;
  gap: 16px;
}
.bot-steps li {
  position: relative;
  padding: 22px 24px 22px 86px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow-hard);
  transition: transform .15s, box-shadow .15s;
}
.bot-steps li:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.bot-steps li .num {
  position: absolute;
  left: 18px; top: 18px;
  width: 50px; height: 50px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.bot-steps li:nth-child(1) .num { background: var(--orange); color: var(--ink); }
.bot-steps li:nth-child(2) .num { background: var(--teal); color: var(--paper); }
.bot-steps li:nth-child(3) .num { background: var(--lake); color: var(--paper); }
.bot-steps li:nth-child(4) .num { background: var(--rose); color: var(--paper); }
.bot-steps li h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 6px;
}
.bot-steps li p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}
.bot-steps li p code {
  font-family: var(--font-mono);
  background: var(--cream);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 12px;
}
.bot-steps li .caveat {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--cream-2);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.bot-steps li .caveat.honest { background: var(--yellow); }

.bot-shot {
  position: sticky;
  top: 100px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow-hard-xl);
  padding: 14px;
  position: relative;
}
.bot-shot img {
  width: 100%;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
}
.bot-shot .scribble {
  position: absolute;
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--orange-deep);
  z-index: 2;
}
.bot-shot .scribble.tl { top: -36px; left: 24px; transform: rotate(-3deg); }

.bot-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 64px;
}
.bot-pair-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-hard-lg);
}
.bot-pair-card.flip { background: var(--cream); }
.bot-pair-card img {
  width: 100%;
  margin-top: 18px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
}

/* ---------- TRUST: Audit + Tool Trace ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  margin-top: 40px;
  align-items: start;
}
.trust-trace {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 30px;
  box-shadow: var(--shadow-hard-xl);
}
.trace-list {
  list-style: none;
  position: relative;
  margin-top: 8px;
}
.trace-list::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 14px; bottom: 14px;
  width: 2px;
  background: var(--ink);
}
.trace-list li {
  position: relative;
  padding: 14px 0 14px 36px;
  border-bottom: 1px dashed var(--line-soft);
}
.trace-list li:last-child { border-bottom: none; }
.trace-list li .dot {
  position: absolute;
  left: 0; top: 18px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  z-index: 1;
}
.trace-list li .dot.ok { background: var(--teal); }
.trace-list li .dot.warn { background: var(--yellow); }
.trace-list li .trace-h {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.trace-list li .trace-h code {
  font-family: var(--font-mono);
  background: var(--paper);
  padding: 1px 6px;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
}
.trace-list li .trace-h .bad {
  color: var(--rose);
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--rose-soft);
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
}
.trace-list li .trace-s {
  color: var(--ink-mute);
  font-size: 12.5px;
  font-family: var(--font-mono);
}
.trace-link {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  transition: color .15s;
}
.trace-link:hover { color: var(--orange-deep); }

.trust-side {
  display: grid;
  gap: 24px;
}
.audit-card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-hard-lg);
  transition: transform .15s, box-shadow .15s;
}
.audit-card:hover { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 var(--ink); }
.audit-card img {
  width: 100%;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  margin-top: 4px;
}
.audit-card code {
  font-family: var(--font-mono);
  background: var(--paper);
  padding: 1px 5px;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  font-size: 12px;
}

.trust-callout {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: var(--ink);
  color: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-hard-xl);
}
.trust-callout p { color: var(--cream-2); }
.trust-callout strong { background: var(--orange); color: var(--ink); padding: 0 4px; border-radius: 3px; }
.trust-callout .stamp.outlined { color: var(--cream); border-color: var(--cream); }
.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}
.trust-stats > div {
  border: 1.5px solid var(--cream-2);
  border-radius: 8px;
  padding: 14px 10px;
}
.trust-stats b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  color: var(--orange);
  line-height: 1;
}
.trust-stats span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cream-2);
  letter-spacing: 0.02em;
}

@media (max-width: 980px) {
  .bot-flow { grid-template-columns: 1fr; }
  .bot-shot { position: relative; top: 0; }
  .bot-pair { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-callout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   席英云门户 · 扩展样式
   ========================================================================== */

:root {
  --cyan: #00AEEF;
  --cyan-soft: #B8E8FA;
}

.brand-logo {
  width: 32px; height: 32px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-3deg);
  object-fit: contain;
  background: var(--ink);
  padding: 2px;
}
.brand-logo.sm { width: 28px; height: 28px; }

.nav-link.active { background: var(--orange); box-shadow: 2px 2px 0 var(--ink); font-weight: 600; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 18px;
}
@media (max-width: 980px) {
  .nav-toggle { display: grid; place-items: center; margin-left: auto; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
    padding: 12px 20px 20px;
    box-shadow: 0 8px 0 var(--ink);
  }
  .nav-links.open { display: flex; }
  .nav-actions { margin-left: 0; }
  .nav-inner { flex-wrap: wrap; position: relative; }
}

.product-hub {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.product-card {
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  padding: 32px;
  box-shadow: var(--shadow-hard-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .15s, box-shadow .15s;
}
.product-card:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
.product-card.flagship { background: linear-gradient(135deg, var(--yellow-soft) 0%, var(--paper) 55%); }
.product-card .tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.product-card .shot {
  margin-top: auto;
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--ink);
}
.product-card .shot img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-hard-xl);
}
.feature-grid .feat {
  padding: 28px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.feature-grid .feat:nth-child(3n) { border-right: none; }
.feature-grid .feat:nth-last-child(-n+3) { border-bottom: none; }
.feature-grid .feat .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.feature-grid .feat h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}
.feature-grid .feat p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

.customer-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}
.customer-strip img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.75;
  transition: opacity .2s, filter .2s;
}
.customer-strip img:hover { opacity: 1; filter: none; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card {
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  padding: 22px;
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .15s, box-shadow .15s;
}
.news-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.news-card .cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.news-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}
.news-card p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.news-card .date { font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); }

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  padding: 40px;
  box-shadow: var(--shadow-hard-xl);
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--cream);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { box-shadow: 3px 3px 0 var(--orange); }

.stats-inline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.stats-inline .stat {
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 20px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  text-align: center;
}
.stats-inline .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.stats-inline .stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.culture-card {
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-hard);
}
.culture-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
}
.culture-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

.mock-screen {
  background: var(--cream-2);
  border: 2px solid var(--ink);
  border-radius: 12px;
  min-height: 280px;
  padding: 16px;
  box-shadow: var(--shadow-hard-xl);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-screen .bar {
  display: flex; gap: 6px; align-items: center;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
}
.mock-screen .bar i {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--paper);
}
.mock-screen .bar i:nth-child(1) { background: var(--rose-soft); }
.mock-screen .bar i:nth-child(2) { background: var(--yellow); }
.mock-screen .bar i:nth-child(3) { background: var(--teal-soft); }

@media (max-width: 980px) {
  .product-hub { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid .feat { border-right: none; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
  .stats-inline { grid-template-columns: 1fr 1fr; }
  .culture-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stats-inline { grid-template-columns: 1fr; }
}

/* ---------- 产品页内导航（仅页面内，非顶栏） ---------- */
.page-subnav {
  position: sticky;
  top: 57px;
  z-index: 35;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.page-subnav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}
.page-subnav a {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  white-space: nowrap;
  transition: background .12s;
}
.page-subnav a:hover { background: var(--cream-2); }
.page-subnav a.active { background: var(--orange); box-shadow: 2px 2px 0 var(--ink); }

/* ---------- 萌趣3D · 二维码 ---------- */
.contact-qr-strip {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  padding: 14px 0;
}
.contact-qr-strip-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.contact-qr-strip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}
.contact-qr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact-qr-grid.compact {
  grid-template-columns: repeat(3, auto);
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
}
.contact-qr-item {
  text-align: center;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 12px 14px 10px;
  background: var(--cream);
  box-shadow: 3px 3px 0 var(--ink);
}
.contact-qr-grid.compact .contact-qr-item {
  padding: 8px 10px 6px;
  min-width: 96px;
}
.contact-qr-item img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
  border-radius: 6px;
}
.contact-qr-grid.compact .contact-qr-item img {
  width: 64px;
  height: 64px;
  margin-bottom: 4px;
}
.contact-qr-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.contact-qr-grid.compact .contact-qr-item strong { font-size: 11px; }
.contact-qr-item span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--ink-mute);
}
.contact-qr-grid.compact .contact-qr-item span { font-size: 10px; }
.footer-qr-grid {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.footer-qr-grid .contact-qr-item {
  padding: 8px;
  box-shadow: 2px 2px 0 var(--ink);
}
.footer-qr-grid .contact-qr-item img {
  width: 72px;
  height: 72px;
  margin-bottom: 4px;
}
.footer-qr-grid .contact-qr-item strong { font-size: 10px; }
.footer-qr-grid .contact-qr-item span { display: none; }

@media (max-width: 980px) {
  .contact-qr-strip-inner { flex-direction: column; align-items: stretch; }
  .contact-qr-grid.compact {
    grid-template-columns: repeat(3, 1fr);
    justify-content: stretch;
  }
}
@media (max-width: 600px) {
  .contact-qr-grid,
  .contact-qr-grid.compact { grid-template-columns: 1fr; }
}
