/* =====================================================
   YGR · 工业设备物联平台
   Aesthetic: Industrial Data Control Room
   Palette: deep navy + signal cyan + alert amber
   Type: Space Grotesk (display) + Manrope (body) + JetBrains Mono (data)
   ===================================================== */

/* -------- TOKENS -------- */
:root {
  --void: #060912;
  --void-2: #0A0E1A;
  --bg: #0E1320;
  --bg-2: #131A2C;
  --bg-3: #1A2238;
  --line: rgba(0, 229, 199, 0.14);
  --line-2: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(0, 229, 199, 0.35);

  --text: #F1F5FA;
  --text-2: #B6BFCE;
  --text-3: #7C8898;
  --text-4: #525E72;

  --signal: #00E5C7;
  --signal-2: #00B89E;
  --amber: #FFB627;
  --red: #FF4D6D;
  --violet: #8B5CF6;

  --shadow-1: 0 2px 8px rgba(0, 0, 0, .4);
  --shadow-2: 0 8px 32px rgba(0, 0, 0, .5);
  --shadow-3: 0 24px 64px rgba(0, 229, 199, .08);

  --radius-1: 4px;
  --radius-2: 8px;
  --radius-3: 14px;

  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --serif: 'Newsreader', Georgia, serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* -------- RESET -------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--void);
  font-feature-settings: "ss01", "cv11";
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--signal); color: var(--void); }

:root { color-scheme: dark; }

/* -------- SCROLLBAR -------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--signal-2); }

/* -------- LAYOUT PRIMITIVES -------- */
main { display: block; }
section { position: relative; }
.section {
  padding: 120px 6vw;
  max-width: 1480px;
  margin: 0 auto;
}
.section--protocol,
.section--problem,
.section--personas,
.section--flow,
.section--oee,
.section--gateway,
.section--faq,
.section--trial { position: relative; }

.section__head {
  max-width: 920px;
  margin: 0 0 64px;
}
.section__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--signal);
  margin-bottom: 24px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section__num::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--signal);
  display: inline-block;
}
.section__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.section__lede {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-2);
  max-width: 720px;
  line-height: 1.7;
}
.text-accent { color: var(--signal); }

/* -------- SCROLL PROGRESS -------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--signal), var(--amber));
  z-index: 100;
  transition: width 80ms linear;
  box-shadow: 0 0 12px var(--signal);
}

/* -------- NOISE -------- */
.noise {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.025;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* -------- NAV -------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 14px 4vw;
  transition: all 400ms var(--ease);
}
.nav.is-scrolled {
  padding: 10px 4vw;
  background: rgba(6, 9, 18, 0.78);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--line-2);
}
.nav__inner {
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  flex-shrink: 0;
}
.logo-mark { width: 28px; height: 28px; color: var(--signal); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0.04em; }
.logo-sub { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; color: var(--text-3); margin-top: 3px; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__menu a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: var(--radius-1);
  position: relative;
  transition: color 200ms;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav__menu a::before {
  content: attr(data-num);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-4);
  letter-spacing: 0.06em;
}
.nav__menu a:hover { color: var(--text); }
.nav__menu a:hover::before { color: var(--signal); }

