:root {
  --bg: #06090d;
  --bg-2: #0b141b;
  --panel: rgba(8, 18, 25, 0.78);
  --panel-strong: rgba(5, 10, 14, 0.98);
  --ink: #eaf7fb;
  --muted: rgba(203, 220, 226, 0.72);
  --line: rgba(127, 232, 255, 0.2);
  --arc: #57d8ff;
  --plasma: #9fffe0;
  --hot: #ffb45c;
  --danger: #ff6d5a;
  --steel: #b8c7cd;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(57, 200, 255, 0.2), transparent 26%),
    radial-gradient(circle at 78% 0%, rgba(148, 247, 210, 0.12), transparent 25%),
    radial-gradient(circle at 60% 88%, rgba(255, 180, 92, 0.14), transparent 34%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 42%, #10161b 72%, #07090c 100%);
  color: var(--ink);
  font-family: "Bahnschrift", "Aptos", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(127, 232, 255, 0.055) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(0deg, rgba(127, 232, 255, 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(118deg, transparent 0 46%, rgba(57, 200, 255, 0.08) 47%, transparent 49% 100%);
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 75%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.16) 0.8px, transparent 1px),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
  background-size: 28px 28px, 100% 100%;
  opacity: 0.28;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Constantia", "Cambria", Georgia, serif;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 5.7vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-shadow: 0 0 34px rgba(57, 200, 255, 0.16);
}

h2 {
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 24px;
  line-height: 1.08;
}

.kicker {
  margin: 0 0 12px;
  color: var(--plasma);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(127, 232, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(7, 13, 18, 0.9), rgba(8, 21, 30, 0.78)),
    rgba(6, 9, 13, 0.86);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav a,
.nav-button {
  color: rgba(234, 247, 251, 0.86);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(127, 232, 255, 0.42);
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 25%, rgba(148, 247, 210, 0.44), transparent 34%),
    linear-gradient(135deg, #0c202b, #122c37);
  color: #eafffb;
  box-shadow: inset 0 0 18px rgba(87, 216, 255, 0.22), 0 0 28px rgba(57, 200, 255, 0.2);
  font-family: Georgia, serif;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 22px;
}

.language-switcher {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 5px 6px 5px 13px;
  border: 1px solid rgba(127, 232, 255, 0.22);
  border-radius: 999px;
  background:
    radial-gradient(circle at 15% 20%, rgba(148, 247, 210, 0.16), transparent 42%),
    rgba(5, 13, 18, 0.78);
  box-shadow: inset 0 0 0 1px rgba(234, 247, 251, 0.04), 0 10px 24px rgba(0, 0, 0, 0.2);
}

.language-switcher span {
  color: rgba(234, 247, 251, 0.68);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-switcher select {
  min-width: 150px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(87, 216, 255, 0.2), rgba(148, 247, 210, 0.12));
  color: #f2fbfd;
  font-size: 13px;
  font-weight: 900;
  outline: 0;
  padding: 0 30px 0 11px;
}

.language-switcher option {
  background: #071017;
  color: #f2fbfd;
}

.site-nav a,
.nav-button {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition-property: color, text-shadow;
  transition-duration: 180ms;
}

.site-nav a:hover,
.nav-button:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(87, 216, 255, 0.45);
}

.header-action,
.primary-link,
.secondary-link,
.quote-button,
.text-button,
.ghost-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition-property: transform, border-color, background, color, box-shadow, filter;
  transition-duration: 180ms;
}

.header-action,
.primary-link {
  border: 1px solid rgba(148, 247, 210, 0.55);
  background: linear-gradient(135deg, rgba(148, 247, 210, 0.98), rgba(87, 216, 255, 0.96));
  color: #041015;
  box-shadow: 0 0 0 1px rgba(234, 247, 251, 0.12), 0 16px 34px rgba(57, 200, 255, 0.22);
}

.secondary-link,
.quote-button,
.text-button,
.ghost-link {
  border: 1px solid rgba(127, 232, 255, 0.32);
  background: rgba(8, 18, 25, 0.55);
  color: var(--arc);
  box-shadow: inset 0 0 0 1px rgba(234, 247, 251, 0.04);
}

