:root {
  --bg: #050505;
  --bg-soft: #101010;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #fafafa;
  --muted: rgba(255, 255, 255, 0.7);
  --muted-strong: rgba(255, 255, 255, 0.86);
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  --max-width: 1200px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.05), transparent 32%),
    linear-gradient(180deg, #000 0%, #050505 48%, #090909 100%);
}

.noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

.site-frame {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 0 0 56px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 20, 20, 0.74);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-condensed {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(66, 66, 66, 0.94);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
}

.site-header-inner {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  transition: padding 220ms ease;
}

.site-header.is-condensed .site-header-inner {
  padding: 10px 22px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  width: min(100%, 340px);
  flex: 0 0 auto;
  text-decoration: none;
  transition: width 220ms ease;
}

.site-header.is-condensed .brand {
  width: min(100%, 268px);
}

.brand-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: invert(1);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.language-switcher select {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
  outline: none;
  cursor: pointer;
}

.language-switcher option {
  color: #050505;
}

.hero,
.showcase,
.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 24px;
}

.hero {
  align-items: stretch;
  min-height: calc(100vh - 120px);
  padding: 34px 0 12px;
}

.panel,
.hero-copy,
.hero-visual,
.metric-card,
.showcase-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow);
}

.hero-copy,
.panel,
.metric-card {
  padding: 36px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker,
.section-label,
.hero-visual-label {
  margin: 0 0 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-visual-label {
  margin: 0;
  max-width: 10ch;
  line-height: 1.18;
}

h1,
h2 {
  margin: 0;
  font-family: "IBM Plex Serif", serif;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.9rem, 5vw, 5.4rem);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 4.25rem);
}

h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.hero-lead,
.section-copy,
.info-card p,
.solution-copy,
.metric-card p,
.showcase-note,
.contact-status {
  color: var(--muted-strong);
  line-height: 1.72;
  font-size: 1rem;
}

.hero-lead {
  max-width: 58ch;
  margin: 24px 0 0;
}

.hero-actions,
.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #050505;
  background: #fff;
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.inline-cta {
  margin-top: 24px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-tags span,
.hero-visual-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.hero-visual-list span {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.88rem;
}

.hero-visual {
  --parallax-x: 0px;
  --parallax-y: 0px;
  min-height: 620px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #111 0%, #181818 100%);
}

.product-stage {
  position: absolute;
  inset: 24px 24px 148px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.99) 0%, rgba(241, 241, 241, 0.98) 56%, rgba(220, 220, 220, 0.98) 100%);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  transition: transform 220ms ease-out;
  will-change: transform;
  cursor: zoom-in;
}

.product-image,
.showcase-image {
  width: min(100%, 540px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.28));
}

.product-image {
  animation: productFloat 6.5s ease-in-out infinite;
}

.product-lens {
  --lens-size: 168px;
  --lens-x: 50%;
  --lens-y: 50%;
  position: absolute;
  left: 0;
  top: 0;
  width: var(--lens-size);
  height: var(--lens-size);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.16);
  background-repeat: no-repeat;
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(calc(var(--lens-x) - 50%), calc(var(--lens-y) - 50%), 0) scale(0.94);
  transition: opacity 160ms ease, transform 160ms ease;
  will-change: transform, opacity, background-position;
}

.product-lens.is-active {
  opacity: 1;
  transform: translate3d(calc(var(--lens-x) - 50%), calc(var(--lens-y) - 50%), 0) scale(1);
}

.hero-visual-note {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.hero-visual-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: min(100%, 340px);
}

.visual-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 96px;
  margin: 0;
  max-width: min(52%, 300px);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  line-height: 1.4;
}

.section {
  margin-top: 24px;
}

.section-heading {
  max-width: 860px;
  position: relative;
  padding-bottom: 18px;
}

.section-heading::after {
  content: "";
  display: block;
  width: min(160px, 36vw);
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.15));
  transform: scaleX(0.28);
  transform-origin: left center;
  opacity: 0.5;
  transition: transform 420ms ease-out, opacity 420ms ease-out;
}

.reveal.is-visible .section-heading::after {
  transform: scaleX(1);
  opacity: 1;
}

