:root {
  --ink: #111827;
  --muted: #667085;
  --light: #f6f8fb;
  --white: #ffffff;
  --navy: #061425;
  --navy-2: #0a1d34;
  --blue: #1688d9;
  --blue-2: #0f6fb8;
  --aqua: #12b6a8;
  --line: #e5eaf1;
  --line-dark: rgba(160, 190, 230, 0.18);
  --container: 1180px;
  --shadow: 0 18px 48px rgba(15, 31, 55, 0.12);
  font-family: "HarmonyOS Sans SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  min-width: 1100px;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
}

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

button {
  font: inherit;
}

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

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

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

.center {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 max(32px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 118px;
  height: 34px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 800;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #344054;
  font-size: 14px;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--blue);
}

.section-dark {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(7, 28, 52, 0.92), rgba(5, 17, 31, 0.96)),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}

.section-light {
  background: var(--white);
}

.tech-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.86;
  background:
    linear-gradient(rgba(80, 149, 217, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 149, 217, 0.24) 1px, transparent 1px),
    radial-gradient(circle at 20% 35%, rgba(18, 182, 168, 0.32) 1px, transparent 3px),
    radial-gradient(circle at 72% 40%, rgba(22, 136, 217, 0.36) 1px, transparent 3px);
  background-size: 52px 52px, 52px 52px, 92px 92px, 120px 120px;
  animation: gridDrift 7s linear infinite;
}

.tech-grid::before,
.tech-grid::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.tech-grid::before {
  inset: -22%;
  background: linear-gradient(
    115deg,
    transparent 24%,
    rgba(22, 136, 217, 0.52) 44%,
    rgba(18, 182, 168, 0.42) 53%,
    transparent 76%
  );
  transform: translateX(-38%);
  animation: scanBeam 4.8s ease-in-out infinite;
}

.tech-grid::after {
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(18, 182, 168, 0.9) 0 2px, transparent 5px),
    radial-gradient(circle at 36% 68%, rgba(255, 255, 255, 0.66) 0 2px, transparent 5px),
    radial-gradient(circle at 62% 22%, rgba(22, 136, 217, 0.92) 0 2px, transparent 5px),
    radial-gradient(circle at 76% 52%, rgba(18, 182, 168, 0.78) 0 2px, transparent 5px),
    radial-gradient(circle at 84% 76%, rgba(255, 255, 255, 0.58) 0 2px, transparent 5px);
  opacity: 0.95;
  animation: pointPulse 3.8s ease-in-out infinite;
}

.hero {
  min-height: 520px;
  display: grid;
  align-items: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 86px 0 94px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  color: var(--aqua);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px auto 18px;
  max-width: 820px;
  font-size: 56px;
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 760px;
  margin: 0 auto;
  color: #d7e6f6;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.btn,
.text-link,
.footer-contact,
.floating-contact {
  border: 0;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  height: 46px;
  border-radius: 6px;
  font-weight: 800;
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(22, 136, 217, 0.28);
}

.btn-primary:hover {
  background: var(--blue-2);
}

.btn-secondary {
  color: #dbeafe;
  border: 1px solid rgba(190, 218, 247, 0.36);
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  border-color: rgba(190, 218, 247, 0.68);
}

.hero-proof {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof span {
  padding: 6px 14px;
  border: 1px solid rgba(210, 231, 250, 0.2);
  border-radius: 999px;
  color: #cfe2f4;
  font-size: 13px;
}

.about {
  padding: 86px 0;
}

.split-layout {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 58px;
  align-items: stretch;
}

.about-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--light);
  box-shadow: var(--shadow);
}

.about-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.section-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section-copy h2,
.section-heading h2,
.final-cta h2 {
  margin-top: 10px;
  color: inherit;
  font-size: 34px;
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: 0;
}

.section-copy p,
.section-heading p,
.final-cta p {
  max-width: 700px;
  margin-top: 16px;
  color: var(--muted);
}

.section-dark .section-heading p,
.section-dark .final-cta p {
  color: #b9cde1;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.about .check-list {
  gap: 18px;
  margin-top: 30px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #344054;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.about-note {
  max-width: 620px;
  margin-top: 28px;
  padding-left: 18px;
  border-left: 3px solid var(--blue);
  color: #667085;
  font-size: 16px;
  line-height: 1.8;
}

.text-link {
  margin-top: 28px;
  padding: 0;
  color: var(--blue);
  background: transparent;
  font-weight: 800;
}

.about .text-link {
  margin-top: auto;
  padding-top: 24px;
}

.services,
.scenarios {
  padding: 86px 0 92px;
}

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

