:root {
  --bg: #040a16;
  --panel: #0a1224;
  --text: #dce9ff;
  --muted: #8fa5c7;
  --primary: #35dbef;
  --line: #173052;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 90vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(53, 219, 239, 0.28), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(53, 219, 239, 0.15), transparent 35%),
    #020611;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20px 20px, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 100px 60px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 240px 120px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 360px 200px, rgba(255, 255, 255, 0.8), transparent);
  background-size: 420px 260px;
  opacity: 0.35;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.brand {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: flex-start;
}

.brand-logo {
  height: 58px;
  width: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  opacity: 1;
  /* 当前logo文件自带黑底，screen混合可将黑色近似透明化 */
  mix-blend-mode: screen;
  filter: brightness(1.06) contrast(1.05);
}

.brand-cn {
  font-weight: 700;
  letter-spacing: 2px;
}

.brand-en {
  color: var(--muted);
  font-size: 12px;
}

.menu {
  display: flex;
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #c4d5ef;
}

.menu a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #051021;
  border-color: transparent;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
}

.btn-outline:hover {
  border-color: var(--primary);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 12vh 0 18vh;
  text-align: center;
}

.hero-subtitle {
  display: inline-block;
  padding: 4px 10px;
  color: var(--primary);
  border: 1px solid #1d5060;
  font-size: 12px;
}

h1 {
  margin: 18px 0 8px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.18;
}

h1 span {
  color: var(--primary);
}

.hero-desc {
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.services-jump-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.services-jump {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(53, 219, 239, 0.5);
  background: rgba(3, 11, 25, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(
    8px 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    8px 100%,
    0 calc(100% - 8px),
    0 8px
  );
  transition: all 0.25s ease;
}

.services-jump-arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid #7fefff;
  border-bottom: 2px solid #7fefff;
  transform: rotate(45deg) translateY(-2px);
}

.services-jump:hover {
  border-color: rgba(53, 219, 239, 0.9);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
  transform: translateY(2px);
}

.section-title {
  text-align: center;
  padding: 88px 0 44px;
}

.eyebrow {
  letter-spacing: 2px;
  color: var(--primary);
  font-size: 12px;
}

h2 {
  margin: 12px 0;
  font-size: clamp(30px, 4vw, 48px);
}

.section-title p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-height: 420px;
  border-top: 1px solid #111d31;
  width: min(1680px, calc(100% - 4px));
  margin: 18px auto;
  perspective: 1000px;
  position: relative;
}

.split::after {
  content: "";
  position: absolute;
  top: 6%;
  bottom: 6%;
  left: 50%;
  width: 36px;
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(4, 10, 22, 0) 0%,
    rgba(53, 219, 239, 0.14) 50%,
    rgba(4, 10, 22, 0) 100%
  );
  filter: blur(1px);
}

.service {
  position: relative;
  padding: 0;
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.25s ease;
  /* 扁平化切角，避免圆角视觉 */
  clip-path: polygon(
    10px 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    10px 100%,
    0 calc(100% - 10px),
    0 10px
  );
}

.service:hover::before {
  border-color: rgba(53, 219, 239, 0.45);
}

.service::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(4, 10, 22, 0.88) 0%,
      rgba(4, 10, 22, 0.2) 5%,
      rgba(4, 10, 22, 0) 10%,
      rgba(4, 10, 22, 0) 90%,
      rgba(4, 10, 22, 0.2) 95%,
      rgba(4, 10, 22, 0.88) 100%
    );
}

.split.reverse .media {
  order: 2;
}

.split.reverse .content {
  order: 1;
}

.media {
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
  clip-path: polygon(
    10px 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    10px 100%,
    0 calc(100% - 10px),
    0 10px
  );
}

.media-ai {
  background-image:
    linear-gradient(0deg, rgba(6, 11, 24, 0.46), rgba(6, 11, 24, 0.46)),
    url("./assets/images/service-ai.jpeg");
}

.media-invest {
  background-image:
    linear-gradient(0deg, rgba(6, 11, 24, 0.34), rgba(6, 11, 24, 0.34)),
    url("./assets/images/service-invest.jpeg");
}

.media-miniapp {
  background-image:
    linear-gradient(0deg, rgba(6, 11, 24, 0.36), rgba(6, 11, 24, 0.36)),
    url("./assets/images/service-miniapp.jpg");
}

