:root {
  --bg: #05070b;
  --bg-2: #0b1018;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.16);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --soft: #f3f5f8;
  --ink: #111827;
  --orange: #ff7a1a;
  --orange-2: #ffb15f;
  --cyan: #6de6ff;
  --blue: #1a2b4c;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--bg);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Inter, Roboto, sans-serif;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 18px clamp(18px, 4.8vw, 72px);
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding-block: 10px;
  background: rgba(5, 7, 11, 0.78);
  border-color: var(--line);
  backdrop-filter: blur(24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #10131a;
  background: rgba(255, 255, 255, 0.96);
  font-weight: 950;
  overflow: hidden;
}

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

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

.brand small,
.footer-contact span {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 32px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--white);
}

.header-cta,
.btn,
.nav-toggle,
.robot-tab,
.text-link,
.icon-button {
  border: 0;
  cursor: pointer;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--white);
  color: #0c111b;
  font-weight: 850;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--panel-strong);
  color: var(--white);
}

.hero-premium {
  position: relative;
  min-height: 700px;
  height: 84vh;
  max-height: 840px;
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 76% 42%, rgba(109, 230, 255, 0.14), transparent 22%),
    linear-gradient(90deg, rgba(5, 7, 11, 0.96) 0%, rgba(5, 7, 11, 0.78) 40%, rgba(5, 7, 11, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.18), rgba(5, 7, 11, 0.72));
}

.hero-premium::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 35%;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 6.5vw, 96px);
  padding-top: 92px;
  transform: translateY(-34px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.12;
  font-weight: 780;
  max-width: 980px;
  white-space: nowrap;
}

.hero-copy {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.robot-tab:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--orange), #ff9c3d);
  color: #111827;
}

.btn.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.hero-status {
  position: absolute;
  left: clamp(20px, 6.5vw, 96px);
  right: clamp(20px, 6.5vw, 96px);
  bottom: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.hero-status span {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 18px 22px;
  color: var(--muted);
  background: rgba(8, 13, 22, 0.54);
}

.hero-status strong {
  color: var(--white);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
}

.product-stage {
  position: relative;
  padding: clamp(72px, 9vw, 126px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(180deg, var(--bg), #0b0f16 55%, #f4f6f9 55%, #f4f6f9);
}

.stage-copy {
  width: min(1120px, 100%);
  margin: 0 auto 28px;
}

.stage-copy h2,
.section-heading h2,
.process-band h2,
.education-copy h2,
.about h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.16;
  font-weight: 760;
  text-wrap: balance;
}

.stage-copy p:last-child,
.education-copy p,
.section-heading p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.robot-tabs {
  width: min(1120px, 100%);
  margin: 0 auto 18px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.robot-tab {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    "num brand"
    "num model";
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  min-height: 58px;
  padding: 8px 18px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  font-weight: 850;
  text-align: left;
}

.robot-tab span {
  grid-area: num;
  color: var(--orange-2);
  font-weight: 950;
}

.robot-tab strong {
  grid-area: brand;
  color: currentColor;
  font-size: 14px;
  line-height: 1.15;
}

.robot-tab small {
  grid-area: model;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.15;
}

.robot-tab.is-active {
  color: #111827;
  background: var(--white);
}

.robot-tab.is-active small {
  color: rgba(17, 24, 39, 0.62);
}

.robot-showcase {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.robot-card {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
  gap: 0;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 70% 28%, rgba(109, 230, 255, 0.18), transparent 28%),
    linear-gradient(145deg, #111722, #06080d 58%, #121821);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.robot-copy {
  padding: clamp(28px, 5vw, 62px);
  align-self: center;
  z-index: 2;
}

.robot-copy h3 {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  line-height: 1.08;
}

.robot-brand-name,
.robot-model-name {
  display: block;
}

.robot-brand-name {
  color: var(--white);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 820;
}

.robot-model-name {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 650;
}

.robot-copy p {
  color: var(--muted);
  font-size: 18px;
}

.robot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 8px;
}

.robot-tags span,
.robot-specs span,
.about-certs span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--panel-strong);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.robot-visual {
  min-height: 560px;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(109, 230, 255, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.robot-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.robot-specs {
  position: absolute;
  left: clamp(28px, 5vw, 62px);
  right: clamp(28px, 5vw, 62px);
  bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  z-index: 3;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 0;
  background: transparent;
  color: var(--orange-2);
  font-weight: 900;
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto 34px;
}

.solutions {
  background: #f4f6f9;
  color: var(--ink);
}

.solutions .eyebrow,
.case-section .eyebrow,
.education-panel .eyebrow {
  color: var(--orange);
}

.solutions .section-heading p {
  color: #5b6472;
}

.solution-grid,
.tech-grid,
.case-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.solution-card {
  min-height: 330px;
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
}

.solution-card svg {
  width: 34px;
  height: 34px;
  color: var(--orange);
}

.solution-card h3,
.tech-grid h3,
.case-card h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.24;
}

.solution-card p,
.solution-card li,
.case-card p {
  color: #5b6472;
}

.solution-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
}

.process-band {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px);
  background: #080b12;
  display: grid;
  grid-template-columns: 0.46fr 0.54fr;
  gap: 36px;
  align-items: start;
}

.process-band > div,
.process {
  width: min(100%, 560px);
  justify-self: end;
}

.process-band .process {
  justify-self: start;
}

.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.process li {
  min-height: 58px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  padding: 0 18px 0 0;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 850;
}

.process li span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: 7px;
  border-radius: 50%;
  background: var(--white);
  color: #0b1018;
}

