:root {
  color-scheme: light;
  --blue: #2f78ba;
  --blue-strong: #1f67aa;
  --blue-dark: #0b365f;
  --blue-deep: #051c33;
  --blue-light: #55a8dc;
  --ink: #25313b;
  --muted: #66737f;
  --line: #d9e3eb;
  --surface: #f4f8fb;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.72;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blue);
  color: #fff;
}

.header-inner {
  max-width: 1500px;
  min-height: 76px;
  margin: 0 auto;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 10px;
  background: #fff;
}

.brand-name {
  font-size: 24px;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 760;
}

.nav a {
  color: #fff;
  text-decoration: none;
}

.nav span {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.hero {
  background:
    linear-gradient(90deg, rgba(3, 14, 27, 0.94), rgba(4, 25, 47, 0.9) 45%, rgba(8, 49, 82, 0.72)),
    radial-gradient(circle at 78% 45%, rgba(85, 168, 220, 0.52), transparent 33%),
    linear-gradient(135deg, #07192c 0%, #0d355e 48%, #2f78ba 100%);
  color: #fff;
  overflow: hidden;
}

.hero-inner {
  max-width: 1500px;
  min-height: 540px;
  margin: 0 auto;
  padding: 74px 38px 76px;
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(480px, 1fr);
  align-items: center;
  gap: 64px;
  position: relative;
}

.hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.28;
  pointer-events: none;
}

.hero-copy,
.hero-product {
  position: relative;
}

.eyebrow,
.section-label {
  margin-bottom: 14px;
  color: #62c4ff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: 62px;
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 23px;
  font-weight: 650;
}

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

.primary-action,
.secondary-action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 850;
}

.primary-action {
  background: var(--blue-light);
  color: #fff;
}

.secondary-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-product {
  min-height: 360px;
}

.product-shell {
  width: 100%;
  max-width: 660px;
  margin-left: auto;
  border: 1px solid rgba(209, 234, 255, 0.35);
  border-radius: 8px;
  background: rgba(5, 22, 39, 0.78);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
  transform: perspective(1200px) rotateY(-10deg);
  overflow: hidden;
}

.product-top {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(209, 234, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.product-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #6ed0ff;
}

.product-top strong {
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.product-body {
  padding: 24px;
}

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

.metrics div {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(209, 234, 255, 0.18);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
}

.metrics b {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.metrics strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 23px;
  overflow-wrap: anywhere;
}

.chart {
  height: 170px;
  margin: 22px 0;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 14px;
  border-radius: 5px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    rgba(255, 255, 255, 0.06);
  background-size: 100% 34px;
}

.chart i {
  display: block;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #72d5ff, #2f78ba);
}

.chart i:nth-child(1) { height: 45%; }
.chart i:nth-child(2) { height: 72%; }
.chart i:nth-child(3) { height: 54%; }
.chart i:nth-child(4) { height: 86%; }
.chart i:nth-child(5) { height: 63%; }
.chart i:nth-child(6) { height: 78%; }

.table-lines {
  display: grid;
  gap: 10px;
}

.table-lines span {
  height: 16px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(114, 213, 255, 0.44), rgba(255, 255, 255, 0.09));
}

.table-lines span:nth-child(2) { width: 86%; }
.table-lines span:nth-child(3) { width: 72%; }
.table-lines span:nth-child(4) { width: 92%; }

.company-section,
.products-section,
.capabilities-section,
.contact-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 76px 38px;
}

.company-section {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(420px, 1fr);
  gap: 70px;
  align-items: center;
}

h2 {
  margin-bottom: 22px;
  color: var(--blue-strong);
  font-size: 38px;
  line-height: 1.24;
  letter-spacing: 0;
}

.company-copy p:not(.section-label) {
  color: #676f76;
  font-size: 19px;
  font-weight: 650;
}

.company-visual {
  height: 360px;
  overflow: hidden;
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(47, 120, 186, 0.14), rgba(10, 54, 95, 0.08)),
    linear-gradient(180deg, #f5f9fc, #ddebf5);
  position: relative;
}

.building-card {
  position: absolute;
  right: 8%;
  bottom: -40px;
  width: 58%;
  height: 330px;
  transform: skewY(-8deg);
  background: linear-gradient(90deg, #d7e5ef, #ffffff 45%, #b9d0df);
  box-shadow: -28px 24px 48px rgba(18, 54, 84, 0.22);
}

.building-card span {
  float: left;
  width: 22%;
  height: 48px;
  margin: 18px 0 0 8%;
  background: linear-gradient(180deg, #8cb9d8, #f6fbff);
}

.products-section {
  background: var(--surface);
  max-width: none;
}

.products-section > .section-title,
.products-section > .product-grid,
.capabilities-section,
.contact-section {
  max-width: 1500px;
}

.products-section > .section-title,
.products-section > .product-grid {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin-bottom: 28px;
}

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

.product-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.product-grid .main-product {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(8, 44, 78, 0.94), rgba(47, 120, 186, 0.88)),
    var(--blue-strong);
}

h3 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.28;
  letter-spacing: 0;
}

.product-grid p,
.capability-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
}

.main-product p {
  color: rgba(255, 255, 255, 0.82);
}

.capability-tabs {
  display: flex;
  margin: 8px 0 26px;
  background: var(--blue-light);
}

.capability-tabs span {
  min-width: 150px;
  padding: 15px 28px;
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  text-align: center;
}

.capability-tabs span:first-child {
  background: var(--blue-strong);
}

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

.capability-grid div,
.contact-grid div {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.capability-grid div {
  min-height: 170px;
  padding: 28px;
}

.capability-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-strong);
  font-size: 22px;
}

.contact-section {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-heading h2 {
  color: var(--ink);
}

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

.contact-grid div {
  min-height: 120px;
  padding: 24px;
}

.contact-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.contact-grid strong,
.contact-grid a {
  font-size: 19px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(38px, calc((100vw - 1500px) / 2 + 38px));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-size: 15px;
}

.site-footer a {
  margin-left: 22px;
  font-weight: 760;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 74px 24px 92px;
}

.legal-page h1 {
  margin-bottom: 10px;
  color: var(--blue-strong);
  font-size: 56px;
  line-height: 1.1;
}

.legal-page h2 {
  margin-top: 36px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 25px;
}

.legal-page p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
}

.updated {
  margin-bottom: 42px;
}

@media (max-width: 1120px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 28px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 16px;
  }

  .hero-inner,
  .company-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 40px;
  }

  .product-shell {
    margin-left: 0;
    transform: none;
  }

  .product-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .brand-name {
    white-space: normal;
    font-size: 19px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-inner,
  .company-section,
  .products-section,
  .capabilities-section,
  .contact-section {
    padding-left: 22px;
    padding-right: 22px;
  }

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

  .capability-tabs {
    flex-wrap: wrap;
  }

  .capability-tabs span {
    flex: 1 1 50%;
    min-width: 0;
  }

  .site-footer {
    flex-direction: column;
    padding-left: 22px;
    padding-right: 22px;
  }

  .site-footer a {
    margin-left: 0;
    margin-right: 18px;
  }
}