.media-miniapp-gallery {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 18px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(4, 9, 20, 0.98), rgba(6, 16, 32, 0.88)),
    radial-gradient(circle at 22% 52%, rgba(53, 219, 239, 0.14), transparent 36%),
    #050d1c;
}

.miniapp-shot {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(220px, 38%);
  aspect-ratio: 9 / 19;
  border-radius: 28px;
  border: 1px solid #1d395c;
  background: linear-gradient(180deg, #0f1b31, #030a15);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(53, 219, 239, 0.08) inset;
  overflow: hidden;
}

.miniapp-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.miniapp-shot::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 6px;
  border-radius: 999px;
  background: rgba(195, 214, 238, 0.35);
}

.miniapp-shot-1 {
  transform: translateY(6px) rotate(-7deg);
}

.miniapp-shot-2 {
  transform: translateY(-8px) rotate(7deg);
}

.miniapp-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 219, 239, 0.24), rgba(53, 219, 239, 0));
  filter: blur(18px);
  z-index: 0;
}

.media-outsourcing {
  background-image:
    linear-gradient(0deg, rgba(6, 11, 24, 0.38), rgba(6, 11, 24, 0.38)),
    url("./assets/images/service-outsourcing.jpeg");
}

.content {
  background: #071021;
  padding: 54px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  border: 1px solid rgba(19, 39, 66, 0.9);
  clip-path: polygon(
    10px 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    10px 100%,
    0 calc(100% - 10px),
    0 10px
  );
}

.service:hover .media,
.service:hover .content {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.service:hover .media {
  filter: brightness(1.05);
}

.service:hover .content {
  border-color: rgba(53, 219, 239, 0.45);
}

.index {
  color: #f2c96d;
  letter-spacing: 2px;
  font-size: 12px;
}

h3 {
  margin: 10px 0 14px;
  font-size: clamp(28px, 3.8vw, 42px);
}

.content p {
  color: var(--muted);
  line-height: 1.7;
}

.service-highlight {
  color: #f2c96d !important;
  font-weight: 600;
  margin: 0 0 8px;
}

.content ul {
  columns: 2;
  gap: 28px;
  margin-top: 12px;
  color: #b6cae8;
}

.content li {
  margin-bottom: 8px;
}

.about {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding: 70px 0;
  border-top: 1px solid #111d31;
}

.about h4 {
  color: var(--primary);
}

.about-logo {
  height: 78px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 14px;
  background: transparent;
  opacity: 1;
  mix-blend-mode: screen;
  filter: brightness(1.06) contrast(1.05);
}

@media (max-width: 920px) {
  .brand-logo {
    height: 48px;
  }

  .about-logo {
    height: 64px;
  }
}

.about p,
.about li {
  color: var(--muted);
  line-height: 1.8;
}

.about ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section-dark {
  background: linear-gradient(180deg, #040a16 0%, #070f1f 100%);
  border-top: 1px solid #111d31;
}

.contact {
  padding: 84px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  justify-items: start;
}

.contact-info p {
  color: var(--muted);
}

.contact-columns {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: start;
}

.contact-col h3 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 18px;
}

.contact-col p {
  margin: 0 0 18px;
  color: #c4d5ef;
  line-height: 1.8;
}

.wechat-qrcode-wrap {
  margin-top: 8px;
}

.wechat-qrcode {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 1px solid #1a385b;
  padding: 6px;
  background: #040d1b;
}

.footer {
  border-top: 1px solid #13314f;
  padding: 22px 0 32px;
  color: var(--muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

@media (max-width: 920px) {
  .menu {
    display: none;
  }

  .split,
  .contact-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .contact-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .split {
    width: min(1120px, calc(100% - 24px));
    margin: 12px auto;
    gap: 10px;
  }

  .split::after {
    display: none;
  }

  .split.reverse .media,
  .split.reverse .content {
    order: initial;
  }

  .content {
    padding: 36px 22px;
  }

  .content ul {
    columns: 1;
  }

  .media-miniapp-gallery {
    gap: 10px;
    padding: 18px 10px;
  }

  .miniapp-shot {
    width: min(180px, 48%);
    border-radius: 22px;
  }

  .miniapp-shot-1 {
    transform: translateY(4px) rotate(-4deg);
  }

  .miniapp-shot-2 {
    transform: translateY(-4px) rotate(4deg);
  }

  .footer-row {
    flex-direction: column;
    gap: 6px;
  }
}
