:root {
  --ink: #071d3a;
  --ink-soft: #173657;
  --muted: #607085;
  --line: rgba(7, 29, 58, 0.12);
  --cyan: #20c8d7;
  --cyan-deep: #0e9eb6;
  --paper: #f7fbff;
  --card: rgba(255, 255, 255, 0.82);
  --shadow: 0 28px 80px rgba(7, 29, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(32, 200, 215, 0.24), transparent 32rem),
    radial-gradient(circle at 10% 12%, rgba(7, 29, 58, 0.10), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 48%, #edf7fb 100%);
  font-family: "Alibaba PuHuiTi", "HarmonyOS Sans SC", "Source Han Sans SC", "PingFang SC", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(7, 29, 58, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 29, 58, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 78%);
  animation: gridDrift 28s linear infinite;
}

body::after {
  position: fixed;
  right: -18vw;
  bottom: -24vw;
  z-index: -1;
  width: 62vw;
  height: 62vw;
  min-width: 620px;
  min-height: 620px;
  content: "";
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(32, 200, 215, 0.18), transparent 58%),
    conic-gradient(from 210deg, transparent 0 46%, rgba(7, 29, 58, 0.12), transparent 62%);
  filter: blur(2px);
  animation: haloPulse 9s ease-in-out infinite;
}

.ambient-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orbit,
.ambient-beam {
  position: absolute;
  display: block;
}

.ambient-orbit {
  width: 440px;
  height: 440px;
  border: 1px solid rgba(32, 200, 215, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(32, 200, 215, 0.08);
}

.orbit-one {
  top: 12%;
  right: -160px;
  animation: orbitFloat 12s ease-in-out infinite;
}

.orbit-two {
  bottom: 10%;
  left: -220px;
  width: 560px;
  height: 560px;
  border-color: rgba(7, 29, 58, 0.10);
  animation: orbitFloat 16s ease-in-out infinite reverse;
}

.ambient-beam {
  width: 48vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(32, 200, 215, 0.42), transparent);
  transform: rotate(-18deg);
  opacity: 0.65;
}

.beam-one {
  top: 28%;
  right: -18vw;
  animation: beamSweep 9s ease-in-out infinite;
}

.beam-two {
  bottom: 24%;
  left: -22vw;
  animation: beamSweep 11s ease-in-out infinite reverse;
}

@keyframes gridDrift {
  to {
    background-position: 72px 72px, 72px 72px;
  }
}

@keyframes haloPulse {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.06);
  }
}

@keyframes orbitFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-28px, 18px, 0) rotate(8deg);
  }
}

@keyframes beamSweep {
  0%,
  100% {
    opacity: 0.18;
    transform: translate3d(-40px, 0, 0) rotate(-18deg);
  }
  50% {
    opacity: 0.72;
    transform: translate3d(40px, 0, 0) rotate(-18deg);
  }
}

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

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

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  backdrop-filter: blur(18px);
  transition: padding 0.28s ease, filter 0.28s ease;
}

.nav.is-scrolled {
  padding: 12px 0;
  filter: drop-shadow(0 18px 34px rgba(7, 29, 58, 0.09));
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 14px 36px rgba(7, 29, 58, 0.10);
  backdrop-filter: blur(18px) saturate(1.25);
  transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.brand:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(32, 200, 215, 0.34);
}

.brand-logo {
  width: 196px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(7, 29, 58, 0.10));
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.24s ease;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.72fr);
  gap: 54px;
  align-items: center;
  min-height: 680px;
  padding: 74px 0 104px;
}

.js-enabled .reveal {
  opacity: 0;
  translate: 0 34px;
  transition:
    opacity 0.75s ease,
    translate 0.75s cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  color: var(--ink);
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  animation: titleIn 1s cubic-bezier(0.2, 0.72, 0.22, 1) both;
}

@keyframes titleIn {
  from {
    opacity: 0;
    letter-spacing: -0.09em;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    letter-spacing: -0.06em;
    transform: translateY(0);
  }
}