.nav__cta { display: flex; align-items: center; gap: 12px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(0, 229, 199, 0.05);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.04em;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.nav__burger {
  display: none;
  width: 32px; height: 32px;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 6px; right: 6px;
  height: 1.5px;
  background: var(--text);
  transition: all 200ms;
}
.nav__burger span:nth-child(1) { top: 12px; }
.nav__burger span:nth-child(2) { top: 19px; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* -------- BUTTONS -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-1);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--body);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 200ms var(--ease);
  position: relative;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--signal);
  color: var(--void);
  font-weight: 600;
}
.btn--primary:hover {
  background: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 229, 199, 0.25);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(0, 229, 199, 0.04);
}
.btn--ghost:hover {
  background: rgba(0, 229, 199, 0.1);
  border-color: var(--signal);
}
.btn--lg { padding: 14px 24px; font-size: 14px; }
.btn-arrow { width: 14px; height: 14px; transition: transform 200ms; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.play-mark { color: var(--signal); font-size: 11px; }

/* -------- HERO -------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 6vw 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 229, 199, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 229, 199, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
}
.hero__bg-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 80%; height: 80%;
  background: radial-gradient(circle at center, rgba(0, 229, 199, 0.18), transparent 60%);
  filter: blur(80px);
  animation: glowFloat 8s ease-in-out infinite;
}
@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 30px) scale(1.1); }
}

.hero__inner {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 220px);
}
.hero__copy { position: relative; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-2);
}
.eyebrow-tag {
  background: rgba(0, 229, 199, 0.1);
  color: var(--signal);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--line);
  font-weight: 500;
}
.eyebrow-divider {
  width: 1px;
  height: 12px;
  background: var(--text-4);
}
.eyebrow-text { color: var(--text-2); }

.hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(52px, 7.4vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}
.title-accent {
  background: linear-gradient(180deg, var(--signal) 0%, var(--signal-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}
.title-accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  animation: titleLine 1.2s var(--ease-out) 1.2s forwards;
}
@keyframes titleLine {
  to { transform: scaleX(1); }
}
.title-cursor {
  display: inline-block;
  color: var(--signal);
  font-weight: 300;
  animation: blink 1s steps(2) infinite;
  margin-left: 4px;
}
@keyframes blink {
  50% { opacity: 0; }
}

.hero__lede {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.7;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero__lede-mono {
  font-family: var(--mono);
  color: var(--signal);
  font-size: 0.9em;
  margin-right: 4px;
}
.hero__lede em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text);
  font-weight: 400;
  padding: 0 2px;
}
.hero__lede strong { color: var(--amber); font-weight: 600; }

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__meta {
  display: flex;
  align-items: flex-end;
  gap: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line-2);
}
.meta-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  position: relative;
}
.meta-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  display: inline;
}
.meta-suffix {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--signal);
  margin-left: 2px;
  font-weight: 500;
}
.meta-label {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
}
.meta-sep {
  width: 1px;
  height: 40px;
  background: var(--line-2);
  margin: 0 24px;
  align-self: center;
}

/* Hero panel (right) */
.hero__panel {
  position: relative;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-2), var(--shadow-3);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
  transition: transform 600ms var(--ease-out);
}
.hero__panel:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.2);
}
.panel__tabs { display: flex; gap: 2px; }
.tab {
  padding: 4px 10px;
  font-size: 11px;
  font-family: var(--mono);
  color: var(--text-3);
  border-radius: 3px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 200ms;
}
.tab.is-active {
  color: var(--signal);
  background: rgba(0, 229, 199, 0.08);
}
.tab:hover { color: var(--text); }
.panel__clock {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.dot-blink {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 6px var(--red);
  animation: blink 1.4s infinite;
}

.panel__body { padding: 24px 22px; display: flex; flex-direction: column; gap: 24px; }

.gauge {
  position: relative;
  padding: 18px 0 0;
}
.gauge__head {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.gauge__name { color: var(--text-2); }
.gauge__trend { color: var(--signal); }
.gauge__val {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 0;
}
.gauge__big {
  font-family: var(--display);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.gauge__unit {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-3);
}
.gauge__ring {
  width: 100px; height: 100px;
  display: block;
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.gauge__ring-wrap {
  position: absolute;
  right: 0; top: 0;
  width: 100px; height: 100px;
}
.gauge__ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  pointer-events: none;
  line-height: 1;
}
.gauge__ring-center .gauge__trend {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--signal);
  text-transform: none;
}
.gauge__ring-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ring-bg { fill: none; stroke: var(--line-2); stroke-width: 6; }
.ring-fg {
  fill: none;
  stroke: var(--signal);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 528;
  stroke-dashoffset: 528;
  filter: drop-shadow(0 0 6px var(--signal));
  transition: stroke-dashoffset 2s var(--ease-out);
}

.feed { border-top: 1px solid var(--line-2); padding-top: 16px; }
.feed__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 10px;
}
.feed__label { color: var(--signal); }
.feed__rate { color: var(--amber); }
.feed__list { font-family: var(--mono); font-size: 11px; }
.feed__list li {
  display: grid;
  grid-template-columns: 70px 36px 1fr;
  gap: 8px;
  align-items: center;
  padding: 5px 0;
  color: var(--text-2);
  border-bottom: 1px dashed var(--line-2);
  animation: feedIn 0.4s var(--ease-out) backwards;
}
.feed__list li:last-child { border-bottom: 0; }
.feed-time { color: var(--text-3); }
.feed-tag {
  text-align: center;
  padding: 2px 4px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 600;
}
.tag-ok { color: var(--signal); background: rgba(0, 229, 199, 0.1); }
.tag-warn { color: var(--amber); background: rgba(255, 182, 39, 0.12); }
.tag-err { color: var(--red); background: rgba(255, 77, 109, 0.12); }
.feed-msg { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes feedIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.spark {
  border-top: 1px solid var(--line-2);
  padding-top: 16px;
}
.spark__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.spark__name {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.spark__val {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
}
.spark__pct { font-family: var(--mono); color: var(--signal); font-size: 12px; margin-left: 2px; }
.spark__svg { width: 100%; height: 60px; }

.panel__foot {
  display: flex;
  gap: 18px;
  padding: 12px 18px;
  border-top: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.3);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.foot-led { display: inline-flex; align-items: center; gap: 6px; }
.led {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.led--green { background: var(--signal); box-shadow: 0 0 4px var(--signal); }
.led--amber { background: var(--amber); box-shadow: 0 0 4px var(--amber); }
.led--red { background: var(--red); box-shadow: 0 0 4px var(--red); }

.hero__scroll {
  position: absolute;
  bottom: -8px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.scroll-line {
  width: 60px; height: 1px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.scroll-line span {
  position: absolute;
  top: 0; left: -20%;
  width: 20%; height: 100%;
  background: var(--signal);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  to { left: 100%; }
}

/* -------- STRIP (marquee) -------- */
.strip {
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: 22px 0;
  background: var(--void-2);
  overflow: hidden;
}
.strip__inner {
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 4vw;
}
.strip__label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.strip__marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}
.strip__track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-2);
  letter-spacing: -0.01em;
}
.strip__track .dot { color: var(--text-4); font-size: 8px; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* -------- PROTOCOL SECTION -------- */
.protocol-board {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-3);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.board__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 12px;
}
.board__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg-3);
}
.board__dot:nth-child(1) { background: #FF5F57; }
.board__dot:nth-child(2) { background: #FEBC2E; }
.board__dot:nth-child(3) { background: #28C840; }
.board__title { color: var(--text-2); margin-left: 12px; }
.board__meta { margin-left: auto; color: var(--text-3); }
.board__meta strong { color: var(--signal); }

.board__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line-2);
  padding: 1px;
}
.proto {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg);
  font-size: 13px;
  color: var(--text-2);
  transition: all 200ms;
  position: relative;
  cursor: default;
}
.proto:hover {
  background: rgba(0, 229, 199, 0.04);
  color: var(--text);
}
.proto::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 1px;
  background: var(--signal);
  opacity: 0.6;
  transition: all 200ms;
}
.proto:hover::before {
  background: var(--amber);
  transform: rotate(45deg);
  opacity: 1;
}
.proto__name { font-family: var(--mono); font-weight: 500; }
.proto__cat {
  margin-left: auto;
  font-size: 10px;
  color: var(--text-4);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.proto.is-hidden { display: none; }

.board__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
}
.board__prompt { color: var(--text-2); }
.board__more {
  margin-left: auto;
  color: var(--signal);
  cursor: pointer;
  transition: opacity 200ms;
}
.board__more:hover { opacity: 0.7; }
.cursor-blink {
  display: inline-block;
  color: var(--signal);
  animation: blink 1s steps(2) infinite;
}

