:root {
  --ink-950: #09111f;
  --ink-900: #0d1828;
  --ink-800: #132033;
  --ink-700: #243245;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-100: #e5eaf1;
  --paper: #f7fafc;
  --white: #ffffff;
  --line: #dbe3ed;
  --cyan: #14b8d4;
  --cyan-dark: #0e7490;
  --green: #22c55e;
  --gold: #f59e0b;
  --shadow: 0 24px 70px rgba(9, 17, 31, 0.14);
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-700);
  font-family:
    "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial,
    sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 56px);
  color: var(--white);
  background: rgba(9, 17, 31, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.site-header[data-elevated="true"] {
  background: rgba(9, 17, 31, 0.92);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink-950);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(135deg, #ecfeff 0%, #67e8f9 46%, #22c55e 100%);
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(20, 184, 212, 0.24);
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-text strong {
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.nav-links a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.header-action {
  color: var(--ink-950);
  background: var(--white);
}

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

.section-dark {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(9, 17, 31, 0.92), rgba(9, 17, 31, 0.98)),
    var(--ink-950);
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  padding: 160px clamp(20px, 5vw, 56px) 92px;
  overflow: hidden;
  isolation: isolate;
}

.network-canvas {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  opacity: 0.38;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 170px;
  content: "";
  background: linear-gradient(180deg, rgba(9, 17, 31, 0), var(--paper));
}

.hero-media {
  position: absolute;
  right: max(-190px, -8vw);
  bottom: 16px;
  z-index: -2;
  width: min(58vw, 840px);
  opacity: 0.76;
  filter: drop-shadow(0 34px 80px rgba(20, 184, 212, 0.16));
}

.hero-media img {
  width: 100%;
  border-radius: 12px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
}

.hero-content {
  width: min(760px, 100%);
  align-self: center;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button-primary {
  color: var(--ink-950);
  background: var(--cyan);
  box-shadow: 0 20px 40px rgba(20, 184, 212, 0.25);
}

.button-primary:hover {
  background: #67e8f9;
}

.button-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

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

.hero-metrics div {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.hero-metrics dt {
  margin-bottom: 4px;
  color: var(--white);
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.1;
}

.hero-metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.section,
.intro {
  padding: 96px clamp(20px, 5vw, 56px);
}

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

.section-muted {
  background: #edf4f8;
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.contact-section h2 {
  margin-bottom: 16px;
  color: var(--ink-950);
  font-size: clamp(31px, 4.2vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

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

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p,
.intro-grid > p {
  color: var(--ink-600);
  font-size: 17px;
}

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

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 38px rgba(15, 23, 42, 0.06);
}

.service-icon {
  position: relative;
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #ecfeff;
  box-shadow: inset 0 0 0 1px rgba(20, 184, 212, 0.2);
}

.service-icon::before,
.service-icon::after {
  position: absolute;
  content: "";
}

.token-icon::before {
  inset: 13px 10px;
  border-top: 3px solid var(--cyan-dark);
  border-bottom: 3px solid var(--cyan-dark);
}

.token-icon::after {
  inset: 21px 10px;
  border-top: 3px solid var(--green);
}

.compute-icon::before {
  inset: 12px;
  border: 3px solid var(--cyan-dark);
  border-radius: 6px;
}

.compute-icon::after {
  top: 22px;
  left: 22px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
  box-shadow:
    -10px 0 0 var(--green),
    10px 0 0 var(--green),
    0 -10px 0 var(--green),
    0 10px 0 var(--green);
}

.hardware-icon::before {
  inset: 13px 10px;
  border: 3px solid var(--cyan-dark);
  border-radius: 5px;
}

.hardware-icon::after {
  right: 9px;
  bottom: 8px;
  left: 9px;
  height: 5px;
  background: var(--green);
  border-radius: 999px;
}

.app-icon::before {
  top: 12px;
  left: 12px;
  width: 24px;
  height: 24px;
  border: 3px solid var(--cyan-dark);
  border-radius: 999px;
}

.app-icon::after {
  right: 11px;
  bottom: 11px;
  width: 13px;
  height: 3px;
  background: var(--green);
  border-radius: 999px;
  transform: rotate(45deg);
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--ink-950);
  font-size: 21px;
  line-height: 1.28;
}

.service-card p {
  margin-bottom: 18px;
  color: var(--ink-600);
  font-size: 15px;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  color: var(--ink-700);
  font-size: 14px;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 16px;
}

.service-card li::before {
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--cyan);
  border-radius: 999px;
  transform: translateY(-50%);
}

.solutions-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 116px;
  margin-bottom: 0;
}

.solution-list {
  display: grid;
  gap: 16px;
}

.solution-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid #ccd8e4;
}

.solution-list span {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--cyan-dark);
  font-size: 14px;
  font-weight: 900;
  border: 1px solid rgba(14, 116, 144, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.solution-list h3 {
  grid-column: 2;
  margin-bottom: 8px;
  color: var(--ink-950);
  font-size: 22px;
}

.solution-list p {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--ink-600);
}

.advantage-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.advantage-strip div {
  padding: 32px 26px;
  border-right: 1px solid var(--line);
}

.advantage-strip div:last-child {
  border-right: 0;
}

.advantage-strip strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-950);
  font-size: 20px;
}

