:root {
  color-scheme: dark;
  --bg: #05070a;
  --bg-elevated: #0b0f14;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #f5f7fb;
  --muted: rgba(245, 247, 251, 0.68);
  --subtle: rgba(245, 247, 251, 0.48);
  --blue: #0d4dff;
  --blue-soft: #4d8cff;
  --steel: #9aa7b7;
  --concrete: #c8c0b4;
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(13, 77, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 85% 16%, rgba(200, 192, 180, 0.08), transparent 24rem),
    linear-gradient(180deg, #05070a 0%, #090d12 42%, #05070a 100%);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.92), rgba(5, 7, 10, 0.62));
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, var(--max));
  height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.45rem;
  font-weight: 760;
  line-height: 1;
}

.brand-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-text {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-weight: 720;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 560;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue-soft);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle {
  flex-direction: column;
  gap: 5px;
}

.menu-open .menu-toggle span {
  opacity: 0;
}

.menu-open .menu-toggle::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle::after {
  transform: translateY(-7px) rotate(-45deg);
}

.page {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: 128px 0 72px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, #05070a 0%, rgba(5, 7, 10, 0.99) 47%, rgba(5, 7, 10, 0.76) 64%, rgba(5, 7, 10, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.88) 0%, rgba(5, 7, 10, 0.14) 30%, rgba(5, 7, 10, 0.74) 100%),
    url("assets/images/home-hero.webp") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, transparent, #05070a);
}

.hero-inner {
  display: grid;
  align-items: end;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-top: 18vh;
}

.hero-copy::before {
  position: absolute;
  top: calc(18vh - 86px);
  left: 0;
  z-index: 0;
  color: rgba(236, 241, 249, 0.88);
  content: "workerX";
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.4rem, 7.2vw, 5.8rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-soft);
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 12px;
  max-width: 820px;
  font-size: clamp(3.3rem, 5.6vw, 4.85rem);
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-subtitle {
  margin-bottom: 22px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 720;
  line-height: 1.24;
  color: #fff;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 680;
  line-height: 1.2;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #0648ff, #0b6eff);
  box-shadow: 0 16px 42px rgba(13, 77, 255, 0.26);
}

.button.dark {
  border-color: rgba(255, 255, 255, 0.1);
  background: #fff;
  color: #07090d;
}

.section {
  padding: 112px 0;
}

.section.compact {
  padding: 84px 0;
}

.section.band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    #080c11;
}

.container {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.62fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading h2,
.page-hero h1 {
  margin-bottom: 0;
  font-size: 3.45rem;
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.page-hero p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metric {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  padding: 26px;
  background-color: #0a0e13;
  background-size: cover;
  background-repeat: no-repeat;
}

.metric:nth-child(1) {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.78)),
    url("assets/images/old-90s-housing-renovation.webp");
  background-position: center;
}

.metric:nth-child(2) {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.78)),
    url("assets/images/elderly-tile-worker.webp");
  background-position: center;
}

.metric:nth-child(3) {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.78)),
    url("assets/images/human-robot-collab.webp");
  background-position: center;
}

.metric:nth-child(4) {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.8)),
    url("assets/images/construction-data-loop.webp");
  background-position: center;
}

.metric strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 780;
  line-height: 1;
}

.metric span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 46px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
}

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #090d12;
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.media-frame.portrait img {
  object-position: center 26%;
}

.media-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 48%, rgba(5, 7, 10, 0.55)),
    linear-gradient(90deg, rgba(13, 77, 255, 0.12), transparent 42%);
  pointer-events: none;
}

.copy-block h2 {
  margin-bottom: 22px;
  font-size: 3.1rem;
  font-weight: 760;
  line-height: 1.12;
}

.copy-block p {
  color: var(--muted);
  font-size: 1.04rem;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--muted);
}

.feature-list li::before {
  width: 8px;
  height: 8px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--blue-soft);
  content: "";
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 20px;
}

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

.tile {
  min-height: 236px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.signal-tile {
  background:
    linear-gradient(180deg, rgba(13, 77, 255, 0.08), transparent 56%),
    var(--panel);
}

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

.stage-timeline::before {
  position: absolute;
  top: 42px;
  right: 9%;
  left: 9%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, rgba(77, 140, 255, 0.2), rgba(77, 140, 255, 0.72), rgba(77, 140, 255, 0.2));
}

.stage-step {
  position: relative;
  min-height: 210px;
  padding: 72px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(13, 77, 255, 0.1), transparent 62%),
    rgba(255, 255, 255, 0.048);
}

