:root {
  --ink: #071722;
  --ink-2: #0b2533;
  --slate: #3f6172;
  --muted: #547384;
  --line: #b8cfda;
  --line-strong: #7fa7b8;
  --pale: #eef6f9;
  --white: #ffffff;
  --green: #22d77e;
  --blue: #13b6ef;
  --electric: #3762ff;
  --teal: #20b8a9;
  --shadow: 0 28px 70px rgba(7, 23, 34, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f8fcfd 0%, #ffffff 18%, #f3f9fb 100%);
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.58;
  font-weight: 560;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 3px solid rgba(19, 182, 239, 0.42);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, min-height 180ms ease;
}

.site-header[data-elevated="true"] {
  min-height: 66px;
  box-shadow: 0 12px 32px rgba(7, 23, 34, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--slate);
  font-size: 16px;
  font-weight: 800;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--blue);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 2px solid rgba(127, 167, 184, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.language-switch a,
.language-switch span {
  min-width: 34px;
  padding: 5px 9px;
  border: 0;
  border-radius: 999px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.language-switch span {
  color: var(--white);
  background: var(--ink);
}

.main-nav .language-switch a:hover {
  color: var(--ink);
  border-bottom-color: transparent;
  background: rgba(19, 182, 239, 0.12);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.82fr);
  gap: 56px;
  min-height: calc(100vh - 76px);
  padding: 86px 6vw 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 16%, rgba(34, 215, 126, 0.18), transparent 28%),
    radial-gradient(circle at 68% 24%, rgba(19, 182, 239, 0.18), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f4fbfd 50%, #edf7fa 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--green) 0 36%, var(--blue) 36% 68%, var(--electric) 68% 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -28vw;
  width: 58vw;
  height: 58vw;
  border: 34px solid rgba(19, 182, 239, 0.1);
  border-radius: 50%;
}

.hero-copy,
.hero-system {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: min(520px, 100%);
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 1.05;
  font-weight: 850;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--ink-2);
  font-size: 24px;
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid var(--line-strong);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 900;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #12394c);
  border-color: #12394c;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
}

.hero-system {
  align-self: center;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 244, 249, 0.98)),
    #eef7fa;
  border: 3px solid rgba(80, 139, 161, 0.58);
  border-radius: 24px;
  box-shadow: 0 30px 78px rgba(7, 23, 34, 0.2);
}

.hero-system::before {
  content: "";
  display: block;
  height: 8px;
  margin: -10px 0 26px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--electric), var(--teal));
}

.system-topline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.system-topline span {
  padding: 16px 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(80, 139, 161, 0.36);
  border-radius: 12px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 24px rgba(7, 23, 34, 0.06);
}

