:root {
  --ink: #f7f2fb;
  --muted: #b9b0c5;
  --line: rgba(255, 255, 255, 0.13);
  --panel: #16121e;
  --soft: #201a2b;
  --violet: #8b0f86;
  --violet-2: #b218a8;
  --cyan: #10b7df;
  --green: #28a56f;
  --amber: #e0a11a;
  --coral: #dd5d4f;
  --shadow: 0 22px 70px rgba(28, 18, 42, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #0b0910;
  overflow-x: hidden;
}

#luxury-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
  mix-blend-mode: screen;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

@property --spin {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(232, 229, 239, 0.85);
  backdrop-filter: blur(18px);
  animation: headerDrop 700ms var(--ease) both;
}

.brand img {
  display: block;
  width: min(286px, 42vw);
  height: 60px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #3e3b4c;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--violet);
  background: #fff;
}

.header-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 14px;
  color: #f7f2fb;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.header-cta,
.primary-action {
  color: #fff;
  background: var(--violet);
  box-shadow: 0 12px 34px rgba(139, 15, 134, 0.25);
}

.secondary-action {
  color: var(--violet);
  background: #fff;
  border: 1px solid rgba(139, 15, 134, 0.22);
}

.header-cta svg,
.primary-action svg,
.secondary-action svg,
.icon-button svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  min-height: min(860px, calc(100vh - 72px));
  overflow: hidden;
  display: grid;
  align-items: center;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 46%, rgba(248, 238, 249, 0.62) 100%),
    #fff;
}

.hero-v2 {
  min-height: min(820px, calc(100vh - 72px));
  background:
    radial-gradient(circle at 18% 28%, rgba(139, 15, 134, 0.12), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(16, 183, 223, 0.13), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #fbf8fd 54%, #f5f1f8 100%);
}

.hero-v2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(251, 250, 252, 0), #fbfafc);
  pointer-events: none;
}

#erp-constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.62fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 52px 0 72px;
}

.hero-grid-v2 {
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 0.86fr);
  padding: 72px 0 96px;
}

.hero-copy,
.hero-console {
  min-width: 0;
}

.hero-copy h1,
.hero-copy p {
  max-width: 100%;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
  color: var(--ink);
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
}

.hero-v2 h1 {
  max-width: 780px;
  font-size: clamp(42px, 4.6vw, 66px);
  line-height: 1.04;
  font-weight: 800;
}

.hero-lede {
  max-width: 700px;
  margin: 24px 0 0;
  color: #3f3c4d;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-v2 .hero-lede {
  max-width: 720px;
  color: #373343;
}

.hero-copy > * {
  animation: revealUp 800ms var(--ease) both;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 90ms;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 170ms;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 250ms;
}

.hero-copy > *:nth-child(5) {
  animation-delay: 330ms;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin-top: 34px;
}

.hero-proof-grid div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(139, 15, 134, 0.14);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.hero-proof-grid strong {
  display: block;
  color: var(--violet);
  font-size: 30px;
  line-height: 1;
}

.hero-proof-grid span {
  display: block;
  margin-top: 6px;
  color: #4d4858;
  font-size: 13px;
  font-weight: 800;
}

.trust-strip span {
  padding: 8px 11px;
  color: #332d40;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(139, 15, 134, 0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-console,
.proposal-card,
.erp-shell,
.calculator,
.industry-detail {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(232, 229, 239, 0.95);
  box-shadow: var(--shadow);
}

.hero-cockpit {
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(232, 229, 239, 0.95);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(25, 20, 33, 0.18);
  backdrop-filter: blur(18px);
  animation: floatInRight 900ms var(--ease) 180ms both, cockpitFloat 8s ease-in-out 1.2s infinite;
}

.cockpit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(139, 15, 134, 0.94), rgba(25, 20, 33, 0.96)),
    var(--ink);
  border-radius: 8px;
}

.cockpit-header span {
  display: block;
  color: #efc9eb;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cockpit-header strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.cockpit-header svg {
  width: 34px;
  height: 34px;
  color: var(--cyan);
}

.cockpit-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  margin-top: 12px;
}

.cockpit-card {
  min-height: 138px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cockpit-card.big {
  grid-row: span 2;
}

.cockpit-card span,
.cockpit-card small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.cockpit-card strong {
  display: block;
  margin: 12px 0;
  color: var(--ink);
  font-size: 42px;
  line-height: 1;
}

.sparkline {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 82px;
  margin-top: 18px;
}

.sparkline i {
  flex: 1;
  display: block;
  min-height: 16px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  border-radius: 999px 999px 2px 2px;
}

.cockpit-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.cockpit-flow div {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px 8px;
  color: #3a3547;
  background: #fbfafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.cockpit-flow svg {
  width: 20px;
  height: 20px;
  color: var(--violet);
}

.cockpit-alert {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 12px;
  padding: 16px;
  color: #fff;
  background: #171421;
  border-radius: 8px;
}

.cockpit-alert svg {
  width: 24px;
  height: 24px;
  color: var(--cyan);
}

.cockpit-alert p {
  margin: 0;
  color: #eee8f1;
  line-height: 1.5;
  font-size: 14px;
  font-weight: 700;
}

.hero-console {
  padding: 26px;
  border-radius: 8px;
}

.console-top,
.card-title,
.rail-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #464154;
  font-size: 13px;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(40, 165, 111, 0.14);
}

.pulse-score {
  display: grid;
  margin-top: 22px;
  padding: 24px;
  background: #171421;
  border-radius: 8px;
  color: #fff;
}

.pulse-score strong {
  font-size: 58px;
  line-height: 1;
}

.pulse-score span {
  margin-top: 6px;
  color: #d8d1df;
  font-weight: 700;
}

.pulse-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.pulse-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.pulse-list span {
  color: var(--muted);
}

