:root {
  color-scheme: light;
  --ink: #0a1f35;
  --muted: #5d7186;
  --blue: #1168ff;
  --blue-dark: #083f9f;
  --cyan: #2fc8ff;
  --line: #dce9f7;
  --soft: #f5f9ff;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(12, 58, 118, 0.14);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: var(--white);
  overflow-x: hidden;
}

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

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

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

.hero__copy,
.hero__visual,
.product-layout,
.about-layout,
.contact-layout,
.advantage-layout,
.case-track,
.service-grid,
.product-grid {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 233, 247, 0.8);
  backdrop-filter: blur(18px);
}

.top-strip {
  color: #d9ecff;
  background: linear-gradient(90deg, #06295e, #0b65d8);
  font-size: 13px;
}

.top-strip__inner,
.nav-bar,
.brand,
.hero__actions,
.case-carousel,
.contact-band__inner,
.footer-grid {
  display: flex;
  align-items: center;
}

.top-strip__inner {
  justify-content: space-between;
  min-height: 34px;
}

.top-strip__phone {
  font-weight: 700;
}

.nav-bar {
  min-height: 78px;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(17, 104, 255, 0.28);
}

.brand__mark--image {
  padding: 4px;
  background: #ffffff;
}

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

.admin-hotspot {
  display: inline;
}

.brand strong,
.brand small {
  display: block;
  overflow-wrap: anywhere;
}

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

.main-nav {
  display: flex;
  gap: 6px;
}

.main-nav a {
  padding: 11px 14px;
  border-radius: 8px;
  color: #17324f;
  font-size: 15px;
}

.main-nav a:hover {
  color: var(--blue);
  background: #eef6ff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 24%, rgba(47, 200, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #e9f4ff 45%, #ffffff 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(17, 104, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 104, 255, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, black, transparent 80%);
}

.hero__inner {
  position: relative;
  display: grid;
  min-height: 680px;
  align-items: center;
  grid-template-columns: 1fr 0.82fr;
  gap: 52px;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1,
.section-heading h2,
.advantage-layout h2,
.contact-layout h2 {
  margin: 0;
  color: #061b32;
  letter-spacing: 0;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.08;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: #4a6178;
  font-size: 18px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.hero__actions {
  margin-top: 34px;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.spotlight {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.spotlight::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(
      180px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
      rgba(255, 255, 255, 0.92),
      rgba(47, 200, 255, 0.28) 28%,
      rgba(17, 104, 255, 0.12) 46%,
      transparent 72%
    );
  transition: opacity 0.22s ease;
  content: "";
}

.spotlight:hover::before {
  opacity: 1;
}

.button.spotlight::before {
  z-index: 0;
  background:
    radial-gradient(
      140px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
      rgba(255, 255, 255, 0.52),
      rgba(47, 200, 255, 0.22) 34%,
      transparent 70%
    );
}

.button > * {
  position: relative;
  z-index: 1;
}

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

.button--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #00a3ff);
  box-shadow: 0 14px 28px rgba(17, 104, 255, 0.24);
}

.button--ghost {
  color: var(--blue-dark);
  border-color: #bfddff;
  background: rgba(255, 255, 255, 0.78);
}

.button--light {
  color: var(--blue-dark);
  background: var(--white);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.hero__visual {
  position: relative;
  min-height: 440px;
}

.hero__image {
  border-radius: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 20px 44px rgba(12, 58, 118, 0.14));
}

.orbital-panel {
  position: relative;
  display: none;
  min-height: 440px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(167, 210, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
}

.orbital-panel::before {
  position: absolute;
  inset: 80px 52px;
  border: 1px solid rgba(17, 104, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.panel-header {
  display: flex;
  gap: 8px;
}

.panel-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8dcaff;
}

.signal-map {
  position: absolute;
  inset: 70px 40px 98px;
}

.node {
  position: absolute;
  width: 78px;
  height: 78px;
  border: 2px solid rgba(17, 104, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #e6f4ff);
  box-shadow: 0 16px 34px rgba(17, 104, 255, 0.15);
}

.node::after {
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 24px rgba(47, 200, 255, 0.9);
  content: "";
}

.node--a {
  left: 8%;
  top: 14%;
}

.node--b {
  right: 6%;
  top: 6%;
}

.node--c {
  left: 32%;
  bottom: 0;
}

.node--d {
  right: 24%;
  bottom: 22%;
}

.signal-line {
  position: absolute;
  height: 2px;
  transform-origin: left;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
}

.signal-line--one {
  top: 98px;
  left: 24%;
  width: 54%;
  transform: rotate(-7deg);
}

.signal-line--two {
  top: 202px;
  left: 18%;
  width: 60%;
  transform: rotate(22deg);
}

.signal-line--three {
  bottom: 84px;
  left: 38%;
  width: 38%;
  transform: rotate(-29deg);
}

.panel-metrics {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.panel-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.panel-metrics strong {
  color: var(--blue);
  font-size: 22px;
}

.stats-section {
  margin-top: -54px;
  position: relative;
  z-index: 2;
}

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

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(13, 63, 133, 0.1);
}

.stat-card strong {
  display: block;
  color: var(--blue);
  font-size: 42px;
  line-height: 1;
}

.stat-card small {
  margin-left: 4px;
  font-size: 18px;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.section {
  padding: 86px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading--left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.advantage-layout h2,
.contact-layout h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.service-card,
.product-card,
.case-card,
.advantage-detail,
.inquiry-form,
.blueprint-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 46px rgba(12, 58, 118, 0.08);
}

.service-card {
  min-height: 220px;
  padding: 28px;
}

.service-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.service-card__image,
.case-card__image {
  width: 100%;
  height: 118px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
}

.case-card__image {
  height: 96px;
}

.service-card h3,
.product-card h3,
.case-card h3,
.advantage-detail h3 {
  margin: 18px 0 10px;
  font-size: 20px;
}

.service-card p,
.product-card p,
.case-card p,
.advantage-detail p,
.about-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.section--blue {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(5, 22, 49, 0.94), rgba(4, 78, 166, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 120px);
}

.section-heading--light h2,
.section-heading--light p,
.section-heading--light .eyebrow {
  color: var(--white);
}

.case-carousel {
  gap: 16px;
}

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

.case-card {
  min-height: 230px;
  padding: 28px;
  color: var(--ink);
  opacity: 0.72;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.case-card.is-active {
  opacity: 1;
  transform: translateY(0);
}

.case-card span,
.product-card small {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.case-card small {
  display: block;
  margin-top: 24px;
  color: #7f98b1;
}

.round-button {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 28px;
}

.product-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
}

.product-layout .section-heading {
  grid-row: span 2;
}

.product-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-self: start;
}

.product-tabs button,
.advantage-tabs button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.product-tabs button {
  min-height: 38px;
  padding: 0 14px;
  color: #284760;
}

.product-tabs button.is-active,
.advantage-tabs button.is-active {
  color: var(--white);
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue), #00a3ff);
}

.product-card {
  padding: 20px;
}

.product-card__visual {
  display: grid;
  height: 128px;
  place-items: center;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 104, 255, 0.16), rgba(47, 200, 255, 0.16)),
    linear-gradient(90deg, transparent 49%, rgba(17, 104, 255, 0.16) 50%, transparent 51%);
}

.product-card__visual span {
  color: rgba(17, 104, 255, 0.42);
  font-size: 48px;
  font-weight: 800;
}

.product-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advantage-section {
  padding: 86px 0;
  background: var(--soft);
}

.advantage-layout {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.advantage-tabs {
  display: grid;
  gap: 12px;
}

.advantage-tabs button {
  min-height: 62px;
  padding: 0 18px;
  text-align: left;
}

.advantage-tabs span {
  margin-right: 12px;
  font-weight: 800;
}

.advantage-detail {
  padding: 30px;
}

.about-section {
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.blueprint-card {
  position: relative;
  min-height: 360px;
  padding: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a3a83, #0d86d8);
  color: var(--white);
}

.blueprint-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blueprint-card span {
  position: relative;
  color: #c6edff;
  font-size: 13px;
  font-weight: 800;
}

.blueprint-card strong {
  position: relative;
  display: block;
  max-width: 330px;
  margin-top: 14px;
  font-size: 30px;
  line-height: 1.35;
}

.blueprint-lines {
  display: none;
  position: absolute;
  inset: 120px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 34px 34px;
}

.about-copy {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.contact-band {
  color: var(--white);
  background: linear-gradient(90deg, #06306b, #118bff);
  background-position: center;
  background-size: cover;
}

.contact-band__inner {
  min-height: 108px;
  justify-content: space-between;
  gap: 24px;
}

.contact-band strong {
  font-size: clamp(22px, 3vw, 34px);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
}

.contact-list div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: var(--muted);
  font-size: 13px;
}

.contact-list dd {
  margin: 6px 0 0;
  font-weight: 700;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: #284760;
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--ink);
}

.inquiry-form input,
.inquiry-form select {
  height: 46px;
  padding: 0 14px;
}

.inquiry-form textarea {
  resize: vertical;
  padding: 12px 14px;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.form-message.is-success {
  color: #047857;
}

.form-message.is-error {
  color: #b42318;
}

.site-footer {
  padding: 34px 0;
  color: #c9d8e8;
  background: #061b32;
}

.footer-grid {
  justify-content: space-between;
  gap: 28px;
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.mobile-bottom-nav {
  display: none;
}

.admin-login {
  width: min(420px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.admin-login::backdrop {
  background: rgba(4, 18, 39, 0.48);
  backdrop-filter: blur(8px);
}

.admin-login__box {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-login__box h2 {
  margin: 0;
}

.admin-login__box p {
  margin: 0;
  color: var(--muted);
}

.admin-login__box label {
  display: grid;
  gap: 8px;
  color: #284760;
  font-weight: 700;
}

.admin-login__box input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-login__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  cursor: pointer;
  font-size: 20px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    right: 20px;
    top: 112px;
    display: none;
    width: min(320px, calc(100vw - 40px));
    padding: 12px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .hero,
  .hero__inner {
    min-height: auto;
  }

  .hero__inner,
  .about-layout,
  .contact-layout,
  .product-layout,
  .advantage-layout {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    padding: 82px 0;
  }

  .stats-grid,
  .service-grid,
  .product-grid,
  .case-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }

  .top-strip {
    display: none;
  }

  .nav-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    min-height: 68px;
    gap: 8px;
  }

  .brand {
    max-width: 100%;
  }

  .brand__mark {
    width: 48px;
    flex: 0 0 48px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 16px;
  }

  .main-nav {
    top: 74px;
  }

  .hero__inner {
    padding: 58px 0 74px;
    gap: 30px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.16;
    width: 100%;
    max-width: 340px;
    white-space: normal;
    word-break: break-all;
  }

  .hero__copy,
  .hero p {
    max-width: 100%;
  }

  .hero p {
    width: min(100%, 340px);
  }

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

  .hero__visual,
  .orbital-panel {
    width: 100%;
    max-width: 100%;
    min-height: 320px;
  }

  .hero__image {
    display: block;
    max-height: 290px;
  }

  .panel-metrics {
    grid-template-columns: 1fr auto;
  }

  .stats-section {
    margin-top: 0;
    padding-top: 26px;
  }

  .stats-grid,
  .service-grid,
  .product-grid,
  .case-track {
    grid-template-columns: 1fr;
  }

  .case-carousel {
    align-items: stretch;
  }

  .round-button {
    display: none;
  }

  .section,
  .advantage-section {
    padding: 62px 0;
  }

  .contact-band__inner,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
  }

  .mobile-bottom-nav a {
    min-width: 0;
    padding: 11px 4px;
    color: var(--blue-dark);
    overflow: hidden;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
  }

  body {
    padding-bottom: 46px;
  }
}
