:root {
  --bg: #02070b;
  --surface: rgba(7, 18, 24, 0.78);
  --surface-strong: rgba(9, 25, 34, 0.92);
  --surface-soft: rgba(11, 34, 46, 0.5);
  --border: rgba(103, 232, 249, 0.14);
  --border-strong: rgba(103, 232, 249, 0.24);
  --text: #f4fbff;
  --muted: #b7cfdb;
  --brand: #67e8f9;
  --brand-strong: #06b6d4;
  --brand-deep: #0a2e3d;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
  --transition: 220ms ease;
  --header-offset: 5rem;
  --anchor-offset: 6.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(17, 94, 117, 0.35), transparent 32%),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 28%),
    linear-gradient(180deg, #051118 0%, #02070b 56%, #051118 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 48%, transparent 92%);
  pointer-events: none;
  opacity: 0.28;
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(2, 7, 11, 0.05), rgba(2, 7, 11, 0.35)),
    radial-gradient(circle at center, transparent 0, rgba(2, 7, 11, 0.22) 70%, rgba(2, 7, 11, 0.5) 100%);
}

::selection {
  background: rgba(103, 232, 249, 0.28);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(72px);
  opacity: 0.9;
}

.hero-orb-1 {
  top: 3%;
  left: -8%;
  height: 17rem;
  width: 17rem;
  background: rgba(34, 211, 238, 0.15);
}

.hero-orb-2 {
  top: 22%;
  right: -4%;
  height: 18rem;
  width: 18rem;
  background: rgba(8, 145, 178, 0.14);
}

.hero-orb-3 {
  bottom: 10%;
  left: 30%;
  height: 12rem;
  width: 12rem;
  background: rgba(21, 94, 117, 0.18);
}

.glass-nav,
.surface-panel,
.benefit-card,
.mode-card,
.product-terminal,
.flow-node,
.oee-card,
.metric-card,
.timeline-card,
.dashboard-card,
.code-card,
.client-tile,
.cta-panel {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(8, 20, 27, 0.84), rgba(4, 13, 18, 0.8));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-section.site-hero {
  min-height: 118svh;
}

.glass-nav {
  background: rgba(4, 13, 18, 0.72);
}

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  color: rgba(223, 238, 246, 0.82);
  text-decoration: none;
  transition:
    color var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

.nav-link:hover,
.mobile-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.mobile-link {
  justify-content: flex-start;
  border-radius: 1rem;
}

.menu-button {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color var(--transition), background-color var(--transition);
}

.menu-button:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(165, 243, 252, 0.84);
  background: rgba(12, 36, 49, 0.55);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 5%, #9df4ff 46%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.status-dot,
.feature-bullet {
  display: inline-flex;
  flex: none;
  height: 0.65rem;
  width: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #8cf7ff, #08c7e8);
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.7);
}

.button-primary,
.button-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background-color var(--transition);
}