.pulse-list strong {
  color: var(--violet);
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 36px));
  margin: -38px auto 0;
  position: relative;
  z-index: 4;
  background: #171421;
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.metric-band div {
  display: grid;
  gap: 4px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-band div:last-child {
  border-right: 0;
}

.metric-band strong {
  font-size: 32px;
}

.metric-band span {
  color: #d9d3df;
  font-size: 14px;
  line-height: 1.45;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  display: block;
  max-width: 760px;
}

.section h2 {
  max-width: 760px;
  font-size: clamp(30px, 3.25vw, 46px);
  line-height: 1.1;
  font-weight: 800;
}

.section-heading {
  position: relative;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -18px;
  width: 86px;
  height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  border-radius: 999px;
  transform-origin: left;
  animation: growWidth 800ms var(--ease) both;
}

.section-heading.narrow::before {
  bottom: -16px;
}

.intro-copy > p,
.sales-room p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.value-grid,
.automation-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.system-section {
  padding-top: 40px;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.system-grid article {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
  background: #171421;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #fff;
  animation: liftIn 720ms var(--ease) both;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.system-grid article:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 54px rgba(28, 18, 42, 0.18);
}

.system-grid article:nth-child(2) {
  animation-delay: 80ms;
}

.system-grid article:nth-child(3) {
  animation-delay: 160ms;
}

.system-grid article:nth-child(4) {
  animation-delay: 240ms;
}

.system-grid article::after {
  content: "";
  position: absolute;
  inset: auto -50px -70px auto;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(19, 184, 220, 0.42);
  border-radius: 50%;
}

.system-grid svg {
  width: 26px;
  height: 26px;
  color: var(--cyan);
}

.system-grid h3 {
  color: #fff;
}

.system-grid p {
  margin: 0;
  color: #d9d3df;
  line-height: 1.6;
}

.visual-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 70px 0 104px;
}

.visual-copy h2 {
  margin: 0;
  font-size: clamp(30px, 3.25vw, 46px);
  line-height: 1.1;
  font-weight: 800;
}

.visual-copy p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.tech-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.tech-photo {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 126px;
  overflow: hidden;
  padding: 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(11, 9, 16, 0.05), rgba(11, 9, 16, 0.74)),
    url("assets/tech-cloud.png") center / cover,
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.3), transparent 18%),
    linear-gradient(135deg, rgba(139, 15, 134, 0.72), rgba(16, 183, 223, 0.32)),
    #15111d;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.tech-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.13) 43% 44%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  opacity: 0.76;
}

.tech-photo svg,
.tech-photo span {
  position: relative;
  z-index: 1;
}

.tech-photo svg {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  color: #fff;
}

.tech-photo span {
  font-size: 13px;
  font-weight: 900;
}

.tech-ai {
  background:
    linear-gradient(180deg, rgba(11, 9, 16, 0.02), rgba(11, 9, 16, 0.74)),
    url("assets/tech-ai.png") center / cover,
    radial-gradient(circle at 34% 22%, rgba(255, 214, 128, 0.38), transparent 18%),
    linear-gradient(135deg, rgba(16, 183, 223, 0.7), rgba(139, 15, 134, 0.5)),
    #15111d;
}

.tech-security {
  background:
    linear-gradient(180deg, rgba(11, 9, 16, 0.02), rgba(11, 9, 16, 0.76)),
    url("assets/tech-security.png") center / cover,
    radial-gradient(circle at 70% 30%, rgba(40, 165, 111, 0.42), transparent 20%),
    linear-gradient(135deg, rgba(16, 183, 223, 0.48), rgba(11, 9, 16, 0.88)),
    #15111d;
}

.visual-dashboard {
  position: relative;
  min-height: 470px;
}