/* -------- PROBLEM SECTION -------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.problem-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.45;
  color: var(--text);
  padding: 0 0 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line-2);
  position: relative;
}
.problem-quote .qmark {
  font-family: var(--display);
  font-size: 64px;
  line-height: 0.5;
  color: var(--signal);
  margin-right: 8px;
  vertical-align: -8px;
}
.problem-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-style: normal;
  color: var(--text-3);
  font-family: var(--mono);
}

.problem-list { display: flex; flex-direction: column; gap: 32px; }
.problem-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line-2);
}
.problem-list li:last-child { border-bottom: 0; }
.prob-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--signal);
  display: inline;
}
.prob-num .unit { font-family: var(--mono); font-size: 20px; color: var(--text-3); margin-left: 2px; }
.problem-list h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 6px;
}
.problem-list p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

.problem__media {
  position: sticky;
  top: 120px;
}
.problem__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-2);
  filter: contrast(1.05) saturate(0.9) hue-rotate(-5deg);
  box-shadow: var(--shadow-2);
}
.problem__media figcaption {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.cap-num { color: var(--signal); }

/* -------- PERSONAS (REV 4: IDENTITY-FIRST) -------- */
.personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.persona {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-3);
  overflow: hidden;
  isolation: isolate;
  transition: transform 400ms var(--ease-out), border-color 300ms;
}
.persona::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--signal);
  opacity: 0.7;
  transition: opacity 300ms;
  z-index: 2;
}
.persona--call::before { background: linear-gradient(90deg, var(--signal), #66f6d8); }
.persona--chart::before { background: linear-gradient(90deg, var(--amber), #ffb84d); }
.persona--sys::before { background: linear-gradient(90deg, #9d6cff, #c4a3ff); }
.persona:hover { transform: translateY(-4px); border-color: var(--signal); }
.persona:hover::before { opacity: 1; }

/* ---- portrait (top image) ---- */
.persona__portrait {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-3);
}
.persona__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.05) brightness(0.85);
  transition: transform 800ms var(--ease-out), filter 400ms;
}
.persona:hover .persona__portrait img { transform: scale(1.05); filter: grayscale(0) contrast(1.1) brightness(0.95); }
.persona__portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(13, 17, 31, 0.85) 100%),
    linear-gradient(135deg, rgba(0, 229, 199, 0.05) 0%, transparent 50%);
  pointer-events: none;
}
.persona--call .persona__portrait::after { background: linear-gradient(180deg, transparent 40%, rgba(13, 17, 31, 0.85) 100%), linear-gradient(135deg, rgba(0, 229, 199, 0.08) 0%, transparent 60%); }
.persona--chart .persona__portrait::after { background: linear-gradient(180deg, transparent 40%, rgba(13, 17, 31, 0.85) 100%), linear-gradient(135deg, rgba(255, 184, 77, 0.08) 0%, transparent 60%); }
.persona--sys .persona__portrait::after { background: linear-gradient(180deg, transparent 40%, rgba(13, 17, 31, 0.85) 100%), linear-gradient(135deg, rgba(157, 108, 255, 0.08) 0%, transparent 60%); }

.persona__portrait-overlay {
  position: absolute;
  bottom: 12px; left: 16px; right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}
.persona__portrait-time {
  color: var(--text);
  font-weight: 500;
  padding: 3px 7px;
  background: rgba(13, 17, 31, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  backdrop-filter: blur(4px);
}
.persona__portrait-mood {
  color: var(--text-2);
  font-family: var(--display);
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  font-style: italic;
}

/* ---- body ---- */
.persona__body {
  display: flex;
  flex-direction: column;
  padding: 20px 24px 24px;
  gap: 16px;
  flex: 1;
}

/* ---- head chip ---- */
.persona__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.persona__chip-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--signal);
  font-weight: 500;
}
.persona--chart .persona__chip-no { color: var(--amber); }
.persona--sys .persona__chip-no { color: #9d6cff; }
.persona__chip-divider {
  width: 1px; height: 12px;
  background: var(--line);
}
.persona__chip-role {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0;
}

/* ---- identity (h3) ---- */
.persona__identity {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}
.persona__identity-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.persona__identity-line {
  position: relative;
  color: var(--signal);
  font-style: italic;
  display: inline;
}
.persona--chart .persona__identity-line { color: var(--amber); }
.persona--sys .persona__identity-line { color: #9d6cff; }
.persona__identity-tail {
  color: var(--text-2);
  font-weight: 400;
}

/* ---- after / changes ---- */
.persona__after {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-2);
  margin-top: auto;
}
.persona__after-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.persona__after-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 6px var(--signal);
}
.persona--chart .persona__after-label::before { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.persona--sys .persona__after-label::before { background: #9d6cff; box-shadow: 0 0 6px #9d6cff; }

.persona__changes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.persona__changes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-2);
}
.ch-num {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 5px;
  margin-top: 2px;
  border-radius: 3px;
  background: var(--bg-3);
  color: var(--signal);
  border: 1px solid var(--line-2);
  min-width: 28px;
  text-align: center;
}
.persona--chart .ch-num { color: var(--amber); }
.persona--sys .ch-num { color: #9d6cff; }

/* ---- foot with KPI + link ---- */
.persona__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}
.persona__kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.persona__kpi-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  color: var(--signal);
  letter-spacing: -0.03em;
}
.persona__kpi-num span {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-2);
  margin-left: 2px;
  letter-spacing: 0;
}
.persona--chart .persona__kpi-num { color: var(--amber); }
.persona--sys .persona__kpi-num { color: #9d6cff; }
.persona__kpi-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.persona__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--signal);
  padding: 8px 0;
  transition: gap 200ms;
  white-space: nowrap;
}
.persona--chart .persona__link { color: var(--amber); }
.persona--sys .persona__link { color: #9d6cff; }
.persona__link:hover { gap: 10px; }

/* ---- bottom shared evidence ---- */
.personas__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 18px 22px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.02em;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  position: relative;
  overflow: hidden;
}
.personas__meta::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--signal), var(--amber), #9d6cff);
}
.personas__meta strong { color: var(--text); font-weight: 500; }
.personas__meta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 6px var(--signal);
  animation: dotPulse 2s ease-in-out infinite;
}
.personas__meta-sep {
  color: var(--text-4);
  margin: 0 4px;
}
.personas__meta-stat {
  padding: 3px 9px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--text-2);
  font-size: 11px;
}

