:root {
  --ink: #0c1628;
  --navy: #071522;
  --deep: #04111c;
  --teal: #1692a7;
  --teal-strong: #0d8298;
  --line: #d7e0e8;
  --muted: #5b6878;
  --surface: #f5f8fa;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(7, 21, 34, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--white);
  letter-spacing: 0;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 20px;
  height: 82px;
  padding: 0 42px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(215, 224, 232, 0.7);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease, height 0.2s ease;
}

.site-header.is-scrolled {
  height: 72px;
  box-shadow: 0 10px 34px rgba(7, 21, 34, 0.08);
}

.brand {
  display: inline-grid;
  grid-template-columns: 62px auto;
  align-items: center;
  gap: 14px;
  min-width: 270px;
}

.brand-logo {
  width: 62px;
  height: 62px;
  display: block;
  object-fit: contain;
  border-radius: 50%;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: #1f3148;
  font-size: 12px;
  line-height: 1.22;
}

.desktop-nav,
.network-links,
.language-toggle {
  display: flex;
  align-items: center;
}

.desktop-nav {
  justify-content: center;
  gap: 38px;
  color: #132036;
  font-size: 15px;
  font-weight: 650;
}

.desktop-nav a {
  position: relative;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.network-links {
  gap: 22px;
  color: #0e2b45;
  font-size: 12px;
  font-weight: 700;
}

.network-links a {
  position: relative;
  display: grid;
  gap: 2px;
  padding-right: 15px;
  line-height: 1.1;
  white-space: nowrap;
}

.network-links span {
  font-size: 13px;
  font-weight: 850;
}

.network-links small {
  color: #4d6278;
  font-size: 11px;
  font-weight: 700;
}

.network-links i {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--teal);
  font-size: 11px;
}

