:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-soft: #0b0d11;
  --text: #f7f7f5;
  --muted: #b7bbc2;
  --line: rgba(255, 255, 255, 0.18);
  --line-strong: rgba(255, 255, 255, 0.34);
  --panel: rgba(255, 255, 255, 0.06);
  --accent: #ffffff;
  --signal: #7bc4ff;
  --max: 1180px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(20px, 4vw, 54px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  transition:
    background 180ms ease,
    border-color 180ms ease,
    height 180ms ease;
}

.site-header.is-scrolled {
  height: 64px;
  background: rgba(5, 6, 8, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  position: relative;
  z-index: 61;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  font-size: 13px;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language-picker {
  position: relative;
  z-index: 62;
}

.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 86px;
  min-height: 38px;
  padding: 8px 13px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.language-button:hover,
.language-button:focus-visible,
.language-picker.is-open .language-button {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.72);
}

.language-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.language-picker.is-open .language-chevron {
  transform: translateY(2px) rotate(225deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 136px;
  padding: 6px;
  background: rgba(5, 6, 8, 0.94);
  border: 1px solid var(--line-strong);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  backdrop-filter: blur(16px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.language-picker.is-open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 9px 11px;
  color: #fff;
  font-size: 13px;
  font-weight: 780;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.language-menu button[aria-selected="true"]::after {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--signal);
}

.nav-toggle {
  position: relative;
  z-index: 61;
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay,
.contact-media,
.wide-image {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.28) 48%, rgba(0, 0, 0, 0.7) 100%),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=2400&q=85")
      center / cover;
  transform: scale(1.04);
  animation: slow-drift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.08) 0%, rgba(5, 6, 8, 0.24) 48%, #050608 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 92px
    );
  mix-blend-mode: normal;
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  margin: auto auto 14vh clamp(20px, 7vw, 104px);
  padding-top: var(--header-h);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.35;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
}

h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #e8e9ec;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 520;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 158px;
  min-height: 46px;
  padding: 12px 24px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  border: 2px solid #fff;
  border-radius: 2px;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

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

.button-primary {
  color: #050608;
  background: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #dceeff;
  border-color: #dceeff;
}

.button-secondary {
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: #050608;
  background: #fff;
}

.scroll-cue {
  position: absolute;
  right: clamp(20px, 4vw, 54px);
  bottom: 32px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
}

.scroll-cue::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 10px;
  vertical-align: 2px;
  content: "";
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: cue 1.2s ease-in-out infinite;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 40px));
  margin: -52px auto 0;
  border: 1px solid var(--line);
  background: rgba(5, 6, 8, 0.78);
  backdrop-filter: blur(18px);
}