.hero-lead {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.9;
}

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

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
}

.primary-link {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--ink) 0%, #0f4863 100%);
  box-shadow: 0 18px 40px rgba(7, 29, 58, 0.25);
}

.primary-link::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.28), transparent 54%);
  transform: translateX(-120%);
  animation: buttonSheen 4.6s ease-in-out infinite;
}

@keyframes buttonSheen {
  0%,
  52% {
    transform: translateX(-120%);
  }
  78%,
  100% {
    transform: translateX(120%);
  }
}

.secondary-link {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(7, 29, 58, 0.96), rgba(8, 54, 94, 0.92)),
    radial-gradient(circle at 100% 0, rgba(32, 200, 215, 0.54), transparent 36%);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  animation: panelFloat 7s ease-in-out infinite;
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 56%, rgba(32, 200, 215, 0.18) 56% 57%, transparent 57%),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
  animation: panelGridMove 16s linear infinite;
}

.hero-panel::after {
  position: absolute;
  inset: -40% -24%;
  content: "";
  pointer-events: none;
  background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, 0.24) 50%, transparent 60%);
  transform: translateX(-72%) rotate(10deg);
  animation: panelScan 6s ease-in-out infinite;
}

@keyframes panelFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes panelGridMove {
  to {
    background-position: 0 0, 46px 46px, 46px 46px;
  }
}

@keyframes panelScan {
  0%,
  40% {
    transform: translateX(-72%) rotate(10deg);
    opacity: 0;
  }
  58% {
    opacity: 1;
  }
  88%,
  100% {
    transform: translateX(72%) rotate(10deg);
    opacity: 0;
  }
}

.panel-node {
  position: absolute;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(32, 200, 215, 0.12), 0 0 24px rgba(32, 200, 215, 0.88);
  animation: nodePulse 2.8s ease-in-out infinite;
}

.node-one {
  top: 24%;
  right: 24%;
}

.node-two {
  top: 47%;
  left: 18%;
  animation-delay: 0.7s;
}