/* -------- FLOW SECTION -------- */
.flow-stage {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-3);
  padding: 80px 40px 40px;
  min-height: 380px;
  margin-bottom: 24px;
  overflow: hidden;
}
.flow-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 229, 199, 0.03) 1px, transparent 1px);
  background-size: 60px 100%;
  pointer-events: none;
}
.flow-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.flow-line {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  animation: lineFlow 1s linear infinite;
}
@keyframes lineFlow {
  to { stroke-dashoffset: -8; }
}
.flow-node {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  cursor: pointer;
}
.node__icon {
  width: 64px; height: 64px;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--signal);
  transition: all 300ms var(--ease-out);
  position: relative;
}
.node__icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px dashed var(--line);
  animation: rotate 16s linear infinite;
}
.flow-node--edge .node__icon::after { animation-direction: reverse; }
.flow-node:hover .node__icon {
  transform: scale(1.1);
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: 0 0 24px rgba(255, 182, 39, 0.3);
}
.node__icon svg { width: 28px; height: 28px; }
.node__label {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.node__hint {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.flow-tags {
  position: absolute;
  bottom: 16px;
  left: 40px; right: 40px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-4);
  letter-spacing: 0.06em;
  z-index: 1;
}

.flow-explainer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.explainer__step {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-2);
  transition: all 300ms;
}
.explainer__step.is-active {
  border-color: var(--signal);
  background: rgba(0, 229, 199, 0.04);
}
.explainer__step h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text);
}
.explainer__step p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* -------- OEE SECTION -------- */
.oee-stage {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.oee__left { display: flex; flex-direction: column; gap: 20px; }
.oee-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-3);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.oee-card--main::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0, 229, 199, 0.12), transparent 60%);
  pointer-events: none;
}
.oee-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.oee-card__name {
  color: var(--text-2);
  font-weight: 500;
}
.oee-card__period { color: var(--signal); }
.oee-card__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}
.oee-big {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(72px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--text);
  background: linear-gradient(180deg, var(--text) 0%, var(--signal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.oee-pct { font-family: var(--mono); font-size: 32px; color: var(--signal); }
.oee-card__bar {
  height: 4px;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 24px;
}
.oee-card__bar-fill {
  height: 100%;
  width: var(--p);
  background: linear-gradient(90deg, var(--signal), var(--amber));
  border-radius: 2px;
  animation: fillBar 2s var(--ease-out) 0.5s backwards;
  box-shadow: 0 0 12px var(--signal);
}
@keyframes fillBar {
  from { width: 0; }
}
.oee-card__legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
}
.oee-card__legend li { display: flex; align-items: center; gap: 8px; }
.lg-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c, var(--signal));
  box-shadow: 0 0 4px var(--c, var(--signal));
}

