@charset "UTF-8";

/* ===== 三角洲画质助手 · 仪表盘风格 ===== */

:root {
  --blue: #4FA8D8;
  --blue-deep: #2C7BA8;
  --blue-ink: #10314A;
  --blue-pale: #EAF4FA;
  --ink: #12222E;
  --muted: #5D7284;
  --line: #D3E3EE;
  --paper: #F7FBFD;
  --white: #ffffff;
  --radius: 2px;
  --shell: 1180px;
  --header-height: 68px;
  --mono: "DIN Alternate", "Bahnschrift", 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: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

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-deep);
  outline-offset: 3px;
}

.page-shell {
  width: min(calc(100% - 56px), 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-top: 3px solid var(--blue);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 56px), var(--shell));
  min-height: var(--header-height);
  margin: 0 auto;
  gap: 30px;
}

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

.brand img {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  object-fit: contain;
}

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

.primary-nav ul {
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.primary-nav a {
  display: inline-block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.primary-nav a:hover {
  color: var(--blue-deep);
  border-bottom-color: var(--blue);
}

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

.nav-download {
  min-width: 128px;
  padding: 0 14px;
  border: 1px solid var(--blue);
  color: var(--blue-deep);
  background: var(--white);
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-download .icon,
.button-primary .icon {
  filter: invert(54%) sepia(32%) saturate(900%) hue-rotate(165deg) brightness(96%) contrast(92%);
}

.nav-download:hover {
  background: var(--blue);
  color: #fff;
}

.nav-download:hover .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 var(--blue);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 19px;
  height: 19px;
}

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

.hero {
  padding: 62px 0 70px;
  background:
    linear-gradient(90deg, rgba(79, 168, 216, 0.09) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(0deg, rgba(79, 168, 216, 0.09) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, #F2F9FD 0%, #FBFDFE 68%, #EFF7FC 100%);
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

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

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 3px 9px;
  border-left: 3px solid var(--blue);
  color: var(--blue-deep);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 14px 0 14px;
  color: var(--blue-ink);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.35;
}

.hero-summary {
  max-width: 440px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 15px;
}

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

.button-primary {
  border: 1px solid var(--blue-deep);
  background: var(--blue-deep);
  color: #fff;
  box-shadow: 0 6px 0 rgba(16, 49, 74, 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button-primary .icon {
  filter: brightness(0) invert(1);
}

.button-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(16, 49, 74, 0.12);
}

/* 英雄组件：帧率折线面板 */

.hero-fps {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin-left: auto;
  padding: 18px 20px 16px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 34px rgba(16, 49, 74, 0.09);
}

.fps-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.fps-num {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.fps-num b {
  font-family: var(--mono);
  font-size: 52px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -2px;
  color: var(--blue-ink);
}

.fps-num span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 1.5px;
}

.fps-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid #BFE3D4;
  border-radius: 999px;
  color: #1E7C5A;
  background: #EFFAF5;
  font-size: 11px;
  font-weight: 700;
}

.fps-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2FB27A;
  animation: fpsPulse 1.8s ease-in-out infinite;
}

@keyframes fpsPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.28; }
}

.fps-chart {
  position: relative;
  margin: 14px 0 4px;
  padding-left: 34px;
}

.fps-chart svg {
  display: block;
  width: 100%;
  height: 118px;
  overflow: visible;
}

.fps-grid line {
  stroke: rgba(79, 168, 216, 0.22);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.fps-line {
  fill: none;
  stroke: var(--blue-deep);
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.fps-ghost {
  fill: none;
  stroke: rgba(79, 168, 216, 0.42);
  stroke-width: 1.6;
  stroke-dasharray: 5 4;
}

.fps-dot {
  fill: var(--blue-deep);
  stroke: #fff;
  stroke-width: 2;
}

.fps-scale {
  position: absolute;
  top: -6px;
  left: 0;
  display: flex;
  height: 118px;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #8FA6B6;
  font-family: var(--mono);
  font-size: 10px;
}

.fps-x {
  display: flex;
  justify-content: space-between;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  color: #8FA6B6;
  font-family: var(--mono);
  font-size: 10px;
}

.fps-rows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.fps-rows li {
  padding: 9px 10px;
  background: #FBFEFF;
}

.fps-rows span {
  display: block;
  color: #8FA6B6;
  font-size: 10.5px;
  letter-spacing: 0.4px;
}

.fps-rows b {
  display: block;
  margin-top: 2px;
  color: var(--blue-ink);
  font-family: var(--mono);
  font-size: 15px;
}

/* ---------- 通用区块标题 ---------- */

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 2.9vw, 36px);
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.25;
}

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

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

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

.fours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.four {
  position: relative;
  padding: 28px 26px 26px 66px;
  background: var(--white);
  transition: background-color 180ms ease;
}

.four:hover {
  background: #F6FBFE;
}

.four .n {
  position: absolute;
  top: 28px;
  left: 24px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--blue);
  color: var(--blue-deep);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

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

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

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

.screens {
  padding: 74px 0 82px;
  background: var(--blue-pale);
  scroll-margin-top: calc(var(--header-height) + 14px);
}

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

.covers figure {
  min-width: 0;
  margin: 0;
  padding-top: 10px;
  border-top: 3px solid var(--blue);
}

.covers img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 1px solid #C6DCEB;
  border-radius: var(--radius);
  background: var(--white);
  object-fit: cover;
  object-position: top center;
}

