:root {
  --ink: #eaf8f2;
  --muted: #a8bdb6;
  --soft: #d9eae3;
  --bg: #061011;
  --panel: #0b1d20;
  --panel-2: #10282a;
  --line: rgba(128, 230, 204, 0.18);
  --line-strong: rgba(128, 230, 204, 0.34);
  --teal: #54e1bb;
  --blue: #55a8ff;
  --amber: #f5ce5c;
  --danger: #ff6b57;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(83, 225, 187, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 225, 187, 0.04) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--ink);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans CJK SC",
    Arial,
    sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 18, 20, 0.86);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 15px;
  font-weight: 800;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  min-height: 40px;
  padding: 12px 12px;
  border-radius: 8px;
  color: #cfe3dc;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(84, 225, 187, 0.1);
  color: #ffffff;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100svh - 96px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 13, 15, 0.96) 0%, rgba(3, 13, 15, 0.82) 35%, rgba(3, 13, 15, 0.24) 100%),
    linear-gradient(0deg, rgba(3, 13, 15, 0.82) 0%, rgba(3, 13, 15, 0.08) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100svh - 96px);
  margin: 0 auto;
  padding: 76px 0 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 710px;
  margin: 24px 0 0;
  color: #d5e7e1;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.75;
}

.hero-actions,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--teal);
  color: #041112;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  margin-top: 54px;
}

.hero-metrics div,
.tech-card,
.case-card,
.jobs article,
.contact-panel,
.pipeline-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 28, 31, 0.76);
}

.hero-metrics div {
  padding: 16px;
  backdrop-filter: blur(10px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: #ffffff;
  font-size: 15px;
}

.hero-metrics span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 92px 0;
}

.intro-band {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  background: #08191b;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 42px;
  align-items: center;
}

.intro-grid h2,
.section-head h2,
.recruitment-grid h2,
.contact-grid h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-grid p:last-child,
.section-head p,
.recruitment-grid p,
.contact-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-head.left {
  margin: 0;
}

.section-head.compact {
  margin-bottom: 26px;
}

.section-head h2 {
  margin-bottom: 18px;
}

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

.tech-card {
  min-height: 280px;
  padding: 24px;
  background:
    linear-gradient(150deg, rgba(84, 225, 187, 0.08), rgba(85, 168, 255, 0.04)),
    rgba(7, 24, 27, 0.92);
}

.tech-index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 30px;
  border: 1px solid rgba(245, 206, 92, 0.42);
  border-radius: 6px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
}

.tech-card h3,
.product-card h3,
.case-card h3,
.jobs h3 {
  margin: 18px 0 12px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.28;
}

.tech-card p,
.product-card p,
.case-card p,
.feature-list,
.jobs span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.chip-row {
  margin-top: 22px;
}

.chip-row span {
  padding: 7px 9px;
  border: 1px solid rgba(84, 225, 187, 0.22);
  border-radius: 6px;
  background: rgba(84, 225, 187, 0.07);
  color: #c6f5e8;
  font-size: 12px;
  font-weight: 800;
}

.architecture-section {
  background:
    linear-gradient(180deg, rgba(84, 225, 187, 0.06), rgba(245, 206, 92, 0.04)),
    #081719;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.pipeline::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--amber));
  opacity: 0.45;
}

.pipeline-step {
  position: relative;
  z-index: 1;
  padding: 22px 18px;
  background: #071719;
}

.pipeline-step::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 18px;
  border: 4px solid #071719;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 1px rgba(84, 225, 187, 0.7);
}

.pipeline-step strong,
.pipeline-step span {
  display: block;
}

.pipeline-step strong {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 17px;
}

.pipeline-step span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.product-list {
  display: grid;
  gap: 22px;
}

.product-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 26, 29, 0.72);
  box-shadow: var(--shadow);
}

.product-card.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.product-card.reverse img {
  order: 2;
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.product-card > div {
  padding: 12px 12px 12px 0;
}

.product-kicker {
  margin: 0;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card h3 {
  margin-top: 10px;
  font-size: clamp(24px, 3vw, 34px);
}

.feature-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  margin: 8px 0;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--teal);
}

.model-section {
  background: #071618;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.model-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.model-console {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #030b0d;
  box-shadow: var(--shadow);
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #0f2224;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.console-top span:nth-child(1) {
  background: var(--danger);
}

.console-top span:nth-child(2) {
  background: var(--amber);
}

.console-top span:nth-child(3) {
  background: var(--teal);
}

.console-top strong {
  margin-left: 8px;
  color: #c7ded7;
  font-size: 13px;
}

.console-body {
  padding: 18px;
  font-family: "Cascadia Mono", Consolas, monospace;
}

.console-body p {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console-body p:last-child {
  border-bottom: 0;
}

.console-body b {
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.console-body span {
  color: #b4c8c2;
  font-size: 14px;
}

.capability-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.capability-row div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

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

.capability-row strong {
  margin-bottom: 8px;
  color: #ffffff;
}

.capability-row span {
  color: var(--muted);
  line-height: 1.7;
}

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

.case-card {
  min-height: 260px;
  padding: 24px;
}

.case-card span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.recruitment-section {
  background:
    linear-gradient(90deg, rgba(84, 225, 187, 0.08), rgba(85, 168, 255, 0.04)),
    #081719;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.recruitment-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 34px;
  align-items: start;
}

.recruitment-grid p {
  margin: 18px 0 24px;
}

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

.jobs article {
  padding: 20px;
}

.jobs h3 {
  margin: 0 0 8px;
}

.jobs span {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: center;
}

.contact-grid p {
  margin-top: 18px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.contact-panel a,
.contact-panel div {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.contact-panel span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
}

.contact-panel strong {
  color: #ffffff;
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #040d0f;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid div {
  display: grid;
  grid-template-columns: 38px auto;
  column-gap: 10px;
  align-items: center;
}

.footer-grid img {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  border-radius: 7px;
}

.footer-grid strong {
  color: #ffffff;
}

.footer-grid span {
  grid-column: 2;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 18, 20, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .menu-button {
    display: block;
  }

  .header-call {
    justify-self: end;
  }

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

  .pipeline {
    grid-template-columns: 1fr;
  }

  .pipeline::before {
    display: none;
  }
}

@media (max-width: 820px) {
  .container,
  .hero-content {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 0 14px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-call {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    padding: 78px 0 26px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-metrics,
  .intro-grid,
  .model-grid,
  .capability-row,
  .recruitment-grid,
  .contact-grid,
  .product-card,
  .product-card.reverse {
    grid-template-columns: 1fr;
  }

  .product-card.reverse img {
    order: 0;
  }

  .product-card > div {
    padding: 0 4px 8px;
  }

  .section {
    padding: 66px 0;
  }

  .intro-band {
    padding: 30px 0;
  }

  .console-body p {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 620px) {
  .hero-actions,
  .jobs,
  .tech-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .chip-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .tech-card,
  .case-card {
    min-height: auto;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