.signal-map {
  position: relative;
  min-height: 380px;
  background:
    radial-gradient(circle at 50% 42%, rgba(19, 182, 239, 0.18), transparent 45%),
    linear-gradient(90deg, rgba(19, 182, 239, 0.18) 2px, transparent 2px),
    linear-gradient(0deg, rgba(34, 215, 126, 0.15) 2px, transparent 2px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(233, 245, 250, 0.98));
  background-size: 100% 100%, 56px 56px, 56px 56px, 100% 100%;
  border: 3px solid rgba(80, 139, 161, 0.48);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.signal-map::before,
.signal-map::after {
  content: "";
  position: absolute;
  inset: 20%;
  border: 5px solid rgba(19, 182, 239, 0.42);
  border-radius: 44px;
  transform: rotate(31deg);
}

.signal-map::after {
  inset: 28% 14%;
  border-color: rgba(34, 215, 126, 0.42);
  transform: rotate(-24deg);
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  color: var(--white);
  background: var(--ink);
  border: 6px solid var(--blue);
  border-radius: 50%;
  font-size: 19px;
  font-weight: 950;
  box-shadow: 0 16px 38px rgba(19, 182, 239, 0.22);
}

.node-a { left: 8%; top: 16%; border-color: var(--green); }
.node-b { left: 42%; top: 9%; border-color: var(--blue); }
.node-c { right: 9%; top: 22%; border-color: var(--electric); }
.node-d { left: 18%; bottom: 14%; border-color: var(--blue); }
.node-e { left: 50%; bottom: 24%; border-color: var(--green); }
.node-f { right: 13%; bottom: 10%; border-color: var(--teal); }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.hero-metrics div {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(7, 23, 34, 0.08);
}

.hero-metrics div:nth-child(1) {
  background: linear-gradient(135deg, rgba(34, 215, 126, 0.26), rgba(255, 255, 255, 0.95));
}

.hero-metrics div:nth-child(2) {
  background: linear-gradient(135deg, rgba(19, 182, 239, 0.24), rgba(255, 255, 255, 0.95));
}

.hero-metrics div:nth-child(3) {
  background: linear-gradient(135deg, rgba(32, 184, 169, 0.24), rgba(255, 255, 255, 0.95));
}

.hero-metrics strong {
  display: block;
  margin-bottom: 4px;
  font-size: 31px;
  line-height: 1.05;
}

.hero-metrics span {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 850;
}

.section {
  position: relative;
  padding: 96px 6vw;
  border-top: 3px solid rgba(184, 207, 218, 0.72);
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: 28px auto auto 6vw;
  width: 76px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--electric));
}

.section > * {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 42px;
}

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

#cases .section-heading {
  max-width: 1500px;
}

#cases .section-heading p:not(.eyebrow) {
  white-space: nowrap;
}

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

.solutions h2 {
  font-size: clamp(34px, 2.65vw, 54px);
  white-space: nowrap;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.14;
  font-weight: 850;
}

h2::after {
  content: "";
  display: block;
  width: 88px;
  height: 8px;
  margin-top: 18px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.section-heading p:not(.eyebrow) {
  color: var(--ink-2);
  font-size: 21px;
  font-weight: 680;
}

.framework-grid,
.product-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.framework-grid article,
.product-grid article,
.case-card {
  position: relative;
  min-height: 210px;
  padding: 30px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(7, 23, 34, 0.08);
}

.framework-grid article::before,
.product-grid article::before,
.case-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--blue);
}

.framework-grid article:nth-child(1)::before,
.product-grid article:nth-child(1)::before,
.case-card:nth-child(1)::before { background: var(--green); }

.framework-grid article:nth-child(2)::before,
.product-grid article:nth-child(2)::before,
.case-card:nth-child(2)::before { background: var(--blue); }

.framework-grid article:nth-child(3)::before,
.product-grid article:nth-child(3)::before,
.case-card:nth-child(3)::before { background: var(--electric); }

.framework-grid article:nth-child(4)::before,
.product-grid article:nth-child(4)::before,
.case-card:nth-child(4)::before { background: var(--teal); }

.framework-grid article {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(7, 23, 34, 0.14);
}

.framework-grid article::before {
  display: none;
}