.oee-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.oee-mini {
  padding: 18px 16px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.oee-mini__l {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.oee-mini__v {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.oee-mini__u {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
}

.oee__right figure { position: relative; }
.oee__right img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-2);
  filter: contrast(1.05) brightness(0.95);
  box-shadow: var(--shadow-2);
}
.oee__right figcaption {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.06em;
}

/* -------- GATEWAY SECTION -------- */
.gateway {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.gateway__media {
  position: relative;
  border-radius: var(--radius-3);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
}
.gateway__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: contrast(1.1) saturate(0.85);
}
.gateway__tag {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--signal);
  background: rgba(0, 0, 0, 0.7);
  padding: 6px 12px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.gateway__list { display: flex; flex-direction: column; }
.gw-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-2);
  transition: all 300ms;
}
.gw-row:first-child { padding-top: 0; }
.gw-row:last-child { border-bottom: 0; padding-bottom: 0; }
.gw-row:hover { transform: translateX(4px); }
.gw-row__l { display: flex; align-items: flex-start; gap: 16px; }
.gw-row__n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--signal);
  letter-spacing: 0.04em;
  padding-top: 4px;
}
.gw-row h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.gw-row p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* -------- TRIAL / TERMINAL -------- */
.terminal {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-3);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  position: relative;
}
.terminal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 199, 0.02) 50%, transparent);
  pointer-events: none;
}
.terminal__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--line-2);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot--r { background: #FF5F57; }
.t-dot--y { background: #FEBC2E; }
.t-dot--g { background: #28C840; }
.terminal__path {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  margin-left: 12px;
  letter-spacing: 0.04em;
}
.terminal__body {
  padding: 36px 32px 32px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.9;
}
.terminal__row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.t-prompt {
  color: var(--signal);
  font-weight: 600;
}
.t-prompt--inline { color: var(--amber); }
.t-cmd { color: var(--text); }
.t-out { color: var(--text-3); }
.t-out--ok { color: var(--signal); }

.trial-form {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.t-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.t-field:nth-child(3) { grid-column: 1 / 2; }
.trial-submit { grid-column: 2 / 3; align-self: end; justify-content: center; }
.t-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.t-field input {
  background: var(--void);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-1);
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  transition: all 200ms;
  outline: 0;
}
.t-field input:focus {
  border-color: var(--signal);
  background: rgba(0, 229, 199, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 229, 199, 0.1);
}
.t-field input::placeholder { color: var(--text-4); }

/* -------- FAQ -------- */
.faq {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-2);
  overflow: hidden;
  transition: all 300ms;
}
.faq-item[open],
.faq-item:hover {
  border-color: var(--line);
  background: var(--bg-2);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text);
  letter-spacing: -0.01em;
}
.faq-ico {
  width: 24px; height: 24px;
  flex-shrink: 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: all 300ms;
}
.faq-ico::before, .faq-ico::after {
  content: '';
  position: absolute;
  background: var(--text-2);
  transition: all 300ms;
}
.faq-ico::before { top: 11px; left: 6px; right: 6px; height: 1.5px; }
.faq-ico::after { left: 11px; top: 6px; bottom: 6px; width: 1.5px; }
.faq-item[open] .faq-ico { border-color: var(--signal); transform: rotate(45deg); }
.faq-item[open] .faq-ico::before, .faq-item[open] .faq-ico::after { background: var(--signal); }
.faq-a {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
}
.faq-a strong { color: var(--signal); font-weight: 500; }
.faq-a p { font-family: var(--body); }

/* -------- FOOTER -------- */
.foot {
  border-top: 1px solid var(--line-2);
  background: var(--void-2);
  padding: 60px 6vw 0;
  margin-top: 80px;
}
.foot__inner {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
}
.foot__slogan {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--text-2);
  margin-top: 20px;
  max-width: 280px;
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.foot__col h5 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.foot__col a {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  padding: 4px 0;
  transition: color 200ms;
}
.foot__col a:hover { color: var(--signal); }

.foot__bar {
  max-width: 1480px;
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.foot__bar .dot { color: var(--text-4); }
.status-led { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }

/* -------- REVEAL ANIMATIONS -------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------- RESPONSIVE -------- */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__panel { transform: none; }
  .personas { grid-template-columns: 1fr 1fr; }
  .personas > .persona:nth-child(3) { grid-column: 1 / 3; max-width: 50%; justify-self: center; }
  .problem-grid { grid-template-columns: 1fr; gap: 48px; }
  .problem__media { position: relative; top: 0; order: -1; }
  .oee-stage { grid-template-columns: 1fr; gap: 32px; }
  .gateway { grid-template-columns: 1fr; gap: 32px; }
  .foot__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav__menu { display: none; }
  .nav__burger { display: block; }
  .status-pill { display: none; }
  .nav__cta .btn--ghost { display: none; }

  .section { padding: 80px 5vw; }
  .section__title { font-size: 36px; }
  .section__head { margin-bottom: 40px; }
  .section__lede { font-size: 14px; }

  .hero { padding: 120px 5vw 60px; min-height: auto; }
  .hero__title { font-size: clamp(40px, 12vw, 64px); }
  .hero__meta { flex-wrap: wrap; gap: 16px 0; }
  .meta-sep { display: none; }
  .meta-item { flex: 0 0 50%; padding-right: 16px; }

  .personas { grid-template-columns: 1fr; }
  .personas > .persona:nth-child(3) { grid-column: auto; max-width: 100%; }

  .flow-stage { padding: 60px 20px 20px; min-height: 320px; }
  .flow-node { transform: translateY(-50%) scale(0.85); }
  .flow-tags { display: none; }
  .flow-explainer { grid-template-columns: 1fr; }

  .problem-list li { grid-template-columns: 1fr; gap: 8px; }
  .prob-num { font-size: 36px; }

  .oee-mini-grid { grid-template-columns: 1fr 1fr; }

  .terminal__body { padding: 24px 18px; }
  .trial-form { grid-template-columns: 1fr; }
  .t-field:nth-child(3) { grid-column: auto; }
  .trial-submit { grid-column: auto; }

  .gw-row { grid-template-columns: 1fr; gap: 8px; }

  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__bar { font-size: 10px; gap: 8px; }
  .status-led { margin-left: 0; width: 100%; }

  .strip__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 480px) {
  .persona__content { padding: 20px; }
  .persona h3 { font-size: 20px; }
  .oee-card { padding: 20px; }
  .oee-big { font-size: 64px; }
  .gw-row { padding: 20px 0; }
}

/* -------- AMBIENT PARTICLES (hero) -------- */
.ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient .pdot {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal);
  opacity: 0;
  animation: floatUp 12s linear infinite;
}
.ambient .pdot.amber { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.ambient .pdot.big { width: 5px; height: 5px; }
@keyframes floatUp {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.7; }
  50% { transform: translateY(-50vh) translateX(20px); opacity: 0.4; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-100vh) translateX(0); opacity: 0; }
}

/* Scanline on hero panel */
.scanline {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
  z-index: 3;
  animation: scanY 4s linear infinite;
  pointer-events: none;
  opacity: 0.6;
}
@keyframes scanY {
  0% { top: 0; }
  100% { top: 100%; }
}

/* Hero ambient glow that pulses */
.hero__bg-glow-2 {
  position: absolute;
  bottom: -20%; left: -10%;
  width: 60%; height: 60%;
  background: radial-gradient(circle at center, rgba(255, 182, 39, 0.12), transparent 60%);
  filter: blur(80px);
  animation: glowFloat 10s ease-in-out infinite reverse;
}

/* -------- LIVE TICKER (in hero) -------- */
.live-ticker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-1);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  overflow: hidden;
  position: relative;
  max-width: 560px;
}
.live-ticker__label {
  color: var(--signal);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.live-ticker__window {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 16px;
}
.live-ticker__track {
  display: flex;
  gap: 32px;
  position: absolute;
  white-space: nowrap;
  animation: tickerSlide 20s linear infinite;
  font-size: 11px;
}
.live-ticker__track span { display: inline-flex; align-items: center; gap: 8px; }
.live-ticker__track .tk-dot { width: 4px; height: 4px; border-radius: 50%; }
.live-ticker__track .tk-dot.ok { background: var(--signal); }
.live-ticker__track .tk-dot.warn { background: var(--amber); }
.live-ticker__track .tk-dot.err { background: var(--red); }
@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* -------- TOAST NOTIFICATION -------- */
.toast-stack {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: 360px;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-2);
  font-size: 13px;
  color: var(--text);
  pointer-events: auto;
  animation: toastIn 400ms var(--ease-out), toastOut 400ms var(--ease-out) 4.6s forwards;
  position: relative;
  overflow: hidden;
}
.toast::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--signal);
}
.toast.toast--warn::before { background: var(--amber); }
.toast.toast--err::before { background: var(--red); }
.toast__icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--signal);
  margin-top: 1px;
}
.toast--warn .toast__icon { color: var(--amber); }
.toast--err .toast__icon { color: var(--red); }
.toast__body { flex: 1; line-height: 1.4; }
.toast__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 2px;
}
.toast__msg {
  font-size: 12px;
  color: var(--text-2);
}
.toast__time {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-4);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
@keyframes toastIn {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
  to { transform: translateX(20px); opacity: 0; }
}