.language-toggle {
  flex-direction: column;
  gap: 1px;
  width: 38px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.language-toggle button {
  width: 30px;
  height: 24px;
  color: #5b6878;
  font-size: 10px;
  font-weight: 850;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.language-toggle button.is-active {
  color: var(--white);
  background: var(--teal-strong);
}

.mobile-nav button {
  min-height: 42px;
  color: #5b6878;
  font-size: 13px;
  font-weight: 850;
  background: var(--surface);
  border: 0;
}

.mobile-nav button.is-active {
  color: var(--white);
  background: var(--teal-strong);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.mobile-nav {
  position: fixed;
  z-index: 19;
  top: 72px;
  right: 16px;
  left: 16px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  padding: 13px 14px;
  background: var(--surface);
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 650px;
  padding-top: 82px;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 17, 28, 0.96) 0%, rgba(4, 17, 28, 0.83) 30%, rgba(4, 17, 28, 0.36) 62%, rgba(4, 17, 28, 0.86) 100%),
    linear-gradient(180deg, rgba(4, 17, 28, 0.14) 0%, rgba(4, 17, 28, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(420px, 620px) minmax(280px, 360px);
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  width: min(1180px, calc(100% - 64px));
  min-height: calc(650px - 82px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(40px, 4.45vw, 64px);
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.82;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 18px;
  max-width: 620px;
  margin: 32px 0 0;
}

.proof-row span {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.35;
}

.proof-row i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #b9eef5;
  font-size: 22px;
  border: 1px solid rgba(185, 238, 245, 0.52);
  border-radius: 8px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn.primary {
  color: var(--white);
  background: var(--teal-strong);
}

.btn.primary:hover {
  background: #0a7285;
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
}

.btn.ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.service-path {
  justify-self: end;
  max-width: 345px;
}

.service-path h2 {
  margin: 0 0 28px;
  font-size: 26px;
  font-weight: 850;
}

.service-path ol {
  position: relative;
  display: grid;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-path ol::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 20px;
  width: 1px;
  background: rgba(91, 219, 234, 0.65);
}

.service-path li {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: center;
}

.service-path i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #c9f7fb;
  font-size: 21px;
  background: rgba(4, 17, 28, 0.55);
  border: 1px solid rgba(91, 219, 234, 0.68);
  border-radius: 50%;
}

.service-path strong {
  display: block;
  font-size: 18px;
}

.service-path small {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.stage-section,
.why {
  padding: 70px 42px;
  background: var(--white);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.solutions h2,
.consult-panel h2,
.why h2 {
  margin: 0;
  color: #0b1b32;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.24;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.stage-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 860px;
  margin: 0 auto 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.stage-tab {
  min-height: 54px;
  color: #19304a;
  background: var(--white);
  border: 0;
  border-right: 1px solid var(--line);
  font-weight: 800;
  cursor: pointer;
}

.stage-tab:last-child {
  border-right: 0;
}

.stage-tab.is-active {
  color: var(--white);
  background: var(--navy);
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stage-grid.is-hidden {
  display: none;
}

.stage-grid article {
  min-height: 230px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stage-grid i,
.why-grid i {
  color: var(--teal-strong);
  font-size: 28px;
}

.stage-grid h3,
.why-grid h3 {
  margin: 20px 0 10px;
  color: #10213a;
  font-size: 19px;
  line-height: 1.35;
}

.stage-grid p,
.why-grid p,
.solutions span {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.solutions {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 54px;
  padding: 70px max(42px, calc((100vw - 1180px) / 2));
  background: #eef4f6;
}

.scenario-list {
  display: grid;
  border-top: 1px solid #cad6df;
}

.scenario-list a {
  display: grid;
  grid-template-columns: 220px 1fr 32px;
  gap: 26px;
  align-items: center;
  min-height: 86px;
  border-bottom: 1px solid #cad6df;
}

.scenario-list strong {
  color: #10213a;
  font-size: 18px;
}

.scenario-list i {
  color: var(--teal-strong);
  font-size: 22px;
}

.consult {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(420px, 1.12fr);
  min-height: 480px;
  color: var(--white);
  background: var(--deep);
}

.consult > img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.consult-panel {
  padding: 64px max(42px, calc((100vw - 1180px) / 2)) 64px 54px;
  background: linear-gradient(90deg, rgba(4, 17, 28, 0.94), #062035 74%);
}

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

.consult-panel p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.consult-panel .contact-direct {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.contact-direct a,
.footer-email {
  color: #62d4df;
  font-weight: 800;
}

.checkline {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin: 24px 0 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.checkline i {
  margin-right: 7px;
  color: #44c4d2;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 780px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form label.wide {
  grid-column: span 2;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.contact-form input,
.contact-form select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  color: #132036;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 4px;
  outline: 0;
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: #4fd0dc;
  box-shadow: 0 0 0 3px rgba(79, 208, 220, 0.18);
}

.contact-form button {
  align-self: end;
  min-height: 48px;
}

.form-note {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  font-size: 13px;
}

.form-note.is-success {
  color: #9af0bd;
}

.why {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.why-grid article {
  padding: 30px;
  border-right: 1px solid var(--line);
}

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

.site-footer {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, 520px);
  align-items: start;
  gap: 56px;
  padding: 42px max(42px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.76);
  background: #07121f;
}

.site-footer strong {
  display: block;
  color: var(--white);
  font-size: 18px;
}

.site-footer p {
  max-width: none;
  margin: 10px 0 0;
  line-height: 1.7;
  white-space: nowrap;
}

.footer-email {
  display: inline-block;
  margin-top: 10px;
}

.footer-social {
  display: grid;
  gap: 14px;
  justify-items: end;
}

.footer-social p {
  margin: 0;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.social-screenshots {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 14px;
}

.social-screenshots img {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 240px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.social-screenshots img:nth-child(2) {
  max-width: 210px;
}

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

  .network-links {
    display: none;
  }

  .language-toggle {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 44px;
    align-content: center;
    padding: 64px 0;
  }

  .service-path {
    justify-self: start;
    max-width: 560px;
  }

  .stage-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-content {
    width: min(100% - 34px, 680px);
    min-height: 640px;
    padding: 48px 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .proof-row,
  .stage-tabs,
  .contact-form,
  .consult,
  .why-grid,
  .stage-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .stage-section,
  .why {
    padding: 56px 18px;
  }

  .stage-tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .solutions {
    padding: 56px 18px;
  }

  .scenario-list a {
    grid-template-columns: 1fr 28px;
    gap: 10px 16px;
    padding: 18px 0;
  }

  .scenario-list span {
    grid-column: 1 / -1;
  }

  .consult > img {
    min-height: 260px;
  }

  .consult-panel {
    padding: 42px 18px 52px;
  }

  .contact-form label.wide {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 34px 18px;
  }

  .footer-social {
    justify-items: start;
  }

  .site-footer p {
    white-space: normal;
  }

  .social-screenshots {
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .social-screenshots img {
    max-width: min(46vw, 220px);
    max-height: 280px;
  }
}

@media (max-width: 520px) {
  .brand {
    grid-template-columns: 46px auto;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

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

  .brand small {
    font-size: 11px;
  }

  .mobile-nav {
    grid-template-columns: 1fr;
  }
}