.button-primary {
  color: #031118;
  background: linear-gradient(135deg, #8cf7ff 0%, #22d3ee 42%, #0ea5b7 100%);
  box-shadow:
    0 12px 30px rgba(34, 211, 238, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 36px rgba(34, 211, 238, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.button-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(103, 232, 249, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.info-pill {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
}

.metric-card {
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.metric-label,
.dashboard-label {
  margin: 0 0 0.7rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(165, 243, 252, 0.68);
}

.metric-title,
.dashboard-value,
.timeline-title,
.benefit-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.metric-copy,
.timeline-copy,
.benefit-copy,
.dashboard-copy {
  margin: 0.55rem 0 0;
  color: rgba(191, 215, 227, 0.82);
  line-height: 1.75;
}

.hero-section {
  position: relative;
  min-height: 168svh;
  --hero-copy-y: 0px;
  --hero-copy-opacity: 1;
  --hero-copy-blur: 0px;
  --hero-stage-y: 0px;
  --hero-stage-scale: 1;
  --hero-shell-y: 0px;
  --hero-shell-scale: 1;
  --hero-shell-opacity: 1;
  --hero-shell-blur: 0px;
  --hero-glow-opacity: 1;
  --hero-glow-scale: 1;
  --hero-device-lift: 0px;
  --hero-device-scale: 1;
  --hero-cue-opacity: 1;
  --hero-cue-y: 0px;
  --hero-cue-blur: 0px;
}

.hero-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12rem;
  left: 0;
  height: 36rem;
  background: linear-gradient(180deg, rgba(2, 7, 11, 0), rgba(2, 7, 11, 0.18) 20%, rgba(2, 7, 11, 0.82) 52%, rgba(2, 7, 11, 1) 78%, rgba(2, 7, 11, 1));
  pointer-events: none;
  z-index: 3;
}

.hero-sticky {
  position: sticky;
  top: calc(var(--header-offset) - 2.5rem);
  z-index: 2;
  padding-bottom: 1.5rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  opacity: var(--hero-copy-opacity);
  transform: translateY(var(--hero-copy-y));
  filter: blur(var(--hero-copy-blur));
  will-change: transform, opacity, filter;
}

.hero-copy-centered {
  padding-top: 2.75rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.08em;
}

.hero-title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.18em;
  margin-bottom: -0.1em;
}

.hero-title-track {
  display: block;
  opacity: 0;
  transform: translateY(110%) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-intro {
  opacity: 0.001;
  transform: translateY(18px) scale(0.99);
  filter: blur(10px);
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-intro-eyebrow {
  transition-delay: 60ms;
}

.hero-intro-subtitle {
  transition-delay: 520ms;
}

.hero-intro-actions {
  transition-delay: 680ms;
}

.hero-intro-pills {
  transition-delay: 820ms;
}

.hero-intro-stage {
  transition-delay: 220ms;
}

.hero-intro-cue {
  transition-delay: 980ms;
}

body.page-ready .hero-title-line:nth-child(1) .hero-title-track {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition-delay: 140ms;
}

body.page-ready .hero-title-line:nth-child(2) .hero-title-track {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition-delay: 280ms;
}

body.page-ready .hero-intro {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero-stage {
  position: relative;
  width: min(100%, 68rem);
  min-height: 28.5rem;
  will-change: transform;
}

.hero-stage-shell {
  position: absolute;
  inset: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: translateY(44px) scale(0.985);
  filter: blur(12px);
  transition:
    opacity 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-stage-shell::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -92%;
  left: -10%;
  z-index: 4;
  height: 164%;
  background: linear-gradient(
    180deg,
    rgba(2, 7, 11, 0) 0%,
    rgba(2, 7, 11, 0.08) 30%,
    rgba(2, 7, 11, 0.62) 58%,
    rgba(2, 7, 11, 0.96) 76%,
    #010305 100%
  );
  -webkit-mask-image: radial-gradient(ellipse 84% 102% at center bottom, #000 0%, #000 64%, rgba(0, 0, 0, 0.28) 84%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 102% at center bottom, #000 0%, #000 64%, rgba(0, 0, 0, 0.28) 84%, transparent 100%);
  pointer-events: none;
}

.hero-stage-shell::before {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -90%;
  left: -6%;
  z-index: 5;
  height: 112%;
  background: radial-gradient(ellipse at center, #010305 0%, rgba(2, 7, 11, 0.96) 36%, rgba(2, 7, 11, 0.76) 58%, rgba(2, 7, 11, 0) 78%);
  filter: blur(38px);
  pointer-events: none;
}

.hero-stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103, 232, 249, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.28) 58%, transparent 82%);
  opacity: 0;
}

.hero-stage-glow {
  position: absolute;
  top: 3.5rem;
  left: 50%;
  width: 52%;
  height: 52%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.36) 0%, rgba(34, 211, 238, 0.14) 44%, transparent 72%);
  filter: blur(30px);
  opacity: 0;
  transform: translateX(-50%) scale(0.88);
  transition:
    opacity 1200ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-stage-device {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: min(100%, 50rem);
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-stage-image {
  --hero-device-start-y: 21rem;
  --hero-device-ready-y: 16.2rem;
  width: 100%;
  max-width: 50rem;
  height: auto;
  transform: translateY(var(--hero-device-start-y)) scale(0.96);
  filter: drop-shadow(0 30px 90px rgba(0, 0, 0, 0.45));
  opacity: 0;
  transition:
    opacity 1200ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

body.page-ready .hero-stage.hero-intro {
  transform: translateY(var(--hero-stage-y, 0px)) scale(var(--hero-stage-scale, 1));
  filter: blur(0);
}

body.page-ready .hero-stage-shell {
  opacity: var(--hero-shell-opacity, 1);
  transform: translateY(var(--hero-shell-y, 0px)) scale(var(--hero-shell-scale, 1));
  filter: blur(var(--hero-shell-blur, 0px));
  transition-delay: 160ms;
}

body.page-ready .hero-stage-glow {
  opacity: var(--hero-glow-opacity, 1);
  transform: translateX(-50%) scale(var(--hero-glow-scale, 1));
  transition-delay: 340ms;
}

body.page-ready .hero-stage-image {
  opacity: 1;
  transform: translateY(calc(var(--hero-device-ready-y) + var(--hero-device-lift, 0px))) scale(var(--hero-device-scale, 1));
  transition-delay: 380ms;
}

.hero-stage-link {
  position: absolute;
  left: 50%;
  bottom: -6.5rem;
  z-index: 6;
  width: 2px;
  height: 9.5rem;
  margin-left: -1px;
  transform-origin: top;
  transform: scaleY(var(--hero-link-scale, 0));
  opacity: var(--hero-link-opacity, 0);
  background: linear-gradient(
    180deg,
    rgba(103, 232, 249, 0) 0%,
    rgba(103, 232, 249, 0.55) 26%,
    rgba(34, 211, 238, 0.95) 100%
  );
  pointer-events: none;
}

.hero-stage-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 999px;
  background: #9df4ff;
  box-shadow: 0 0 14px 3px rgba(103, 232, 249, 0.85);
  animation: hero-link-pulse 1.5s linear infinite;
}

@keyframes hero-link-pulse {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    transform: translateY(9rem);
    opacity: 0;
  }
}

#produto .surface-panel {
  border-top-color: rgba(103, 232, 249, calc(0.14 + 0.42 * var(--hero-dock, 0)));
  box-shadow:
    var(--shadow),
    0 -22px 80px rgba(34, 211, 238, calc(0.22 * var(--hero-dock, 0)));
}

body.page-ready .hero-scroll-cue.hero-intro {
  opacity: var(--hero-cue-opacity, 1);
  transform: translateY(var(--hero-cue-y, 0px));
  filter: blur(var(--hero-cue-blur, 0px));
}

.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1.1rem;
  z-index: 60;
  padding: 0.72rem 1.15rem;
  font-size: 0.85rem;
  box-shadow:
    0 14px 34px rgba(34, 211, 238, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

body.hero-scroll-bound .hero-stage.hero-intro,
body.hero-scroll-bound .hero-scroll-cue.hero-intro,
body.hero-scroll-bound .hero-stage-shell,
body.hero-scroll-bound .hero-stage-glow,
body.hero-scroll-bound .hero-stage-image {
  transition-delay: 0ms;
  transition-duration: 0ms;
}

.hero-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(165, 243, 252, 0.82);
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
}

.hero-scroll-cue:hover {
  color: #fff;
  transform: translateX(4px);
}

.hero-scroll-line {
  width: 2.75rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.9), rgba(103, 232, 249, 0));
}

.intro-section {
  position: relative;
  z-index: 3;
  margin-top: -5rem;
}

.surface-panel {
  position: relative;
}

.surface-panel::before,
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(103, 232, 249, 0.2), transparent 35%, transparent 70%, rgba(103, 232, 249, 0.12));
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.client-tile {
  display: grid;
  place-items: center;
  min-height: 8.75rem;
  border-radius: 1.5rem;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.03);
}

