:root {
  color-scheme: dark;
  --bg: #020b14;
  --panel: rgba(5, 23, 39, 0.74);
  --line: rgba(58, 169, 255, 0.27);
  --line-strong: rgba(46, 179, 255, 0.58);
  --text: #f5fbff;
  --muted: #b4c4d4;
  --blue: #058cff;
  --cyan: #25ccff;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 7%, rgba(0, 119, 255, 0.22), transparent 26%),
    linear-gradient(90deg, #000812 0%, #031524 18%, #020b14 50%, #031524 82%, #000812 100%);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 180px 1fr 130px;
  align-items: center;
  height: 72px;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(76, 162, 255, 0.18);
  background: rgba(1, 9, 18, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 58px);
  color: #dcebf8;
  font-size: 15px;
  font-weight: 700;
}

.nav button {
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: inherit;
}

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

.nav-cta,
.primary-btn,
.ghost-btn,
.submit-btn {
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.nav-cta {
  justify-self: end;
  width: 112px;
  height: 42px;
  border: 1px solid rgba(73, 166, 255, 0.7);
  background: linear-gradient(180deg, #118fff, #0367dc);
  font-size: 16px;
  box-shadow: 0 0 24px rgba(7, 131, 255, 0.32);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 90px 0 42px;
  border-bottom: 1px solid rgba(58, 151, 255, 0.16);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -4;
  content: "";
  background:
    radial-gradient(circle at 50% 28%, rgba(0, 143, 255, 0.32), transparent 17%),
    radial-gradient(circle at 84% 20%, rgba(0, 139, 255, 0.24), transparent 18%),
    linear-gradient(180deg, rgba(3, 20, 36, 0.96), rgba(1, 10, 18, 0.98));
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -3;
  height: 245px;
  content: "";
  background:
    linear-gradient(180deg, transparent 0%, rgba(2, 11, 20, 0.38) 42%, #020b14 100%),
    linear-gradient(90deg, transparent 0 6%, rgba(0, 150, 255, 0.13) 18%, transparent 32% 68%, rgba(0, 150, 255, 0.13) 82%, transparent 94%),
    repeating-linear-gradient(90deg, transparent 0 70px, rgba(0, 154, 255, 0.12) 71px 72px),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(0, 154, 255, 0.08) 35px 36px);
}

.hero-visual,
.hero-visual img,
.hero-visual span {
  position: absolute;
  pointer-events: none;
}

.hero-visual {
  inset: 0;
  z-index: -1;
}

.chart-slice {
  left: max(18px, calc((100vw - var(--container)) / 2 - 22px));
  top: 118px;
  width: 178px;
  height: 150px;
  border: 1px solid rgba(46, 168, 255, 0.45);
  border-radius: 8px;
  opacity: 0.86;
  background:
    linear-gradient(135deg, rgba(13, 127, 235, 0.16), rgba(3, 18, 32, 0.82)),
    repeating-linear-gradient(90deg, transparent 0 17px, rgba(41, 161, 255, 0.12) 18px),
    repeating-linear-gradient(0deg, transparent 0 16px, rgba(41, 161, 255, 0.12) 17px);
  box-shadow: 0 0 26px rgba(0, 147, 255, 0.18);
  transform: perspective(320px) rotateY(8deg);
}

.chart-slice::after {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 26px;
  height: 64px;
  clip-path: polygon(0 82%, 10% 68%, 19% 78%, 31% 38%, 45% 60%, 58% 30%, 72% 55%, 86% 20%, 100% 42%, 100% 100%, 0 100%);
  background: rgba(0, 145, 255, 0.55);
  content: "";
}

.globe-slice {
  right: max(0px, calc((100vw - var(--container)) / 2 - 36px));
  top: 68px;
  width: 315px;
  height: 315px;
  border-radius: 50%;
  opacity: 0.85;
  background:
    radial-gradient(circle, transparent 55%, rgba(20, 159, 255, 0.18) 56%, transparent 57%),
    repeating-radial-gradient(circle, rgba(30, 167, 255, 0.82) 0 1px, transparent 2px 8px);
  mask-image: radial-gradient(circle at 55% 45%, #000 0 64%, transparent 67%);
}

.network-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(28, 162, 255, 0.9), transparent);
  transform-origin: center;
}

.line-a {
  left: 0;
  top: 345px;
  width: 420px;
  transform: rotate(28deg);
}

.line-b {
  right: 0;
  top: 360px;
  width: 420px;
  transform: rotate(-24deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

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

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(100px, 12vw, 176px);
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-shadow:
    0 2px 0 #ffffff,
    0 14px 34px rgba(0, 133, 255, 0.55),
    0 -1px 0 #7a91a8;
  background: linear-gradient(180deg, #ffffff 0%, #c5d9ed 38%, #6b89a6 58%, #f2f9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.2;
  font-weight: 900;
}

.hero p {
  max-width: 760px;
  margin: 0 auto 32px;
  color: #d7e7f6;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 60px;
  border: 1px solid rgba(46, 153, 255, 0.72);
  font-size: 20px;
}

.primary-btn {
  background: linear-gradient(180deg, #108fff 0%, #045fe5 100%);
  box-shadow: 0 0 30px rgba(0, 129, 255, 0.35);
}

.ghost-btn {
  background: rgba(1, 11, 20, 0.66);
  border-color: rgba(190, 215, 236, 0.42);
}

.primary-btn span,
.ghost-btn span {
  margin-left: 14px;
}

.nav-cta:hover,
.primary-btn:hover,
.ghost-btn:hover,
.submit-btn:hover {
  transform: translateY(-2px);
}

.hero-tags {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 720px;
  min-height: 58px;
  margin: 118px auto 0;
  border: 1px solid rgba(67, 165, 255, 0.28);
  border-radius: 10px;
  background: rgba(2, 17, 30, 0.72);
  backdrop-filter: blur(10px);
}

.hero-tags span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #bfd4e6;
  font-size: 15px;
  border-right: 1px solid rgba(67, 165, 255, 0.14);
}

.hero-tags span:last-child {
  border-right: 0;
}

.mini-icon {
  position: relative;
  display: inline-block;
  width: 19px;
  height: 19px;
  border: 1px solid var(--cyan);
  border-radius: 5px;
  box-shadow: 0 0 12px rgba(32, 199, 255, 0.62);
}

.link-icon,
.globe-icon {
  border-radius: 50%;
}

.grow-icon::after,
.globe-icon::after {
  position: absolute;
  inset: 4px;
  border: 1px solid var(--cyan);
  content: "";
}

.section {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 74px 0 0;
}

.section-title {
  display: grid;
  grid-template-columns: minmax(58px, 140px) auto minmax(58px, 140px);
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin: 0 0 38px;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 900;
  text-align: center;
}

.section-title span {
  height: 1px;
  background: linear-gradient(90deg, transparent, #0aa9ff);
}

.section-title span:last-child {
  background: linear-gradient(90deg, #0aa9ff, transparent);
}

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

.value-card,
.direction-card,
.co-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(9, 38, 62, 0.78), rgba(3, 15, 27, 0.86)),
    radial-gradient(circle at 50% 0, rgba(14, 143, 255, 0.18), transparent 60%);
  box-shadow:
    inset 0 0 28px rgba(0, 144, 255, 0.06),
    0 16px 46px rgba(0, 0, 0, 0.18);
}

.value-card {
  min-height: 280px;
  padding: 34px 28px;
  text-align: center;
}

.big-icon {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 26px;
  border: 2px solid rgba(43, 177, 255, 0.78);
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(0, 153, 255, 0.46);
}

.diamond-icon {
  border-radius: 8px;
  transform: rotate(45deg) scale(0.76);
}

.diamond-icon::after {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(169, 225, 255, 0.9);
  content: "";
}

.pen-icon::after {
  position: absolute;
  left: 40px;
  top: 18px;
  width: 12px;
  height: 58px;
  border-radius: 8px;
  background: #64c9ff;
  transform: rotate(38deg);
  content: "";
}

.nodes-icon::before {
  position: absolute;
  inset: 24px;
  border: 2px solid #47bdff;
  border-radius: 50%;
  content: "";
}

.nodes-icon::after {
  position: absolute;
  inset: 10px;
  background:
    radial-gradient(circle at 11px 11px, #70d7ff 0 6px, transparent 7px),
    radial-gradient(circle at 71px 11px, #70d7ff 0 6px, transparent 7px),
    radial-gradient(circle at 71px 71px, #70d7ff 0 6px, transparent 7px),
    radial-gradient(circle at 11px 71px, #70d7ff 0 6px, transparent 7px);
  content: "";
}

.world-icon::before,
.world-icon::after {
  position: absolute;
  inset: 14px;
  border: 1px solid #7bd8ff;
  border-radius: 50%;
  content: "";
}

.world-icon::after {
  inset: 0 36px;
}

.value-card h3,
.direction-card h3,
.co-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 900;
}

.value-card p,
.direction-card p,
.co-card p,
.bottom-cta p {
  color: var(--muted);
  line-height: 1.82;
}

.value-card p {
  margin: 0;
  font-size: 16px;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.direction-card {
  overflow: hidden;
}

.direction-card img,
.media-code {
  display: block;
  width: 100%;
  aspect-ratio: 1.16 / 1;
  border-bottom: 1px solid rgba(58, 164, 255, 0.22);
}

.direction-card img {
  object-fit: cover;
}

.media-code {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 66% 44%, rgba(73, 198, 255, 0.5), transparent 30%),
    linear-gradient(90deg, rgba(0, 152, 255, 0.28), transparent 54%),
    repeating-linear-gradient(0deg, rgba(39, 169, 255, 0.16) 0 1px, transparent 2px 9px);
}

.media-code::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 74% 50%, rgba(91, 210, 255, 0.32), transparent 34%),
    linear-gradient(90deg, transparent 30%, rgba(24, 122, 220, 0.16) 54%, transparent 100%);
  content: "";
}

.media-code span {
  position: absolute;
  left: 18%;
  top: 38%;
  color: #35c7ff;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 900;
  text-shadow: 0 0 24px rgba(0, 140, 255, 0.86);
}

.direction-card div {
  min-height: 154px;
  padding: 22px 18px 24px;
}

.direction-card h3 {
  font-size: 20px;
}

.direction-card p {
  margin: 0;
  font-size: 15px;
}

.cooperation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.co-card {
  min-height: 270px;
  padding: 34px 34px 30px;
}

.co-icon {
  position: relative;
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
  border: 2px solid rgba(40, 172, 255, 0.8);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.6), transparent 58%);
  box-shadow: 0 0 28px rgba(0, 145, 255, 0.42);
}

.co-icon::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #aee8ff;
  font-size: 30px;
  font-weight: 900;
}

.hand-icon::after {
  content: "↔";
}

.net-icon::after {
  content: "⌘";
}

.shield-icon::after {
  content: "★";
}

.co-card p {
  margin-bottom: 20px;
  font-size: 15px;
}

ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #b7d4ee;
  font-size: 15px;
}

li::before {
  margin-right: 9px;
  color: #20b8ff;
  content: "⊙";
}

.bottom-cta {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  margin-top: 76px;
  border-top: 1px solid rgba(79, 164, 255, 0.18);
  background:
    radial-gradient(circle at 72% 58%, rgba(0, 123, 255, 0.26), transparent 34%),
    linear-gradient(180deg, rgba(4, 22, 36, 0.78), rgba(3, 14, 24, 0.98));
}

.bottom-bg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.code-cube {
  position: relative;
  width: min(58vw, 720px);
  height: 100%;
  opacity: 0.96;
}

.code-cube::before {
  position: absolute;
  inset: 56% 4% 4% 0;
  content: "";
  background:
    linear-gradient(150deg, transparent 28%, rgba(34, 166, 255, 0.38) 29% 30%, transparent 31%),
    linear-gradient(30deg, transparent 35%, rgba(35, 167, 255, 0.22) 36% 37%, transparent 38%),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(23, 155, 255, 0.16) 35px 36px),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(23, 155, 255, 0.12) 29px 30px);
  transform: perspective(520px) rotateX(58deg);
  transform-origin: center bottom;
  filter: drop-shadow(0 0 24px rgba(0, 149, 255, 0.35));
}

