:root {
  --xi-blue: #075eff;
  --xi-blue-2: #0e7bff;
  --xi-blue-3: #56b8ff;
  --xi-navy: #06152e;
  --xi-text: #07122d;
  --xi-muted: #5c6b86;
  --xi-soft: #eef6ff;
  --xi-line: #dbe8f7;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(6, 28, 67, .12);
  --shadow-soft: 0 12px 34px rgba(7, 94, 255, .13);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--xi-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background: #f8fbff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(219, 232, 247, .75);
  backdrop-filter: blur(18px);
  transition: box-shadow .24s ease, background .24s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 10px 30px rgba(4, 31, 74, .08);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 600;
  color: #16223a;
}

.nav a {
  position: relative;
  padding: 25px 0;
  transition: color .2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--xi-blue);
  transform: translateX(-50%);
  transition: width .2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--xi-blue);
}

.nav a:hover::after,
.nav a.active::after {
  width: 28px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.login-link {
  font-size: 15px;
  font-weight: 600;
  color: #16223a;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 28px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--xi-blue), #0050e8);
  box-shadow: 0 14px 30px rgba(7, 94, 255, .24);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(7, 94, 255, .32);
}

.btn-outline {
  color: var(--xi-blue);
  background: rgba(255, 255, 255, .78);
  border-color: rgba(7, 94, 255, .65);
  box-shadow: 0 10px 24px rgba(7, 94, 255, .08);
}

.btn-small {
  min-height: 42px;
  padding-inline: 22px;
  font-size: 14px;
  border-radius: 8px;
}

.btn-white {
  color: var(--xi-blue);
  background: #fff;
  box-shadow: 0 16px 36px rgba(255, 255, 255, .22);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #f1f6ff;
  padding: 10px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #06152e;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 530px;
  padding: 72px 0 70px;
  background:
    radial-gradient(circle at 70% 35%, rgba(88, 181, 255, .32), transparent 34%),
    radial-gradient(circle at 42% 30%, rgba(7, 94, 255, .11), transparent 36%),
    linear-gradient(115deg, #f6fbff 0%, #edf6ff 44%, #e9f3ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .58) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255, 255, 255, .42) 0 1px, transparent 1px 100%);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 70%, transparent 100%);
  opacity: .35;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -20%;
  width: 54vw;
  height: 54vw;
  background: radial-gradient(circle, rgba(7, 94, 255, .13), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: 42px;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--xi-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #79c4ff;
}

.hero h1 {
  margin: 0;
  color: #07122d;
  font-size: clamp(40px, 5.05vw, 64px);
  line-height: 1.22;
  letter-spacing: -.06em;
  font-weight: 900;
}

.hero h1 span {
  color: var(--xi-blue);
}

.hero-lead {
  max-width: 540px;
  margin: 24px 0 0;
  color: #4e5e78;
  font-size: 19px;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 38px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 28px;
  color: #263752;
  font-size: 14px;
  font-weight: 700;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badges i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--xi-blue);
  box-shadow: 0 0 0 5px rgba(7, 94, 255, .11);
}

.hero-badges i::before {
  content: "";
  display: block;
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(-1px, 4px);
}

.hero-visual {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.hero-visual img {
  width: min(100%, 640px);
  filter: drop-shadow(0 30px 42px rgba(7, 94, 255, .18));
}

.trust-strip {
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--xi-line);
  border-bottom: 1px solid var(--xi-line);
}

.trust-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 42px;
}

.trust-title {
  flex: 0 0 auto;
  color: #2d3d58;
  font-size: 14px;
  font-weight: 700;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 26px;
  min-width: 0;
}

.wordmark {
  color: #101827;
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.03em;
  opacity: .92;
}

.wordmark.green { color: #4c9a2a; }
.wordmark.black { color: #070707; letter-spacing: .11em; }
.wordmark.blue { color: #70b9e6; }
.wordmark.red { color: #e31b23; }
.wordmark.purple { color: #6d45e7; }

.services,
.solutions {
  padding: 72px 0 84px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

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

.section-heading h2,
.why h2,
.cta h2 {
  margin: 0;
  color: #07122d;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
  letter-spacing: -.04em;
  font-weight: 900;
}

.section-heading p:not(.eyebrow),
.why-copy > p,
.cta p {
  margin: 14px 0 0;
  color: var(--xi-muted);
  font-size: 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 174px;
  padding: 26px 16px 22px;
  text-align: center;
  border: 1px solid rgba(219, 232, 247, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 38px rgba(19, 49, 95, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(7, 94, 255, .35);
  box-shadow: 0 24px 48px rgba(7, 94, 255, .14);
}

.service-card img {
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;
}

.service-card h3,
.why-features h3,
.solution-grid h3 {
  margin: 0;
  color: #07122d;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

.service-card p,
.why-features p,
.solution-grid p,
.footer-inner p {
  margin: 10px 0 0;
  color: var(--xi-muted);
  font-size: 13px;
  line-height: 1.7;
}

.why {
  position: relative;
  overflow: hidden;
  padding: 78px 0 82px;
  background:
    radial-gradient(circle at 73% 64%, rgba(0, 136, 255, .34), transparent 36%),
    linear-gradient(135deg, #05122a 0%, #071a3c 48%, #001c43 100%);
}

.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 35%, rgba(66, 172, 255, .28) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 20%, rgba(66, 172, 255, .22) 0 2px, transparent 3px);
  background-size: 110px 110px, 160px 160px;
  opacity: .24;
}

.why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 54px;
  align-items: center;
}

.why h2,
.cta h2 {
  color: #fff;
}

.why-copy > p,
.cta p {
  color: #bed1e9;
  max-width: 620px;
}

.why-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.why-features div {
  min-height: 174px;
  padding: 24px;
  border: 1px solid rgba(151, 205, 255, .22);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.why-features img {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.why-features h3 {
  color: #fff;
}

.why-features p {
  color: #b9cce4;
}

.map-panel {
  min-height: 430px;
  display: grid;
  place-items: center;
}

.map-panel img {
  width: min(100%, 640px);
  filter: drop-shadow(0 22px 45px rgba(0, 132, 255, .24));
}

.metrics {
  margin-top: -1px;
  padding: 48px 0;
  background: #06152e;
  border-top: 1px solid rgba(151, 205, 255, .18);
}

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

.metric-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-areas:
    "icon strong"
    "icon span";
  align-items: center;
  gap: 0 16px;
  padding: 26px 24px;
  border: 1px solid rgba(151, 205, 255, .18);
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
}

.metric-card img {
  grid-area: icon;
  width: 54px;
  height: 54px;
}

.metric-card strong {
  grid-area: strong;
  color: #fff;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 900;
}

.metric-card span {
  grid-area: span;
  color: #b6c9e2;
  font-size: 14px;
}

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

.solution-grid article {
  min-height: 190px;
  padding: 30px;
  border: 1px solid rgba(219, 232, 247, .94);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(241, 247, 255, .95));
  box-shadow: var(--shadow-soft);
}

.solution-grid article::before {
  content: "";
  display: block;
  width: 44px;
  height: 6px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--xi-blue), var(--xi-blue-3));
}

.solution-grid h3 {
  font-size: 22px;
}

.solution-grid p {
  font-size: 15px;
}

.cta {
  padding: 78px 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 255, 255, .16), transparent 28%),
    linear-gradient(135deg, #075eff, #0034b7);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta p {
  font-size: 17px;
}

.site-footer {
  padding: 34px 0;
  background: #06152e;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-inner p {
  color: #96aac4;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  color: #d9e8ff;
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 1120px) {
  .nav {
    gap: 24px;
    font-size: 14px;
  }

  .header-actions {
    gap: 12px;
  }

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

  .trust-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
    gap: 18px;
  }

  .trust-logos {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 960px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .header-inner {
    height: 64px;
    gap: 16px;
  }

  .brand img {
    height: 38px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 64px;
    left: 18px;
    right: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 14px;
    border: 1px solid var(--xi-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }

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

  .nav a {
    padding: 13px 14px;
    border-radius: 12px;
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover,
  .nav a.active {
    background: #eef5ff;
  }

  .header-actions {
    display: none;
  }

  .hero {
    padding: 54px 0 48px;
  }

  .hero-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead,
  .why-copy > p {
    margin-inline: auto;
  }

  .hero-buttons,
  .hero-badges {
    justify-content: center;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual img {
    width: min(100%, 520px);
  }

  .why-grid {
    gap: 34px;
  }

  .why-copy {
    text-align: center;
  }

  .map-panel {
    min-height: 320px;
  }

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

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

  .cta-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 48px);
    letter-spacing: -.055em;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.78;
  }

  .hero-buttons {
    gap: 12px;
  }

  .hero-buttons .btn,
  .cta .btn {
    width: 100%;
  }

  .hero-badges {
    gap: 14px;
    font-size: 12px;
  }

  .trust-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .wordmark {
    font-size: 20px;
  }

  .services,
  .solutions {
    padding: 54px 0 62px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .service-card {
    min-height: 150px;
    padding: 20px 10px 18px;
  }

  .service-card img {
    width: 38px;
    height: 38px;
    margin-bottom: 13px;
  }

  .service-card h3 {
    font-size: 15px;
  }

  .service-card p {
    display: none;
  }

  .why {
    padding: 58px 0 60px;
  }

  .why-features {
    grid-template-columns: 1fr;
  }

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

  .metric-card {
    grid-template-columns: 48px 1fr;
    padding: 22px;
  }

  .metric-card img {
    width: 48px;
    height: 48px;
  }

  .metric-card strong {
    font-size: 30px;
  }

  .cta {
    padding: 58px 0;
  }

  .footer-links {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav {
    left: 14px;
    right: 14px;
    grid-template-columns: 1fr;
  }

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

  .btn {
    min-height: 46px;
    padding-inline: 20px;
    font-size: 15px;
  }

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

  .section-heading h2,
  .why h2,
  .cta h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