.client-logo {
  width: min(100%, 11.25rem);
  height: 6.25rem;
  object-fit: contain;
  opacity: 0.82;
  transition: opacity var(--transition), transform var(--transition);
}

.client-tile:hover .client-logo {
  opacity: 1;
  transform: scale(1.02);
}

.timeline-card {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.timeline-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.8rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 800;
  color: #051118;
  background: linear-gradient(135deg, #8cf7ff, #22d3ee);
}

.benefit-card {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  min-height: 100%;
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.benefit-icon {
  display: inline-flex;
  height: 2.8rem;
  width: 2.8rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  color: #89f6ff;
  background: rgba(103, 232, 249, 0.12);
}

.benefit-icon svg {
  height: 1.15rem;
  width: 1.15rem;
}

.section-heading-modern {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.section-heading-modern > div,
.section-heading-modern > p {
  max-width: 42rem;
}

.section-heading-modern .section-label {
  margin-bottom: 1.35rem;
}

.hardware-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hardware-strip span {
  border: 1px solid rgba(103, 232, 249, 0.16);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(223, 238, 246, 0.9);
  background: rgba(103, 232, 249, 0.06);
}

.product-terminal {
  border-radius: 1.8rem;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(2, 7, 11, 0.94), rgba(8, 20, 27, 0.86)),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.16), transparent 34%);
}

.terminal-topline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(223, 238, 246, 0.9);
}

.terminal-topline strong {
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
}

.terminal-topline em {
  margin-left: auto;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  color: #d9ffe6;
  background: rgba(34, 197, 94, 0.13);
}

.terminal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.terminal-grid div {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.2rem;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.035);
}

