:root {
  --ink: #101828;
  --muted: #667085;
  --line: #d8e4ef;
  --paper: #ffffff;
  --soft: #f4f8fc;
  --night: #07111f;
  --night-2: #0d1b2f;
  --cyan: #18bfd7;
  --cyan-soft: #dff8ff;
  --orange: #ff7a3d;
  --blue: #2563eb;
  --shadow: 0 22px 70px rgba(7, 17, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.65;
}

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

img {
  max-width: 100%;
  height: auto;
}

[hidden],
body:not(.lang-en) [data-lang="en"],
body.lang-en [data-lang="zh"] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 17, 31, 0.9);
  border-bottom: 1px solid rgba(223, 248, 255, 0.14);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--cyan-soft);
}

.language-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 110px;
  padding: 3px;
  border: 1px solid rgba(223, 248, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switch button {
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.language-switch button.active {
  background: var(--cyan);
  color: #06101d;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(11, 37, 58, 0.98)),
    var(--night);
}

.hero-loader {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 28%, rgba(24, 191, 215, 0.24), transparent 30%),
    radial-gradient(circle at 82% 42%, rgba(37, 99, 235, 0.2), transparent 34%),
    linear-gradient(135deg, #06101d 0%, #0b2033 54%, #06101d 100%);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-loader::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(rgba(110, 231, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 231, 255, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  animation: poster-grid 10s linear infinite;
}

.hero-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0%, rgba(110, 231, 255, 0.2) 46%, rgba(255, 255, 255, 0.26) 50%, rgba(110, 231, 255, 0.08) 54%, transparent 100%);
  transform: translateX(-120%);
  animation: poster-scan 2.8s ease-in-out infinite;
}

.hero.is-loaded .hero-loader {
  opacity: 0;
  visibility: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0;
  filter: saturate(0.82) brightness(0.98) contrast(1.04);
  transform: scale(1.04);
  transition: opacity 0.85s ease, transform 1.1s ease;
}

.hero.is-loaded .hero-bg {
  opacity: 0.94;
  transform: scale(1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.88) 0%, rgba(7, 17, 31, 0.68) 38%, rgba(7, 17, 31, 0.28) 72%, rgba(7, 17, 31, 0.12) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.04) 0%, rgba(7, 17, 31, 0.34) 100%),
    linear-gradient(rgba(110, 231, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 231, 255, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}

.hero-inner {
  width: min(1580px, calc(100% - 96px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 72px 0 56px;
  display: grid;
  align-items: center;
}

.hero-content {
  max-width: 820px;
  animation: poster-float 6s ease-in-out infinite;
  text-shadow: 0 18px 58px rgba(0, 0, 0, 0.5);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--cyan-soft);
  font-size: 15px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
}

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

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-copy {
  max-width: 780px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.button-primary {
  color: #06101d;
  background: linear-gradient(135deg, var(--cyan), #6ee7ff);
  box-shadow: 0 18px 44px rgba(24, 191, 215, 0.28);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

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

.hero-point {
  min-height: 116px;
  padding: 16px 18px;
  border: 1px solid rgba(110, 231, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.48);
  backdrop-filter: blur(12px);
}

.hero-point strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan-soft);
  font-size: 22px;
  line-height: 1.2;
}

.hero-point span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

@keyframes poster-grid {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(52px, 52px, 0);
  }
}

@keyframes poster-scan {
  0%,
  18% {
    transform: translateX(-120%);
  }

  62%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes poster-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-loader::before,
  .hero-loader::after,
  .hero-content {
    animation: none;
  }
}

section {
  padding: 88px 0;
}

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

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

.section-kicker {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 800;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.services {
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

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

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 46px rgba(7, 17, 31, 0.07);
}

.service-card {
  position: relative;
  min-height: 236px;
  padding: 24px;
  overflow: hidden;
}

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

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--night-2);
  font-weight: 900;
  font-size: 16px;
}

.service-card:nth-child(2) .service-icon,
.service-card:nth-child(5) .service-icon {
  background: var(--blue);
}

.service-card:nth-child(3) .service-icon,
.service-card:nth-child(6) .service-icon {
  background: var(--orange);
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.28;
  letter-spacing: 0;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.marketing {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(13, 27, 47, 0.98)),
    var(--night);
}

.marketing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: start;
}

.marketing .section-kicker,
.marketing .section-copy {
  color: rgba(255, 255, 255, 0.74);
}

.marketing h2 {
  color: #fff;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-item {
  padding: 20px;
  border: 1px solid rgba(110, 231, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.feature-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan-soft);
  font-size: 18px;
}

.feature-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
}

.process {
  background: var(--paper);
}

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

.process-step {
  min-height: 218px;
  padding: 24px;
  counter-increment: process;
}

.process-step::before {
  content: "0" counter(process);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--cyan);
  background: var(--cyan-soft);
  font-weight: 900;
}

.contact {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(23, 107, 135, 0.92)),
    var(--night);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 36px;
  align-items: center;
}

.contact h2,
.contact .section-kicker {
  color: #fff;
}

.contact .section-copy {
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 15px;
  font-weight: 700;
}

.qr-box {
  padding: 16px;
  border: 1px solid rgba(110, 231, 255, 0.28);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.22);
}

.qr-box img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 6px;
}

.qr-box p {
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 15px;
}

footer {
  padding: 28px 0;
  background: #f8fbff;
  border-top: 1px solid var(--line);
}

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

.floating-contact {
  position: fixed;
  right: 18px;
  top: 54%;
  z-index: 26;
  width: 196px;
  padding: 12px;
  transform: translateY(-50%);
  border: 1px solid rgba(110, 231, 255, 0.28);
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 17, 31, 0.86);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.floating-contact strong {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan-soft);
  font-size: 16px;
  line-height: 1.25;
}

.floating-contact p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.55;
}

.floating-qr {
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}

.floating-qr img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 4px;
}

.floating-wechat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 0 12px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #06101d;
  background: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.floating-button {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav {
    width: min(100% - 28px, 1180px);
  }

  .nav-links {
    display: none;
  }

  .marketing-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 64px 0 54px;
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 52px;
  }

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

  .qr-box {
    max-width: 310px;
  }

  .floating-contact {
    top: auto;
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
    padding: 10px;
    transform: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .floating-contact strong {
    margin-bottom: 2px;
    font-size: 15px;
  }

  .floating-contact p {
    margin: 0;
    font-size: 12px;
  }

  .floating-qr {
    display: none;
  }

  .floating-wechat {
    display: none;
  }

  .floating-button {
    min-width: 86px;
    padding: 0 12px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 84px;
  }

  .nav {
    min-height: 66px;
    gap: 12px;
  }

  .brand-name {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .language-switch {
    width: 96px;
  }

  .section-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 34px;
  }

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

  .hero-actions,
  .hero-points,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  section {
    padding: 64px 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}