@charset "UTF-8";

/* ===== 六花装载机 · 工业装载界面风格 ===== */

:root {
  --navy: #1E3A56;
  --navy-deep: #12283D;
  --navy-soft: #2C4C6B;
  --steel: #6C8AA5;
  --steel-line: #C9D6E2;
  --paper: #F4F6F8;
  --white: #ffffff;
  --ink: #16232E;
  --muted: #5B6D7C;
  --radius: 4px;
  --shell: 1200px;
  --header-height: 72px;
  --mono: "Bahnschrift", "DIN Alternate", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.66;
}

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

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

button {
  color: inherit;
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #F0B23C;
  outline-offset: 3px;
}

.page-shell {
  width: min(calc(100% - 52px), var(--shell));
  margin: 0 auto;
}

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  vertical-align: middle;
}

.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: center / contain no-repeat;
}

.icon-download::before { background-image: url("../icons/download.svg"); }
.icon-menu::before { background-image: url("../icons/menu.svg"); }
.icon-close::before { background-image: url("../icons/close.svg"); }
.icon-arrow::before { background-image: url("../icons/arrow.svg"); }
.icon-globe::before { background-image: url("../icons/globe.svg"); }
.icon-plus::before { background-image: url("../icons/plus.svg"); }
.icon-bolt::before { background-image: url("../icons/bolt.svg"); }
.icon-shield::before { background-image: url("../icons/shield.svg"); }
.icon-route::before { background-image: url("../icons/route.svg"); }
.icon-book::before { background-image: url("../icons/book.svg"); }

/* ---------- 顶栏 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 3px solid #F0B23C;
  background: var(--navy-deep);
}

.nav-shell {
  display: flex;
  align-items: center;
  width: min(calc(100% - 52px), var(--shell));
  min-height: var(--header-height);
  margin: 0 auto;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  object-fit: contain;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul,
.footer-nav ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav ul {
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
}

.primary-nav a {
  display: inline-block;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  color: #B9CBD9;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  transition: color 160ms ease, border-color 160ms ease;
}

.primary-nav a:hover {
  border-bottom-color: #F0B23C;
  color: #fff;
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.nav-download {
  min-width: 130px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #F0B23C;
  color: #F0B23C;
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-download .icon {
  filter: invert(72%) sepia(56%) saturate(1200%) hue-rotate(348deg) brightness(101%);
}

.nav-download:hover {
  background: #F0B23C;
  color: var(--navy-deep);
}

.nav-download:hover .icon {
  filter: brightness(0) saturate(100%) invert(16%) sepia(18%) saturate(1400%) hue-rotate(170deg);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #44637F;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 19px;
  height: 19px;
  filter: brightness(0) invert(1);
}

/* ---------- 英雄区 ---------- */