.terminal-grid span {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(165, 243, 252, 0.62);
}

.terminal-grid strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
}

.mode-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.mode-card::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(103, 232, 249, 0.14);
  transform: rotate(18deg);
}

.mode-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.mode-card-head strong {
  color: #fff;
  font-size: 1.28rem;
}

.mode-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.8rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 800;
  color: #051118;
  background: linear-gradient(135deg, #8cf7ff, #22d3ee);
}

.mode-card p,
.mode-card li {
  color: rgba(191, 215, 227, 0.84);
  line-height: 1.7;
}

.mode-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.mode-card li {
  position: relative;
  padding-left: 1.15rem;
}

.mode-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #67e8f9;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: rgba(223, 238, 246, 0.92);
}

.integration-flow {
  display: grid;
  gap: 0.5rem;
}

.flow-node {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.85rem;
  align-items: center;
  border-radius: 1.25rem;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.035);
}

.flow-node span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.8rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 800;
  color: #051118;
  background: linear-gradient(135deg, #8cf7ff, #22d3ee);
}

.flow-node strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
}

.flow-node p {
  grid-column: 2;
  margin: 0.25rem 0 0;
  color: rgba(191, 215, 227, 0.78);
  line-height: 1.55;
}

.flow-node-device {
  border-color: rgba(103, 232, 249, 0.26);
  background:
    linear-gradient(180deg, rgba(34, 211, 238, 0.11), rgba(255, 255, 255, 0.035));
}

.flow-line {
  width: 2px;
  height: 1.1rem;
  margin-left: calc(1.1rem + 1.075rem - 1px);
  background: linear-gradient(180deg, rgba(103, 232, 249, 0.75), rgba(103, 232, 249, 0.18));
}

.oee-card {
  min-height: 16rem;
  border-radius: 1.5rem;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(8, 20, 27, 0.86), rgba(4, 13, 18, 0.74));
}

.oee-card strong {
  display: block;
  margin-top: 1.25rem;
  color: #fff;
  font-size: 1.18rem;
}

.oee-card p {
  margin: 0.65rem 0 0;
  color: rgba(191, 215, 227, 0.82);
  line-height: 1.65;
}

.oee-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.oee-ring-green {
  border: 1px solid rgba(34, 197, 94, 0.36);
  background: radial-gradient(circle, rgba(34, 197, 94, 0.24), rgba(34, 197, 94, 0.08));
}

.oee-ring-cyan {
  border: 1px solid rgba(103, 232, 249, 0.36);
  background: radial-gradient(circle, rgba(103, 232, 249, 0.24), rgba(103, 232, 249, 0.08));
}

.oee-ring-amber {
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: radial-gradient(circle, rgba(245, 158, 11, 0.24), rgba(245, 158, 11, 0.08));
}

.demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
}

.demo-dots {
  display: flex;
  gap: 0.45rem;
}

.demo-dots span {
  display: block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(165, 243, 252, 0.86);
  background: rgba(103, 232, 249, 0.08);
}

.report-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.report-stat {
  display: grid;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
}

.report-stat span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(165, 243, 252, 0.68);
}

.report-stat strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.report-list {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.1rem 1.15rem;
  background: rgba(255, 255, 255, 0.02);
}

.report-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.report-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.report-row:first-of-type {
  border-top: none;
}

.report-time {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  color: rgba(165, 243, 252, 0.75);
}

.report-what {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.report-what strong {
  font-size: 0.95rem;
  color: #fff;
}

.report-what em {
  overflow: hidden;
  font-style: normal;
  font-size: 0.8rem;
  color: rgba(191, 215, 227, 0.65);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.report-value {
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.report-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(134, 239, 172, 0.92);
  background: rgba(74, 222, 128, 0.1);
  white-space: nowrap;
}

.report-status::before {
  content: "✓";
}

@media (max-width: 560px) {
  .report-stat {
    padding: 0.75rem 0.8rem;
  }

  .report-stat strong {
    font-size: 1.05rem;
  }

  .report-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .report-status {
    display: none;
  }
}

.cta-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(8, 20, 27, 0.92), rgba(3, 10, 14, 0.92));
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-field span {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(223, 238, 246, 0.92);
}

.cta-panel .form-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.1rem;
  padding: 0.9rem 1.05rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  transition:
    border-color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}

.cta-panel .form-input::placeholder {
  color: rgba(191, 215, 227, 0.46);
}

.cta-panel .form-input:focus {
  outline: none;
  border-color: rgba(103, 232, 249, 0.4);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.08);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--surface);
  padding: 0;
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition);
}

