:root {
  --ink: #102033;
  --muted: #5f6f82;
  --soft: #f5f8fb;
  --line: #dfe8f1;
  --blue: #1677ff;
  --blue-soft: #e8f2ff;
  --cyan: #11b8d9;
  --cyan-soft: #e7fbff;
  --green: #22c55e;
  --green-soft: #eafaf1;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(16, 32, 51, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(22, 119, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 184, 217, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 82% 12%, rgba(17, 184, 217, 0.18), transparent 28rem),
    radial-gradient(circle at 14% 8%, rgba(34, 197, 94, 0.14), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbfe 52%, #eef5f9 100%);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.22);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

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

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

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header-action,
.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 30px rgba(22, 119, 255, 0.22);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.header-action:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(22, 119, 255, 0.2);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

@media (min-width: 901px) {
  .nav-toggle {
    display: none;
  }
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 54px;
  align-items: center;
  min-height: min(760px, calc(100vh - 72px));
  padding: 42px 0 34px;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-atmosphere span {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.72;
}

.hero-atmosphere span:nth-child(1) {
  top: 18%;
  left: 2%;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.18), transparent 68%);
}

.hero-atmosphere span:nth-child(2) {
  right: 36%;
  bottom: 14%;
  width: 240px;
  height: 90px;
  background: linear-gradient(90deg, rgba(17, 184, 217, 0.14), rgba(34, 197, 94, 0.14));
  transform: rotate(-18deg);
}

.hero-atmosphere span:nth-child(3) {
  right: 4%;
  top: 18%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.14), transparent 68%);
}

.hero > *,
.hero-content {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin: 42px 0 0;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid rgba(223, 232, 241, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.hero-metrics dt {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border: 1px solid rgba(223, 232, 241, 0.88);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22, 119, 255, 0.08), rgba(34, 197, 94, 0.08)),
    var(--white);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 530px;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 45%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.34)),
    radial-gradient(circle at 76% 30%, rgba(22, 119, 255, 0.16), transparent 22%);
  pointer-events: none;
}

.network-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.node {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.16), 0 0 28px rgba(34, 197, 94, 0.36);
  transform: translate(var(--move-x, 0), var(--move-y, 0));
  transition: transform 1.2s ease;
}

.node-a { top: 22%; left: 58%; }
.node-b { top: 34%; left: 76%; background: var(--blue); }
.node-c { top: 52%; left: 52%; background: var(--cyan); }
.node-d { top: 64%; left: 81%; }
.node-e { top: 75%; left: 63%; background: var(--blue); }

.signal {
  position: absolute;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(22, 119, 255, 0.22);
  border-radius: 50%;
  animation: pulse 3.6s ease-in-out infinite;
}

.signal-a { top: 28%; left: 64%; }
.signal-b {
  right: 10%;
  bottom: 18%;
  animation-delay: 1.1s;
}

.services,
.advantages,
.workflow,
.contact {
  padding: 96px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading.compact {
  max-width: 620px;
}

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

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

.service-card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    var(--white);
  box-shadow: 0 12px 32px rgba(16, 32, 51, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--accent, var(--blue));
}

.service-card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft, var(--blue-soft)), transparent 70%);
  opacity: 0.95;
  pointer-events: none;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card.accent-blue {
  --accent: var(--blue);
  --accent-soft: var(--blue-soft);
}

.service-card.accent-cyan {
  --accent: var(--cyan);
  --accent-soft: var(--cyan-soft);
}

.service-card.accent-green {
  --accent: var(--green);
  --accent-soft: var(--green-soft);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(17, 184, 217, 0.44);
  box-shadow: 0 22px 44px rgba(16, 32, 51, 0.1);
}

.card-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  place-items: center;
  color: var(--accent, var(--blue));
  border: 1px solid rgba(22, 119, 255, 0.18);
  border-radius: var(--radius);
  background: var(--accent-soft, rgba(22, 119, 255, 0.08));
  font-weight: 800;
}

.service-card p,
.timeline p,
.contact p {
  margin: 14px 0 0;
  color: var(--muted);
}

.advantages {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - 1180px) / 2));
  padding-left: max(20px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at 12% 18%, rgba(22, 119, 255, 0.13), transparent 28rem),
    radial-gradient(circle at 88% 72%, rgba(34, 197, 94, 0.13), transparent 26rem),
    rgba(255, 255, 255, 0.72);
  border-block: 1px solid rgba(223, 232, 241, 0.8);
}

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

.advantage-item {
  padding: 22px;
  border: 1px solid rgba(223, 232, 241, 0.9);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 30px rgba(16, 32, 51, 0.05);
}

.advantage-item strong,
.advantage-item span {
  display: block;
}

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

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(22, 119, 255, 0.05), rgba(34, 197, 94, 0.05)),
    var(--white);
  box-shadow: 0 16px 42px rgba(16, 32, 51, 0.07);
  overflow: hidden;
}

.workflow-track::before {
  content: "";
  position: absolute;
  top: 49px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
  opacity: 0.42;
}

.timeline li {
  position: relative;
  z-index: 1;
  min-height: 220px;
  padding: 30px;
}

.timeline li + li {
  border-left: 1px solid var(--line);
}

.timeline span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-weight: 800;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 56px;
  padding: 48px;
  color: var(--white);
  border: 1px solid rgba(22, 119, 255, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 20%, rgba(34, 197, 94, 0.42), transparent 18rem),
    linear-gradient(135deg, #1162d9, #0f9fc0 52%, #16a765);
  box-shadow: 0 24px 70px rgba(22, 119, 255, 0.24);
}

.contact div {
  max-width: 720px;
}

.contact h2 {
  font-size: clamp(26px, 4vw, 38px);
}

.contact p {
  color: rgba(255, 255, 255, 0.82);
}

.contact .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.contact .button.primary {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(16, 32, 51, 0.18);
}

.reveal {
  opacity: 1;
  transform: none;
}

.can-reveal .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(0.74);
    opacity: 0.24;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.56;
  }
}

@media (max-width: 900px) {
  .site-header {
    width: min(100% - 28px, 1180px);
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand span:last-child {
    max-width: 11em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .site-nav a {
    padding: 0;
    text-align: center;
    font-size: 14px;
  }

  .site-nav a[href="#contact"] {
    display: none;
  }

  .header-action {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 360px;
  }

  .card-grid,
  .advantage-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .workflow-track::before {
    top: 38px;
    bottom: 38px;
    left: 49px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--blue), var(--cyan), var(--green));
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 22px;
  }
}

@media (max-width: 620px) {
  .section-shell {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .site-header {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .brand span:last-child {
    max-width: 13em;
  }

  h1 {
    font-size: clamp(32px, 9vw, 36px);
    line-height: 1.08;
    max-width: 9.5em;
    word-break: break-all;
  }

  h2 {
    max-width: 11em;
    word-break: break-all;
  }

  .hero-copy,
  .section-heading p:not(.eyebrow),
  .contact p {
    max-width: 21em;
  }

  .hero {
    gap: 24px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions .button,
  .contact .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 28px;
  }

  .hero-metrics div {
    padding: 12px 10px;
  }

  .hero-metrics dt {
    font-size: 20px;
  }

  .hero-metrics dd {
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 280px;
  }

  .services,
  .advantages,
  .workflow,
  .contact {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .service-card,
  .timeline li {
    min-height: auto;
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