.visual-dashboard::before {
  content: "";
  position: absolute;
  inset: 44px 20px 20px;
  background:
    linear-gradient(90deg, rgba(139, 15, 134, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(19, 184, 220, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
  border-radius: 8px;
  transform: rotate(-2deg);
}

.visual-window {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.main-window {
  inset: 0 44px 82px 0;
  padding: 18px;
  animation: floatPanel 7s ease-in-out infinite;
}

.side-window {
  right: 0;
  bottom: 0;
  width: min(330px, 74%);
  padding: 16px;
  animation: floatPanel 7s ease-in-out infinite reverse;
}

.window-top {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.window-top span {
  width: 10px;
  height: 10px;
  background: var(--line);
  border-radius: 50%;
}

.window-top span:first-child {
  background: var(--violet);
}

.window-top span:nth-child(2) {
  background: var(--cyan);
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.dash-grid div {
  padding: 18px;
  background: #fbfafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dash-grid strong {
  display: block;
  font-size: 30px;
}

.dash-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.dash-bars {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 170px;
  margin-top: 24px;
  padding: 18px;
  background: #171421;
  border-radius: 8px;
}

.dash-bars i {
  flex: 1;
  min-height: 20px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  border-radius: 999px 999px 4px 4px;
}

.side-window p {
  margin: 0;
  color: #352f43;
  font-weight: 800;
  line-height: 1.55;
}

.side-window button {
  margin-top: 16px;
  padding: 10px 12px;
  color: #fff;
  background: var(--violet);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes liftIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.value-grid div,
.automation-stack div {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}

.value-grid div:hover,
.automation-stack div:hover,
.ui-card:hover,
.ui-metric:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 15, 134, 0.28);
  box-shadow: 0 18px 46px rgba(28, 18, 42, 0.11);
}

.value-grid svg,
.automation-stack svg {
  color: var(--violet);
  width: 24px;
  height: 24px;
}

h3 {
  margin: 14px 0 8px;
  font-size: 19px;
  letter-spacing: 0;
}

.value-grid p,
.automation-stack p,
.timeline p,
.industry-detail p,
.proposal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.erp-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  border-radius: 8px;
  overflow: hidden;
}

.module-rail {
  padding: 18px;
  background: #f7f5f9;
  border-right: 1px solid var(--line);
}

.rail-title {
  padding: 8px 6px 16px;
}

.module-list {
  display: grid;
  gap: 7px;
  max-height: 690px;
  overflow: auto;
  padding-right: 4px;
}

.module-button {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 10px;
  color: #383344;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
}

.module-button svg {
  width: 18px;
  height: 18px;
}

.module-button span {
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
}

.module-button:hover,
.module-button.active {
  background: #fff;
  border-color: rgba(139, 15, 134, 0.18);
  color: var(--violet);
}

.module-stage {
  min-width: 0;
}

.stage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.app-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stage-toolbar h3 {
  margin: 6px 0 0;
  font-size: clamp(22px, 3vw, 32px);
}

.module-subtitle {
  max-width: 860px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.toolbar-actions {
  display: flex;
  gap: 8px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--violet);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.module-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  padding: 20px;
  background: #fff;
}

.module-main {
  overflow: hidden;
  min-width: 0;
  display: grid;
  gap: 18px;
}

.module-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.summary-tile {
  padding: 18px;
  background: #fbfafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.summary-tile span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.summary-tile strong {
  display: block;
  margin-top: 8px;
  font-size: 27px;
  color: var(--ink);
}

.summary-tile small {
  display: block;
  margin-top: 7px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
}

.module-insight-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
}

.module-chart-card,
.module-value-card {
  padding: 18px;
  background: #fbfafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.module-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 190px;
  margin-top: 18px;
  padding: 12px 8px 0;
  border-bottom: 1px solid #ded9e6;
}

.chart-bar {
  flex: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  height: 100%;
  min-width: 18px;
}

.chart-bar i {
  align-self: end;
  display: block;
  width: 100%;
  min-height: 18px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  border-radius: 999px 999px 3px 3px;
  box-shadow: 0 10px 22px rgba(139, 15, 134, 0.18);
}

.chart-bar span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.module-value-card p {
  margin: 16px 0 0;
  color: #3d384b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.workflow-card,
.records-card,
.insight-panel {
  padding: 18px;
  background: #fbfafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.workflow-step {
  min-height: 92px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.workflow-step span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  color: #fff;
  background: var(--violet);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.workflow-step p {
  margin: 0;
  color: #3c3948;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.record-table {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.record-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.74fr 0.74fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}

.record-head {
  background: #171421;
  color: #fff;
}

.record-head strong {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.record-row strong {
  min-width: 0;
}

.record-row span {
  color: var(--muted);
}

.pill {
  justify-self: start;
  padding: 6px 9px;
  color: #155f43;
  background: rgba(40, 165, 111, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.insight-panel {
  min-width: 0;
  align-self: start;
}

.module-ui {
  min-width: 0;
}

.module-screen {
  display: grid;
  gap: 18px;
  animation: moduleIn 520ms var(--ease) both;
}

@keyframes moduleIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ui-hero-panel,
.ui-card,
.ui-metric,
.pipeline-board > div,
.retail-register,
.warehouse-map,
.supplier-compare,
.shop-floor,
.gantt-view,
.people-grid,
.dispatch-board,
.asset-health,
.approval-lane,
.portal-preview,
.executive-wall,
.api-map {
  background: #fbfafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dark-panel {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, #171421, #8b0f86);
}

.dark-panel span,
.dark-panel h4 {
  margin: 0;
  color: #fff;
}

.dark-panel span {
  display: block;
  color: #efc8ed;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dark-panel h4 {
  margin-top: 6px;
  font-size: 24px;
}

.dark-panel strong {
  font-size: 42px;
}

.ui-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ui-metric {
  padding: 18px;
}

.ui-metric span,
.ui-metric small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.ui-metric strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 30px;
}

.ui-metric small {
  color: var(--violet);
}

.split-ui {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
  gap: 18px;
  min-width: 0;
}

.ui-card {
  min-width: 0;
  overflow: hidden;
  padding: 18px;
}

.ui-card h4,
.pipeline-board h4,
.retail-register h4,
.portal-preview h4 {
  margin: 0 0 14px;
  font-size: 16px;
}

.ui-table {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ui-table-row {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 7px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
}

.ui-table-head {
  color: #fff;
  background: #171421;
  border-color: #171421;
}

.ui-table-row span {
  min-width: 0;
  color: var(--muted);
  font-weight: 700;
}

.ui-table-row strong,
.ui-table-row span {
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.ui-table-head strong {
  font-size: 10px;
}

.ui-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 176px;
  min-height: 0;
  padding: 8px 0 0;
  border-bottom: 1px solid #ded9e6;
}

.ui-bar {
  flex: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  height: 176px;
  min-width: 18px;
}

.ui-bar i {
  align-self: end;
  display: block;
  min-height: 18px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  border-radius: 999px 999px 3px 3px;
  transform-origin: bottom;
  animation: growBar 720ms var(--ease) both;
}

.ui-bar span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.ui-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 10px;
}

.ui-flow div {
  min-width: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ui-flow b {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  color: #fff;
  background: var(--violet);
  border-radius: 50%;
  font-size: 12px;
}

.ui-flow span {
  display: block;
  color: #272233;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pipeline-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 12px;
}

.pipeline-board > div {
  padding: 14px;
  min-height: 190px;
}

.pipeline-board article {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border-left: 4px solid var(--violet);
  border-radius: 8px;
}

.pipeline-board span,
.pipeline-board b {
  color: var(--muted);
}

.retail-register,
.portal-preview {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
  padding: 20px;
  background: linear-gradient(135deg, #171421, #2b1535);
  color: #fff;
}

.retail-register p,
.portal-preview p {
  color: #ded8e4;
  line-height: 1.55;
}

.receipt-preview {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
}

.receipt-preview p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  color: var(--muted);
}

.warehouse-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
  gap: 10px;
  padding: 18px;
}

.warehouse-map div {
  min-height: 82px;
  padding: 12px;
  background: #fff;
  border: 1px solid #dbe8e2;
  border-left: 5px solid var(--green);
  border-radius: 8px;
}

.warehouse-map .warning {
  border-left-color: var(--amber);
  background: #fffaf0;
}

.warehouse-map span,
.supplier-compare span,
.supplier-compare small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.supplier-compare,
.dispatch-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
}

.supplier-compare div,
.dispatch-board div {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.supplier-compare strong,
.dispatch-board strong {
  display: block;
  margin: 8px 0;
  color: var(--violet);
  font-size: 34px;
}

.shop-floor {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.shop-floor div,
.gantt-view div {
  display: grid;
  grid-template-columns: minmax(96px, 140px) minmax(42px, 62px) minmax(120px, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.shop-floor i,
.gantt-view i {
  display: block;
  height: 12px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  border-radius: 999px;
  transform-origin: left;
  animation: growWidth 780ms var(--ease) both;
}

.gantt-view {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.people-grid,
.asset-health {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  padding: 18px;
}

.people-grid div,
.asset-health div,
.executive-wall div {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.people-grid svg,
.asset-health svg {
  color: var(--violet);
}

.approval-lane {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 10px;
  padding: 18px;
}

.approval-lane div {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--violet);
  border-radius: 8px;
}

.approval-lane b {
  color: var(--violet);
}

.portal-preview div div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-preview div div span {
  padding: 7px 9px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.portal-preview aside {
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--violet);
  border-radius: 8px;
}

.portal-preview aside strong {
  font-size: 54px;
}

.executive-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
}

.executive-wall .wide {
  grid-column: 1 / -1;
}

.executive-wall strong {
  color: var(--violet);
  font-size: 42px;
}

.api-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 22px;
}

.api-core,
.api-map span {
  display: grid;
  place-items: center;
  min-height: 74px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.api-core {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
}

.insight-panel ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.insight-panel li {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: 8px;
  color: #3c3948;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.side-section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.integration-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.integration-list span {
  padding: 8px 10px;
  color: #3e394a;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.industry-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
}

.industry-tabs {
  display: grid;
  gap: 8px;
  align-self: start;
}

.industry-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 15px;
  color: #3b3547;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.industry-tab svg {
  width: 20px;
  height: 20px;
}

.industry-tab.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.industry-detail {
  min-height: 450px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 8px;
}

.industry-detail h3 {
  margin-top: 0;
  font-size: clamp(26px, 2.9vw, 38px);
  line-height: 1.08;
}

.industry-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.industry-kpis div {
  padding: 16px;
  background: var(--soft);
  border-radius: 8px;
}

.industry-kpis strong {
  display: block;
  color: var(--violet);
  font-size: 24px;
}

.industry-kpis span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.industry-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.industry-modules span {
  padding: 8px 10px;
  color: #403848;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.industry-devices {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(250px, 0.72fr) minmax(172px, 0.4fr);
  gap: 22px;
  align-items: end;
  margin-top: 26px;
  perspective: 1400px;
}

.device-frame {
  position: relative;
  background: linear-gradient(145deg, #1e1b26, #09080d);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  animation: deviceRise 700ms var(--ease) both;
}

.tablet-frame {
  animation-delay: 120ms;
}

.mobile-frame {
  animation-delay: 220ms;
}

.desktop-frame {
  padding: 12px 12px 18px;
  border-radius: 16px;
  transform: rotateY(2deg);
}

.desktop-frame::after {
  display: none;
}

.desktop-bezel {
  background: #111017;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.desktop-stand {
  width: 36%;
  height: 28px;
  margin: 0 auto -34px;
  background: linear-gradient(180deg, #171421, #0a0810);
  border-radius: 0 0 10px 10px;
}

.desktop-stand::after {
  content: "";
  display: block;
  width: 150%;
  height: 12px;
  margin: 28px 0 0 -25%;
  background: #0a0810;
  border-radius: 999px;
}

.device-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #d9d3df;
  font-size: 12px;
  font-weight: 900;
}

.device-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--violet);
}

.device-top span:nth-child(2) {
  background: var(--cyan);
}

.device-top span:nth-child(3) {
  background: var(--green);
}

.device-top strong {
  margin-left: auto;
}

.device-screen {
  overflow: hidden;
  background: #f8f7fb;
  border-radius: 10px;
  color: #171421;
}

.scroll-screen {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--industry-accent) rgba(23, 20, 33, 0.12);
}

.scroll-screen::-webkit-scrollbar {
  width: 7px;
}

.scroll-screen::-webkit-scrollbar-thumb {
  background: var(--industry-accent);
  border-radius: 999px;
}

.desktop-frame .device-screen {
  height: 345px;
  padding: 18px;
  background:
    radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--industry-accent) 16%, transparent), transparent 34%),
    #f8f7fb;
}

.desktop-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.desktop-head h4,
.tablet-frame h4,
.mobile-frame h4 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.desktop-head button,
.mobile-frame button {
  padding: 9px 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--industry-accent), var(--industry-accent-2));
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.device-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.device-stats div,
.tablet-cards div {
  padding: 14px;
  background: #fbfafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.device-stats strong,
.tablet-cards strong {
  display: block;
  color: var(--industry-accent-2);
  font-size: 24px;
}

.device-stats span,
.tablet-cards span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.device-table {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.device-table div {
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.9fr 0.8fr;
  gap: 8px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
}

.device-table.compact div {
  grid-template-columns: 0.8fr 1fr 0.8fr;
}

.device-insight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.device-insight-row section {
  padding: 14px;
  background: #fff;
  border: 1px solid #e8e5ef;
  border-radius: 8px;
}

.device-insight-row b,
.device-insight-row span {
  display: block;
  color: #5f6172;
  font-size: 12px;
  font-weight: 900;
}

.device-insight-row i {
  display: block;
  height: 9px;
  margin: 12px 0 8px;
  background: linear-gradient(90deg, var(--industry-accent), var(--industry-accent-2));
  border-radius: 999px;
}

.device-insight-row p {
  margin: 10px 0 0;
  color: #312c3c;
  font-size: 12px;
  font-weight: 800;
}

.device-table strong,
.device-table span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.device-table span {
  color: var(--muted);
  font-weight: 700;
}

.tablet-frame {
  padding: 18px 14px;
  border-radius: 30px;
  transform: rotateY(-4deg) translateY(8px);
}

.ipad-camera,
.iphone-island {
  width: 42px;
  height: 5px;
  margin: 0 auto 12px;
  background: #3a3247;
  border-radius: 999px;
}

.tablet-frame .device-screen {
  height: 430px;
  padding: 16px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--industry-accent) 10%, white), #fff 42%),
    #fff;
}

.ipad-segment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 14px;
  padding: 4px;
  background: #f0edf4;
  border-radius: 999px;
}

.ipad-segment span {
  padding: 7px;
  border-radius: 999px;
  color: #4d4658;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.ipad-segment span:first-child {
  color: #fff;
  background: var(--industry-accent-2);
}

.tablet-cards {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.tablet-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 92px;
  margin-top: 18px;
  padding: 12px;
  background: #171421;
  border-radius: 8px;
}

.tablet-chart i {
  flex: 1;
  min-height: 18px;
  background: linear-gradient(180deg, var(--industry-accent), var(--industry-accent-2));
  border-radius: 999px 999px 3px 3px;
  animation: growBar 720ms var(--ease) both;
}

.ipad-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.ipad-list p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid #e8e5ef;
  border-radius: 8px;
}

.ipad-list span {
  color: var(--industry-accent-2);
  font-weight: 900;
}

.mobile-frame {
  padding: 16px 10px;
  border-radius: 34px;
  transform: rotateY(5deg) translateY(18px);
}

.iphone-island {
  width: 58px;
  height: 7px;
}

.mobile-frame .device-screen {
  height: 360px;
  padding: 14px;
  border-radius: 24px;
  background: #fff;
}

.iphone-summary {
  margin-top: 12px;
  padding: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--industry-accent), var(--industry-accent-2));
  border-radius: 16px;
}