/* -------- TRUST BADGES -------- */
.trust {
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--void-2) 0%, var(--void) 100%);
  padding: 60px 6vw;
}
.trust__inner {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}
.trust__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 36px);
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}
.trust__title em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-2);
  font-weight: 400;
}
.trust__sub {
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  margin-top: 12px;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-2);
  text-align: center;
  transition: all 300ms;
  position: relative;
  overflow: hidden;
}
.badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(0, 229, 199, 0.04) 100%);
  opacity: 0;
  transition: opacity 300ms;
}
.badge:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.badge:hover::before { opacity: 1; }
.badge__icon {
  width: 40px; height: 40px;
  color: var(--signal);
  margin-bottom: 4px;
}
.badge__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.badge__desc {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

/* -------- CASE QUOTE -------- */
.case {
  position: relative;
  max-width: 1100px;
  margin: 100px auto 0;
  padding: 80px 60px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-3);
  overflow: hidden;
  isolation: isolate;
}
.case::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(0, 229, 199, 0.06), transparent 60%);
  pointer-events: none;
}
.case::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: linear-gradient(180deg, var(--signal), var(--amber));
}
.case__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--signal);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.case__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.case__quote::before {
  content: '"';
  font-family: var(--display);
  font-size: 100px;
  position: absolute;
  left: -28px;
  top: -32px;
  color: var(--signal);
  opacity: 0.3;
  line-height: 1;
  z-index: -1;
}
.case__quote strong { color: var(--signal); font-style: normal; font-weight: 400; font-family: var(--display); }
.case__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-2);
}
.case__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.case__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--signal), var(--signal-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  color: var(--void);
  font-size: 16px;
  letter-spacing: 0.04em;
}
.case__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
}
.case__role {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.case__stats {
  display: flex;
  gap: 32px;
}
.case__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.case__stat-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.case__stat-num span { color: var(--signal); }
.case__stat-l {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  margin-top: 6px;
  text-transform: uppercase;
}

/* -------- SECTION NUMBER DRAMATIC -------- */
.section__num {
  position: relative;
  padding-left: 0;
  font-size: 12px;
}
.section--problem .section__num::before { background: var(--amber); }

/* -------- 3D TILT (persona) -------- */
.persona { transform-style: preserve-3d; perspective: 1200px; }
.persona__content { transform: translateZ(20px); }
.persona__role { transform: translateZ(30px); }
.persona h3 { transform: translateZ(40px); }

/* -------- WAVE on OEE bar -------- */
.oee-card__bar-fill {
  position: relative;
  overflow: hidden;
}
.oee-card__bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: waveSweep 2.4s linear infinite;
}
@keyframes waveSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* OEE live pulse */
.oee-pulse {
  position: absolute;
  top: 32px; right: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--signal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.oee-pulse::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal);
  animation: pulse 1.2s ease-in-out infinite;
}

/* -------- HERO BACKGROUND IMAGE -------- */
.hero {
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: -1;
  mask-image: linear-gradient(180deg, black 0%, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 50%, transparent 100%);
  filter: hue-rotate(180deg) saturate(1.2);
  background-color: var(--void);
}

/* -------- HERO STAT TICKER (top of hero) -------- */
.hero__topstat {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.4);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero__topstat strong { color: var(--signal); font-weight: 600; }
.hero__topstat .ts-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 6px var(--signal);
  animation: pulse 1.5s ease-in-out infinite;
}

/* -------- PROTOCOL SEARCH -------- */
.protocol-search {
  position: relative;
  margin-bottom: 16px;
  max-width: 400px;
}
.protocol-search input {
  width: 100%;
  background: var(--void);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-1);
  padding: 12px 16px 12px 40px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  outline: 0;
  transition: all 200ms;
}
.protocol-search input:focus {
  border-color: var(--signal);
  background: rgba(0, 229, 199, 0.04);
}
.protocol-search input::placeholder { color: var(--text-4); }
.protocol-search svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--text-3);
}
.protocol-search__count {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  padding: 3px 8px;
  background: var(--bg-2);
  border-radius: 3px;
}

