:root {
  color-scheme: dark;
  --bg: oklch(0.105 0.012 235);
  --surface: oklch(0.16 0.018 232);
  --surface-strong: oklch(0.205 0.024 230);
  --ink: oklch(0.965 0.006 210);
  --muted: oklch(0.735 0.026 220);
  --primary: oklch(0.695 0.205 43.2);
  --primary-deep: oklch(0.47 0.135 43.2);
  --accent: oklch(0.64 0.17 271);
  --cyan: oklch(0.82 0.105 188);
  --line: oklch(0.33 0.03 226);
  --shadow: oklch(0.04 0 0 / 0.42);
  --max: 1180px;
  --font: "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(118deg, oklch(0.09 0.01 235), var(--bg) 46%, oklch(0.15 0.021 226)),
    linear-gradient(90deg, oklch(0.695 0.205 43.2 / 0.08), transparent 34%, oklch(0.82 0.105 188 / 0.08));
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(oklch(1 0 0 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

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

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 28px), var(--max));
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: 8px;
  background: oklch(0.12 0.014 235 / 0.98);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 780;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.main-nav a,
.lang-toggle {
  min-height: 40px;
  padding: 9px 12px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.lang-toggle:hover {
  color: var(--ink);
  background: oklch(1 0 0 / 0.075);
}

.lang-toggle {
  min-width: 56px;
  color: var(--ink);
  background: var(--surface-strong);
}

.section-shell {
  width: min(calc(100% - 36px), var(--max));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: 560px;
  padding: clamp(38px, 6vw, 72px) 0 clamp(20px, 3vw, 28px);
}

.hero-copy {
  max-width: 720px;
}

.mobile-hero-logo {
  display: none;
}

.route-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 780;
}

.route-label::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(2.95rem, 6.2vw, 5.1rem);
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  letter-spacing: -0.028em;
}

h3 {
  font-size: clamp(1.32rem, 2.2vw, 1.85rem);
  letter-spacing: -0.018em;
}

.hero-lede,
.section-heading p,
.contact-section p {
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  text-wrap: pretty;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 760;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary {
  color: oklch(1 0 0);
  background: var(--primary);
}

.button.secondary {
  color: var(--ink);
  background: oklch(1 0 0 / 0.085);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 7px 10px;
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-radar {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    linear-gradient(120deg, transparent, oklch(0.82 0.105 188 / 0.1) 42%, transparent 68%),
    linear-gradient(180deg, oklch(1 0 0 / 0.025), transparent);
}

.radar-grid {
  position: absolute;
  inset: 16px;
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, transparent 0 4.8rem, oklch(1 0 0 / 0.08) 4.85rem 4.9rem, transparent 4.95rem 8.8rem, oklch(1 0 0 / 0.06) 8.85rem 8.9rem, transparent 8.95rem 13.4rem, oklch(1 0 0 / 0.05) 13.45rem 13.5rem, transparent 13.55rem),
    linear-gradient(90deg, transparent calc(50% - 1px), oklch(1 0 0 / 0.07) 50%, transparent calc(50% + 1px)),
    linear-gradient(transparent calc(50% - 1px), oklch(1 0 0 / 0.07) 50%, transparent calc(50% + 1px));
}

.logo-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 176px;
  height: 176px;
  padding: 16px;
  border-radius: 12px;
  background: oklch(0.09 0.01 235);
  transform: translate(-50%, -50%) rotate(-3deg);
}

.logo-orbit img {
  width: 118px;
  height: 118px;
  border-radius: 8px;
  object-fit: cover;
}

.logo-orbit span {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.orbit-item {
  position: absolute;
  display: grid;
  gap: 2px;
  width: min(210px, 45%);
  padding: 14px;
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 8px;
  background: oklch(0.13 0.016 235 / 0.9);
  transition: transform 180ms ease, border-color 180ms ease;
}

.orbit-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.orbit-item strong {
  font-size: 1rem;
}

.orbit-item small {
  color: var(--muted);
}

.item-a {
  left: 34px;
  top: 48px;
}

.item-b {
  right: 26px;
  top: 132px;
}

.item-c {
  left: 42px;
  bottom: 88px;
}

.item-d {
  right: 34px;
  bottom: 44px;
}

.route-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 14px 0 0;
}