.iphone-summary strong,
.iphone-summary span {
  display: block;
}

.iphone-summary strong {
  font-size: 26px;
}

.iphone-summary span {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
}

.mobile-action {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 9px;
  align-items: center;
  margin-top: 12px;
  padding: 11px;
  background: #fbfafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mobile-action b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #fff;
  background: var(--industry-accent-2);
  border-radius: 50%;
  font-size: 12px;
}

.mobile-action span {
  color: #393447;
  font-size: 12px;
  font-weight: 900;
}

.mobile-frame button {
  width: 100%;
  margin-top: 14px;
}

.iphone-nav {
  position: sticky;
  bottom: -14px;
  display: flex;
  justify-content: space-around;
  margin: 18px -14px -14px;
  padding: 10px 12px 12px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid #e8e5ef;
}

.iphone-nav svg {
  width: 17px;
  color: var(--industry-accent-2);
}

@keyframes deviceRise {
  from {
    opacity: 0;
    transform: translateY(22px) rotateX(8deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.automation-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.12fr) minmax(0, 0.88fr);
  gap: 22px;
  align-items: start;
}

.calculator {
  padding: 24px;
  border-radius: 8px;
}

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

.calc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 10px;
  align-items: center;
  margin-bottom: 0;
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.calc-row label {
  min-width: 0;
  font-weight: 800;
  line-height: 1.3;
  text-wrap: balance;
}

.calc-row strong {
  color: #f8f3fb;
  font-size: 14px;
  white-space: nowrap;
}

.calc-row input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--violet);
}

