@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;800&family=Oxanium:wght@300;400;600;700&display=swap");

:root {
  --bg: #090c10;
  --surface: #0f141b;
  --surface-2: #151d27;
  --line: rgba(100, 200, 255, 0.18);
  --text: #e9f3ff;
  --muted: #9cb2c9;
  --cyan: #16d6ff;
  --cyan-soft: #56c9ff;
  --amber: #ffb321;
  --page-max: 1320px;
  --page-gutter: clamp(0.8rem, 2vw, 2rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Oxanium", "Rajdhani", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 22%, rgba(20, 122, 170, 0.22), transparent 35%),
    radial-gradient(circle at 88% 86%, rgba(255, 177, 33, 0.12), transparent 28%),
    linear-gradient(180deg, #080b10 0%, #0a1018 30%, #0d131d 100%);
}

.background-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: clamp(28px, 2.6vw, 40px) clamp(28px, 2.6vw, 40px);
  mask-image: radial-gradient(circle at center, black 28%, transparent 78%);
  opacity: 0.22;
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(8, 12, 18, 0.78);
  border-bottom: 1px solid var(--line);
}

.topbar-inner,
main,
.footer {
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-width: fit-content;
}

.brand-icon {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-title {
  margin: 0;
  font-family: "Orbitron", "Oxanium", sans-serif;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 1rem;
}

.brand-subtitle {
  margin: 0;
  color: var(--amber);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1.5vw, 1rem);
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: clamp(0.73rem, 0.8vw, 0.9rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  white-space: nowrap;
}

.topnav a:hover,
.topnav a.is-active {
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(22, 214, 255, 0.45);
}

.lang-control {
  display: inline-flex;
  align-items: center;
}

.lang-select {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 15, 24, 0.92);
  color: #bdefff;
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  font-family: "Orbitron", "Oxanium", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  outline: none;
}

.lang-select:focus {
  border-color: rgba(22, 214, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(22, 214, 255, 0.45);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

.cta-mini {
  border: 1px solid rgba(22, 214, 255, 0.5);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  color: var(--text) !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

main {
  padding: 1rem 0 4rem;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 70vh, 860px);
  border: 1px solid var(--line);
  border-radius: 18px;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(6, 12, 18, 0.95) 0%, rgba(7, 12, 18, 0.5) 44%, rgba(5, 10, 16, 0.9) 100%);
}

.hero-detection {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.detect-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 205, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 205, 255, 0.09) 1px, transparent 1px);
  background-size: 54px 54px;
  mix-blend-mode: screen;
  opacity: 0.28;
  animation: gridDrift 9s linear infinite;
}

.scan-beam {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.scan-beam::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(
    180deg,
    rgba(33, 216, 255, 0) 0%,
    rgba(33, 216, 255, 0.22) 48%,
    rgba(33, 216, 255, 0.04) 100%
  );
  animation: scanSweepY 7.5s linear infinite;
}

.scan-beam::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22%;
  background: linear-gradient(
    90deg,
    rgba(33, 216, 255, 0) 0%,
    rgba(33, 216, 255, 0.17) 50%,
    rgba(33, 216, 255, 0) 100%
  );
  animation: scanSweepX 8.3s linear infinite;
}

.bbox-layer {
  position: absolute;
  inset: 0;
}