.route-bar a {
  padding: 9px 12px;
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: 999px;
  color: var(--muted);
  background: oklch(0.14 0.015 235 / 0.86);
  font-weight: 680;
  transition: color 180ms ease, border-color 180ms ease;
}

.route-bar a:hover {
  border-color: var(--primary);
  color: var(--ink);
}

.catalog,
.lanes,
.process {
  padding: clamp(76px, 10vw, 130px) 0 0;
}

.section-heading {
  display: grid;
  gap: 0;
  max-width: 840px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 760px;
}

.service-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: oklch(0.13 0.014 235 / 0.72);
}

.service-group {
  display: grid;
  gap: 0;
  min-height: 250px;
  padding: 22px;
  border-right: 1px solid oklch(1 0 0 / 0.08);
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
}

.service-group:nth-child(2n) {
  border-right: 0;
}

.service-group:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.group-head span {
  color: var(--primary);
  font-family: var(--mono);
  font-weight: 800;
}

.group-head h3 {
  margin: 0;
}

.service-group a {
  display: grid;
  gap: 4px;
  padding: 15px 0;
  border-top: 1px solid oklch(1 0 0 / 0.08);
}

.service-group a strong {
  font-size: 1.04rem;
}

.service-group a span {
  color: var(--muted);
}

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

.lane {
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 24px;
  border-radius: 8px;
  background: var(--surface);
}

.lane:nth-child(2) {
  background: oklch(0.17 0.025 255);
}

.lane:nth-child(3) {
  background: oklch(0.17 0.025 190);
}

.lane-mark {
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 6px 10px;
  border-radius: 999px;
  color: oklch(1 0 0);
  background: var(--primary-deep);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 780;
}

.lane h3 {
  margin-bottom: 14px;
}

.lane p,
.lane li {
  color: var(--muted);
}

.lane ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 26px;
  padding: 0;
  list-style: none;
}

.lane li {
  position: relative;
  padding-left: 20px;
}

.lane li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.lane a {
  display: inline-flex;
  justify-content: center;
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 999px;
  color: oklch(1 0 0);
  background: var(--primary);
  font-weight: 760;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: 8px;
  overflow: hidden;
  list-style: none;
  counter-reset: step;
  background: oklch(0.13 0.014 235 / 0.7);
}

.process-list li {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 24px;
  border-right: 1px solid oklch(1 0 0 / 0.08);
  counter-increment: step;
}

.process-list li:last-child {
  border-right: 0;
}

.process-list li::before {
  content: "0" counter(step);
  color: var(--primary);
  font-family: var(--mono);
  font-weight: 820;
}

.process-list strong {
  font-size: 1.18rem;
}

.process-list span {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: 100%;
  margin: clamp(76px, 10vw, 130px) auto 0;
  padding: clamp(28px, 5vw, 48px);
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(105deg, oklch(0.19 0.028 230), oklch(0.13 0.014 235) 62%, oklch(0.31 0.08 43.2));
}

.contact-copy h2 {
  max-width: 12ch;
}

.contact-actions {
  justify-content: flex-end;
  min-width: 280px;
  margin-top: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 36px), var(--max));
  margin: 34px auto 0;
  padding: 28px 0 42px;
  color: var(--muted);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-radar {
    min-height: 500px;
  }

  .lane-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid oklch(1 0 0 / 0.08);
  }

  .process-list li:last-child {
    border-bottom: 0;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header,
  .section-shell,
  .route-bar,
  .site-footer {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand span {
    display: none;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.45rem, 12vw, 3.7rem);
  }

  h2 {
    font-size: clamp(1.85rem, 8vw, 2.8rem);
  }

  .hero {
    padding-top: 36px;
  }

  .trust-row {
    display: none;
  }

  .mobile-hero-logo {
    display: block;
    width: 78px;
    height: 78px;
    margin: 0 0 18px;
    border-radius: 8px;
    object-fit: cover;
  }

  .hero-radar {
    display: none;
  }

  .service-groups {
    grid-template-columns: 1fr;
  }

  .service-group,
  .service-group:nth-child(2n),
  .service-group:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid oklch(1 0 0 / 0.08);
  }

  .service-group:last-child {
    border-bottom: 0;
  }

  .lane {
    min-height: auto;
  }

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

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .button:hover,
  .orbit-item:hover {
    transform: none;
  }
}
