:root {
  --text: #11161b;
  --muted: #66717a;
  --line: rgba(17, 22, 27, 0.12);
  --surface: #f4f7f6;
  --white: #ffffff;
  --green: #176f45;
  --gold: #c69a4a;
  --ink: #071014;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.detail-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 40px;
  color: var(--white);
  background: rgba(7, 16, 20, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.detail-header.is-scrolled {
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
}

.detail-brand {
  display: inline-flex;
  align-items: center;
  min-width: 166px;
  height: 40px;
}

.detail-logo {
  width: 146px;
  height: auto;
}

.detail-logo-dark {
  display: none;
}

.detail-header.is-scrolled .detail-logo-dark {
  display: block;
}

.detail-header.is-scrolled .detail-logo-light {
  display: none;
}

.detail-nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
}

.robot-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 120px 8vw 90px;
  color: var(--white);
  overflow: hidden;
}

.robot-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 12, 16, 0.14), rgba(5, 12, 16, 0.82)),
    linear-gradient(90deg, rgba(5, 12, 16, 0.82), rgba(5, 12, 16, 0.12));
}

.robot-hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(4, 16, 18, 0.25), rgba(4, 16, 18, 0)),
    url("assets/brochure/page-29-image-0.jpg") center / cover;
  transform: scale(1.03);
}

.robot-hero-content,
.hero-tags {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.robot-hero h1 {
  width: min(980px, 100%);
  margin: 0;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1.04;
}

.robot-hero-content p:last-child {
  width: min(780px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
}

.hero-tags span {
  padding: 10px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.topic-bar {
  position: sticky;
  top: 64px;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 1px;
  padding: 0 8vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.topic-bar a {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 62px;
  padding: 8px 6px;
  color: rgba(17, 22, 27, 0.62);
  font-size: 11px;
  font-weight: 750;
  text-align: center;
  background: rgba(17, 22, 27, 0.035);
}

.topic-bar span {
  color: rgba(17, 22, 27, 0.36);
  font-weight: 900;
}

.topic-bar a.is-active {
  color: var(--white);
  background: var(--green);
}

.topic-bar a.is-active span {
  color: rgba(255, 255, 255, 0.7);
}

.section {
  padding: 112px 8vw;
}

.section.dark {
  color: var(--white);
  background: var(--ink);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 62px);
  line-height: 1.12;
}

.section-heading p {
  max-width: 800px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.dark .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.concept-grid,
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.concept-grid article {
  min-height: 280px;
  padding: 32px;
  background: var(--white);
}

.concept-grid span {
  color: var(--green);
  font-weight: 900;
}

.concept-grid h3 {
  margin: 18px 0 14px;
  font-size: 25px;
}

.concept-grid p,
.scene-title p,
.robot-grid p {
  color: var(--muted);
  line-height: 1.8;
}

.robots-section {
  background: var(--surface);
}

.scene-block {
  margin-top: 54px;
}

.scene-block:first-of-type {
  margin-top: 0;
}

.scene-title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 18px;
  align-items: start;
  margin-bottom: 22px;
}

.scene-title span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.scene-title h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.scene-title p {
  margin: 0;
  max-width: 900px;
}

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

.robot-grid article {
  min-height: 430px;
  display: grid;
  grid-template-rows: 230px 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(12, 20, 24, 0.07);
  overflow: hidden;
}

.robot-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #eef2f1;
}

.robot-grid div {
  padding: 24px;
}

.robot-grid h4 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.3;
}

.robot-grid p {
  margin: 0;
}

.capability-section {
  background:
    linear-gradient(135deg, rgba(7, 16, 20, 0.96), rgba(14, 36, 28, 0.96)),
    url("assets/brochure/page-47-image-0.jpg") center / cover;
}

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.16);
}

.capability-grid article {
  min-height: 230px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
}

.capability-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
}

.capability-grid span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.next-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 70px 8vw;
  color: var(--white);
  background: #0b1014;
}

.next-section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
}

.next-section p {
  color: rgba(255, 255, 255, 0.68);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  height: 48px;
  padding: 0 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 4px;
  font-weight: 800;
}

.button.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

@media (max-width: 1180px) {
  .robot-grid,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .detail-header {
    padding: 0 22px;
  }

  .detail-nav {
    gap: 16px;
  }

  .topic-bar {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .concept-grid,
  .next-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .detail-logo {
    width: 122px;
  }

  .detail-brand {
    min-width: 138px;
  }

  .detail-nav {
    gap: 12px;
    font-size: 13px;
  }

  .detail-nav a:nth-child(2) {
    display: none;
  }

  .robot-hero,
  .section,
  .next-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .topic-bar {
    padding-left: 22px;
    padding-right: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .robot-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .robot-grid article {
    min-height: auto;
  }
}