.covers b {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 700;
}

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

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

.faq {
  padding: 78px 0 56px;
  background: var(--white);
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.faq .page-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  column-gap: 52px;
  align-items: start;
}

.faq .section-heading {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

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

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

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

.faq-item summary .icon {
  flex: none;
  filter: invert(54%) sepia(32%) saturate(900%) hue-rotate(165deg) brightness(96%) contrast(92%);
  transition: transform 180ms ease;
}

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

.faq-answer {
  padding: 0 34px 18px 0;
}

.faq-answer p {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--blue);
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.8;
}

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

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

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

.official-fold {
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue-deep);
  background: #FBFEFF;
}

.official-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  color: var(--blue-deep);
  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: 18px;
  font-weight: 700;
}

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

.official-link {
  padding: 10px 18px 16px;
  border-top: 1px dashed var(--line);
}

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

.official-link a {
  color: var(--blue-deep);
  font-weight: 700;
  word-break: break-all;
}

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

.reviews {
  padding: 74px 0 80px;
  background: var(--blue-ink);
  color: #EDF5FA;
  scroll-margin-top: calc(var(--header-height) + 14px);
}

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

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

.reviews .eyebrow {
  color: #8FD0F2;
  border-left-color: #8FD0F2;
}

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

.review-card {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 22px 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.review-card::before {
  position: absolute;
  top: 6px;
  right: 14px;
  content: "”";
  color: rgba(143, 208, 242, 0.28);
  font-family: Georgia, serif;
  font-size: 46px;
  line-height: 1;
}

.review-card header {
  display: block;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.review-card time {
  display: block;
  margin-top: 3px;
  color: #7FA0B6;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3px;
}

.review-card > p {
  margin: 13px 0 12px;
  color: #C9DCE8;
  font-size: 13.5px;
  line-height: 1.78;
}

.rv-site {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.13);
  color: #8FD0F2;
  font-size: 11.5px;
  word-break: break-all;
}

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

.download-cta {
  padding: 66px 0 68px;
  background: linear-gradient(120deg, #DFF0FA 0%, #F4FAFD 55%, #E8F5FC 100%);
  border-top: 1px solid #CBE3F1;
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.download-cta .page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 32px;
  row-gap: 16px;
}

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

.download-cta .button {
  grid-column: 2;
  grid-row: 1;
}

.disclaimer {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 16px;
  border-top: 1px dashed #B7D7E9;
  color: var(--muted);
  font-size: 12.5px;
}

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

.site-footer {
  padding: 30px 0 20px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

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

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}

.site-footer a:hover {
  color: var(--blue-deep);
}

.icp a {
  font-family: var(--mono);
  letter-spacing: 0.4px;
}

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

.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 var(--blue);
  border-radius: 50%;
  background: #fff;
  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 var(--blue-deep);
  border-left: 2px solid var(--blue-deep);
  transform: rotate(45deg) translate(1px, 1px);
}

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

.to-top:hover {
  background: var(--blue);
}

.to-top:hover::before {
  border-color: #fff;
}

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

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

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

  .faq .page-shell {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
  }

  .faq .section-heading {
    position: static;
    margin-bottom: 18px;
  }

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

  .download-cta .button {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}

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

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

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
    background: #fff;
    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% - 30px), 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: 15.5px;
  }

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

  .primary-nav {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 0 -15px;
    padding: 0 15px 12px;
    border-top: 1px solid var(--line);
    background: #fff;
  }

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

  .nav-download {
    grid-row: 1;
    grid-column: 3;
    min-width: auto;
    min-height: 34px;
    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: 34px;
    height: 34px;
  }

  .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 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #FBFEFF;
    color: var(--ink);
    font-size: 12.5px;
  }

  .hero {
    padding: 38px 0 44px;
  }

  .hero-copy {
    max-width: none;
  }

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

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

  .fps-num b {
    font-size: 44px;
  }

  .fps-chart svg {
    height: 96px;
  }

  .fps-scale {
    height: 96px;
  }

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

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

  .four {
    padding: 22px 20px 22px 58px;
  }

  .four .n {
    top: 22px;
    left: 18px;
  }

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

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

  .review-card {
    min-height: auto;
  }

  .faq-item summary {
    min-height: 54px;
  }

  .faq-answer {
    padding-right: 0;
  }

  .download-cta {
    padding: 44px 0 46px;
  }

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

  .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: 13.5px;
  }

  .nav-download span {
    display: none;
  }

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

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

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