.code-cube::after {
  position: absolute;
  right: 24%;
  bottom: 16%;
  width: 180px;
  height: 180px;
  border: 2px solid rgba(72, 204, 255, 0.84);
  background:
    linear-gradient(135deg, rgba(20, 151, 255, 0.2), rgba(3, 33, 60, 0.72)),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(80, 213, 255, 0.28) 45px 46px),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(80, 213, 255, 0.28) 45px 46px);
  box-shadow:
    0 0 44px rgba(0, 154, 255, 0.55),
    inset 0 0 36px rgba(74, 205, 255, 0.22);
  transform: perspective(620px) rotateX(-12deg) rotateY(-28deg);
  content: "";
}

.code-cube span {
  position: absolute;
  z-index: 1;
  right: calc(24% + 42px);
  bottom: calc(16% + 73px);
  color: #d8f4ff;
  font-size: 26px;
  font-weight: 900;
  text-shadow: 0 0 18px rgba(0, 166, 255, 0.86);
}

.bottom-content {
  position: relative;
  z-index: 1;
  padding: 78px 0;
}

.bottom-cta h2 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.32;
}

.bottom-cta strong {
  color: #12a8ff;
}

.bottom-cta p {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: 18px;
}

.bottom-actions {
  justify-content: flex-start;
}