.header-action:hover,
.primary-link:hover,
.secondary-link:hover,
.quote-button:hover,
.text-button:hover,
.ghost-link:hover {
  border-color: rgba(148, 247, 210, 0.72);
  filter: saturate(1.1);
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(57, 200, 255, 0.24);
}

.header-action:active,
.primary-link:active,
.secondary-link:active,
.quote-button:active,
.text-button:active,
.ghost-link:active,
.chat-dock button:active,
.chat-dock a:active,
.chat-close:active,
.modal-close:active {
  transform: scale(0.96);
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 17%, rgba(57, 200, 255, 0.28), transparent 27%),
    radial-gradient(circle at 78% 10%, rgba(148, 247, 210, 0.13), transparent 25%),
    radial-gradient(circle at 50% 85%, rgba(255, 180, 92, 0.12), transparent 31%),
    linear-gradient(145deg, var(--bg) 0%, var(--bg-2) 46%, #11161b 100%);
}

.atmosphere::before {
  position: absolute;
  inset: -40%;
  content: "";
  background:
    linear-gradient(90deg, rgba(127, 232, 255, 0.075) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(0deg, rgba(127, 232, 255, 0.05) 1px, transparent 1px) 0 0 / 58px 58px;
  animation: driftGrid 24s linear infinite;
  transform: rotate(-8deg);
}

.orb,
.flow-line {
  position: absolute;
  display: block;
  pointer-events: none;
}

.orb {
  width: 32vw;
  height: 32vw;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.35;
}

.orb-a {
  left: -9vw;
  top: 18vh;
  background: #1ca9ff;
  animation: floatOrb 15s ease-in-out infinite;
}

.orb-b {
  right: -12vw;
  bottom: -8vh;
  background: var(--hot);
  animation: floatOrb 18s ease-in-out infinite reverse;
}

.flow-line {
  width: 42vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(87, 216, 255, 0.82), rgba(148, 247, 210, 0.66), transparent);
  box-shadow: 0 0 26px rgba(87, 216, 255, 0.48);
}

.flow-a {
  left: 4vw;
  top: 28vh;
  animation: sweepLine 9s linear infinite;
}

.flow-b {
  right: 0;
  top: 66vh;
  animation: sweepLine 12s linear infinite reverse;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 112px);
  padding: clamp(48px, 6vw, 82px) clamp(18px, 5vw, 72px) 40px;
  align-items: center;
  overflow: hidden;
}

.hero-copy {
  min-width: 0;
  animation: revealUp 700ms cubic-bezier(0.2, 0, 0, 1) both;
}

.hero-lede,
.section-heading p,
.split-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-lede {
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

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

.hero-metrics div,
.process-caption,
.product-card,
.capability-grid article,
.analytics-grid article,
.lead-system article,
.chat-panel,
.modal-panel {
  border: 1px solid rgba(127, 232, 255, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(234, 247, 251, 0.075), rgba(234, 247, 251, 0.026)),
    var(--panel);
  color: #f5fbfd;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(234, 247, 251, 0.035);
  backdrop-filter: blur(18px);
}

.hero-metrics div {
  padding: 16px;
}

.hero-metrics dt,
.analytics-grid strong,
.lead-system span {
  color: #fff;
  font-family: Georgia, serif;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(87, 216, 255, 0.24);
}

.hero-metrics dt {
  font-size: 28px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.machine-visual {
  position: relative;
  min-height: min(570px, calc(100vh - 210px));
  display: block;
  width: 100%;
  border: 1px solid rgba(127, 232, 255, 0.28);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 47% 35%, rgba(87, 216, 255, 0.24), transparent 22%),
    radial-gradient(circle at 75% 78%, rgba(255, 180, 92, 0.13), transparent 24%),
    linear-gradient(135deg, rgba(234, 247, 251, 0.09), rgba(8, 18, 25, 0.22)),
    #091219;
  box-shadow: 0 42px 130px rgba(0, 0, 0, 0.58), inset 0 0 0 1px rgba(234, 247, 251, 0.04);
  overflow: hidden;
  text-align: left;
}

.knowledge-stage {
  cursor: zoom-in;
}

.hero-knowledge-video,
.product-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-knowledge-video {
  z-index: 0;
  opacity: 1;
  filter: saturate(1.12) contrast(1.04);
}

.knowledge-stage::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 8, 12, 0.14), rgba(87, 216, 255, 0.1), rgba(3, 8, 12, 0.18)),
    radial-gradient(circle at 75% 20%, rgba(148, 247, 210, 0.18), transparent 26%);
  pointer-events: none;
}