.stage-step span {
  position: absolute;
  top: 28px;
  left: 24px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(77, 140, 255, 0.66);
  border-radius: 50%;
  background: #0b1a2c;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.stage-step strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.28rem;
  line-height: 1.24;
}

.stage-step p {
  margin: 0;
  color: var(--muted);
}

.tile h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.tile p {
  margin-bottom: 0;
  color: var(--muted);
}

.tile .number {
  display: block;
  margin-bottom: 26px;
  color: var(--blue-soft);
  font-size: 0.86rem;
  font-weight: 780;
}

.page-hero {
  position: relative;
  padding: 168px 0 82px;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.94), rgba(5, 7, 10, 0.72)),
    radial-gradient(circle at 70% 20%, rgba(13, 77, 255, 0.24), transparent 24rem);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.48fr);
  gap: 54px;
  align-items: end;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.page-hero h1 {
  margin-bottom: 22px;
}

.page-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue-soft);
  font-weight: 760;
}

.hero-stat {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.hero-stat strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2.2rem;
  line-height: 1;
}

.hero-stat span {
  color: var(--muted);
}

.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.spec {
  padding: 28px;
  background: #0b0f14;
}

.spec span {
  display: block;
  margin-bottom: 16px;
  color: var(--subtle);
  font-size: 0.9rem;
}

.spec strong {
  display: block;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.25;
}

.process {
  display: grid;
  gap: 14px;
}

.process-step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 26px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.process-step:last-child {
  border-bottom: 1px solid var(--line);
}

.process-step span {
  color: var(--blue-soft);
  font-weight: 780;
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.quote-band {
  padding: 86px 0;
  background:
    linear-gradient(90deg, rgba(13, 77, 255, 0.18), transparent 45%),
    #0a0e13;
}

.quote {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  font-size: 2.35rem;
  font-weight: 720;
  line-height: 1.25;
}

.quote span {
  color: var(--blue-soft);
}

.timeline {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 30px;
  background: #0b0f14;
}

.timeline-item strong {
  color: var(--blue-soft);
  font-size: 1.2rem;
}

.timeline-item h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.7fr);
  gap: 46px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--muted);
  font-size: 0.92rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  padding: 14px 15px;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue-soft);
}

.contact-form .button {
  width: 100%;
}

.contact-form a,
.tile a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(77, 140, 255, 0.64);
  text-underline-offset: 4px;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 58px 0 42px;
  border-top: 1px solid var(--line);
  background: #05070a;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.footer-brand {
  max-width: 480px;
}

.footer-brand p {
  margin: 16px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  color: var(--muted);
}

.copyright {
  width: min(100% - 48px, var(--max));
  margin: 36px auto 0;
  color: var(--subtle);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .nav-shell,
  .container,
  .hero-inner,
  .page-hero-inner,
  .footer-inner,
  .copyright,
  .quote {
    width: min(100% - 32px, var(--max));
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 7, 10, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, #05070a 0%, rgba(5, 7, 10, 0.95) 56%, rgba(5, 7, 10, 0.3) 100%),
      linear-gradient(180deg, rgba(5, 7, 10, 0.9) 0%, rgba(5, 7, 10, 0.2) 42%, rgba(5, 7, 10, 0.8) 100%),
      url("assets/images/home-hero.webp") 68% center / cover no-repeat;
  }

  .hero-copy {
    padding-top: 210px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.65rem;
  }

  .section-heading,
  .split,
  .split.reverse,
  .page-hero-inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 18px;
  }

  .grid-4,
  .metrics,
  .specs,
  .stage-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-shell {
    height: 68px;
  }

  .brand {
    font-size: 1.25rem;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .nav-links {
    top: 68px;
  }

  .hero {
    min-height: 720px;
    padding-top: 96px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(5, 7, 10, 0.22), rgba(5, 7, 10, 0.94) 55%, #05070a 100%),
      url("assets/images/home-hero.webp") 68% top / auto 48% no-repeat,
      #05070a;
  }

  .hero-copy {
    padding-top: 300px;
  }

  .hero h1,
  .section-heading h2,
  .page-hero h1,
  .copy-block h2 {
    font-size: 2.42rem;
  }

  .hero-subtitle {
    font-size: 1.35rem;
  }

  .actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 78px 0;
  }

  .section.compact {
    padding: 64px 0;
  }

  .media-frame {
    min-height: 340px;
  }

  .grid-4,
  .metrics,
  .specs,
  .stage-timeline {
    grid-template-columns: 1fr;
  }

  .stage-timeline::before {
    display: none;
  }

  .metric {
    min-height: auto;
  }

  .process-step,
  .timeline-item,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .quote {
    font-size: 1.65rem;
  }

  .page-hero {
    padding: 126px 0 62px;
  }
}