.section-heading p {
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
  border-radius: 6px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.service-card h3,
.scenario-card h3 {
  margin-top: 24px;
  font-size: 21px;
  line-height: 1.25;
}

.service-card p,
.scenario-card p {
  margin-top: 14px;
  color: #b9cde1;
  font-size: 14px;
}

.advantages {
  padding: 82px 0;
  background: #fbfcfe;
}

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

.advantage-grid article {
  min-height: 158px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.045);
  text-align: center;
}

.advantage-grid strong {
  display: block;
  color: #182230;
  font-size: 18px;
}

.advantage-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scenario-card {
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(22, 136, 217, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
}

.final-cta {
  padding: 72px 0 78px;
  border-top: 1px solid var(--line-dark);
}

.final-cta .btn {
  margin-top: 28px;
}

.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 26px;
  z-index: 18;
  min-width: 96px;
  height: 42px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(22, 136, 217, 0.32);
  font-weight: 800;
}

@keyframes gridDrift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 260px 156px, 156px 260px, 276px 184px, -360px 220px;
  }
}

@keyframes scanBeam {
  0% {
    opacity: 0.36;
    transform: translateX(-52%);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.36;
    transform: translateX(52%);
  }
}

@keyframes pointPulse {
  0%,
  100% {
    opacity: 0.52;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 1;
    transform: translate3d(0, -24px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-grid,
  .tech-grid::before,
  .tech-grid::after {
    animation: none;
  }
}

.site-footer {
  padding: 48px 0 28px;
  color: #c3d4e6;
  background: #05101e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 52px;
}

.footer-brand img {
  width: 120px;
  height: 34px;
  object-fit: contain;
}

.footer-brand span {
  color: var(--white);
  font-weight: 900;
}

.site-footer p {
  margin-top: 16px;
  max-width: 300px;
  color: #91a6bb;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 16px;
}

.site-footer a,
.site-footer span,
.footer-contact {
  display: block;
  margin-top: 8px;
  color: #91a6bb;
  font-size: 14px;
}

.footer-contact {
  padding: 0;
  background: transparent;
  text-align: left;
}

.site-footer a:hover,
.footer-contact:hover {
  color: var(--white);
}

.footer-records {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-top: 38px;
  padding-top: 22px;
  text-align: center;
  border-top: 1px solid rgba(151, 178, 204, 0.12);
}

/* Keep the legal records on one baseline instead of inheriting footer blocks. */
.footer-records > span,
.footer-records > a,
.footer-records > span span {
  display: inline;
  margin-top: 0;
  white-space: nowrap;
}

.footer-records > * + *::before {
  content: "|";
  margin: 0 16px;
  color: rgba(151, 178, 204, 0.42);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(22, 136, 217, 0.22), transparent 34%),
    rgba(5, 16, 30, 0.78);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  width: min(460px, calc(100vw - 48px));
  padding: 28px 32px 28px;
  overflow: hidden;
  border: 1px solid rgba(133, 199, 255, 0.26);
  border-radius: 18px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 8%, rgba(22, 136, 217, 0.2), transparent 32%),
    radial-gradient(circle at 86% 72%, rgba(18, 182, 168, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(8, 27, 48, 0.98), rgba(5, 16, 30, 0.98));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.035),
    0 0 48px rgba(22, 136, 217, 0.18);
}

.modal-dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(80, 149, 217, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 149, 217, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
}

.modal-copy,
.modal-qr-panel,
.modal-tags,
.modal-close {
  position: relative;
  z-index: 1;
}

.modal-copy {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.modal-dialog .section-kicker {
  max-width: none;
  margin: 0 auto;
  color: var(--aqua);
  line-height: 1.4;
}

.modal-dialog h2 {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.modal-dialog p {
  max-width: 480px;
  margin: 10px auto 0;
  color: #b9cde1;
  font-size: 15px;
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(180, 210, 240, 0.22);
  border-radius: 999px;
  color: #d8e8f8;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  font-size: 20px;
  line-height: 1;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.modal-close:hover {
  border-color: rgba(180, 210, 240, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.modal-qr-panel {
  width: min(292px, 100%);
  margin: 20px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none
  text-align: center;
}

.qr-box {
  position: relative;
  display: grid;
  place-items: center;
  width: 246px;
  height: 246px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-box span {
  position: absolute;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.qr-box img:not(.is-missing) + span {
  display: none;
}

.qr-box img.is-missing {
  display: none;
}

.modal-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.modal-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid rgba(180, 210, 240, 0.18);
  border-radius: 999px;
  color: #cfe2f4;
  background: rgba(255, 255, 255, 0.055);
  font-size: 12px;
  font-weight: 800;
}

.modal-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 12px rgba(18, 182, 168, 0.55);
}
