:root {
  color-scheme: dark;
  --ink: #f6fbff;
  --muted: #b6c7dc;
  --soft: #7f94ae;
  --navy: #031326;
  --blue: #0a4db3;
  --blue-2: #0f74e8;
  --cyan: #31d6ff;
  --line: rgba(170, 210, 255, 0.18);
  --glass: rgba(5, 22, 45, 0.62);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--navy);
  color: var(--ink);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

#signal-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(20px, 4vw, 56px);
  color: var(--ink);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    height 220ms ease;
}

.site-header.is-scrolled {
  height: 64px;
  background: rgba(3, 13, 29, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(92, 203, 255, 0.55);
  background: linear-gradient(145deg, rgba(14, 119, 240, 0.42), rgba(9, 31, 65, 0.7));
  box-shadow: 0 0 34px rgba(49, 214, 255, 0.18);
  overflow: hidden;
}

.brand-mark img {
  width: 30px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(49, 214, 255, 0.45));
}

.brand-text {
  overflow: hidden;
  max-width: 42vw;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
  color: rgba(246, 251, 255, 0.78);
  font-size: 15px;
}

.site-nav a {
  position: relative;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

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

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
}

.hero-media,
.hero-shade {
  inset: 0;
}

.hero-media {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(2, 12, 28, 0.92) 0%, rgba(3, 18, 39, 0.72) 38%, rgba(3, 18, 39, 0.18) 72%),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2200&q=82") center / cover;
  transform: scale(1.04);
  transition: transform 800ms ease;
}

.hero-shade {
  z-index: -2;
  background:
    radial-gradient(circle at 78% 32%, rgba(49, 214, 255, 0.25), transparent 28%),
    linear-gradient(180deg, transparent 65%, var(--navy) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100% - 40px, var(--max));
  min-height: 100svh;
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  padding: 116px 0 92px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1 {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(38px, 6.1vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--blue-2), #22c3ff);
  color: #031326;
  box-shadow: 0 18px 46px rgba(15, 116, 232, 0.32);
}

.button.ghost {
  border-color: rgba(246, 251, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.scroll-cue {
  position: absolute;
  right: clamp(22px, 5vw, 70px);
  bottom: 36px;
  z-index: 3;
  width: 1px;
  height: 72px;
  background: rgba(255, 255, 255, 0.18);
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 22px;
  background: var(--cyan);
  animation: cue 1.7s ease-in-out infinite;
}

.section {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 132px) 0;
}

.intro-layout,
.section-heading,
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.blue-band h2,
.proof h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4.8vw, 62px);
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

.intro p,
.section-heading p,
.blue-band p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 20px);
}

.services {
  padding-top: 40px;
}

.service-list {
  margin-top: 58px;
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 68px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition:
    background 180ms ease,
    padding-left 180ms ease;
}

.service-item:hover {
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(15, 116, 232, 0.12), transparent);
}

.service-index {
  color: var(--cyan);
  font-weight: 800;
}

.service-item h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
}

.service-item p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.blue-band {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
  padding: clamp(84px, 11vw, 148px) max(20px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(5, 34, 80, 0.96), rgba(5, 83, 170, 0.76)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.blue-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 19, 38, 0.92), rgba(3, 19, 38, 0.1)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 96px);
  pointer-events: none;
}

.band-copy,
.process {
  position: relative;
  z-index: 1;
}

.band-copy p {
  margin-top: 24px;
}

.process {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(202, 232, 255, 0.2);
  background: rgba(2, 12, 26, 0.22);
  backdrop-filter: blur(14px);
}

.process-step {
  min-height: 168px;
  padding: 28px;
  border-right: 1px solid rgba(202, 232, 255, 0.16);
  border-bottom: 1px solid rgba(202, 232, 255, 0.16);
}

.process-step:nth-child(2n) {
  border-right: 0;
}

.process-step:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.process-step span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.process-step strong {
  display: block;
  margin-top: 54px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: end;
}

.proof-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.proof-metric {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0;
  background: var(--navy);
}

.proof-metric strong {
  color: var(--cyan);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}

.proof-metric span {
  color: var(--muted);
  font-size: 17px;
}

.contact {
  position: relative;
  z-index: 2;
  padding: clamp(78px, 11vw, 140px) max(20px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(180deg, rgba(3, 19, 38, 0), rgba(7, 48, 105, 0.76));
}

.legacy-anchor {
  position: absolute;
  top: 0;
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(18px);
}

.contact-panel p {
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 700;
}

.contact-panel a:not(.button) {
  color: var(--muted);
}

.contact-panel span {
  color: var(--muted);
}

.community-qr-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.qr-card {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(170, 210, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.qr-card:hover {
  border-color: rgba(49, 214, 255, 0.42);
  background: rgba(15, 116, 232, 0.12);
  transform: translateY(-2px);
}

.qr-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f6fbff;
}

.qr-card figcaption {
  display: grid;
  gap: 4px;
}

.qr-card strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.qr-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 13px;
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cue {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    transform: translateY(50px);
    opacity: 0;
  }
}

@media (max-width: 860px) {
  .site-header {
    height: 68px;
  }

  .nav-toggle {
    position: relative;
    z-index: 25;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    color: var(--ink);
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .nav-toggle span + span {
    margin-top: -16px;
  }

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

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

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: rgba(3, 13, 29, 0.96);
    font-size: 26px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 220ms ease,
      transform 220ms ease;
  }

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

  .hero-media {
    background:
      linear-gradient(180deg, rgba(2, 12, 28, 0.82) 0%, rgba(3, 18, 39, 0.72) 48%, rgba(3, 18, 39, 0.34) 100%),
      url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1200&q=78") center / cover;
  }

  .hero-inner {
    width: min(100% - 32px, var(--max));
    padding: 92px 0 74px;
  }

  .brand-text {
    max-width: 62vw;
  }

  .intro-layout,
  .section-heading,
  .blue-band,
  .proof,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .blue-band {
    padding-right: 20px;
    padding-left: 20px;
  }

  .service-item {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .proof-metric {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .button {
    width: 100%;
  }

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

  .process-step,
  .process-step:nth-child(2n),
  .process-step:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(202, 232, 255, 0.16);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .community-qr-grid {
    grid-template-columns: 1fr;
  }

  .process-step strong {
    margin-top: 34px;
  }

  .scroll-cue {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