.bbox {
  position: absolute;
  border: 2px solid var(--box-color, #3fe08f);
  border-radius: 4px;
  background:
    linear-gradient(var(--box-color, #3fe08f), var(--box-color, #3fe08f)) left top / 14px 2px no-repeat,
    linear-gradient(var(--box-color, #3fe08f), var(--box-color, #3fe08f)) left top / 2px 14px no-repeat,
    linear-gradient(var(--box-color, #3fe08f), var(--box-color, #3fe08f)) right top / 14px 2px no-repeat,
    linear-gradient(var(--box-color, #3fe08f), var(--box-color, #3fe08f)) right top / 2px 14px no-repeat,
    linear-gradient(var(--box-color, #3fe08f), var(--box-color, #3fe08f)) left bottom / 14px 2px no-repeat,
    linear-gradient(var(--box-color, #3fe08f), var(--box-color, #3fe08f)) left bottom / 2px 14px no-repeat,
    linear-gradient(var(--box-color, #3fe08f), var(--box-color, #3fe08f)) right bottom / 14px 2px no-repeat,
    linear-gradient(var(--box-color, #3fe08f), var(--box-color, #3fe08f)) right bottom / 2px 14px no-repeat,
    linear-gradient(135deg, var(--box-bg-a, rgba(63, 224, 143, 0.14)) 0%, var(--box-bg-b, rgba(63, 224, 143, 0.03)) 100%);
  box-shadow: 0 0 18px var(--box-glow, rgba(63, 224, 143, 0.35));
  opacity: 0;
  transform: scale(0.9);
  transform-origin: center;
  transition:
    left 0.45s ease,
    top 0.45s ease,
    width 0.45s ease,
    height 0.45s ease,
    opacity 0.22s ease,
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.bbox.is-active {
  opacity: 0.62;
  transform: scale(1);
}

.bbox::before {
  content: attr(data-label);
  position: absolute;
  left: -2px;
  top: -1.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.42rem;
  font-family: "Orbitron", "Oxanium", sans-serif;
  font-size: clamp(0.46rem, 0.7vw, 0.6rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--box-color, #3fe08f);
  border: 1px solid color-mix(in srgb, var(--box-color, #3fe08f), #000 30%);
  background: rgba(3, 15, 21, 0.93);
  text-shadow: 0 0 9px color-mix(in srgb, var(--box-color, #3fe08f), transparent 45%);
}

.bbox--ok {
  --box-color: #39dc85;
  --box-glow: rgba(57, 220, 133, 0.34);
  --box-bg-a: rgba(57, 220, 133, 0.14);
  --box-bg-b: rgba(57, 220, 133, 0.03);
}

.bbox--warning {
  --box-color: #ffd24d;
  --box-glow: rgba(255, 210, 77, 0.36);
  --box-bg-a: rgba(255, 210, 77, 0.15);
  --box-bg-b: rgba(255, 210, 77, 0.03);
}

.bbox--defect {
  --box-color: #ff5b67;
  --box-glow: rgba(255, 91, 103, 0.42);
  --box-bg-a: rgba(255, 91, 103, 0.16);
  --box-bg-b: rgba(255, 91, 103, 0.03);
}

.hero-telemetry {
  position: absolute;
  right: clamp(0.6rem, 1.6vw, 1rem);
  bottom: clamp(0.6rem, 1.6vw, 1rem);
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(22, 214, 255, 0.36);
  border-radius: 10px;
  background: rgba(4, 14, 22, 0.65);
  font-family: "Orbitron", "Oxanium", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.58rem;
  color: #9be9ff;
}

.hero-telemetry p {
  margin: 0.2rem 0;
}

.engine-status {
  position: absolute;
  left: clamp(0.7rem, 2vw, 1.2rem);
  bottom: clamp(0.7rem, 1.8vw, 1.1rem);
  width: clamp(150px, 20vw, 240px);
  padding: 0.35rem 0.45rem;
  border: 1px solid rgba(255, 179, 33, 0.38);
  border-radius: 10px;
  background: rgba(24, 17, 7, 0.55);
}

.engine-label {
  margin: 0 0 0.32rem;
  font-family: "Orbitron", "Oxanium", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.58rem;
  color: #ffd36b;
}

.engine-track {
  position: relative;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 201, 84, 0.5);
  background: rgba(29, 27, 18, 0.85);
}

.engine-track span {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f3b42f 0%, #ffe06f 55%, #ffd03b 100%);
  box-shadow: 0 0 10px rgba(255, 213, 107, 0.55);
  transition: width 0.7s ease;
}

.engine-track::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
  animation: engineShine 2s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: clamp(1.2rem, 4vw, 3.5rem);
  max-width: clamp(420px, 52vw, 780px);
}

.headline-zone {
  position: relative;
  display: inline-block;
}

.kicker,
.eyebrow,
.detail-tag,
.kpi-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--cyan);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Orbitron", "Oxanium", sans-serif;
  line-height: 1.08;
}

h1 {
  margin-top: 0.55rem;
  font-size: clamp(2rem, 5.8vw, 5.1rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 0 22px rgba(46, 206, 255, 0.32);
}

.hero-copy {
  max-width: 65ch;
  color: #d3e4f6;
  line-height: 1.52;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
}

.hero-actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-family: "Orbitron", "Oxanium", sans-serif;
  font-size: clamp(0.68rem, 0.8vw, 0.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #061217;
  background: linear-gradient(120deg, var(--cyan) 0%, #6de7ff 100%);
  box-shadow: 0 8px 24px rgba(41, 197, 255, 0.3);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(255, 179, 33, 0.5);
  background: rgba(255, 179, 33, 0.08);
}

.hero-stats {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-stats div {
  border: 1px solid rgba(22, 214, 255, 0.35);
  background: rgba(7, 15, 24, 0.6);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  min-width: 150px;
}

.hero-stats span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.hero-stats strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.2rem;
}

.section {
  margin-top: 1.3rem;
  padding: clamp(1.15rem, 3vw, 2rem);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 22, 32, 0.92) 0%, rgba(14, 21, 30, 0.72) 100%);
}

.section h2 {
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  text-transform: uppercase;
}

.section-copy {
  color: var(--muted);
  line-height: 1.55;
  max-width: 74ch;
}

.module-layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1rem;
}

.module-picker {
  display: grid;
  gap: 0.55rem;
}

.module-tab {
  border: 1px solid rgba(86, 201, 255, 0.3);
  background: rgba(11, 17, 25, 0.7);
  color: var(--muted);
  border-radius: 12px;
  padding: 0.9rem 0.8rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 64px;
  font-family: "Orbitron", "Oxanium", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.module-tab-logo {
  width: min(100%, clamp(120px, 78%, 210px));
  height: auto;
  max-height: 38px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin-inline: auto;
}

.module-tab-text {
  font-size: 0.78rem;
}

.module-tab:hover {
  transform: translateX(3px);
}

.module-tab.active {
  color: var(--text);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(22, 214, 255, 0.18);
}

.module-detail {
  border: 1px solid rgba(255, 179, 33, 0.24);
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
  gap: 1rem;
  background: linear-gradient(140deg, rgba(10, 16, 24, 0.76) 0%, rgba(13, 22, 34, 0.88) 100%);
}

.module-detail img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f1218;
  object-fit: cover;
}

.module-detail h3 {
  margin-top: 0.4rem;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
}

.module-detail p {
  color: #c6d8ea;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.chips span {
  display: inline-flex;
  border: 1px solid rgba(86, 201, 255, 0.3);
  background: rgba(22, 214, 255, 0.08);
  color: #b8ebff;
  padding: 0.35rem 0.58rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.performance .section-copy + .section-copy {
  margin-top: 0.5rem;
}

.performance-note {
  margin-top: 0.8rem;
  color: #d6e6f6;
  border-left: 2px solid rgba(255, 179, 33, 0.62);
  padding-left: 0.7rem;
  line-height: 1.5;
}

.kpi-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.9rem;
}

.roi-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.roi-grid article {
  border: 1px solid rgba(86, 201, 255, 0.24);
  border-radius: 13px;
  padding: 0.9rem;
  background: rgba(11, 17, 25, 0.75);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.roi-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 179, 33, 0.55);
  box-shadow: 0 10px 22px rgba(7, 29, 44, 0.35);
  background: rgba(13, 21, 31, 0.86);
}

.kpi-card {
  border: 1px solid rgba(255, 179, 33, 0.24);
  border-radius: 14px;
  padding: 0.95rem;
  background: linear-gradient(145deg, rgba(12, 19, 29, 0.62), rgba(7, 14, 21, 0.5));
  backdrop-filter: blur(4px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.kpi-card:hover {
  transform: translateY(-3px);
  border-color: rgba(86, 201, 255, 0.58);
  box-shadow: 0 10px 28px rgba(7, 29, 44, 0.45), 0 0 0 1px rgba(86, 201, 255, 0.2);
  background: linear-gradient(145deg, rgba(15, 24, 35, 0.78), rgba(8, 16, 25, 0.62));
}

.kpi-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.65rem;
}

.kpi-subtitle {
  margin: 0;
  color: #ffd88a;
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kpi-title-row {
  margin-top: 0.45rem;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 44px;
}

.kpi-logo {
  width: clamp(180px, 64%, 280px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: center;
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
  margin-inline: auto;
  justify-self: center;
}

.kpi-module-fallback {
  margin: 0;
  text-align: center;
}

.kpi-card h3,
.roi-grid h3 {
  margin-top: 0;
  font-size: 1.02rem;
}

.kpi-item {
  margin-top: 0.72rem;
  padding: 0.7rem 0.72rem;
  border: 1px solid rgba(86, 201, 255, 0.16);
  border-radius: 12px;
  background: rgba(10, 17, 25, 0.44);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.kpi-item:hover {
  border-color: rgba(255, 179, 33, 0.58);
  background: rgba(15, 24, 36, 0.68);
  box-shadow: inset 0 0 0 1px rgba(255, 179, 33, 0.18);
}

.kpi-item h4 {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #f4fbff;
}

.kpi-details {
  margin: 0.45rem 0 0 1rem;
  display: grid;
  gap: 0.34rem;
  padding: 0;
}

.kpi-details li {
  color: #bcd0e2;
  line-height: 1.4;
}

.kpi-value {
  margin: 0.45rem 0 0.35rem;
  color: var(--cyan);
  font-weight: 700;
}

.industry-grid {
  margin-top: 1rem;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0.2rem 0 0.4rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.industry-card {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: clamp(195px, 21vw, 250px);
  min-height: 74px;
  margin-left: -82px;
  padding: 0.62rem 0.75rem 0.78rem;
  border: 1px solid rgba(255, 179, 33, 0.22);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(12, 18, 25, 0.9), rgba(8, 14, 20, 0.72));
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease, background 0.26s ease;
  cursor: pointer;
}

.industry-card:first-child {
  margin-left: 0;
}

.industry-card img {
  width: 100%;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  transition: max-height 0.34s ease, opacity 0.3s ease, transform 0.34s ease;
}

.industry-card:hover,
.industry-card:focus-within {
  z-index: 20;
  transform: translateY(-6px);
  border-color: rgba(86, 201, 255, 0.64);
  box-shadow: 0 14px 30px rgba(7, 29, 44, 0.42);
  background: rgba(14, 21, 30, 0.92);
}

.industry-card:hover img,
.industry-card:focus-within img {
  max-height: 190px;
  opacity: 1;
  transform: translateY(0) scale(1.01);
}

.industry-card h3,
.industry-card p {
  margin: 0;
  max-width: 20ch;
  word-break: break-word;
}

.industry-card h3 {
  margin-top: 0.15rem;
  font-size: 0.9rem;
  line-height: 1.25;
}

.industry-card:hover h3,
.industry-card:focus-within h3 {
  margin-top: 0.62rem;
}

.industry-card p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.34;
  transition: max-height 0.34s ease, opacity 0.28s ease, margin-top 0.34s ease;
}

.industry-card:hover p,
.industry-card:focus-within p {
  margin-top: 0.62rem;
  max-height: 168px;
  opacity: 1;
}

.industry-card:focus-visible {
  outline: 2px solid rgba(86, 201, 255, 0.75);
  outline-offset: 2px;
}

.roi-grid strong {
  color: var(--amber);
  font-size: 1.2rem;
  font-family: "Orbitron", "Oxanium", sans-serif;
}

.live-board {
  margin: 1rem 0;
  border: 1px solid rgba(22, 214, 255, 0.35);
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(12, 19, 29, 0.9), rgba(7, 15, 23, 0.78));
  padding: 0.9rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.55rem;
}

.live-board div {
  background: rgba(9, 14, 21, 0.72);
  border: 1px solid rgba(86, 201, 255, 0.18);
  border-radius: 10px;
  padding: 0.7rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.live-board div:hover {
  border-color: rgba(255, 179, 33, 0.45);
  background: rgba(12, 19, 27, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 179, 33, 0.14);
}

.live-board span {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.68rem;
}

.live-board strong {
  font-size: 1.25rem;
}

.board-status {
  grid-column: 1 / -1;
  margin: 0;
  color: #7ef2d4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.contact {
  display: grid;
  align-items: center;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) 290px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(12, 18, 26, 0.92), rgba(17, 25, 38, 0.7));
}

.contact-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.contact-qr {
  width: min(100%, 230px);
  justify-self: center;
  align-self: center;
  border: 1px solid rgba(255, 179, 33, 0.3);
  border-radius: 12px;
  padding: 0.7rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.26);
}

.contact-qr img {
  width: min(100%, 160px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.modal-open {
  overflow: hidden;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.form-modal[hidden] {
  display: none;
}

.form-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 9, 15, 0.68);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.form-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 96vw);
  max-height: 92vh;
  overflow-y: auto;
  border: 1px solid rgba(86, 201, 255, 0.34);
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(150deg, rgba(11, 18, 27, 0.95), rgba(7, 13, 20, 0.92));
  box-shadow: 0 22px 58px rgba(4, 9, 15, 0.52);
}

.form-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}

.form-subtitle {
  margin: 0.5rem 0 1rem;
  color: var(--muted);
}

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

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b3d5ef;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(86, 201, 255, 0.26);
  border-radius: 10px;
  background: rgba(7, 13, 20, 0.78);
  color: #e7f4ff;
  padding: 0.62rem 0.7rem;
  font: inherit;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(255, 179, 33, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 179, 33, 0.34);
}

.form-status {
  min-height: 1.15rem;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.form-status.is-success {
  color: #88f4c5;
}

.form-status.is-error {
  color: #ff8f8f;
}

.form-actions {
  margin-top: 0.8rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

.footer {
  margin: 1rem auto 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  color: var(--muted);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.footer h3,
.footer h4 {
  color: var(--text);
  font-size: 0.96rem;
  text-transform: uppercase;
}

.footer p {
  margin: 0.4rem 0;
  line-height: 1.45;
}

.footer a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  margin: 0.35rem 0;
}

.footer a:hover {
  color: var(--cyan);
}

.footer-note {
  grid-column: 1 / -1;
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(86, 201, 255, 0.2);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gridDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-54px, -54px, 0);
  }
}

@keyframes scanSweepY {
  0% {
    transform: translateY(-105%);
  }
  100% {
    transform: translateY(260%);
  }
}

@keyframes scanSweepX {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(560%);
  }
}

@keyframes engineShine {
  0%,
  35% {
    transform: translateX(-100%);
  }
  65%,
  100% {
    transform: translateX(100%);
  }
}

@media (min-width: 1700px) {
  :root {
    --page-max: 1500px;
  }
}

@media (max-width: 1200px) {
  .topnav {
    gap: 0.58rem;
  }

  .topnav a {
    font-size: 0.75rem;
  }

  .hero-content {
    max-width: clamp(380px, 56vw, 690px);
  }
}

@media (max-width: 980px) {
  .topbar-inner {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .topnav {
    width: 100%;
    display: none;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 0.75rem;
  }

  .topnav.open {
    display: flex;
  }

  .module-layout {
    grid-template-columns: 1fr;
  }

  .module-detail {
    grid-template-columns: 1fr;
  }

  .module-tab-logo {
    width: min(100%, clamp(116px, 72%, 180px));
    max-height: 34px;
  }

  .kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

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

  .industry-card {
    width: auto;
    margin-left: 0;
  }

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

  .footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: clamp(460px, 72vh, 680px);
  }

  .hero-content {
    max-width: 100%;
    padding-right: clamp(1rem, 3vw, 2rem);
  }

  .hero-copy {
    max-width: 58ch;
  }

  .bbox {
    border-width: 1.5px;
    background-size:
      10px 1.5px,
      1.5px 10px,
      10px 1.5px,
      1.5px 10px,
      10px 1.5px,
      1.5px 10px,
      10px 1.5px,
      1.5px 10px,
      auto;
  }

  .bbox::before {
    top: -1.25rem;
  }

  .hero-telemetry {
    font-size: 0.5rem;
  }

  .engine-status {
    width: clamp(130px, 32vw, 190px);
  }

  .kpi-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .kpi-subtitle {
    font-size: 0.66rem;
  }

  .kpi-logo {
    width: min(100%, clamp(150px, 56vw, 260px));
    max-height: 50px;
  }

  .industry-card {
    min-height: auto;
  }

  .industry-card img {
    max-height: 180px;
    opacity: 1;
    transform: translateY(0);
  }

  .industry-card h3 {
    margin-top: 0.62rem;
  }

  .industry-card p {
    margin-top: 0.58rem;
    max-height: 160px;
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .kpi-grid,
  .roi-grid,
  .industry-grid,
  .live-board {
    grid-template-columns: 1fr;
  }

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

  .form-actions {
    flex-direction: column;
  }

  h1 {
    font-size: clamp(1.8rem, 9vw, 3rem);
  }

  .hero-copy {
    font-size: 0.92rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-stats div {
    min-width: 126px;
    flex: 1;
  }

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

  .hero-telemetry {
    right: 0.55rem;
    bottom: 0.55rem;
  }

  .engine-status {
    left: 0.55rem;
    bottom: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