.hero {
  padding: 0;
  color: #EAF1F7;
  background:
    linear-gradient(160deg, #16304A 0%, #1E3A56 46%, #264863 100%);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(26px, 4vw, 54px);
  padding: 62px 0 66px;
}

.hero-copy {
  max-width: 470px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #F0B23C;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 3px;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 16px 0 14px;
  padding-left: 14px;
  border-left: 3px solid #F0B23C;
  color: #D9E6F0;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.4;
}

.hero-summary {
  max-width: 450px;
  margin: 0 0 28px;
  color: #A8C0D2;
  font-size: 14.5px;
  line-height: 1.8;
}

.button {
  min-height: 48px;
  padding: 0 26px;
}

.button-primary {
  border: 1px solid #F0B23C;
  background: #F0B23C;
  color: #22313E;
  box-shadow: 0 8px 20px rgba(240, 178, 60, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button-primary .icon {
  filter: brightness(0) saturate(100%) invert(16%) sepia(18%) saturate(1400%) hue-rotate(170deg);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(240, 178, 60, 0.3);
}

/* 英雄组件：装载进度与三层资源包 */

.hero-loader {
  width: 100%;
  max-width: 486px;
  margin-left: auto;
  padding: 20px 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(9, 23, 36, 0.55);
  box-shadow: 0 22px 44px rgba(4, 14, 24, 0.38);
  backdrop-filter: blur(4px);
}

.ld-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.ld-top span {
  color: #9FB6C8;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 2px;
}

.ld-top b {
  color: #F0B23C;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.ld-stack {
  display: grid;
  gap: 8px;
  margin: 16px 0 18px;
}

.ld-pack {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid #6C8AA5;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.ld-pack b {
  display: block;
  color: #EAF1F7;
  font-size: 13.5px;
  font-weight: 700;
}

.ld-pack small {
  display: block;
  margin-top: 2px;
  color: #8FA8BB;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.4px;
}

.ld-pack em {
  color: #9FB6C8;
  font-size: 11px;
  font-style: normal;
}

.ld-tag {
  display: grid;
  place-items: center;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  color: #C6D7E4;
  font-family: var(--mono);
  font-size: 10.5px;
}

.ld-pack.p1 {
  border-left-color: #4EC08A;
  transform: translateX(0);
}

.ld-pack.p1 em {
  color: #6ED8A5;
}

.ld-pack.p2 {
  transform: translateX(14px);
  border-left-color: #F0B23C;
}

.ld-pack.p2 em {
  color: #F0B23C;
}

.ld-pack.p3 {
  transform: translateX(28px);
  opacity: 0.78;
}

.ld-progress {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.ld-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.11);
}

.ld-bar i {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(115deg, #F0B23C 0 9px, #F7C868 9px 18px);
}

.ld-legend {
  display: flex;
  justify-content: space-between;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
  color: #9FB6C8;
  font-family: var(--mono);
  font-size: 10.5px;
}

.ld-legend b {
  color: #F0B23C;
  font-size: 12px;
}

/* ---------- 区块标题 ---------- */

.section-heading {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.24;
}

.section-heading > p:last-child {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- 核心特色 ---------- */

.routes {
  padding: 70px 0 76px;
  background: var(--white);
  border-bottom: 1px solid var(--steel-line);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.routes .section-heading .eyebrow {
  color: #B07514;
}

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

.four {
  position: relative;
  padding: 26px 20px 24px;
  border: 1px solid var(--steel-line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  background: #FBFCFD;
  transition: border-top-color 180ms ease, background-color 180ms ease;
}

.four:hover {
  border-top-color: #F0B23C;
  background: #fff;
}

.four .n {
  display: block;
  margin-bottom: 14px;
  color: #C3D1DD;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
}

.four h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.four p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.78;
}

/* ---------- 界面展示 ---------- */

.screens {
  padding: 72px 0 78px;
  background: var(--paper);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.screens .section-heading .eyebrow {
  color: #B07514;
}

.covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.covers figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  background: #fff;
}

.covers img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #E7EDF2;
  object-fit: cover;
  object-position: top center;
}

.covers b {
  display: block;
  padding: 10px 12px 0;
  font-size: 13.5px;
  font-weight: 800;
}

.covers small {
  display: block;
  padding: 2px 12px 12px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */

.faq {
  padding: 72px 0 62px;
  background: var(--white);
  border-top: 1px solid var(--steel-line);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.faq .section-heading .eyebrow {
  color: #B07514;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  background: #FBFCFD;
}

.faq-item[open] {
  border-color: #A9BECD;
  background: #fff;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

.faq-item summary .icon {
  flex: none;
  filter: invert(24%) sepia(24%) saturate(900%) hue-rotate(170deg) brightness(88%);
  transition: transform 180ms ease;
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 16px 16px;
}

.faq-answer p {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #E5EBF1;
  color: var(--muted);
  font-size: 13.4px;
  line-height: 1.8;
}

/* ---------- 官方入口 ---------- */

.official {
  padding: 0 0 70px;
  background: var(--white);
}

.official .section-heading .eyebrow {
  color: #B07514;
}

.official-fold {
  border: 1px solid var(--steel-line);
  border-radius: var(--radius);
  background: #F7F9FB;
}

.official-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.official-fold summary::-webkit-details-marker {
  display: none;
}

.official-fold summary::after {
  margin-left: auto;
  content: "+";
  font-family: var(--mono);
  font-size: 17px;
}

.official-fold[open] summary::after {
  content: "−";
}

.official-link {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--steel-line);
  background: #fff;
}

.official-link p {
  margin: 0;
  font-size: 13.5px;
}

.official-link a {
  color: #B07514;
  font-weight: 700;
  word-break: break-all;
}

/* ---------- 用户评价 ---------- */

.reviews {
  padding: 68px 0 76px;
  background: var(--navy);
  color: #E6EFF6;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.reviews .section-heading h2 {
  color: #fff;
}

.reviews .section-heading > p:last-child {
  color: #A3BBCD;
}

.reviews .section-heading .eyebrow {
  color: #F0B23C;
}

.rgrid {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
}

.review-card {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 20px;
  background: #1B3550;
}

.review-card header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-card .who b {
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
}

.review-card time {
  color: #7E99AF;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.3px;
}

.review-card > p {
  margin: 0;
  color: #C4D6E3;
  font-size: 13.5px;
  line-height: 1.8;
}

.rv-site {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 9px;
  border: 1px solid rgba(240, 178, 60, 0.4);
  border-radius: 2px;
  color: #F0B23C;
  font-size: 11px;
  word-break: break-all;
}

/* ---------- 下载 ---------- */

.download-cta {
  padding: 0;
  background: var(--navy-deep);
  color: #fff;
  border-top: 3px solid #F0B23C;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.download-cta .page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 48px 0 44px;
}

.download-cta .section-heading {
  margin-bottom: 0;
}

.download-cta .section-heading h2 {
  color: #fff;
}

.download-cta .section-heading > p:last-child {
  color: #A3BBCD;
}

.download-cta .section-heading .eyebrow {
  color: #F0B23C;
}

.download-cta .button {
  min-width: 208px;
}

.disclaimer {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #8FA8BB;
  font-size: 12.5px;
}

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 24px 0 20px;
  background: #0C1B28;
  color: #93A8B8;
}

.site-footer .page-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  font-size: 12.5px;
}

.site-footer a {
  color: #C6D7E4;
  border-bottom: 1px solid rgba(240, 178, 60, 0.5);
}

.site-footer a:hover {
  color: #F0B23C;
}

.icp a {
  border-bottom-color: transparent;
  color: #7E99AF;
  font-family: var(--mono);
}

/* ---------- 返回顶部 ---------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 150px;
  z-index: 40;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #44637F;
  border-radius: 3px;
  background: var(--navy);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.to-top::before {
  width: 8px;
  height: 8px;
  content: "";
  border-top: 2px solid #F0B23C;
  border-left: 2px solid #F0B23C;
  transform: rotate(45deg) translate(1px, 1px);
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: #28506F;
}

@media (max-width: 1000px) {
  .fours {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 46px 0 52px;
  }

  .hero-loader {
    margin: 0 auto;
    max-width: 100%;
  }

  .ld-pack.p2 {
    transform: translateX(10px);
  }

  .ld-pack.p3 {
    transform: translateX(20px);
  }

  .review-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .review-card header {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }

  .download-cta .page-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .download-cta .button {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 62px;
  }

  body {
    padding-top: var(--header-height);
  }

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
  }

  .page-shell,
  .nav-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-rows: var(--header-height);
    min-height: var(--header-height);
    column-gap: 9px;
  }

  .brand {
    grid-row: 1;
    grid-column: 1;
    gap: 7px;
    font-size: 15px;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .primary-nav {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 0 -14px;
    padding: 0 14px 12px;
    background: var(--navy-deep);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding-top: 10px;
  }

  .primary-nav a {
    display: block;
    padding: 9px 10px;
    border: 1px solid #35536F;
    border-radius: var(--radius);
    color: #D6E3ED;
    font-size: 12.5px;
  }

  .nav-download {
    grid-row: 1;
    grid-column: 3;
    min-width: auto;
    min-height: 32px;
    margin-left: auto;
    padding: 0 8px;
    font-size: 11.5px;
  }

  .nav-download .icon {
    width: 14px;
    height: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-row: 1;
    grid-column: 4;
    width: 32px;
    height: 32px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-title {
    font-size: 19px;
  }

  .hero-loader {
    padding: 16px;
  }

  .ld-pack {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 10px 11px;
  }

  .routes,
  .screens,
  .faq,
  .reviews {
    padding: 48px 0;
  }

  .fours {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .faq-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .covers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .download-cta .page-shell {
    padding: 34px 0 30px;
  }

  .download-cta .button {
    width: 100%;
    min-width: 0;
  }

  .site-footer .page-shell {
    display: grid;
    justify-items: start;
    gap: 6px;
  }

  .to-top {
    right: 14px;
    bottom: 132px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 360px) {
  .brand span {
    font-size: 13px;
  }

  .nav-download span {
    display: none;
  }

  .nav-download {
    width: 32px;
    padding: 0;
  }

  .hero h1 {
    font-size: 28px;
  }

  .ld-pack p,
  .ld-pack em {
    display: none;
  }
}
