:root {
  color-scheme: dark;
  --bg: #05070b;
  --ink: #f5f8ff;
  --muted: #a8b4c7;
  --line: rgba(255, 255, 255, 0.13);
  --cyan: #3be7ff;
  --lime: #a9ff68;
  --gold: #ffd166;
  --rose: #ff4fd8;
  --panel: rgba(8, 14, 24, 0.72);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(59, 231, 255, 0.18), transparent 26%),
    radial-gradient(circle at 88% 16%, rgba(255, 79, 216, 0.14), transparent 23%),
    radial-gradient(circle at 64% 90%, rgba(169, 255, 104, 0.12), transparent 28%),
    linear-gradient(140deg, #05070b 0%, #09111a 46%, #06070c 100%);
  color: var(--ink);
}

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

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 74%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 18px clamp(20px, 4vw, 68px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(5, 7, 11, 0.62);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(59, 231, 255, 0.55);
  background: linear-gradient(135deg, rgba(59, 231, 255, 0.16), rgba(255, 79, 216, 0.14));
  box-shadow: 0 0 28px rgba(59, 231, 255, 0.22);
  color: white;
  font-weight: 900;
}

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

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

.brand small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: clamp(18px, 3vw, 42px);
  color: #d9e6f8;
  font-size: 14px;
}

.header-tools {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  color: #d9e6f8;
  font-size: 13px;
  font-weight: 700;
}

.language-switcher select {
  max-width: 132px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.language-switcher option {
  background: #09111a;
  color: var(--ink);
}

.header-action,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 700;
}

.header-action {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.primary-button {
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  color: #031016;
  box-shadow: 0 18px 70px rgba(59, 231, 255, 0.25);
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: 132px clamp(20px, 5vw, 82px) 78px;
  overflow: hidden;
}

#hy-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 72% 42%, rgba(59, 231, 255, 0.18), transparent 18%),
    radial-gradient(circle at 78% 54%, rgba(255, 79, 216, 0.12), transparent 16%);
}

.hero-orbit {
  position: absolute;
  right: -8vw;
  bottom: -20vh;
  width: 60vw;
  max-width: 860px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 120px rgba(59, 231, 255, 0.12);
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6.7vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: #c8d3e3;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

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

.signal-panel {
  position: absolute;
  right: clamp(20px, 5vw, 82px);
  bottom: 72px;
  z-index: 3;
  display: grid;
  width: min(390px, calc(100% - 40px));
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: rgba(5, 10, 17, 0.72);
  backdrop-filter: blur(18px);
}

.signal-panel div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.signal-panel div:last-child {
  border-right: 0;
}

.signal-panel span {
  display: block;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
}

.signal-panel strong {
  display: block;
  margin-top: 8px;
  color: white;
  font-size: clamp(20px, 3vw, 32px);
}

.section {
  position: relative;
  z-index: 2;
  padding: 100px clamp(20px, 5vw, 82px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 720px);
  gap: clamp(24px, 7vw, 110px);
  align-items: end;
  margin-bottom: 38px;
}

.section h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.6vw, 62px);
  line-height: 1.05;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.service-grid article,
.case-strip article {
  min-width: 0;
  padding: 30px;
  background: rgba(255, 255, 255, 0.035);
}

.service-grid article {
  min-height: 290px;
  border-right: 1px solid var(--line);
}

.service-grid article:last-child {
  border-right: 0;
}

.service-grid span {
  color: var(--gold);
  font-weight: 900;
}

.service-grid h3,
.case-strip h3,
.tech-copy h3 {
  margin: 28px 0 14px;
  font-size: 24px;
  letter-spacing: 0;
}

.service-grid p,
.case-strip p,
.tech-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.tech-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.tech-copy {
  padding: 36px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(59, 231, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.tech-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.tech-metrics div {
  min-height: 160px;
  padding: 30px;
  background: rgba(8, 14, 24, 0.8);
}

.tech-metrics strong {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 38px;
}

.tech-metrics span {
  color: #d8e2ef;
}

.global-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: stretch;
}

.global-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(169, 255, 104, 0.09), rgba(59, 231, 255, 0.05)),
    rgba(8, 14, 24, 0.78);
}

.global-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.14;
  letter-spacing: 0;
}

.global-copy p {
  margin-bottom: 30px;
  color: var(--muted);
  line-height: 1.8;
}

.global-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.global-stats div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.global-stats div:last-child {
  border-right: 0;
}

.global-stats strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1;
}

.global-stats span {
  color: #d8e2ef;
  font-size: 13px;
}

.global-map-card {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(59, 231, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(59, 231, 255, 0.16), rgba(169, 255, 104, 0.06)),
    #050b12;
  box-shadow: 0 28px 120px rgba(0, 0, 0, 0.32);
}

.global-map-card::after {
  position: absolute;
  inset: 14px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.global-map-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f7f9fc;
  filter: saturate(1.12) contrast(1.04);
}

.global-map-card figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

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

.case-strip article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    #07101a;
}

.contact {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 90px clamp(20px, 5vw, 82px);
  background:
    linear-gradient(90deg, rgba(59, 231, 255, 0.18), transparent 38%),
    linear-gradient(270deg, rgba(255, 209, 102, 0.14), transparent 40%),
    #071019;
}

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

  nav {
    display: none;
  }

  .hero {
    min-height: 880px;
    padding-top: 116px;
  }

  .hero-content {
    align-self: start;
  }

  .signal-panel {
    right: 20px;
    bottom: 28px;
  }

  .section-heading,
  .tech-shell,
  .global-shell,
  .service-grid,
  .case-strip {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

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

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

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

  .language-switcher {
    min-height: 38px;
    padding: 0 8px;
  }

  .language-switcher span {
    display: none;
  }

  .language-switcher select {
    max-width: 108px;
    font-size: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 820px;
    padding: 104px 18px 220px;
  }

  h1 {
    font-size: 42px;
  }

  .signal-panel {
    grid-template-columns: 1fr;
  }

  .signal-panel div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-panel div:last-child {
    border-bottom: 0;
  }

  .section,
  .contact {
    padding: 72px 18px;
  }

  .tech-copy,
  .global-copy,
  .tech-metrics div,
  .global-stats div,
  .service-grid article,
  .case-strip article {
    padding: 24px;
  }

  .global-stats {
    grid-template-columns: 1fr;
  }

  .global-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .global-stats div:last-child {
    border-bottom: 0;
  }

  .global-map-card {
    padding: 10px;
  }
}