.faq-item[open] {
  border-color: var(--border-strong);
  background: var(--surface-strong);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.45rem;
  font-family: "Inter Tight", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  color: rgba(165, 243, 252, 0.9);
  background: rgba(103, 232, 249, 0.12);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 1.45rem 1.35rem;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.metric-card,
.mode-card,
.oee-card,
.timeline-card,
.faq-item,
.client-tile {
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.metric-card:hover,
.mode-card:hover,
.oee-card:hover,
.timeline-card:hover,
.faq-item:hover,
.client-tile:hover {
  border-color: var(--border-strong);
  box-shadow:
    var(--shadow),
    0 0 34px rgba(103, 232, 249, 0.08);
}

@media (max-width: 1024px) {
  .hero-stage {
    min-height: 25rem;
  }

  .hero-stage {
    width: min(100%, 56rem);
  }

  .hero-stage-device {
    width: min(100%, 40rem);
  }

  .hero-stage-image {
    --hero-device-start-y: 16.8rem;
    --hero-device-ready-y: 12.9rem;
    max-width: 40rem;
  }
}

@media (max-width: 768px) {
  body::before {
    background-size: 48px 48px;
  }

  .section-heading-modern {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero-section {
    min-height: 152svh;
  }

  .hero-section.site-hero {
    min-height: 124svh;
  }

  .hero-sticky {
    top: calc(var(--header-offset) - 3rem);
  }

  .hero-stage {
    min-height: 23rem;
  }

  .hero-stage-shell::after {
    bottom: -96%;
    height: 172%;
  }

  .hero-stage-shell::before {
    bottom: -94%;
    height: 118%;
  }

  .hero-copy-centered {
    padding-top: 1.6rem;
  }

  .hero-stage-device {
    width: min(100%, 31rem);
  }

  .hero-stage-image {
    --hero-device-start-y: 12.8rem;
    --hero-device-ready-y: 9.8rem;
    max-width: 31rem;
  }

  .stream-item {
    align-items: flex-start;
  }

  .stream-item-copy {
    text-align: left;
  }

  .terminal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-section {
    min-height: 142svh;
  }

  .hero-section.site-hero {
    min-height: 118svh;
  }

  .hero-sticky {
    top: calc(var(--header-offset) - 3.5rem);
  }

  .hero-stage {
    min-height: 19.5rem;
  }

  .hero-stage-device {
    width: min(100%, 23.5rem);
  }

  .hero-stage-image {
    --hero-device-start-y: 9.6rem;
    --hero-device-ready-y: 7.35rem;
    max-width: 23.5rem;
  }

  .stream-item {
    gap: 0.6rem;
  }

  .metric-card,
  .timeline-card,
  .benefit-card {
    padding: 1.25rem;
  }
}

@media (max-width: 640px) {
  .hero-section.site-hero {
    min-height: auto;
  }

  .hero-section .hero-sticky {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .hero-stage {
    min-height: 10.5rem;
  }

  .hero-copy .hero-intro-subtitle {
    padding-right: 0.6rem;
    padding-left: 0.6rem;
  }

  .hero-stage-device {
    width: min(100%, 19rem);
  }

  .hero-stage-image {
    --hero-device-start-y: 8.5rem;
    --hero-device-ready-y: 6.4rem;
    max-width: 19rem;
  }

  .hero-stage-link {
    bottom: -4.5rem;
    height: 7rem;
    opacity: 1;
    transform: scaleY(1);
  }

  .hero-copy .hero-intro-actions,
  .hero-sticky .hero-scroll-cue {
    display: none;
  }

  .hero-copy .hero-intro-pills {
    flex-wrap: nowrap;
    gap: min(0.4rem, 1.5vw);
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .hero-copy .hero-intro-pills .info-pill {
    padding: 0.4rem min(0.55rem, 2.1vw);
    font-size: min(0.63rem, 2.45vw);
    white-space: nowrap;
  }

  .client-tile {
    min-height: 6.25rem;
    padding: 0.85rem;
  }

  .client-logo {
    width: min(100%, 8.75rem);
    height: 4.25rem;
  }

  .oee-card {
    min-height: 0;
  }

  .section-heading-modern {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .flow-node p {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section {
    min-height: auto;
  }

  .hero-sticky {
    position: relative;
    top: auto;
  }

  .hero-copy,
  .hero-title-track,
  .hero-intro,
  .hero-stage-shell,
  .hero-stage-glow,
  .hero-stage-image {
    transition: none;
    filter: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
