:root {
  color-scheme: dark;
  --page-width: 1280px;
  --blue: #0787ff;
}

* {
  box-sizing: border-box;
}

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

.design-shell {
  position: relative;
  width: min(100%, var(--page-width));
  margin: 0 auto;
  background: #020b14;
  box-shadow:
    0 0 90px rgba(0, 123, 255, 0.2),
    0 0 0 1px rgba(28, 135, 255, 0.08);
}

.design-image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  image-rendering: auto;
}

.hotspot {
  position: absolute;
  z-index: 5;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.hotspot:focus-visible,
.image-form input:focus-visible,
.image-form select:focus-visible,
.image-form textarea:focus-visible,
.submit-btn:focus-visible {
  outline: 2px solid rgba(68, 199, 255, 0.95);
  outline-offset: 2px;
}

.nav-consult {
  left: 86.45%;
  top: 0.66%;
  width: 10.42%;
  height: 1.76%;
}

.nav-contact {
  left: 61.8%;
  top: 0.65%;
  width: 8.2%;
  height: 1.85%;
}

.hero-consult {
  left: 27.78%;
  top: 20.15%;
  width: 21.64%;
  height: 2.53%;
}

.hero-intent {
  left: 51.5%;
  top: 20.15%;
  width: 20.02%;
  height: 2.53%;
}

.bottom-contact {
  left: 6.13%;
  top: 88.8%;
  width: 17.02%;
  height: 2.6%;
}

.bottom-docs {
  left: 25.46%;
  top: 88.8%;
  width: 19.22%;
  height: 2.6%;
}

.image-form {
  position: absolute;
  z-index: 10;
  left: 64.1%;
  top: 63.35%;
  width: 34%;
  height: 25.25%;
  border: 1px solid rgba(49, 203, 255, 0.75);
  border-radius: 8px;
  background:
    radial-gradient(circle at 55% 78%, rgba(0, 99, 215, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(5, 25, 42, 0.98), rgba(3, 15, 27, 0.98));
  box-shadow:
    0 0 28px rgba(0, 175, 255, 0.24),
    inset 0 0 44px rgba(0, 108, 205, 0.12);
}

.image-form::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 6%;
  color: #f4fbff;
  content: "提交合作意向";
  font-size: clamp(14px, 2.2vw, 24px);
  font-weight: 900;
  text-align: center;
  text-shadow: 0 0 14px rgba(0, 157, 255, 0.28);
}

.image-form.is-hidden {
  display: none;
}

.popup-close {
  position: absolute;
  z-index: 11;
  right: 5%;
  top: 4%;
  width: 8%;
  height: 7%;
  border: 0;
  background: transparent;
  color: #9eb4c6;
  cursor: pointer;
}

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

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

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

.field-label {
  position: absolute;
  left: 8%;
  width: 18%;
  color: #bdcfdd;
  font-size: clamp(8px, 1.12vw, 12px);
  line-height: 1;
}

.name-label {
  top: 20.2%;
}

.company-label {
  top: 30.1%;
}

.contact-label {
  top: 40%;
}

.type-label {
  top: 50%;
}

.message-label {
  top: 64.2%;
}

.image-form input,
.image-form select,
.image-form textarea {
  position: absolute;
  left: 28%;
  width: 65%;
  border: 1px solid rgba(105, 160, 203, 0.32);
  border-radius: 4px;
  background: rgba(2, 14, 26, 0.74);
  color: #eaf7ff;
  font-size: clamp(8px, 1.18vw, 12px);
  line-height: 1.2;
  outline: 0;
  appearance: none;
}

.image-form input {
  height: 7.9%;
  padding: 0 4%;
}

.image-form select {
  height: 7.9%;
  padding: 0 8% 0 4%;
  color: #eaf7ff;
}

.image-form textarea {
  height: 21.4%;
  padding: 3.5% 4%;
  resize: none;
}

.image-form input::placeholder,
.image-form textarea::placeholder {
  color: transparent;
}

.image-form input[name="name"] {
  top: 17.2%;
}

.image-form input[name="company"] {
  top: 27.1%;
}

.image-form input[name="contact"] {
  top: 37%;
}

.image-form select[name="type"] {
  top: 47%;
}

.image-form textarea[name="message"] {
  top: 61.6%;
}

.submit-btn {
  position: absolute;
  left: 7%;
  top: 84.7%;
  width: 86%;
  height: 9.1%;
  border: 1px solid rgba(64, 171, 255, 0.8);
  border-radius: 6px;
  background: linear-gradient(180deg, #108fff, #055fe8);
  cursor: pointer;
  color: #fff;
  font-size: clamp(9px, 1.4vw, 15px);
  font-weight: 900;
}

.submit-btn::before {
  content: "发送意向";
}

.submit-btn:disabled {
  cursor: wait;
}

.form-status {
  position: absolute;
  left: 7%;
  top: 95.5%;
  width: 86%;
  min-height: 16px;
  margin: 0;
  color: #56d6ff;
  font-size: clamp(8px, 1vw, 12px);
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

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

@media (max-width: 560px) {
  .design-shell {
    width: 100vw;
  }

  .image-form input,
  .image-form select,
  .image-form textarea {
    font-size: 8px;
  }
}