.advantage-strip p {
  margin-bottom: 0;
  color: var(--ink-600);
  font-size: 15px;
}

.process-section {
  padding-top: 34px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 0 10px 0 0;
}

.process-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--ink-950);
  font-weight: 900;
  background: #d9f99d;
  border-radius: 8px;
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-950);
  font-size: 20px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--ink-600);
  font-size: 15px;
}

.contact-section {
  padding-bottom: 90px;
}

.contact-section h2 {
  color: var(--white);
}

.contact-section p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}

.wechat-panel {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.qr-placeholder {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 22px;
  color: var(--ink-950);
  text-align: center;
  background:
    linear-gradient(90deg, rgba(9, 17, 31, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(9, 17, 31, 0.08) 1px, transparent 1px),
    var(--white);
  background-size: 18px 18px;
  border-radius: 8px;
}

.qr-placeholder span {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  background:
    linear-gradient(90deg, var(--ink-950) 50%, transparent 0) 0 0 / 16px 16px,
    linear-gradient(90deg, transparent 50%, var(--cyan-dark) 0) 0 0 / 16px 16px;
  border-radius: 4px;
}

.qr-placeholder strong,
.qr-placeholder small {
  display: block;
}

.qr-placeholder small {
  color: var(--ink-600);
  font-size: 12px;
}

.wechat-panel dl {
  display: grid;
  align-content: center;
  gap: 18px;
  margin: 0;
}

.wechat-panel div {
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wechat-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.wechat-panel dt {
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.wechat-panel dd {
  margin: 2px 0 0;
  color: var(--white);
  font-weight: 800;
}

.site-footer {
  padding: 24px clamp(20px, 5vw, 56px);
  color: var(--ink-500);
  background: var(--ink-950);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  width: min(var(--max), 100%);
  margin: 0 auto;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

@media (max-width: 1050px) {
  .business-grid,
  .advantage-strip,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantage-strip div:nth-child(2) {
    border-right: 0;
  }

  .advantage-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

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

  .brand {
    min-width: auto;
  }

  .brand-text small,
  .nav-links {
    display: none;
  }

  .header-action {
    min-height: 40px;
    padding-inline: 14px;
  }

  .hero {
    min-height: 720px;
    padding-top: 128px;
  }

  .hero-media {
    right: -120px;
    width: min(92vw, 700px);
    opacity: 0.48;
  }

  .hero-metrics,
  .intro-grid,
  .solutions-layout,
  .contact-grid,
  .wechat-panel {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .section,
  .intro {
    padding-block: 72px;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 700px;
    padding-bottom: 64px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-metrics,
  .business-grid,
  .advantage-strip,
  .process-list {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 38px;
  }

  .service-card {
    padding: 24px;
  }

  .advantage-strip div,
  .advantage-strip div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .advantage-strip div:last-child {
    border-bottom: 0;
  }

  .solution-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .solution-list span,
  .solution-list h3,
  .solution-list p {
    grid-row: auto;
    grid-column: auto;
  }

  .footer-inner {
    display: grid;
  }
}