.education-panel {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 38px;
  align-items: center;
  background: #f4f6f9;
  color: var(--ink);
}

.education-copy {
  justify-self: end;
  width: min(100%, 520px);
}

.education-copy p {
  color: #5b6472;
}

.education-visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 26px 0 0 26px;
  box-shadow: var(--shadow);
}

.education-visual img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.glass-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.technology {
  background:
    radial-gradient(circle at 20% 15%, rgba(109, 230, 255, 0.14), transparent 26%),
    #070a11;
}

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

.tech-grid article {
  min-height: 260px;
  padding: 26px;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.tech-grid h3 {
  color: var(--white);
}

.tech-grid p {
  color: var(--muted);
}

.case-section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: #fff;
}

.case-section .section-heading h2 {
  color: var(--ink);
}

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

.case-card {
  min-height: 240px;
  padding: 28px;
  border-radius: 22px;
  background: #f4f6f9;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.case-card span {
  color: var(--orange);
  font-weight: 950;
}

.about {
  background:
    linear-gradient(135deg, rgba(255, 122, 26, 0.16), transparent 28%),
    #0a0f18;
}

.about-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 46px;
}

.about p {
  color: var(--muted);
  font-size: 18px;
}

.about h2 {
  white-space: nowrap;
  font-size: clamp(30px, 3.5vw, 48px);
}

.about-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-form,
.modal-card,
.admin-card {
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-form h3,
.modal-card h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: #253047;
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 16px 0 0;
  color: #667085;
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  padding: 34px clamp(20px, 5vw, 72px);
  background: #05070b;
  border-top: 1px solid var(--line);
}

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

.footer-contact {
  display: grid;
  justify-items: end;
  gap: 6px;
  font-size: 14px;
}

.lead-modal {
  width: min(520px, calc(100% - 28px));
  padding: 0;
  border: 0;
  background: transparent;
}

.lead-modal::backdrop {
  background: rgba(5, 7, 11, 0.76);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eef1f6;
  color: var(--ink);
}

.close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.admin-body {
  min-height: 100vh;
  color: var(--ink);
  background: #f4f6f9;
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.admin-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.admin-top h1 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 5vw, 56px);
}

.admin-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.admin-card {
  background: #fff;
}

.admin-card textarea {
  min-height: 420px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 13px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.admin-note {
  color: #667085;
}

.admin-manager {
  display: grid;
  gap: 16px;
}

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

.admin-products {
  display: grid;
  gap: 14px;
}

.admin-product {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 18px;
  background: #f8fafc;
}

.admin-product img,
.image-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: #e5e7eb;
}

.image-preview {
  margin-top: 10px;
}

.btn.admin {
  background: var(--ink);
  color: #fff;
}

.btn.ghost {
  border: 1px solid rgba(17, 24, 39, 0.16);
  background: #fff;
  color: var(--ink);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 10px;
    border-radius: 18px;
    background: rgba(5, 7, 11, 0.94);
    border: 1px solid var(--line);
    backdrop-filter: blur(22px);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0 12px;
  }

  .robot-card,
  .process-band,
  .education-panel,
  .about-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .process-band > div,
  .process,
  .education-copy {
    width: min(100%, 1120px);
    justify-self: stretch;
  }

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

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

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

  .header-cta {
    display: none;
  }

  .hero-premium {
    min-height: 0;
    height: auto;
    display: block;
    padding: 120px 0 34px;
  }

  .hero-media {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 7, 11, 0.94), rgba(5, 7, 11, 0.55)),
      linear-gradient(180deg, rgba(5, 7, 11, 0.2), rgba(5, 7, 11, 0.76));
  }

  .hero-content {
    width: auto;
    margin-inline: 20px;
    padding-top: 38px;
    transform: none;
  }

  h1 {
    max-width: 100%;
    font-size: 32px;
    line-height: 1.16;
    white-space: nowrap;
  }

  .hero-copy {
    max-width: 22em;
    font-size: 15px;
  }

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

  .btn {
    width: 100%;
  }

  .hero-status {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr 1fr;
    margin: 30px 20px 0;
  }

  .hero-status span {
    min-height: 64px;
    padding: 14px;
    font-size: 13px;
    word-break: break-all;
  }

  .hero-status strong {
    font-size: 28px;
  }

  .product-stage {
    background:
      linear-gradient(180deg, var(--bg), #0b0f16 44%, #f4f6f9 44%, #f4f6f9);
  }

  .robot-card {
    min-height: 0;
  }

  .robot-copy {
    padding: 26px;
  }

  .robot-visual {
    min-height: 360px;
    aspect-ratio: 16 / 10;
    padding: 0;
  }

  .robot-specs {
    position: static;
    padding: 0 26px 26px;
  }

  .solution-grid,
  .tech-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .education-visual,
  .education-visual img {
    min-height: 320px;
    border-radius: 22px;
  }

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

  .footer-contact {
    justify-items: start;
  }

  .admin-field-grid,
  .admin-product {
    grid-template-columns: 1fr;
  }
}