.calc-output {
  margin-top: 16px;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 8%, rgba(16, 183, 223, 0.16), transparent 30%),
    linear-gradient(135deg, #08060d, #1b1028 58%, #08060d);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.calc-output span,
.calc-output p {
  color: #d8d1df;
}

.calc-output strong {
  display: block;
  margin: 8px 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
}

.calc-breakdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.calc-breakdown div,
.automation-proof {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
}

.calc-breakdown span,
.automation-proof span {
  display: block;
  color: #c9c1d4;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.calc-breakdown strong,
.automation-proof strong {
  display: block;
  margin-top: 8px;
  color: #f8f3fb;
  font-size: 20px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.automation-proof {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 18px;
  align-items: center;
  margin-top: 12px;
}

.automation-proof i {
  display: block;
  height: 11px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  border-radius: 999px;
  transform-origin: left;
  animation: growWidth 680ms var(--ease) both;
}

.automation-stack {
  margin-top: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline div {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--violet);
  font-weight: 900;
}

.sales-room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: center;
  padding-top: 40px;
}

.proposal-card {
  padding: 28px;
  border-radius: 8px;
}

.proposal-card .primary-action {
  margin-top: 22px;
}

.site-footer {
  padding: 42px 18px;
  color: #fff;
  background: #171421;
}

.footer-inner {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.site-footer img {
  width: 320px;
  height: 72px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  font-size: 22px;
}

.site-footer span {
  max-width: 720px;
  margin-top: 8px;
  color: #d9d3df;
  line-height: 1.55;
}

.site-footer a {
  color: #efc7ec;
  font-weight: 900;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatInRight {
  from {
    opacity: 0;
    transform: translateX(34px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes cockpitFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes growBar {
  from {
    transform: scaleY(0.08);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes growWidth {
  from {
    transform: scaleX(0.08);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .section-heading,
  .erp-shell,
  .module-layout,
  .module-insight-strip,
  .split-ui,
  .retail-register,
  .portal-preview,
  .visual-section,
  .industry-layout,
  .automation-grid,
  .sales-room {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-console {
    max-width: 560px;
  }

  .visual-dashboard {
    min-height: 420px;
  }

  .tech-gallery {
    grid-template-columns: 1fr;
  }

  .calc-breakdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-rail {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .module-list {
    grid-template-columns: repeat(2, 1fr);
    max-height: none;
  }

  .module-summary,
  .ui-metrics,
  .system-grid,
  .value-grid,
  .automation-stack,
  .timeline,
  .metric-band,
  .industry-kpis,
  .pipeline-board,
  .warehouse-map,
  .people-grid,
  .asset-health,
  .executive-wall,
  .industry-devices,
  .api-map {
    grid-template-columns: repeat(2, 1fr);
  }

  .ui-flow,
  .approval-lane {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 8px;
    padding: 12px 16px;
  }

  .brand img {
    width: 156px;
    height: 48px;
  }

  .header-cta span {
    display: none;
  }

  .header-cta {
    width: 44px;
    padding: 0;
  }

  .theme-toggle span {
    display: none;
  }

  .theme-toggle {
    width: 44px;
    padding: 0;
  }

  .hero-grid {
    width: min(100% - 28px, 1180px);
    padding-top: 36px;
    justify-items: start;
  }

  .hero-grid-v2 {
    padding-bottom: 62px;
  }

  .visual-section {
    width: min(100% - 28px, 1180px);
    padding: 48px 0 70px;
  }

  .visual-dashboard {
    min-height: 520px;
  }

  .main-window {
    inset: 0 0 132px 0;
  }

  .side-window {
    width: 88%;
  }

  .hero-copy {
    width: 100%;
    max-width: 360px;
  }

  .hero h1 {
    font-size: 33px;
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .hero-proof-grid,
  .cockpit-grid,
  .cockpit-flow {
    grid-template-columns: 1fr;
  }

  .hero-cockpit {
    width: 100%;
    max-width: 360px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .hero-console {
    width: 100%;
    max-width: 360px;
    padding: 18px;
  }

  .pulse-score {
    padding: 22px;
  }

  .pulse-score strong {
    font-size: 48px;
  }

  .pulse-list div {
    display: grid;
    align-items: flex-start;
    justify-content: stretch;
    gap: 6px;
  }

  .metric-band {
    grid-template-columns: 1fr;
    margin-top: 0;
    width: 100%;
    border-radius: 0;
  }

  .metric-band div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 64px 0;
  }

  .module-list,
  .calc-input-grid,
  .module-summary,
  .module-insight-strip,
  .ui-metrics,
  .system-grid,
  .split-ui,
  .pipeline-board,
  .warehouse-map,
  .supplier-compare,
  .dispatch-board,
  .people-grid,
  .asset-health,
  .approval-lane,
  .executive-wall,
  .industry-devices,
  .api-map,
  .value-grid,
  .automation-stack,
  .workflow-steps,
  .timeline,
  .industry-kpis {
    grid-template-columns: 1fr;
  }

  .calc-breakdown,
  .automation-proof {
    grid-template-columns: 1fr;
  }

  .device-stats,
  .device-table div {
    grid-template-columns: 1fr;
  }

  .desktop-frame::after {
    display: none;
  }

  .stage-toolbar,
  .record-row,
  .site-footer {
    align-items: flex-start;
  }

  .stage-toolbar,
  .record-row {
    grid-template-columns: 1fr;
  }

  .stage-toolbar {
    flex-direction: column;
  }

  .record-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ui-table-row,
  .shop-floor div,
  .gantt-view div {
    grid-template-columns: 1fr;
  }

  .ui-flow {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .site-footer img {
    width: 240px;
    height: 66px;
  }

.site-footer {
  flex-direction: column;
  }
}

/* Dark mode polish */
.site-header {
  background: rgba(11, 9, 16, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-links {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav-links a,
.hero-lede,
.hero-v2 .hero-lede,
.intro-copy > p,
.visual-copy p:not(.eyebrow),
.industry-detail p,
.sales-room p {
  color: #c9c1d4;
}

.hero-v2 {
  background:
    radial-gradient(circle at 18% 28%, rgba(139, 15, 134, 0.18), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(16, 183, 223, 0.15), transparent 26%),
    linear-gradient(135deg, #0b0910 0%, #14101d 54%, #100c18 100%);
}

.hero-v2::after {
  background: linear-gradient(to bottom, rgba(11, 9, 16, 0), #0b0910);
}

.metric-band,
.pulse-score,
.calc-output,
.dash-bars,
.site-footer {
  background: #08060d;
}

.hero-cockpit,
.erp-shell,
.industry-detail,
.calculator,
.proposal-card,
.visual-window,
.value-grid div,
.automation-stack div,
.workflow-card,
.records-card,
.insight-panel,
.summary-tile,
.module-chart-card,
.module-value-card,
.ui-card,
.ui-metric,
.module-rail,
.module-layout,
.stage-toolbar,
.timeline div,
.industry-tab,
.industry-kpis div {
  background: rgba(24, 19, 32, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
}

.module-layout,
.module-stage {
  background: #100d17;
}

.module-button,
.industry-tab {
  color: #f3edf7;
}

.module-button:hover,
.module-button.active,
.industry-tab:hover {
  background: rgba(255, 255, 255, 0.07);
}

.module-button.active {
  color: #ffb8f6;
}

.app-label,
.module-subtitle,
.summary-tile span,
.cockpit-card span,
.cockpit-card small,
.pulse-list span,
.value-grid p,
.automation-stack p,
.timeline p,
.proposal-card p {
  color: #b9b0c5;
}

.record-row,
.workflow-step,
.ui-flow div,
.insight-panel li,
.integration-list span,
.industry-modules span {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f3edf7;
}

.ui-flow span,
.workflow-step p,
.module-value-card p,
.side-window p {
  color: #eee8f4;
}

.visual-dashboard::before {
  opacity: 0.45;
}

.industry-tab.active,
.industry-tab.active:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 15, 134, 0.95), rgba(23, 20, 33, 0.98));
  border-color: rgba(255, 255, 255, 0.18);
}

.device-screen,
.device-screen h4,
.device-screen p,
.device-screen span,
.device-screen strong {
  color: #171421;
}

.device-screen .device-table span,
.device-screen .device-stats span,
.device-screen .tablet-cards span {
  color: #5f6172;
}

.device-screen .device-stats strong,
.device-screen .tablet-cards strong,
.device-screen .iphone-summary strong,
.device-screen .iphone-summary span {
  color: inherit;
}

.iphone-summary,
.iphone-summary strong,
.iphone-summary span {
  color: #fff;
}

/* Theme, contrast, and presentation refinements */
.section h2,
.visual-copy h2,
.industry-detail h3,
.module-stage h3,
.sales-room h2 {
  letter-spacing: 0;
  text-wrap: balance;
}

.pipeline-board > div,
.pipeline-board article,
.receipt-preview,
.ui-table-row,
.warehouse-map div,
.supplier-compare div,
.dispatch-board div,
.shop-floor div,
.gantt-view div,
.people-grid div,
.asset-health div,
.approval-lane div,
.executive-wall div,
.api-map span,
.device-insight-row section,
.mobile-action,
.ipad-list p,
.hero-proof-grid div,
.cockpit-card,
.cockpit-flow div,
.dash-grid div {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.pipeline-board h4,
.pipeline-board article strong,
.warehouse-map b,
.supplier-compare strong,
.dispatch-board strong,
.shop-floor strong,
.shop-floor span,
.gantt-view span,
.gantt-view b,
.people-grid strong,
.asset-health strong,
.asset-health b,
.approval-lane span,
.executive-wall h4,
.api-map span,
.ui-card h4,
.ui-table-row strong,
.card-title,
.rail-title,
.module-stage h3,
.industry-detail h3,
.calc-row label,
.timeline h3,
.proposal-card h3 {
  color: #f8f3fb;
}

.pipeline-board span,
.pipeline-board b,
.ui-table-row span,
.record-row span,
.warehouse-map span,
.supplier-compare span,
.supplier-compare small,
.dispatch-board span,
.dispatch-board small,
.people-grid span,
.asset-health span,
.executive-wall span,
.device-table span,
.receipt-preview,
.receipt-preview p,
.hero-proof-grid span,
.cockpit-card span,
.cockpit-card small,
.cockpit-flow div,
.dash-grid span {
  color: #c9c1d4;
}

.cockpit-card strong,
.dash-grid strong {
  color: #f8f3fb;
}

.ui-table-head {
  background: #08060d;
  border-color: rgba(255, 255, 255, 0.16);
}

.ui-flow div,
.workflow-step,
.integration-list span,
.industry-modules span {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.device-screen {
  color: #171421;
}

.device-screen h4,
.device-screen .desktop-head h4,
.device-screen .device-table strong,
.device-screen .ipad-list strong,
.device-screen .mobile-action span {
  color: #171421;
}

.device-screen .device-stats strong,
.device-screen .tablet-cards strong {
  color: var(--industry-accent-2);
}

.device-screen .device-stats span,
.device-screen .tablet-cards span,
.device-screen .device-table span {
  color: #5f6172;
}

.device-screen .iphone-summary,
.device-screen .iphone-summary strong,
.device-screen .iphone-summary span,
.device-screen button {
  color: #fff;
}

.industry-manufacturing .device-screen {
  background-image:
    radial-gradient(circle at 84% 4%, rgba(22, 184, 220, 0.2), transparent 34%),
    linear-gradient(180deg, #ffffff, #f3fbff);
}

.industry-retail .device-screen {
  background-image:
    radial-gradient(circle at 18% 0%, rgba(225, 77, 154, 0.18), transparent 32%),
    linear-gradient(180deg, #fff, #fff7fd);
}

.industry-construction .device-screen {
  background-image:
    radial-gradient(circle at 88% 8%, rgba(242, 184, 75, 0.26), transparent 33%),
    linear-gradient(180deg, #fff, #fffaf0);
}

.industry-healthcare .device-screen {
  background-image:
    radial-gradient(circle at 76% 6%, rgba(34, 196, 167, 0.18), transparent 34%),
    linear-gradient(180deg, #fff, #f4fffb);
}

.industry-hospitality .device-screen {
  background-image:
    radial-gradient(circle at 84% 8%, rgba(216, 155, 69, 0.24), transparent 32%),
    linear-gradient(180deg, #fff, #fff8f1);
}

.industry-distribution .device-screen {
  background-image:
    radial-gradient(circle at 78% 4%, rgba(56, 189, 248, 0.22), transparent 34%),
    linear-gradient(180deg, #fff, #f2fbff);
}

.device-frame {
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.device-frame:hover {
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px color-mix(in srgb, var(--industry-accent) 36%, transparent);
}

.tech-photo {
  animation: revealUp 700ms var(--ease) both;
}

.tech-photo:nth-child(2) {
  animation-delay: 120ms;
}

.tech-photo:nth-child(3) {
  animation-delay: 220ms;
}

.tech-photo::after {
  content: "";
  position: absolute;
  inset: -60% -120%;
  background: linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, 0.28) 50%, transparent 58%);
  transform: translateX(-35%);
  animation: luxurySweep 5.5s ease-in-out infinite;
}

@keyframes luxurySweep {
  0%,
  48% {
    transform: translateX(-35%);
  }
  72%,
  100% {
    transform: translateX(35%);
  }
}

body.light-mode {
  --ink: #171421;
  --muted: #5f6172;
  --line: #e8e5ef;
  --panel: #ffffff;
  --soft: #f6f3f8;
  color: var(--ink);
  background: #fbfafc;
}

body.light-mode #luxury-particles {
  opacity: 0.36;
  mix-blend-mode: multiply;
}

body.light-mode .site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(232, 229, 239, 0.85);
}

body.light-mode .nav-links {
  background: #f6f3f8;
  border-color: #e8e5ef;
}

body.light-mode .nav-links a {
  color: #3e3b4c;
}

body.light-mode .theme-toggle {
  color: #171421;
  background: #fff;
  border-color: #e3dfea;
}

body.light-mode .hero-v2 {
  background:
    radial-gradient(circle at 18% 28%, rgba(139, 15, 134, 0.09), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(16, 183, 223, 0.1), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #fbf7fd 54%, #f8fbff 100%);
}

body.light-mode .hero-v2::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fbfafc);
}

body.light-mode .hero-lede,
body.light-mode .hero-v2 .hero-lede,
body.light-mode .intro-copy > p,
body.light-mode .visual-copy p:not(.eyebrow),
body.light-mode .industry-detail p,
body.light-mode .sales-room p {
  color: #555066;
}

body.light-mode .hero-cockpit,
body.light-mode .hero-proof-grid div,
body.light-mode .erp-shell,
body.light-mode .industry-detail,
body.light-mode .calculator,
body.light-mode .proposal-card,
body.light-mode .visual-window,
body.light-mode .value-grid div,
body.light-mode .automation-stack div,
body.light-mode .workflow-card,
body.light-mode .records-card,
body.light-mode .insight-panel,
body.light-mode .summary-tile,
body.light-mode .module-chart-card,
body.light-mode .module-value-card,
body.light-mode .ui-card,
body.light-mode .ui-metric,
body.light-mode .module-rail,
body.light-mode .module-layout,
body.light-mode .stage-toolbar,
body.light-mode .timeline div,
body.light-mode .industry-tab,
body.light-mode .industry-kpis div,
body.light-mode .pipeline-board > div {
  color: #171421;
  background: rgba(255, 255, 255, 0.94);
  border-color: #e8e5ef;
}

body.light-mode .module-layout,
body.light-mode .module-stage {
  background: #fff;
}

body.light-mode .module-button,
body.light-mode .industry-tab,
body.light-mode .pipeline-board h4,
body.light-mode .pipeline-board article strong,
body.light-mode .ui-card h4,
body.light-mode .ui-table-row strong,
body.light-mode .card-title,
body.light-mode .rail-title,
body.light-mode .module-stage h3,
body.light-mode .industry-detail h3,
body.light-mode .calc-row label,
body.light-mode .timeline h3,
body.light-mode .proposal-card h3 {
  color: #171421;
}

body.light-mode .app-label,
body.light-mode .module-subtitle,
body.light-mode .hero-proof-grid span,
body.light-mode .summary-tile span,
body.light-mode .cockpit-card span,
body.light-mode .cockpit-card small,
body.light-mode .pulse-list span,
body.light-mode .value-grid p,
body.light-mode .automation-stack p,
body.light-mode .timeline p,
body.light-mode .proposal-card p,
body.light-mode .pipeline-board span,
body.light-mode .pipeline-board b,
body.light-mode .ui-table-row span,
body.light-mode .record-row span {
  color: #5f6172;
}

body.light-mode .pipeline-board article,
body.light-mode .receipt-preview,
body.light-mode .ui-table-row,
body.light-mode .warehouse-map div,
body.light-mode .supplier-compare div,
body.light-mode .dispatch-board div,
body.light-mode .shop-floor div,
body.light-mode .gantt-view div,
body.light-mode .people-grid div,
body.light-mode .asset-health div,
body.light-mode .approval-lane div,
body.light-mode .executive-wall div,
body.light-mode .api-map span,
body.light-mode .cockpit-card,
body.light-mode .cockpit-flow div,
body.light-mode .dash-grid div,
body.light-mode .record-row,
body.light-mode .workflow-step,
body.light-mode .ui-flow div,
body.light-mode .insight-panel li,
body.light-mode .integration-list span,
body.light-mode .industry-modules span {
  color: #171421;
  background: #fff;
  border-color: #e8e5ef;
}

body.light-mode .ui-flow span,
body.light-mode .cockpit-card strong,
body.light-mode .dash-grid strong,
body.light-mode .warehouse-map b,
body.light-mode .shop-floor span,
body.light-mode .shop-floor strong,
body.light-mode .gantt-view span,
body.light-mode .gantt-view b,
body.light-mode .people-grid strong,
body.light-mode .asset-health strong,
body.light-mode .approval-lane span,
body.light-mode .executive-wall h4,
body.light-mode .api-map span,
body.light-mode .workflow-step p,
body.light-mode .module-value-card p,
body.light-mode .side-window p {
  color: #302b3c;
}

body.light-mode .dash-grid span,
body.light-mode .warehouse-map span,
body.light-mode .supplier-compare span,
body.light-mode .supplier-compare small,
body.light-mode .dispatch-board span,
body.light-mode .dispatch-board small,
body.light-mode .people-grid span,
body.light-mode .asset-health span,
body.light-mode .executive-wall span {
  color: #5f6172;
}

body.light-mode .supplier-compare strong,
body.light-mode .dispatch-board strong,
body.light-mode .executive-wall strong {
  color: var(--violet);
}

body.light-mode .calc-row,
body.light-mode .calc-breakdown div,
body.light-mode .automation-proof {
  background: #fff;
  border-color: #e8e5ef;
}

body.light-mode .calc-row strong,
body.light-mode .calc-breakdown strong,
body.light-mode .automation-proof strong {
  color: #171421;
}

body.light-mode .calc-breakdown span,
body.light-mode .automation-proof span {
  color: #5f6172;
}

body:not(.light-mode) .warehouse-map,
body:not(.light-mode) .supplier-compare,
body:not(.light-mode) .dispatch-board,
body:not(.light-mode) .shop-floor,
body:not(.light-mode) .gantt-view,
body:not(.light-mode) .people-grid,
body:not(.light-mode) .asset-health,
body:not(.light-mode) .approval-lane,
body:not(.light-mode) .executive-wall,
body:not(.light-mode) .api-map {
  background: rgba(24, 19, 32, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
}

body:not(.light-mode) .warehouse-map div,
body:not(.light-mode) .supplier-compare div,
body:not(.light-mode) .dispatch-board div,
body:not(.light-mode) .shop-floor div,
body:not(.light-mode) .gantt-view div,
body:not(.light-mode) .people-grid div,
body:not(.light-mode) .asset-health div,
body:not(.light-mode) .approval-lane div,
body:not(.light-mode) .executive-wall div,
body:not(.light-mode) .api-map span {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

body:not(.light-mode) .warehouse-map b,
body:not(.light-mode) .shop-floor span,
body:not(.light-mode) .shop-floor strong,
body:not(.light-mode) .gantt-view span,
body:not(.light-mode) .gantt-view b,
body:not(.light-mode) .people-grid strong,
body:not(.light-mode) .asset-health strong,
body:not(.light-mode) .approval-lane span,
body:not(.light-mode) .executive-wall h4,
body:not(.light-mode) .api-map span {
  color: #f8f3fb;
}

body:not(.light-mode) .warehouse-map span,
body:not(.light-mode) .supplier-compare span,
body:not(.light-mode) .supplier-compare small,
body:not(.light-mode) .dispatch-board span,
body:not(.light-mode) .dispatch-board small,
body:not(.light-mode) .people-grid span,
body:not(.light-mode) .asset-health span,
body:not(.light-mode) .executive-wall span {
  color: #c9c1d4;
}

body.light-mode .dash-grid strong,
body.light-mode .dash-grid span {
  color: inherit;
}

body.light-mode .dash-grid strong {
  color: #171421 !important;
}

body.light-mode .dash-grid span {
  color: #5f6172 !important;
}

body.light-mode .metric-band,
body.light-mode .pulse-score,
body.light-mode .calc-output,
body.light-mode .dash-bars {
  background: #171421;
}

body.light-mode .site-footer {
  background: #171421;
}

body.light-mode .site-footer strong,
body.light-mode .site-footer span {
  color: #fff;
}

body.light-mode .site-footer span {
  color: #d9d3df;
}

@media (max-width: 680px) {
  .industry-devices {
    justify-items: center;
  }

  .desktop-frame,
  .tablet-frame,
  .mobile-frame {
    width: 100%;
    max-width: 360px;
    transform: none;
  }

  .desktop-frame .device-screen,
  .tablet-frame .device-screen,
  .mobile-frame .device-screen {
    height: 360px;
  }

  .device-insight-row,
  .ipad-segment {
    grid-template-columns: 1fr;
  }

  .dark-panel {
    display: grid;
    justify-items: start;
  }

  .dark-panel h4 {
    font-size: 20px;
    line-height: 1.18;
  }

  .dark-panel strong {
    font-size: 34px;
  }

  .ui-card {
    overflow-x: auto;
  }

  .ui-table {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .ui-table-row {
    grid-template-columns: repeat(var(--cols, 4), minmax(104px, 1fr));
    min-width: max(100%, 520px);
  }

  .ui-table-row strong,
  .ui-table-row span {
    overflow-wrap: normal;
    word-break: normal;
  }
}