.knowledge-stage .blueprint-grid,
.knowledge-stage .scanner,
.knowledge-stage .tank,
.knowledge-stage .coil,
.knowledge-stage .gauge,
.knowledge-stage .process-caption {
  display: none;
}

.knowledge-play {
  z-index: 2;
}

.knowledge-play {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid rgba(148, 247, 210, 0.36);
  border-radius: 999px;
  background: rgba(3, 9, 13, 0.78);
  color: #fff;
  box-shadow: 0 0 30px rgba(87, 216, 255, 0.18);
}

.knowledge-play span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--plasma), var(--arc));
  color: #041015;
  font-weight: 950;
}

.knowledge-play strong {
  font-size: 14px;
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(127, 232, 255, 0.18) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(0deg, rgba(127, 232, 255, 0.14) 1px, transparent 1px) 0 0 / 26px 26px;
  opacity: 0.45;
  animation: driftGrid 18s linear infinite;
}

.scanner {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--plasma), transparent);
  box-shadow: 0 0 22px rgba(148, 247, 210, 0.7);
  animation: scanVertical 4.2s ease-in-out infinite;
}

.tank {
  position: absolute;
  border: 3px solid rgba(234, 247, 251, 0.66);
  background: linear-gradient(90deg, #53646b 0%, #e4eef1 25%, #96a8af 52%, #3d4b52 100%);
  box-shadow: 16px 18px 0 rgba(0, 0, 0, 0.26), 0 0 40px rgba(87, 216, 255, 0.2);
}

.tank span {
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(7, 13, 18, 0.46);
}

.tank-main {
  left: 18%;
  top: 15%;
  width: 46%;
  height: 58%;
  border-radius: 90px / 42px;
  animation: machinePulse 9s ease-in-out infinite;
}

.tank-small {
  right: 11%;
  bottom: 12%;
  width: 28%;
  height: 42%;
  border-radius: 70px / 36px;
  animation: machinePulse 9s ease-in-out -2s infinite;
}

.coil {
  position: absolute;
  right: 15%;
  top: 18%;
  width: 27%;
  height: 26%;
  border: 18px double var(--arc);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.08);
  box-shadow: inset 0 0 30px rgba(87, 216, 255, 0.18), 0 0 34px rgba(87, 216, 255, 0.22);
  animation: rotateCoil 12s linear infinite;
}

.gauge {
  position: absolute;
  width: 70px;
  height: 70px;
  border: 4px solid rgba(234, 247, 251, 0.72);
  border-radius: 50%;
  background: rgba(8, 18, 25, 0.9);
  box-shadow: 0 0 28px rgba(87, 216, 255, 0.14);
}

.gauge::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 27px;
  height: 3px;
  background: var(--hot);
  transform-origin: left center;
  transform: rotate(-32deg);
}

.gauge-a {
  left: 13%;
  bottom: 10%;
}

.gauge-b {
  right: 7%;
  top: 48%;
}

.process-caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: min(310px, calc(100% - 44px));
  padding: 14px 16px;
}

.process-caption span,
.process-caption strong {
  display: block;
}

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

.process-caption strong {
  margin-top: 5px;
  color: #fff;
}