.section-copy {
  max-width: 72ch;
  margin: 22px 0 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.info-card,
.solution-card,
.metric-card {
  border-radius: var(--radius-lg);
}

.info-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.info-card p {
  margin: 14px 0 0;
}

.solution-copy {
  margin: 16px 0 0;
}

.feature-list {
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--muted-strong);
  line-height: 1.68;
}

.feature-list li + li {
  margin-top: 12px;
}

.software-shell {
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, #0d0d0d, #151515);
  overflow: hidden;
}

.software-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
}

.software-dots {
  display: flex;
  gap: 8px;
}

.software-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.software-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
}

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

.software-signal {
  display: flex;
  gap: 12px;
  padding: 18px;
}

.signal-pill {
  flex: 1 1 0;
  min-height: 18px;
  border-radius: 999px;
}

.signal-good {
  background: linear-gradient(90deg, #d1ffd9, #73d98b);
}

.signal-review {
  background: linear-gradient(90deg, #fff3cc, #ffd36b);
}

.signal-hold {
  background: linear-gradient(90deg, #ffd0d0, #ff8f8f);
}

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

.metric-card h3 {
  max-width: 12ch;
}

.metric-card p {
  margin: 14px 0 0;
}

.showcase {
  align-items: stretch;
}

.showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase-eyebrow {
  margin: 4px 0 14px;
  color: var(--muted-strong);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.92rem;
  font-weight: 600;
}

.product-copy {
  max-width: 56ch;
}

.showcase-visual {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
}

.showcase-stage {
  min-height: 520px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.99) 0%, rgba(241, 241, 241, 0.98) 56%, rgba(220, 220, 220, 0.98) 100%);
}

.showcase-note {
  margin: 0;
}

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

.contact-required {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.field-label {
  color: var(--muted-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
}

.required-mark {
  color: #fff;
}

.field-input {
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.field-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

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

.contact-form-actions {
  margin-top: 8px;
}

.contact-form button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.contact-status {
  margin: 0;
}

.contact-status[data-state="success"] {
  color: #d3f6d0;
}

.contact-status[data-state="error"] {
  color: #ffd0d0;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 360ms ease-out, transform 360ms ease-out;
  will-change: opacity, transform;
}

.reveal-delay {
  transition-delay: 80ms;
}

.reveal-delay-2 {
  transition-delay: 160ms;
}

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

@keyframes productFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-delay,
  .reveal-delay-2,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .product-image {
    animation: none;
  }

  .product-lens,
  .product-stage {
    transition: none;
  }

  .section-heading::after {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

@media (pointer: coarse) {
  .product-stage {
    cursor: default;
  }

  .product-lens {
    display: none;
  }
}

@media (max-width: 1100px) {
  .hero,
  .solution-grid,
  .showcase,
  .metric-grid,
  .card-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy,
  .panel,
  .metric-card {
    padding: 30px;
  }

  .showcase-visual {
    padding: 22px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .product-stage {
    inset: 24px 24px 154px;
  }

  .hero-visual-note {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: flex-start;
    gap: 12px;
  }

  .hero-visual-list {
    justify-content: flex-start;
    max-width: none;
  }

  .visual-caption {
    bottom: 112px;
    max-width: min(100%, 320px);
  }

  .showcase-stage {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .site-frame {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    margin-bottom: 8px;
  }

  .site-header-inner {
    width: min(calc(100% - 20px), var(--max-width));
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0 16px;
  }

  .header-tools {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 12px 16px;
  }

  .brand {
    width: min(100%, 240px);
  }

  .hero-copy,
  .panel,
  .metric-card,
  .showcase-visual {
    padding: 24px 20px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  h2 {
    max-width: none;
  }

  .hero-visual {
    min-height: 360px;
  }

  .product-stage {
    inset: 20px 20px 158px;
  }

  .hero-visual-note {
    left: 20px;
    right: 20px;
    bottom: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .visual-caption {
    left: 20px;
    right: 20px;
    bottom: 126px;
    max-width: calc(100% - 40px);
  }

  .showcase-stage {
    min-height: 320px;
  }

  .field-input {
    min-height: 52px;
    padding: 14px 16px;
  }

  .contact-form-actions {
    align-items: stretch;
  }
}