.site-footer {
  background: rgba(4, 15, 26, 0.95);
  border-top: 1px solid rgba(60, 146, 230, 0.2);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px 0;
  color: #8ea0b1;
  font-size: 14px;
}

.footer-inner strong {
  color: #fff;
  font-size: 34px;
}

.footer-inner p {
  margin: 0;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.contact-modal.is-hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.contact-form {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  padding: 32px 28px 22px;
  border: 1px solid rgba(49, 203, 255, 0.75);
  border-radius: 10px;
  background:
    radial-gradient(circle at 55% 78%, rgba(0, 99, 215, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(5, 25, 42, 0.98), rgba(3, 15, 27, 0.98));
  box-shadow:
    0 0 36px rgba(0, 175, 255, 0.28),
    inset 0 0 50px rgba(0, 108, 205, 0.12);
}

.contact-form h2 {
  margin-bottom: 24px;
  font-size: 28px;
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #9eb4c6;
}

.popup-close::before,
.popup-close::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  height: 1px;
  background: currentColor;
  content: "";
}

.popup-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.popup-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.contact-form label {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: start;
  gap: 12px;
  margin-bottom: 14px;
  color: #bdcfdd;
  font-size: 14px;
}

.contact-form label span {
  padding-top: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(105, 160, 203, 0.36);
  border-radius: 5px;
  background: rgba(2, 14, 26, 0.74);
  color: #eaf7ff;
  outline: 0;
}

.contact-form input,
.contact-form select {
  height: 40px;
  padding: 0 12px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
  padding: 10px 12px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(32, 199, 255, 0.84);
  box-shadow: 0 0 0 2px rgba(32, 199, 255, 0.08);
}

.submit-btn {
  width: 100%;
  height: 46px;
  margin-top: 8px;
  border: 1px solid rgba(64, 171, 255, 0.8);
  background: linear-gradient(180deg, #108fff, #055fe8);
}

.submit-btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.privacy {
  margin: 12px 0 0;
  color: #7f93a5;
  font-size: 12px;
  text-align: center;
}

.form-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: #56d6ff;
  font-size: 13px;
  text-align: center;
}

.form-status.error {
  color: #ff9a9a;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 64px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 660px;
    padding-top: 74px;
  }

  .chart-slice,
  .globe-slice {
    opacity: 0.45;
  }

  .hero-tags,
  .value-grid,
  .direction-grid,
  .cooperation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .direction-grid {
    max-width: 760px;
    margin: 0 auto;
  }

  .code-cube {
    width: 72vw;
    opacity: 0.58;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container,
  .section {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    padding: 0 16px;
  }

  .brand {
    font-size: 24px;
  }

  .nav-cta {
    width: 96px;
    height: 38px;
    font-size: 14px;
  }

  .hero {
    min-height: 650px;
    padding-top: 66px;
  }

  .hero h1 {
    font-size: clamp(72px, 22vw, 104px);
  }

  .hero h2 {
    font-size: 25px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-actions,
  .bottom-actions {
    flex-direction: column;
    gap: 14px;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
    min-width: 0;
  }

  .hero-tags,
  .value-grid,
  .direction-grid,
  .cooperation-grid {
    grid-template-columns: 1fr;
  }

  .hero-tags {
    margin-top: 60px;
  }

  .hero-tags span {
    min-height: 48px;
    border-right: 0;
    border-bottom: 1px solid rgba(67, 165, 255, 0.14);
  }

  .hero-tags span:last-child {
    border-bottom: 0;
  }

  .section {
    padding-top: 56px;
  }

  .section-title {
    grid-template-columns: 42px auto 42px;
    gap: 14px;
  }

  .value-card,
  .co-card {
    min-height: auto;
  }

  .bottom-cta {
    min-height: 440px;
  }

  .bottom-content {
    padding: 56px 0;
  }

  .code-cube {
    width: 100vw;
    height: 62%;
    align-self: end;
    opacity: 0.5;
  }

  .contact-form {
    padding: 30px 18px 20px;
  }

  .contact-form label {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .contact-form label span {
    padding-top: 0;
  }
}
