@charset "UTF-8";

/* ==========================================================
   LX画质助手 —— 深蓝仪表版式（整份独立重写）
   ========================================================== */

:root {
  --blue: #3078D8;
  --blue-deep: #1B4E96;
  --blue-ink: #0E1B2C;
  --blue-ghost: #EAF1FB;
  --page: #F4F7FC;
  --text: #16202E;
  --text-soft: #45566C;
  --muted: #7A8AA0;
  --hair: #D7E1EF;
  --shell: 1200px;
  --header-height: 72px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--page);
  font-family: "Barlow", "PingFang SC", "Microsoft YaHei", Arial, 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 var(--blue);
  outline-offset: 3px;
}

.page-shell {
  width: min(calc(100% - 50px), 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-plus::before { background-image: url("../icons/plus.svg"); }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  color: #E8F0FB;
  background: var(--blue-ink);
  border-bottom: 1px solid #24374F;
}

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

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

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid #37527A;
  border-radius: 10px;
  background: #16283F;
  object-fit: contain;
}

.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: clamp(16px, 2.2vw, 32px);
}

.primary-nav a {
  display: inline-block;
  padding: 8px 0;
  color: #A9BCD4;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 160ms ease;
}
.primary-nav a:hover,
.primary-nav a:focus-visible { color: #fff; }

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 700;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-download {
  min-width: 126px;
  padding: 0 16px;
  border: 1px solid var(--blue);
  color: #BFD6F6;
  background: rgba(48, 120, 216, 0.14);
}
.nav-download:hover {
  color: #fff;
  background: var(--blue);
}
.nav-download .icon,
.button-primary .icon { filter: brightness(0) invert(1); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #37527A;
  border-radius: var(--radius);
  color: #fff;
  background: transparent;
  cursor: pointer;
}
.menu-toggle .icon { width: 19px; height: 19px; filter: brightness(0) invert(1); }

/* ---------- 英雄区 ---------- */
.hero {
  position: relative;
  padding: 74px 0 80px;
  color: #EDF4FE;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 46px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 46px 100%,
    radial-gradient(ellipse at 78% 20%, #1D3E68 0%, #0E1B2C 62%);
  scroll-margin-top: calc(var(--header-height) + 14px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 452px);
  align-items: center;
  gap: 48px;
}

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

.eyebrow {
  margin: 0 0 15px;
  color: #6FA3EA;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.6px;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 16px 0 18px;
  color: #9CC2F4;
  font-size: clamp(22px, 2.5vw, 31px);
  font-weight: 600;
  line-height: 1.32;
}

.hero-summary {
  max-width: 480px;
  margin: 0 0 30px;
  color: #A9BCD4;
  font-size: 15px;
}

.button { min-width: 160px; padding: 0 24px; }

.button-primary {
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
}
.button-primary:hover {
  background: #2A66BC;
  border-color: #2A66BC;
}

/* 英雄组件：参数对照表 */
.hero-setcompare {
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  border: 1px solid #33507A;
  border-radius: 8px;
  background: rgba(12, 25, 42, 0.86);
  box-shadow: 0 26px 50px rgba(3, 10, 20, 0.5);
  overflow: hidden;
}

.sc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid #2A4266;
  background: rgba(48, 120, 216, 0.16);
}
.sc-head b { color: #fff; font-size: 13.5px; letter-spacing: 0.6px; }
.sc-head span {
  color: #8FA9C9;
  font-family: "Consolas", monospace;
  font-size: 10.5px;
}

.sc-table { padding: 6px 10px 10px; }

.sc-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 6px;
  padding: 9px 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
  font-size: 12.5px;
}
.sc-row:last-child { border-bottom: 0; }

.sc-row .sc-label { color: #90A7C4; font-size: 11.5px; }
.sc-row > span:not(.sc-label) {
  color: #E4EEFB;
  font-family: "Consolas", monospace;
  font-size: 12px;
  text-align: center;
}

.sc-title {
  padding-top: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2A4266;
  font-size: 11px;
  font-weight: 700;
}
.sc-title .sc-label { color: #6F87A4; }
.sc-smooth { color: #7FE3B4 !important; }
.sc-hd { color: #7FB3F5 !important; }

.sc-smooth::before,
.sc-hd::before {
  display: block;
  height: 2px;
  margin: 4px auto 0;
  width: 24px;
  content: "";
  border-radius: 2px;
}
.sc-smooth::before { background: #7FE3B4; }
.sc-hd::before { background: #7FB3F5; }

.sc-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 12px;
  border-top: 1px solid #2A4266;
  color: #8FA9C9;
  font-size: 10.5px;
}
.sc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7FE3B4;
  box-shadow: 0 0 8px #7FE3B4;
}

/* ---------- 特色 ---------- */
.routes {
  padding: 80px 0 84px;
  background: #fff;
  border-bottom: 1px solid var(--hair);
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 34px;
  padding-left: 18px;
  border-left: 3px solid var(--blue);
}

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

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

.fours {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: #FBFCFE;
  overflow: hidden;
}

.four {
  padding: 26px 22px 24px;
  border-right: 1px solid var(--hair);
}
.four:last-child { border-right: 0; }

.four .n {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--hair);
  border-radius: 2px;
  color: var(--blue);
  background: #fff;
  font-family: "Consolas", monospace;
  font-size: 11px;
}

.four h3 {
  margin: 14px 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.four p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13.5px;
}

/* ---------- 界面 ---------- */
.screens {
  padding: 80px 0 86px;
  scroll-margin-top: calc(var(--header-height) + 14px);
}

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

.covers figure {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: #fff;
  gap: 16px;
}

.covers img {
  width: 132px;
  aspect-ratio: 9 / 16;
  border-radius: 4px;
  object-fit: cover;
  object-position: top center;
  background: var(--blue-ghost);
}

.covers b {
  display: block;
  align-self: end;
  font-size: 15px;
  font-weight: 700;
}
.covers small {
  display: block;
  align-self: start;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 74px 0 78px;
  background: #fff;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 56px;
}

.faq-layout .section-heading { max-width: none; margin-bottom: 0; }

.faq-list { display: grid; gap: 9px; }

.faq-item {
  border: 1px solid var(--hair);
  border-left: 2px solid var(--blue-ghost);
  border-radius: var(--radius);
  background: #FBFCFE;
  transition: border-left-color 160ms ease;
}
.faq-item[open] { border-left-color: var(--blue); }

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

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

.faq-item summary .icon {
  flex: none;
  transition: transform 180ms ease;
  filter: invert(45%) sepia(69%) saturate(1537%) hue-rotate(189deg) brightness(93%) contrast(91%);
}
.faq-item[open] summary .icon { transform: rotate(45deg); }

.faq-answer { padding: 0 17px 15px; }
.faq-answer p {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--blue-ghost);
  color: var(--text-soft);
  font-size: 13.5px;
}

/* ---------- 官网 ---------- */
.official {
  padding: 68px 0 74px;
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.official .section-heading { max-width: 560px; }

.official-fold {
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(48, 120, 216, 0.1);
}
.official-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  color: var(--blue-deep);
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}
.official-fold summary::-webkit-details-marker { display: none; }
.official-fold summary::after {
  margin-left: auto;
  content: "▾";
  font-size: 13px;
  transition: transform 160ms ease;
}
.official-fold[open] summary::after { transform: rotate(180deg); }

.official-link {
  padding: 12px 18px 16px;
  border-top: 1px dashed var(--hair);
}
.official-link p { margin: 0; font-size: 14px; }
.official-link a {
  color: var(--blue-deep);
  font-weight: 700;
  word-break: break-all;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 评论 ---------- */
.reviews {
  padding: 78px 0 86px;
  background: var(--blue-ink);
  color: #E7EFFA;
  scroll-margin-top: calc(var(--header-height) + 14px);
}
.reviews .section-heading { border-left-color: #6FA3EA; }
.reviews .section-heading h2 { color: #fff; }
.reviews .section-heading > p:last-child { color: #93A9C4; }
.reviews .eyebrow { color: #6FA3EA; }

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

.review-card {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 16px;
  border: 1px solid #24374F;
  border-radius: 6px;
  background: #14233A;
}

.review-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #24374F;
}
.review-card .who b {
  color: #BFD6F6;
  font-family: "Consolas", monospace;
  font-size: 12.5px;
  font-weight: 600;
}
.review-card time {
  color: #7288A5;
  font-family: "Consolas", monospace;
  font-size: 10.5px;
  white-space: nowrap;
}

.review-card > p {
  margin: 12px 0 10px;
  color: #B7C7DA;
  font-size: 13px;
  line-height: 1.85;
}

.rv-site {
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px dashed #24374F;
  color: #6FA3EA;
  font-family: "Consolas", monospace;
  font-size: 10.5px;
  word-break: break-all;
}

/* ---------- 下载 ---------- */
.download-cta {
  padding: 70px 0 76px;
  background:
    linear-gradient(180deg, #F4F7FC 0%, #E7EEF9 100%);
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.download-cta .section-heading { max-width: 600px; }

.download-cta .button-primary { margin-top: 4px; }

.disclaimer {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 26px 0 24px;
  color: #8FA9C9;
  background: #0B1626;
  border-top: 1px solid #1B2C43;
  font-size: 12px;
}
.site-footer .page-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.site-footer p { margin: 0; }
.site-footer a { color: #8FA9C9; }
.site-footer a:hover { color: #fff; }
.site-footer .icp a { color: #6F87A4; }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 146px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 18px rgba(14, 27, 44, 0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}
.to-top::before {
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--blue-deep);
  border-left: 2px solid var(--blue-deep);
  content: "";
  transform: rotate(45deg) translate(1px, 1px);
}
.to-top.is-show { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--blue-ghost); }

/* ---------- 中屏 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 34px; }
  .fours { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .four:nth-child(2) { border-right: 0; }
  .four:nth-child(3),
  .four:nth-child(4) { border-top: 1px solid var(--hair); }
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero-copy { max-width: 620px; }
  .hero-setcompare { margin: 0 auto; max-width: 460px; }
}

/* ---------- 移动端 ---------- */
@media (max-width: 700px) {
  :root { --header-height: 62px; }

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

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
  }

  .page-shell,
  .nav-shell { width: min(calc(100% - 32px), 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: 8px;
  }

  .brand { grid-column: 1; grid-row: 1; gap: 7px; font-size: 16px; }
  .brand img { width: 30px; height: 30px; border-radius: 8px; }

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0 -16px;
    padding: 0 16px 13px;
    border-top: 1px solid #24374F;
    background: var(--blue-ink);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding-top: 12px;
  }
  .primary-nav a {
    display: block;
    padding: 9px 11px;
    border: 1px solid #2A4266;
    border-radius: 3px;
    background: #14233A;
    font-size: 12.5px;
  }

  .nav-download {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    min-width: auto;
    min-height: 34px;
    padding: 0 10px;
    font-size: 11.5px;
  }
  .nav-download .icon { width: 14px; height: 14px; }

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

  .hero { padding: 40px 0 46px; }
  .hero h1 { font-size: 38px; }
  .hero-title { font-size: 23px; }
  .hero-summary { font-size: 13.5px; margin-bottom: 24px; }
  .button { width: 100%; }

  .hero-setcompare { max-width: 100%; }
  .sc-row { padding: 8px 6px; font-size: 11.5px; }
  .sc-row .sc-label { font-size: 10.5px; }

  .routes { padding: 52px 0 56px; }
  .fours { grid-template-columns: 1fr; }
  .four { border-right: 0; }
  .four + .four { border-top: 1px solid var(--hair); }

  .screens { padding: 54px 0 58px; }
  .covers { grid-template-columns: 1fr; gap: 12px; }
  .covers figure { grid-template-columns: 96px minmax(0, 1fr); padding: 10px; gap: 12px; }
  .covers img { width: 96px; }

  .faq { padding: 52px 0 54px; }
  .section-heading { padding-left: 14px; }
  .faq-item summary { padding: 0 14px; }
  .faq-answer { padding: 0 14px 14px; }

  .official { padding: 48px 0 52px; }

  .reviews { padding: 52px 0 56px; }
  .rgrid { grid-template-columns: 1fr; }

  .download-cta { padding: 50px 0 54px; }
  .download-cta .button-primary { width: 100%; }

  .to-top { right: 16px; bottom: 130px; width: 38px; height: 38px; }
}

@media (max-width: 380px) {
  .brand span { font-size: 14.5px; }
  .nav-download span { display: none; }
  .nav-download { width: 34px; padding: 0; }
  .hero h1 { font-size: 33px; }
  .hero-title { font-size: 20px; }
  .primary-nav ul { grid-template-columns: 1fr; }
}