.section-band,
.split-section,
.quote-strip {
  padding: clamp(54px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 0.7fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.product-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.search-box {
  display: grid;
  gap: 8px;
  min-width: min(100%, 360px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-box input,
.quote-form input,
.quote-form select,
.quote-form textarea,
.chat-form input,
.chat-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(127, 232, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(3, 9, 13, 0.58);
  color: #f2fbfd;
  padding: 10px 12px;
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(234, 247, 251, 0.04);
}

.search-box input:focus,
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus,
.chat-form input:focus,
.chat-form textarea:focus {
  border-color: rgba(148, 247, 210, 0.62);
  box-shadow: 0 0 0 4px rgba(87, 216, 255, 0.09);
}

.quote-form select option {
  background: #071017;
  color: #f2fbfd;
}

.api-status,
.filter-tabs button,
.product-intent span {
  border: 1px solid rgba(127, 232, 255, 0.22);
  border-radius: 999px;
  background: rgba(6, 14, 20, 0.72);
  color: var(--plasma);
}

.api-status {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 800;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tabs button {
  min-height: 40px;
  padding: 0 13px;
  color: rgba(234, 247, 251, 0.78);
}

.filter-tabs button.is-active {
  border-color: rgba(148, 247, 210, 0.7);
  background: linear-gradient(135deg, rgba(57, 200, 255, 0.32), rgba(148, 247, 210, 0.18));
  color: #fff;
  box-shadow: 0 0 28px rgba(57, 200, 255, 0.17);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  overflow: hidden;
  transition-property: transform, border-color, box-shadow;
  transition-duration: 220ms;
}

.product-card:hover {
  border-color: rgba(148, 247, 210, 0.5);
  box-shadow: 0 36px 92px rgba(0, 0, 0, 0.42), 0 0 48px rgba(57, 200, 255, 0.18);
  transform: translateY(-6px);
}

.product-video {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(127, 232, 255, 0.16);
  background:
    radial-gradient(circle at 50% 42%, rgba(87, 216, 255, 0.2), transparent 26%),
    linear-gradient(155deg, rgba(8, 47, 64, 0.9), rgba(5, 10, 14, 0.9));
}

.product-motion {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.has-product-motion .product-motion {
  display: block;
}

.product-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 260ms ease, transform 600ms ease;
}

.has-product-photo.is-showing-photo .product-photo {
  opacity: 0.9;
  transform: scale(1);
}

.has-product-motion:not(.is-showing-photo) .product-photo {
  opacity: 0;
}

.is-video-complete .product-motion {
  opacity: 0;
}

.has-product-photo .product-video::before,
.has-product-photo .product-video::after,
.has-product-photo .video-machine {
  opacity: 0;
}

.has-product-photo .product-video::after {
  display: none;
}

.has-product-photo .video-grid {
  z-index: 2;
  opacity: 0.42;
  mix-blend-mode: screen;
}

.has-product-photo .video-scan {
  z-index: 3;
}

.product-video::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: 46%;
  height: 56%;
  border: 3px solid rgba(234, 247, 251, 0.72);
  border-radius: 90px / 38px;
  background: linear-gradient(90deg, #43535a, #d7e6eb 38%, #7e929a);
  box-shadow: 0 0 40px rgba(87, 216, 255, 0.25);
  transform: translate(-50%, -50%);
}

.product-video::after {
  content: "";
  position: absolute;
  right: 14%;
  top: 18%;
  width: 54px;
  height: 54px;
  border: 10px double var(--hot);
  border-radius: 50%;
  filter: drop-shadow(0 0 16px rgba(255, 180, 92, 0.34));
}

.product-card[data-kind="thermal"] .product-video::before {
  width: 58%;
  height: 36%;
  border-radius: 28px;
}

.product-card[data-kind="thermal"] .product-video::after {
  left: 16%;
  right: auto;
  border-color: var(--arc);
}

.product-card[data-kind="fabrication"] .product-video::before {
  width: 56%;
  height: 42%;
  border-radius: 8px;
  transform: translate(-50%, -50%) skew(-8deg);
}

.video-grid,
.video-machine,
.video-scan,
.video-grid::after,
.video-machine::before,
.video-machine::after {
  position: absolute;
  pointer-events: none;
}

.video-grid {
  inset: -30%;
  background:
    linear-gradient(90deg, rgba(232, 236, 231, 0.08) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(0deg, rgba(232, 236, 231, 0.06) 1px, transparent 1px) 0 0 / 30px 30px;
  animation: driftGrid 12s linear infinite;
  transform: rotate(-12deg);
}

.video-grid::after {
  left: -20%;
  right: -20%;
  top: 23%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(148, 247, 210, 0.62), transparent);
  box-shadow: 0 0 18px rgba(148, 247, 210, 0.5);
  animation: sweepLine 7s linear infinite;
}

.video-machine {
  left: 50%;
  top: 50%;
  width: 138px;
  height: 138px;
  transform: translate(-50%, -50%);
}

.video-machine::before {
  left: -40px;
  right: -40px;
  top: 50%;
  height: 3px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(87, 216, 255, 0.82), transparent);
  animation: flowPulse 2.4s ease-in-out infinite;
}

.video-machine::after {
  inset: -20px;
  border: 1px solid rgba(148, 247, 210, 0.34);
  border-radius: 999px;
  content: "";
  animation: rotateCoil 16s linear infinite;
}

.machine-core {
  position: absolute;
  inset: 28px 42px;
  border: 2px solid rgba(234, 247, 251, 0.82);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(234, 247, 251, 0.28), rgba(87, 216, 255, 0.05));
  box-shadow: inset 0 0 30px rgba(148, 247, 210, 0.2), 0 0 30px rgba(57, 200, 255, 0.5);
  animation: machinePulse 5s ease-in-out infinite;
}

.machine-ring {
  position: absolute;
  border: 1px solid rgba(148, 247, 210, 0.58);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(148, 247, 210, 0.25);
}

.ring-a {
  inset: 8px 18px;
  animation: rotateCoil 9s linear infinite;
}

.ring-b {
  inset: 28px 0;
  animation: rotateCoil 13s linear infinite reverse;
}

.video-scan {
  left: 0;
  right: 0;
  top: 24%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(148, 247, 210, 0.95), rgba(87, 216, 255, 0.86), transparent);
  box-shadow: 0 0 18px rgba(148, 247, 210, 0.7);
  animation: scanVertical 3.8s ease-in-out infinite;
}

.product-card[data-motion="tank"] .machine-core {
  inset: 48px 16px;
  border-radius: 999px;
}

.product-card[data-motion="thermal"] .machine-core {
  inset: 36px;
  border-radius: 999px;
}

.product-card[data-motion="fabrication"] .machine-core {
  inset: 26px;
  border-radius: 8px;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-category {
  margin: 0 0 8px;
  color: var(--hot);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-summary {
  color: var(--muted);
  line-height: 1.55;
}

.product-intent {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.product-intent span {
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 800;
}

.product-media-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.product-media-strip:empty {
  display: none;
}

.product-media-strip button {
  position: relative;
  min-height: 74px;
  overflow: hidden;
  border: 1px solid rgba(127, 232, 255, 0.18);
  border-radius: 18px;
  background: rgba(6, 14, 20, 0.76);
  color: #fff;
}

.product-media-strip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: opacity 180ms ease, transform 240ms ease;
}

.product-media-strip span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(4, 8, 11, 0.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-media-strip button:hover img {
  opacity: 0.9;
  transform: scale(1.08);
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed rgba(127, 232, 255, 0.16);
  padding-bottom: 6px;
}

.spec-list dt {
  color: rgba(234, 247, 251, 0.9);
  font-weight: 800;
}

.spec-list dd {
  margin: 0;
  text-align: right;
}

.product-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.quote-button {
  margin-left: auto;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 80px);
  border-block: 1px solid rgba(127, 232, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(8, 18, 25, 0.46), rgba(10, 29, 38, 0.28)),
    transparent;
}

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

.capability-grid article,
.analytics-grid article,
.lead-system article {
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.capability-grid article {
  min-height: 150px;
}

.capability-grid strong,
.capability-grid span,
.analytics-grid span,
.analytics-grid strong {
  display: block;
}

.capability-grid strong {
  margin-bottom: 16px;
  font-family: Georgia, serif;
  font-size: 25px;
}

.capability-grid span {
  color: var(--muted);
  line-height: 1.55;
}

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

.lead-system article {
  min-height: 260px;
}

.lead-system span {
  color: rgba(148, 247, 210, 0.7);
  font-size: 44px;
  font-weight: 900;
}

.lead-system strong {
  display: block;
  margin-top: 28px;
  font-size: 20px;
}

.lead-system p {
  color: var(--muted);
  line-height: 1.58;
}

.quote-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-block: 1px solid rgba(127, 232, 255, 0.18);
  background:
    radial-gradient(circle at 12% 20%, rgba(148, 247, 210, 0.18), transparent 26%),
    linear-gradient(135deg, #082532, #0d1419 65%, #1c130c);
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.analytics-grid article {
  min-height: 150px;
}

.analytics-grid strong {
  margin-top: 14px;
  font-size: clamp(32px, 5vw, 56px);
}

.analytics-grid .wide-card {
  grid-column: span 2;
}

.analytics-grid .wide-card strong {
  font-size: clamp(26px, 3.3vw, 40px);
  line-height: 1.05;
}

.chat-dock {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 18;
  display: grid;
  gap: 10px;
}

.chat-dock button,
.chat-dock a {
  display: grid;
  width: 64px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(148, 247, 210, 0.45);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 180, 92, 0.96), rgba(255, 109, 90, 0.92));
  color: #11100d;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.36), 0 0 24px rgba(255, 180, 92, 0.16);
  font-weight: 900;
  text-decoration: none;
  transition-property: transform, filter;
  transition-duration: 160ms;
}

.chat-panel {
  position: fixed;
  right: 110px;
  bottom: 20px;
  z-index: 35;
  display: none;
  width: min(440px, calc(100vw - 28px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 22px;
}

.chat-panel.is-open {
  display: block;
}

.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.chat-panel h2 {
  font-size: clamp(26px, 4vw, 38px);
}

.chat-copy,
.chat-status {
  color: var(--muted);
  line-height: 1.55;
}

.legacy-copy {
  display: none;
}

.chat-form,
.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.chat-form {
  gap: 12px;
  margin-top: 18px;
}

.chat-form label,
.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-form label {
  font-size: 13px;
  font-weight: 800;
}

.chat-form textarea,
.quote-form textarea {
  resize: vertical;
}

.chat-status,
.wide,
.quote-result {
  grid-column: 1 / -1;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(57, 200, 255, 0.14), transparent 34%),
    rgba(1, 6, 9, 0.76);
  backdrop-filter: blur(5px);
}

.modal-panel {
  position: absolute;
  right: clamp(14px, 4vw, 54px);
  top: 50%;
  width: min(760px, calc(100vw - 28px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(22px, 4vw, 42px);
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 90% 5%, rgba(57, 200, 255, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(10, 24, 32, 0.98), var(--panel-strong));
}

.product-detail-panel {
  left: 50%;
  right: auto;
  width: min(1220px, calc(100vw - 32px));
  transform: translate(-50%, -50%);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

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

.detail-media {
  position: relative;
  min-height: clamp(360px, 52vh, 620px);
  overflow: hidden;
  border: 1px solid rgba(127, 232, 255, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 25% 10%, rgba(87, 216, 255, 0.2), transparent 24%),
    rgba(3, 9, 13, 0.92);
}

.detail-media img,
.detail-media video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.detail-media video[hidden],
.detail-media img[hidden] {
  display: none;
}

.detail-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(148, 247, 210, 0.34);
  border-radius: 999px;
  background: rgba(2, 8, 12, 0.78);
  color: var(--plasma);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.detail-thumbs button {
  position: relative;
  min-height: 88px;
  overflow: hidden;
  border: 1px solid rgba(127, 232, 255, 0.18);
  border-radius: 18px;
  background: rgba(4, 11, 16, 0.82);
  color: #fff;
}

.detail-thumbs button.is-active {
  border-color: rgba(148, 247, 210, 0.78);
  box-shadow: 0 0 28px rgba(87, 216, 255, 0.18);
}

.detail-thumbs img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.detail-thumbs span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(3, 9, 13, 0.74);
  font-size: 11px;
  font-weight: 900;
}

.detail-copy h2 {
  margin-right: 46px;
}

.detail-copy > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.detail-highlights {
  margin-bottom: 18px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.chat-panel {
  background:
    radial-gradient(circle at 90% 5%, rgba(57, 200, 255, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(10, 24, 32, 0.98), var(--panel-strong));
}

.chat-close,
.modal-close {
  display: grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(127, 232, 255, 0.28);
  border-radius: 999px;
  background: rgba(3, 9, 13, 0.72);
  color: transparent;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(234, 247, 251, 0.04), 0 0 22px rgba(87, 216, 255, 0.14);
  transition-property: transform, border-color, background, box-shadow;
  transition-duration: 160ms;
}

.chat-close::before,
.modal-close::before {
  content: "\00d7";
  color: #eafcff;
  font-family: "Segoe UI", sans-serif;
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-1px);
}

.chat-close:hover,
.modal-close:hover {
  border-color: rgba(148, 247, 210, 0.68);
  background: rgba(57, 200, 255, 0.14);
  box-shadow: 0 0 28px rgba(87, 216, 255, 0.22);
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
}

.quote-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(148, 247, 210, 0.28);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(148, 247, 210, 0.12), rgba(87, 216, 255, 0.08));
  color: #f5fbfd;
}

.quote-result span,
.quote-result strong {
  display: block;
}

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

.quote-result strong {
  font-family: Georgia, serif;
  font-size: 26px;
}

@keyframes driftGrid {
  from {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }
  to {
    transform: translate3d(58px, 58px, 0) rotate(-8deg);
  }
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(5vw, -4vh, 0) scale(1.12);
  }
}

@keyframes sweepLine {
  from {
    transform: translateX(-20vw) rotate(-8deg);
  }
  to {
    transform: translateX(80vw) rotate(-8deg);
  }
}

@keyframes scanVertical {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.25;
  }
  50% {
    transform: translateY(210px);
    opacity: 0.95;
  }
}

@keyframes machinePulse {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.035);
    filter: brightness(1.22);
  }
}

@keyframes rotateCoil {
  to {
    transform: rotate(360deg);
  }
}

@keyframes flowPulse {
  0%,
  100% {
    opacity: 0.2;
    transform: translateX(-12px) scaleX(0.78);
  }
  50% {
    opacity: 0.9;
    transform: translateX(12px) scaleX(1);
  }
}

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

@media (max-width: 1100px) {
  .site-nav {
    display: none;
  }

  .language-switcher {
    margin-left: auto;
  }

  .hero,
  .section-heading,
  .split-section {
    grid-template-columns: 1fr;
  }

  .machine-visual {
    min-height: 430px;
  }

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

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

@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 0 0 22px 22px;
    gap: 12px;
  }

  .header-action {
    display: none;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
    order: 3;
  }

  .language-switcher select {
    min-width: 0;
    flex: 1;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 48px 18px 30px;
    overflow: hidden;
  }

  .hero-copy,
  .hero-copy > *,
  .hero-lede,
  .kicker,
  h1 {
    box-sizing: border-box;
    width: min(100%, 318px);
    max-width: 318px;
    min-width: 0;
    overflow: visible;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }

  h1 {
    font-size: clamp(27px, 7.8vw, 32px);
    line-height: 1.1;
    letter-spacing: -0.035em;
  }

  h2 {
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.06;
  }

  .hero-lede {
    font-size: 14.5px;
    line-height: 1.56;
  }

  .kicker {
    font-size: 10px;
    line-height: 1.45;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions > *,
  .primary-link,
  .secondary-link {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-metrics,
  .product-grid,
  .capability-grid,
  .analytics-grid,
  .lead-system,
  .chat-form,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 26px;
  }

  .section-band,
  .split-section,
  .quote-strip {
    max-width: 100vw;
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
  }

  .product-tools,
  .quote-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .analytics-grid .wide-card {
    grid-column: auto;
  }

  .machine-visual {
    min-height: 350px;
    margin-top: 24px;
  }

  .product-video {
    min-height: 260px;
  }

  .product-media-strip,
  .detail-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-media-strip button,
  .detail-thumbs button {
    min-height: 82px;
  }

  .tank-main {
    left: 20%;
    top: 18%;
    width: 55%;
    height: 55%;
  }

  .tank-small {
    right: 8%;
    bottom: 10%;
    width: 34%;
    height: 38%;
  }

  .coil {
    right: 7%;
    top: 20%;
    width: 25%;
    height: 22%;
    border-width: 10px;
  }

  .gauge {
    width: 52px;
    height: 52px;
  }

  .modal-panel {
    left: 14px;
    right: 14px;
    top: 20px;
    width: auto;
    max-height: calc(100vh - 40px);
    border-radius: 22px;
    transform: none;
  }

  .product-detail-panel {
    left: 14px;
    width: auto;
    transform: none;
  }

  .detail-media {
    min-height: 300px;
  }

  .chat-dock {
    right: 10px;
    bottom: 10px;
    transform: scale(0.86);
    transform-origin: right bottom;
  }

  .chat-panel {
    right: 10px;
    bottom: 92px;
    max-height: calc(100vh - 118px);
    border-radius: 22px;
  }

  .chat-close,
  .modal-close {
    width: 42px;
    min-width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