.metric {
  min-height: 132px;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.section-pad {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(84px, 10vw, 150px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: end;
}

.section-heading h2,
.intro-copy {
  max-width: 780px;
}

.intro-copy {
  margin: 0;
  color: #d7d9de;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.78;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  min-height: 720px;
  border-top: 1px solid var(--line);
}

.feature-reverse {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
}

.feature-reverse .feature-image {
  grid-column: 2;
  grid-row: 1;
}

.feature-reverse .feature-text {
  grid-column: 1;
  grid-row: 1;
}

.feature-image {
  min-height: 560px;
  background-color: #10141b;
  background-position: center;
  background-size: cover;
}

.image-chipset {
  background-image:
    linear-gradient(90deg, rgba(5, 6, 8, 0.18), rgba(5, 6, 8, 0.62)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=85");
}

.image-datacenter {
  background-image:
    linear-gradient(270deg, rgba(5, 6, 8, 0.18), rgba(5, 6, 8, 0.68)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=85");
}

.feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px, 7vw, 108px);
  background:
    linear-gradient(135deg, rgba(123, 196, 255, 0.08), transparent 32%),
    var(--bg-soft);
}

.feature-text p {
  max-width: 610px;
  margin: 22px 0 0;
  color: #d4d7dd;
  font-size: 17px;
  line-height: 1.78;
}

.tech-list {
  display: grid;
  gap: 16px;
  max-width: 640px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.tech-list li {
  position: relative;
  padding: 17px 18px 17px 44px;
  color: #eef2f5;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.45;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.tech-list li::before {
  position: absolute;
  top: 24px;
  left: 18px;
  width: 12px;
  height: 2px;
  content: "";
  background: var(--signal);
}

.capabilities {
  border-top: 1px solid var(--line);
}

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

.capability {
  min-height: 248px;
  padding: clamp(28px, 3.4vw, 42px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--bg);
}

.capability span,
.process-step span {
  display: block;
  margin-bottom: 30px;
  color: var(--signal);
  font-size: 12px;
  font-weight: 900;
}

.capability p,
.process-step p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.wide-panel {
  position: relative;
  display: grid;
  min-height: 82vh;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
}

.wide-image {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.9) 0%, rgba(5, 6, 8, 0.44) 42%, rgba(5, 6, 8, 0.24) 100%),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=2400&q=85")
      center / cover;
}

.wide-content {
  width: min(680px, calc(100% - 40px));
  margin: auto auto auto clamp(20px, 7vw, 104px);
}

.wide-content p {
  margin: 24px 0 0;
  color: #e4e6ea;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.74;
}

.process {
  border-top: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}

.process-step {
  min-height: 290px;
  padding: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(123, 196, 255, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.035);
}

.contact {
  position: relative;
  display: grid;
  min-height: 78vh;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
}

.contact-media {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.96), rgba(5, 6, 8, 0.58) 50%, rgba(5, 6, 8, 0.18)),
    url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=2400&q=85")
      center / cover;
}

.contact-content {
  width: min(720px, calc(100% - 40px));
  margin: auto auto auto clamp(20px, 7vw, 104px);
  padding: 90px 0;
}

.contact-content p {
  margin: 24px 0 34px;
  color: #dfe2e7;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.72;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 94px;
  padding: 24px clamp(20px, 4vw, 54px);
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  background: #030405;
}

.site-footer strong {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slow-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.6%, -1%, 0);
  }
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(5px) rotate(45deg);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .intro,
  .feature,
  .feature-reverse,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .feature-reverse .feature-image,
  .feature-reverse .feature-text {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-reverse .feature-image {
    order: 0;
  }

  .feature-reverse .feature-text {
    order: 1;
  }

  .feature {
    min-height: 0;
  }

  .feature-image {
    min-height: 460px;
  }

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

@media (max-width: 760px) {
  :root {
    --header-h: 66px;
  }

  .site-header {
    height: var(--header-h);
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
    position: fixed;
    top: 12px;
    right: 14px;
  }

  .header-tools {
    gap: 8px;
  }

  .language-picker {
    position: fixed;
    top: 15px;
    right: 68px;
    z-index: 63;
  }

  .language-button {
    min-width: 76px;
    min-height: 36px;
    padding: 8px 10px;
  }

  .language-menu {
    min-width: 122px;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 28px;
    font-size: 22px;
    background: rgba(5, 6, 8, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

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

  .hero {
    min-height: 100svh;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-content {
    width: calc(100% - 40px);
    max-width: 640px;
    margin: auto auto 13vh 16px;
  }

  .hero-copy {
    line-height: 1.68;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .scroll-cue {
    right: 20px;
    bottom: 20px;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 32px);
    margin-top: -34px;
  }

  .metric {
    min-height: 118px;
    padding: 22px 18px;
    border-bottom: 1px solid var(--line);
  }

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

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

  .section-pad {
    width: calc(100% - 32px);
    padding: 76px 0;
  }

  .feature-image {
    min-height: 360px;
  }

  .feature-text {
    padding: 54px 24px 68px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .capability,
  .process-step {
    min-height: 0;
  }

  .wide-panel,
  .contact {
    min-height: 70vh;
  }

  .wide-content,
  .contact-content {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

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

@media (max-width: 430px) {
  h1 {
    font-size: 37px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-actions {
    gap: 10px;
  }

  .metric strong {
    font-size: 34px;
  }

  .tech-list li {
    padding-right: 14px;
  }
}
