:root {
  color-scheme: dark;
  --bg: #070a12;
  --panel: rgba(12, 18, 34, 0.76);
  --panel-strong: rgba(16, 25, 47, 0.92);
  --text: #eef7ff;
  --muted: #9fb3ca;
  --cyan: #59f7ff;
  --violet: #8d6bff;
  --pink: #ff4fd8;
  --line: rgba(126, 219, 255, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(141, 107, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 10% 26%, rgba(89, 247, 255, 0.14), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 18, 0.62);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 120px;
  height: 40px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: grid;
  min-width: 0;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 17px;
  max-width: min(80vw, 520px); /* 增大最大宽度，适配英文长名称 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #d9e8f8;
  font-size: 14px;
}

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

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 2px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  margin-left: 18px;
  border: 1px solid rgba(89, 247, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: 110px clamp(18px, 6vw, 86px) 76px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(89, 247, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 18% 26%, rgba(255, 61, 110, 0.12), transparent 22rem),
    radial-gradient(circle at 82% 34%, rgba(37, 255, 147, 0.12), transparent 24rem),
    linear-gradient(180deg, #06101f 0%, #071425 42%, #030710 100%);
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background-image: linear-gradient(rgba(89, 247, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(89, 247, 255, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(transparent, #000);
  opacity: 0.36;
}

.hero-wordmark {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 0 18px;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.86;
  mix-blend-mode: screen;
}

.hero-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: 34%;
  opacity: 0.95;
  mix-blend-mode: screen;
}

.hero-word-pixels {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.hero-slogan {
  position: absolute;
  left: 50%;
  top: calc(50% + 74px);
  z-index: 6;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(238, 247, 255, 0.92);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: 0;
  opacity: 0;
  text-align: center;
  text-shadow:
    0 0 14px rgba(89, 247, 255, 0.4),
    0 0 28px rgba(255, 79, 216, 0.18);
  animation: heroSloganSequence 12.2s linear infinite;
  white-space: nowrap;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(42px, 8vw, 96px);
  line-height: 1.02;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.12;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #c7d6e8;
  font-size: clamp(16px, 2.2vw, 21px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  font-weight: 700;
}

.btn.primary {
  border: 0;
  background: linear-gradient(135deg, var(--cyan), var(--violet) 54%, var(--pink));
  color: #061018;
  box-shadow: 0 16px 42px rgba(89, 247, 255, 0.18);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 76px);
  bottom: 70px;
  z-index: 4;
  width: min(330px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 13, 25, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-panel span,
.project-card span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
}

.hero-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.hero-panel p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.intro {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 54px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.intro > p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

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

.capability-grid article,
.contact-card,
.steps li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.capability-grid article {
  display: flex;
  min-height: 420px;
  padding: 24px;
  flex-direction: column;
  overflow: hidden;
  gap: 14px;
}

.business-image {
  width: 100%;
  margin-top: auto;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(89, 247, 255, 0.18);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.business-image {
  display: block;
}

.number {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--pink);
  font-weight: 800;
}

.capability-grid p,
.steps span {
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 24px;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 10px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 36px;
  align-items: center;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.contact-card a {
  color: var(--cyan);
  overflow-wrap: anywhere;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid rgba(89, 247, 255, 0.38);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(89, 247, 255, 0.16), rgba(255, 79, 216, 0.13));
  color: #eefcff;
  font-weight: 800;
  box-shadow: 0 16px 42px rgba(89, 247, 255, 0.12);
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
    flex: 0 0 42px;
    order: 3;
  }

  .lang-toggle {
    order: 2;
    margin-left: auto;
    margin-right: 10px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(89, 247, 255, 0.2);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(10, 18, 34, 0.98), rgba(5, 9, 18, 0.98));
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(126, 219, 255, 0.1);
    color: #eef7ff;
    font-weight: 700;
  }

  .site-nav .lang-toggle {
    width: 100%;
    height: 46px;
    margin: 8px 0 0;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(89, 247, 255, 0.14), rgba(255, 79, 216, 0.12));
  }

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

  .hero-bg {
    background:
      radial-gradient(circle at 50% 34%, rgba(89, 247, 255, 0.2), transparent 20rem),
      radial-gradient(circle at 18% 28%, rgba(255, 61, 110, 0.12), transparent 17rem),
      radial-gradient(circle at 82% 30%, rgba(37, 255, 147, 0.12), transparent 17rem),
      linear-gradient(180deg, #06101f 0%, #071425 50%, #030710 100%);
  }

  .hero-wordmark {
    align-items: center;
    padding-top: 24px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .intro,
  .contact,
  .capability-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
    min-height: 66px;
    padding: 10px 14px;
    background: rgba(7, 10, 18, 0.78);
  }

  .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 54px);
  }

  .brand-mark {
    width: 100px;
    height: 34px;
  }

  .brand-text strong {
    width: 100%;
    max-width: calc(100vw - 150px);
    font-size: 13px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: clamp(170px, 23svh, 210px);
    padding: 64px 18px 14px;
  }

  .hero-wordmark {
    padding: 0 8px;
    transform: translateY(12px);
  }

  .hero-particles {
    display: none;
  }

  .hero-waves {
    display: none;
  }

  .hero-word-pixels {
    z-index: 5;
  }

  .hero-slogan {
    top: calc(50% + 40px);
    font-size: 15px;
  }

  .hero-bg {
    background:
      radial-gradient(circle at 50% 35%, rgba(89, 247, 255, 0.24), transparent 16rem),
      radial-gradient(circle at 18% 24%, rgba(255, 61, 110, 0.14), transparent 13rem),
      radial-gradient(circle at 88% 30%, rgba(37, 255, 147, 0.13), transparent 14rem),
      linear-gradient(180deg, #081527 0%, #071322 50%, #030710 100%);
  }

  .hero::after {
    height: 46%;
    opacity: 0.46;
  }

  h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

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

  .section {
    width: calc(100% - 32px);
    padding: 64px 0;
  }

  .intro {
    gap: 20px;
    align-items: start;
    padding-top: 56px;
    padding-bottom: 60px;
  }

  .intro h2 {
    max-width: 100%;
    font-size: clamp(24px, 5.9vw, 28px);
    line-height: 1.18;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .intro > p,
  .contact p {
    font-size: 16px;
    line-height: 1.85;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .capability-grid article {
    min-height: auto;
  }

  .number {
    margin-bottom: 28px;
  }

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

@media (prefers-reduced-motion: no-preference) {
  .brand-mark,
  .hero-panel,
  .capability-grid article {
    transition: transform 0.24s ease, border-color 0.24s ease;
  }

  .capability-grid article:hover,
  .hero-panel:hover {
    transform: translateY(-4px);
    border-color: rgba(89, 247, 255, 0.42);
  }

  .hero::after {
    animation: gridDrift 8s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-particles {
    opacity: 0.4;
  }
}

@keyframes gridDrift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 42px 84px, 84px 42px;
  }
}

@keyframes heroSloganSequence {
  0%,
  44% {
    opacity: 0;
  }
  48%,
  70% {
    opacity: 1;
  }
  75%,
  100% {
    opacity: 0;
  }
}