/* Protocol category colors */
.proto[data-cat="西门子"] { --cat: #009999; }
.proto[data-cat="三菱"] { --cat: #d10000; }
.proto[data-cat="欧姆龙"] { --cat: #1a1a1a; background: rgba(0, 153, 153, 0.04); }
.proto[data-cat="罗克韦尔"] { --cat: #cc0000; }
.proto[data-cat="施耐德"] { --cat: #3dcd58; }
.proto[data-cat="ABB"] { --cat: #ff0026; }
.proto[data-cat="发那科"] { --cat: #ffb800; }
.proto[data-cat="库卡"] { --cat: #ff6600; }
.proto[data-cat="安川"] { --cat: #0066b3; }
.proto[data-cat="工业"] { --cat: #00B89E; }
.proto[data-cat="工业以太网"] { --cat: #FFB627; }
.proto[data-cat="现场总线"] { --cat: #FF4D6D; }
.proto[data-cat="无线"] { --cat: #8B5CF6; }
.proto[data-cat="API"] { --cat: #00E5C7; }
.proto[data-cat="SCADA"] { --cat: #FF6B35; }
.proto[data-cat="电力"] { --cat: #FFD700; }
.proto[data-cat="物理层"] { --cat: #64748B; }
.proto[data-cat="串口"] { --cat: #64748B; }
.proto[data-cat="以太网"] { --cat: #64748B; }
.proto[data-cat="楼宇"] { --cat: #4F46E5; }
.proto[data-cat="汽车总线"] { --cat: #DC2626; }
.proto[data-cat="水气热"] { --cat: #06B6D4; }
.proto[data-cat="数据"] { --cat: #10B981; }
.proto[data-cat="消息"] { --cat: #EC4899; }
.proto[data-cat="IoT"] { --cat: #00E5C7; }
.proto[data-cat="标准"] { --cat: #94A3B8; }
.proto[data-cat="网络"] { --cat: #3B82F6; }
.proto[data-cat="仪表"] { --cat: #F59E0B; }
.proto[data-cat="时序"] { --cat: #06B6D4; }
.proto[data-cat="实时"] { --cat: #EF4444; }
.proto[data-cat="机器人"] { --cat: #F97316; }
.proto[data-cat="数控"] { --cat: #6366F1; }
.proto[data-cat="云平台"] { --cat: #0EA5E9; }
.proto[data-cat="扩展"] { --cat: #475569; }
.proto[data-cat="国产"] { --cat: #DC2626; }

.proto::before { background: var(--cat, var(--signal)) !important; }
.proto:hover { box-shadow: inset 0 0 0 1px var(--cat, var(--line-strong)); }
.proto.is-hidden { display: none; }
.proto__cat {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cat, var(--text-3));
  margin-left: auto;
  padding: 2px 6px;
  background: rgba(0, 229, 199, 0.04);
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.proto__name {
  font-family: var(--mono);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* -------- HOTSPOT DOT (center plus) -------- */
.hotspot__dot {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--signal);
}

/* -------- DRAWER STATUS -------- */
.drawer-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-1);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.04em;
}
.drawer-status strong {
  color: var(--signal);
  font-weight: 600;
  font-family: var(--display);
  margin-right: 4px;
}

/* -------- GATEWAY HOTSPOTS -------- */
.gateway__media { position: relative; }
.hotspot {
  position: absolute;
  width: 28px; height: 28px;
  border: 1.5px solid var(--signal);
  border-radius: 50%;
  background: rgba(0, 229, 199, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--signal);
  cursor: pointer;
  z-index: 2;
  animation: hotspotPing 2.4s ease-out infinite;
}
.hotspot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--signal);
  animation: hotspotRing 2.4s ease-out infinite;
  opacity: 0;
}
.hotspot--n1 { top: 12%; left: 18%; }
.hotspot--n2 { top: 38%; right: 24%; }
.hotspot--n3 { bottom: 22%; left: 28%; }
.hotspot--n4 { bottom: 12%; right: 14%; }
@keyframes hotspotPing {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 199, 0.5); }
  100% { box-shadow: 0 0 0 16px rgba(0, 229, 199, 0); }
}
@keyframes hotspotRing {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.hotspot__tip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 200px;
  padding: 10px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-2);
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transition: all 200ms;
  z-index: 10;
  text-align: left;
}
.hotspot__tip strong {
  display: block;
  color: var(--signal);
  font-size: 12px;
  margin-bottom: 4px;
  font-family: var(--display);
  font-weight: 500;
}
.hotspot:hover .hotspot__tip,
.hotspot.is-tap .hotspot__tip,
.hotspot:focus .hotspot__tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.hotspot:focus { outline: 2px solid var(--signal); outline-offset: 4px; }

/* -------- BACK TO TOP -------- */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--signal);
  z-index: 85;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 300ms var(--ease-out);
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-top:hover {
  background: var(--signal);
  color: var(--void);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 229, 199, 0.3);
}
.back-top svg { width: 18px; height: 18px; }

/* -------- MOBILE CTA BAR (sticky bottom) -------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 80;
  padding: 12px 16px;
  background: rgba(6, 9, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  gap: 8px;
}
.mobile-cta .btn { flex: 1; justify-content: center; }

/* -------- MOBILE NAV (slide-in drawer) -------- */
.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 85vw);
  height: 100vh;
  background: var(--bg);
  border-left: 1px solid var(--line);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 400ms var(--ease-out);
  display: flex;
  flex-direction: column;
  padding: 80px 32px 32px;
  overflow-y: auto;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer__close {
  position: absolute;
  top: 24px; right: 24px;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  cursor: pointer;
}
.nav-drawer a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  color: var(--text);
  border-bottom: 1px solid var(--line-2);
}
.nav-drawer a::before {
  content: attr(data-num);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-4);
  letter-spacing: 0.04em;
}
.nav-drawer__cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms;
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* -------- OEE MINI-CHART in card -------- */
.oee-mini-chart {
  height: 60px;
  margin-top: 12px;
  position: relative;
}

/* -------- STRIP gradient mask on sides (visible on desktop) -------- */
.strip__marquee { position: relative; }

/* -------- FLOW STAGE: more visible node connections on mobile -------- */
.flow-tags { font-size: 9px; }

/* -------- HERO TICKER on mobile (label only) -------- */
@media (max-width: 1100px) {
  .hero::before { opacity: 0.05; }
  .hero__inner { gap: 48px; }
}

@media (max-width: 768px) {
  .mobile-cta { display: flex; }
  .nav__cta .btn--ghost { display: none; }
  .status-pill { display: none; }

  .section { padding: 72px 5vw; }
  .section__title { font-size: 32px; }
  .section__head { margin-bottom: 36px; }

  .hero { padding: 110px 5vw 100px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { font-size: clamp(40px, 12vw, 64px); }
  .hero__lede { font-size: 15px; }
  .hero__meta {
    flex-wrap: wrap;
    gap: 20px 0;
    padding-top: 20px;
  }
  .meta-item { flex: 0 0 50%; padding-right: 16px; }
  .meta-sep { display: none; }
  .meta-num { font-size: 28px; }
  .hero__panel { transform: none; max-width: 100%; }

  .live-ticker { margin-top: 20px; max-width: 100%; }
  .live-ticker__track { font-size: 10px; }

  .hero__actions .btn { flex: 1; justify-content: center; }
  .hero__actions { gap: 10px; }

  .strip__inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 5vw; }
  .strip__track { font-size: 13px; gap: 24px; }

  .protocol-search { max-width: 100%; }

  .personas { grid-template-columns: 1fr; gap: 16px; }
  .persona__portrait { height: 160px; }
  .persona__body { padding: 18px 20px 22px; gap: 14px; }
  .persona__identity { font-size: 20px; }
  .persona__changes li { font-size: 12px; }
  .persona__kpi-num { font-size: 24px; }
  .persona__kpi-num span { font-size: 12px; }

  .flow-stage { padding: 80px 12px 12px; min-height: 280px; }
  .flow-node { transform: translateY(-50%) scale(0.75); }
  .flow-node--edge { transform: translateY(-50%) scale(0.75); }
  .node__icon { width: 52px; height: 52px; }
  .node__icon svg { width: 22px; height: 22px; }
  .node__label { font-size: 11px; }
  .node__hint { font-size: 9px; }
  .flow-tags { display: none; }
  .flow-explainer { grid-template-columns: 1fr; }

  .problem-grid { grid-template-columns: 1fr; gap: 32px; }
  .problem__media { position: relative; top: 0; }
  .problem__media img { aspect-ratio: 16/10; }
  .problem-list li { grid-template-columns: 1fr; gap: 8px; padding: 16px 0; }
  .prob-num { font-size: 36px; }
  .problem-quote { font-size: 19px; padding-bottom: 24px; margin-bottom: 24px; }

  .oee-stage { grid-template-columns: 1fr; gap: 32px; }
  .oee-card { padding: 24px 20px; }
  .oee-card__value { margin-bottom: 20px; }
  .oee-big { font-size: clamp(56px, 16vw, 88px); }
  .oee-mini-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .oee-mini { padding: 14px 12px; }
  .oee-mini__v { font-size: 22px; }
  .oee__right img { aspect-ratio: 16/10; }

  .gateway { grid-template-columns: 1fr; gap: 32px; }
  .gateway__media { max-width: 320px; margin: 0 auto; }
  .gateway__media img { aspect-ratio: 4/5; }
  .hotspot { width: 24px; height: 24px; }
  .hotspot--n1 { top: 14%; left: 16%; }
  .hotspot--n2 { top: 36%; right: 20%; }
  .hotspot--n3 { bottom: 24%; left: 24%; }
  .hotspot--n4 { bottom: 12%; right: 12%; }
  .hotspot__tip { width: 160px; font-size: 10px; }
  .gw-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .gw-row h4 { font-size: 16px; }

  .trust__inner { grid-template-columns: 1fr; gap: 32px; }
  .trust__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .badge { padding: 18px 12px; }
  .badge__icon { width: 32px; height: 32px; }
  .badge__name { font-size: 13px; }

  .case { padding: 48px 24px; margin-top: 64px; }
  .case__quote { font-size: 18px; line-height: 1.45; }
  .case__quote::before { font-size: 64px; left: -8px; top: -20px; }
  .case__meta { flex-direction: column; align-items: flex-start; gap: 20px; }
  .case__stats { width: 100%; justify-content: space-between; gap: 12px; }
  .case__stat-num { font-size: 22px; }
  .case__stat { align-items: flex-start; }

  .terminal { border-radius: var(--radius-2); }
  .terminal__body { padding: 24px 16px; font-size: 12px; }
  .terminal__head { padding: 12px 14px; }
  .terminal__path { font-size: 10px; }
  .trial-form { grid-template-columns: 1fr; gap: 10px; }
  .t-field:nth-child(3) { grid-column: auto; }
  .trial-submit { grid-column: auto; padding: 14px; }

  .faq { gap: 8px; }
  .faq-item summary { padding: 18px 20px; }
  .faq-q { font-size: 14px; }
  .faq-a { padding: 0 20px 18px; font-size: 14px; }

  .foot { padding: 40px 5vw 0; }
  .foot__inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .foot__cols { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .foot__bar { font-size: 10px; gap: 8px; padding: 16px 0 80px; }
  .status-led { margin-left: 0; width: 100%; }

  .toast-stack { right: 12px; left: 12px; max-width: none; top: 80px; }
  .toast { padding: 12px 14px; }

  .nav__menu { display: none; }
  .nav__burger { display: block; }
}

@media (max-width: 480px) {
  .section { padding: 56px 5vw; }
  .section__title { font-size: 28px; }
  .section__num { font-size: 11px; }

  .hero { padding: 100px 5vw 80px; }
  .hero__title { font-size: clamp(34px, 11vw, 52px); margin-bottom: 24px; }
  .hero__lede { font-size: 14px; line-height: 1.65; }
  .hero__actions { flex-direction: column; gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .meta-item { flex: 0 0 50%; }
  .meta-num { font-size: 24px; }
  .meta-label { font-size: 10px; }

  .live-ticker { font-size: 10px; padding: 10px 12px; }

  .persona__content { padding: 20px; }
  .persona h3 { font-size: 18px; }
  .persona__role { font-size: 10px; padding: 3px 8px; }

  .oee-card { padding: 20px 16px; }
  .oee-big { font-size: 56px; }
  .oee-mini-grid { grid-template-columns: 1fr 1fr; }
  .oee-mini__v { font-size: 20px; }

  .board__top { padding: 10px 14px; font-size: 10px; }
  .board__grid { grid-template-columns: 1fr 1fr; }
  .proto { padding: 12px 14px; font-size: 12px; }
  .board__foot { padding: 12px 14px; font-size: 10px; flex-wrap: wrap; }

  .flow-stage { padding: 70px 10px 10px; }
  .flow-node { transform: translateY(-50%) scale(0.7); }

  .badge__name { font-size: 12px; }
  .badge__desc { font-size: 9px; }

  .case { padding: 36px 20px; }
  .case__quote { font-size: 16px; }
  .case__stats { gap: 8px; }
  .case__stat-num { font-size: 20px; }

  .terminal__body { padding: 20px 14px; font-size: 11px; }

  .foot__cols { grid-template-columns: 1fr; }
  .foot__bar { font-size: 9px; }

  .back-top { right: 16px; bottom: 80px; width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hotspot::after { display: none; }
  .hotspot { animation: none; }
}