.node-three {
  right: 18%;
  bottom: 20%;
  animation-delay: 1.4s;
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.38;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

.panel-topline,
.metric-card {
  position: relative;
  z-index: 2;
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 70px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.panel-topline i {
  width: 76px;
  height: 2px;
  background: var(--cyan);
}

.metric-card {
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
}

.metric-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at var(--glow-x, 68%) var(--glow-y, 28%), rgba(32, 200, 215, 0.24), transparent 38%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.hero-panel:hover .metric-card::before {
  opacity: 1;
}

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

.metric-card-main {
  margin-bottom: 14px;
}

.metric-label {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.metric-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

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

.section {
  padding: 74px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading h2,
.about-card h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--card);
  box-shadow: 0 18px 50px rgba(7, 29, 58, 0.08);
  transform: perspective(800px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.service-card::before {
  position: absolute;
  inset: -1px;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at var(--glow-x, 70%) var(--glow-y, 18%), rgba(32, 200, 215, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), transparent);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.service-card:hover {
  border-color: rgba(32, 200, 215, 0.38);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 70px rgba(7, 29, 58, 0.14);
}

.service-card:hover::before {
  opacity: 1;
}

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

.service-index {
  display: inline-flex;
  width: 48px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  color: var(--cyan-deep);
  border-radius: 999px;
  background: rgba(32, 200, 215, 0.12);
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.service-card p,
.about-card p,
.contact-section p {
  color: var(--muted);
  line-height: 1.85;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: stretch;
  padding: 74px 0;
}

.about-card {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.about-card::after {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 120px;
  height: 120px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 200, 215, 0.16), transparent 68%);
  animation: haloPulse 7s ease-in-out infinite;
}

.about-card h2 {
  margin-bottom: 28px;
}

.about-signal {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 20%, rgba(32, 200, 215, 0.40), transparent 28%),
    linear-gradient(180deg, #071d3a 0%, #0c4260 100%);
}

.about-signal::before {
  position: absolute;
  inset: 22px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  animation: panelGridMove 12s linear infinite;
}

.about-signal span {
  position: absolute;
  right: 34px;
  left: 34px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: signal 4s ease-in-out infinite;
}

.about-signal span:nth-child(1) {
  top: 32%;
}

.about-signal span:nth-child(2) {
  top: 52%;
  animation-delay: 0.8s;
}

.about-signal span:nth-child(3) {
  top: 72%;
  animation-delay: 1.6s;
}

.signal-dot {
  position: absolute;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(32, 200, 215, 0.92);
}

.dot-one {
  top: 31%;
  left: 26%;
  animation: dotTravelOne 5.5s ease-in-out infinite;
}

.dot-two {
  top: 51%;
  left: 56%;
  animation: dotTravelTwo 6.2s ease-in-out infinite;
}

.dot-three {
  top: 71%;
  left: 38%;
  animation: dotTravelThree 7s ease-in-out infinite;
}

@keyframes dotTravelOne {
  50% {
    transform: translate3d(86px, -18px, 0);
  }
}

@keyframes dotTravelTwo {
  50% {
    transform: translate3d(-68px, 22px, 0);
  }
}

@keyframes dotTravelThree {
  50% {
    transform: translate3d(76px, 16px, 0);
  }
}

@keyframes signal {
  0%,
  100% {
    opacity: 0.22;
    transform: translateX(-22px);
  }
  50% {
    opacity: 1;
    transform: translateX(22px);
  }
}

.contact-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin: 72px 0 36px;
  padding: 34px;
  color: #ffffff;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--ink), #0d5367);
}

.contact-section::after {
  position: absolute;
  inset: auto -20% 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(32, 200, 215, 0.96), transparent);
  animation: contactGlow 4s ease-in-out infinite;
}

@keyframes contactGlow {
  0%,
  100% {
    opacity: 0.34;
    transform: translateX(-18%);
  }
  50% {
    opacity: 1;
    transform: translateX(18%);
  }
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, 0.74);
}

.mail-card {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 310px;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.24s ease, background 0.24s ease;
}

.mail-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
}

.mail-card span {
  color: rgba(255, 255, 255, 0.60);
  font-size: 13px;
  font-weight: 800;
}

.mail-card strong {
  font-size: 22px;
}

.legal-hero {
  padding: 84px 0 42px;
}

.legal-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.04;
}

.legal-lead {
  max-width: 820px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.9;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.legal-meta span {
  padding: 10px 14px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 18px 0 72px;
}

.legal-layout.compact {
  margin-top: 0;
}

.legal-card,
.support-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(7, 29, 58, 0.10);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 52px rgba(7, 29, 58, 0.09);
  backdrop-filter: blur(18px);
}

.legal-card::before,
.support-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0.76;
}

.legal-card h2,
.support-card h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
}

.legal-card p,
.legal-card li,
.support-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.legal-card a {
  color: var(--cyan-deep);
  font-weight: 900;
}

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

.support-card {
  min-height: 250px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

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

  *,
  *::before,
  *::after {
    animation: none;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }

  .js-enabled .reveal {
    opacity: 1;
    translate: none;
  }
}

@media (max-width: 920px) {
  .site-shell {
    width: min(100% - 28px, 720px);
  }

  .nav {
    align-items: flex-start;
    gap: 18px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-heading,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 64px;
  }

  .hero-panel {
    order: -1;
  }

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

  .legal-layout,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .about-signal {
    min-height: 220px;
  }

  .mail-card {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 152px;
  }

  h1 {
    font-size: 44px;
  }

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

  .legal-hero {
    padding-top: 42px;
  }

  .legal-hero h1 {
    font-size: 40px;
  }

  .legal-lead {
    font-size: 16px;
  }

  .hero-panel,
  .about-card,
  .contact-section,
  .legal-card,
  .support-card {
    border-radius: 26px;
  }

  .service-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .footer {
    flex-direction: column;
  }
}