.framework-grid article:nth-child(1) {
  background: linear-gradient(135deg, #22d77e 0%, #71efb0 100%);
}

.framework-grid article:nth-child(2) {
  background: linear-gradient(135deg, #13b6ef 0%, #7adfff 100%);
}

.framework-grid article:nth-child(3) {
  background: linear-gradient(135deg, #3762ff 0%, #7b93ff 100%);
}

.framework-grid article:nth-child(4) {
  background: linear-gradient(135deg, #20b8a9 0%, #61e0d4 100%);
}

.framework-grid h3,
.framework-grid p {
  color: var(--ink);
}

.framework-grid article:nth-child(3) h3,
.framework-grid article:nth-child(3) p {
  color: var(--white);
}

.framework-grid .accent {
  background: rgba(7, 23, 34, 0.9);
}

.framework-grid article:nth-child(3) .accent {
  background: rgba(255, 255, 255, 0.95);
}

h3 {
  margin-bottom: 12px;
  font-size: 27px;
  line-height: 1.25;
  font-weight: 950;
}

.framework-grid p,
.product-grid p,
.case-card p {
  color: var(--ink-2);
  font-size: 18px;
  font-weight: 650;
}

.accent {
  display: block;
  width: 48px;
  height: 8px;
  margin-bottom: 22px;
  background: var(--blue);
}

.accent.green { background: var(--green); }
.accent.blue { background: var(--blue); }
.accent.electric { background: var(--electric); }
.accent.teal { background: var(--teal); }

.solutions {
  background:
    linear-gradient(135deg, rgba(7, 23, 34, 0.96), rgba(10, 48, 65, 0.96)),
    var(--ink);
  color: var(--white);
}

.solutions .eyebrow,
.solutions h2,
.solutions .section-heading p {
  color: var(--white);
}

.solutions h2::after {
  background: linear-gradient(90deg, var(--green), var(--blue), var(--electric));
}

.solution-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.solution-card {
  min-height: 360px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.solution-card span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 950;
}

.solution-card:nth-child(1) span { background: var(--green); }
.solution-card:nth-child(2) span { background: var(--blue); }
.solution-card:nth-child(3) span { background: var(--electric); }
.solution-card:nth-child(4) span { background: var(--teal); }

.solution-card h3 {
  color: var(--ink);
  font-weight: 950;
}

.solution-card p {
  color: var(--ink-2);
  font-size: 18px;
  font-weight: 650;
}

.solution-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.solution-card li {
  padding: 11px 0;
  border-top: 2px solid var(--line);
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

.product-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 980px;
  margin: 0 auto 38px;
  border: 4px solid rgba(7, 23, 34, 0.16);
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(7, 23, 34, 0.08);
}

.product-flow span {
  position: relative;
  padding: 24px 12px;
  color: var(--ink);
  background: #ffffff;
  font-size: 18px;
  font-weight: 950;
  text-align: center;
}

.product-flow span + span {
  border-left: 4px solid rgba(7, 23, 34, 0.12);
}

.product-flow span + span::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 50%;
  z-index: 2;
  width: 18px;
  height: 18px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%);
  box-shadow: 0 0 0 2px rgba(7, 23, 34, 0.12);
}

.product-flow span:nth-child(2)::before { background: var(--green); }
.product-flow span:nth-child(3)::before { background: var(--blue); }
.product-flow span:nth-child(4)::before { background: var(--electric); }
.product-flow span:nth-child(5)::before { background: var(--teal); }

.product-grid article {
  min-height: 240px;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(7, 23, 34, 0.13);
}

.product-grid article::before {
  display: none;
}

.product-grid article:nth-child(1) {
  background: linear-gradient(135deg, #22d77e 0%, #71efb0 100%);
}

.product-grid article:nth-child(2) {
  background: linear-gradient(135deg, #13b6ef 0%, #7adfff 100%);
}

.product-grid article:nth-child(3) {
  background: linear-gradient(135deg, #3762ff 0%, #7b93ff 100%);
}

.product-grid article:nth-child(4) {
  background: linear-gradient(135deg, #20b8a9 0%, #61e0d4 100%);
}

.product-grid article h3::before {
  content: "";
  display: block;
  width: 54px;
  height: 10px;
  margin-bottom: 20px;
  border-radius: 99px;
  background: var(--blue);
}

.product-grid article:nth-child(1) h3::before { background: var(--green); }
.product-grid article:nth-child(2) h3::before { background: var(--blue); }
.product-grid article:nth-child(3) h3::before { background: var(--electric); }
.product-grid article:nth-child(4) h3::before { background: var(--teal); }

.product-grid article p {
  max-width: 92%;
}

.product-grid article:nth-child(3) h3,
.product-grid article:nth-child(3) p {
  color: var(--white);
}

.product-grid article:nth-child(3) h3::before {
  background: rgba(255, 255, 255, 0.95);
}

.customers {
  background:
    radial-gradient(circle at 84% 16%, rgba(34, 215, 126, 0.18), transparent 28%),
    linear-gradient(180deg, #f1f8fb, #ffffff);
}

.customer-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.customer-panels figure {
  margin: 0;
  padding: 24px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(7, 23, 34, 0.08);
}

.customer-panels img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
}

.customer-panels figcaption {
  margin-top: 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.case-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  margin-bottom: 20px;
}

.case-top h3 {
  margin-bottom: 0;
}

.case-top img {
  width: 92px;
  max-height: 42px;
  object-fit: contain;
}

.case-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 950;
}

.case-card {
  background:
    linear-gradient(180deg, #ffffff, #f5fafc);
}

.case-card::before {
  inset: 3px auto 3px 0;
  border-radius: 99px 0 0 99px;
}

.case-card:nth-child(1) {
  border-color: rgba(34, 215, 126, 0.42);
}

.case-card:nth-child(2) {
  border-color: rgba(19, 182, 239, 0.42);
}

.case-card:nth-child(3) {
  border-color: rgba(55, 98, 255, 0.38);
}

.case-card:nth-child(4) {
  border-color: rgba(32, 184, 169, 0.42);
}

.service {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) 1.25fr;
  gap: 48px;
  align-items: center;
  background:
    radial-gradient(circle at 8% 16%, rgba(34, 215, 126, 0.18), transparent 24%),
    radial-gradient(circle at 88% 72%, rgba(55, 98, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #071722, #0d3445);
  color: var(--white);
}

.service h2 {
  color: var(--white);
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.service-steps li {
  counter-increment: steps;
  min-height: 126px;
  padding: 24px 18px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 19px;
  font-weight: 950;
}

.service-steps li::before {
  content: "0" counter(steps);
  display: block;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 82px 6vw;
  background:
    linear-gradient(90deg, rgba(34, 215, 126, 0.16), rgba(19, 182, 239, 0.18)),
    #f3fafc;
}

.contact .button.primary {
  box-shadow: 0 18px 42px rgba(7, 23, 34, 0.18);
}

.contact div {
  max-width: 760px;
}

.contact p:not(.eyebrow) {
  color: var(--ink-2);
  font-size: 21px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 6vw;
  color: var(--white);
  background: var(--ink);
  border-top: 3px solid var(--line);
  font-weight: 800;
}

:lang(en) .main-nav {
  gap: 22px;
}

:lang(en) .solutions h2 {
  max-width: 1260px;
  white-space: normal;
}

:lang(en) .hero-metrics strong {
  font-size: 28px;
}

:lang(en) .solution-card,
:lang(en) .framework-grid article,
:lang(en) .product-grid article,
:lang(en) .case-card {
  padding: 28px;
}

:lang(en) .solution-card h3,
:lang(en) .framework-grid h3,
:lang(en) .product-grid h3,
:lang(en) .case-card h3 {
  font-size: 25px;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .framework-grid,
  .product-grid,
  .solution-layout,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    min-height: auto;
    padding: 14px 20px;
  }

  .brand span {
    display: none;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 16px;
    font-size: 13px;
  }

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

  .hero {
    padding-top: 56px;
  }

  .hero-lead,
  .section-heading p:not(.eyebrow),
  .contact p:not(.eyebrow) {
    font-size: 17px;
  }

  #cases .section-heading p:not(.eyebrow) {
    white-space: normal;
  }

  .system-topline,
  .hero-metrics,
  .framework-grid,
  .product-grid,
  .solution-layout,
  .case-grid,
  .customer-panels,
  .product-flow {
    grid-template-columns: 1fr;
  }

  .signal-map {
    min-height: 280px;
  }

  .node {
    width: 68px;
    height: 68px;
    font-size: 14px;
  }

  .customer-panels img {
    height: 210px;
  }

  .contact,
  .site-footer {
    display: block;
  }

  .contact .button {
    margin-top: 22px;
  }

  .site-footer span {
    display: block;
    margin-bottom: 8px;
  }
}
