@charset "UTF-8";

:root {
  --teal: #0E3790;
  --teal-dark: #153175;
  --mint: #ECFEFF;
  --ink: #0F1933;
  --body: #4B5570;
  --line: #D3DCEE;
  --paper: #FFFFFF;
  --radius: 10px;
  --shell: 1160px;
  --header-height: 70px;
  --shadow: 0 14px 30px rgba(14, 55, 144, 0.16);
}

* {
  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: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

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

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  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"); }
.icon-globe::before { background-image: url("../icons/globe.svg"); }

/* ===== header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 9px;
  color: var(--teal-dark);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: contain;
}

.primary-nav ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
}

.primary-nav a {
  display: inline-block;
  padding: 7px 0;
  color: var(--body);
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

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

.nav-download {
  min-width: 126px;
  padding: 0 16px;
  border: 1px solid var(--teal);
  color: var(--teal);
}

.nav-download:hover {
  background: var(--teal);
  color: #FFFFFF;
}

.nav-download .icon {
  filter: invert(31%) sepia(38%) saturate(1796%) hue-rotate(152deg) brightness(93%) contrast(93%);
}

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

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

/* ===== hero ===== */
.hero {
  padding: 56px 0 60px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--mint) 0%, #F7FEFF 62%, #FFFFFF 100%);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
  align-items: center;
  gap: 42px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.2px;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 4.6vw, 58px);
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1.12;
}

.hero-title {
  margin: 12px 0 16px;
  color: var(--teal-dark);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.35;
}

.hero-summary {
  margin: 0 0 28px;
  color: var(--body);
  font-size: 14.5px;
}

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

.button-primary {
  background: var(--teal);
  color: #FFFFFF;
}

.button-primary:hover {
  background: var(--teal-dark);
}

/* 英雄区：轻量播放器 + 省流开关 */
.litePanel {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: var(--shadow);
}

.lpScreen {
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  background: #0B1226;
}

.lpScreen img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  opacity: 0.9;
}

.lpBadge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--teal);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.lpSave {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(6, 15, 38, 0.78);
  color: #7DB1F0;
  font-size: 10px;
  font-weight: 600;
}

.lpBar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.24);
}

.lpBar i {
  display: block;
  width: 42%;
  height: 100%;
  background: #2273EE;
}

.lpCtrl {
  padding: 12px 4px 4px;
}

.lpRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 0 8px;
  border-bottom: 1px dashed #E2F1F4;
}

.lpRow:last-of-type {
  border-bottom: 0;
}

.lpLabel {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
}

.lpSeg {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 6px;
  background: #F1FBFD;
}

.lpSeg b {
  padding: 3px 9px;
  border-radius: 4px;
  color: #737F9A;
  font-size: 10.5px;
  font-weight: 700;
}

.lpSeg b.on {
  background: var(--teal);
  color: #FFFFFF;
}

.lpSwitch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 21px;
  border-radius: 11px;
  background: #CFDDE1;
  transition: background-color 160ms ease;
}

.lpSwitch i {
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  transition: transform 160ms ease;
}

.lpSwitch.on {
  background: #0E4FB8;
}

.lpSwitch.on i {
  transform: translateX(17px);
}

.lpNote {
  margin: 8px 8px 2px;
  color: #7C88A3;
  font-size: 10.5px;
}

/* ===== routes ===== */
.routes {
  padding: 74px 0 78px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

.section-heading h2 {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.3;
}

.section-heading h2::before {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 4px;
  background: var(--teal);
  content: "";
}

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

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

.four {
  min-width: 0;
  padding: 22px 0 20px;
  border-top: 1px solid var(--line);
}

.four .n {
  display: inline-block;
  margin-right: 10px;
  color: var(--teal);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
}

.four h3 {
  display: inline;
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

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

/* ===== screens ===== */
.screens {
  padding: 74px 0 80px;
  background: #F6FDFE;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

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

.covers img {
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
}

.covers b {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px 0;
  font-size: 12.5px;
  font-weight: 800;
}

.covers b::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.covers small {
  display: block;
  padding: 2px 11px 11px;
  color: #7C88A3;
  font-size: 11px;
}

/* ===== faq ===== */
.faq {
  padding: 74px 0 14px;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

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

.faq-item:nth-child(-n+2) {
  border-top: 1px solid var(--line);
}

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

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

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

.faq-item summary .icon {
  flex: none;
  width: 16px;
  height: 16px;
  filter: invert(33%) sepia(45%) saturate(1900%) hue-rotate(153deg) brightness(91%) contrast(91%);
  transition: transform 180ms ease;
}

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

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

.faq-answer p {
  margin: 0;
  color: var(--body);
  font-size: 13.5px;
}

/* ===== official ===== */
.official {
  padding: 28px 0 74px;
}

.official-fold {
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: #F7FEFF;
}

.official-fold summary {
  padding: 0 16px;
  color: var(--teal-dark);
  font-size: 13.5px;
  font-weight: 700;
}

.official-fold summary::after {
  margin-left: auto;
  color: var(--teal);
  font-size: 18px;
  font-weight: 800;
  content: "+";
}

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

.official-fold .official-link {
  padding: 10px 16px 16px;
}

.official-link a {
  color: var(--teal);
  font-size: 13.5px;
  font-weight: 700;
  word-break: break-all;
}

/* ===== reviews ===== */
.reviews {
  padding: 74px 0 78px;
  background: #0F1933;
  color: #E8F6F8;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.reviews .section-heading h2::before {
  background: #2273EE;
}

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

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

.review-card {
  display: flex;
  min-height: 200px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #243252;
  border-radius: 8px;
  background: #14203E;
}

.review-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

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

.review-card time {
  flex: none;
  color: #6E7D9F;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

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

.rv-site {
  margin-top: auto;
  padding-top: 13px;
  color: #4F8DE0;
  font-size: 11px;
  overflow-wrap: anywhere;
}

/* ===== download ===== */
.download-cta {
  padding: 68px 0 72px;
  background: var(--teal);
  color: #FFFFFF;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.download-cta .section-heading h2::before {
  background: #FFFFFF;
}

.download-cta .eyebrow {
  color: #BFD7F8;
}

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

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

.download-cta .button-primary {
  background: #FFFFFF;
  color: var(--teal-dark);
}

.download-cta .button-primary .icon {
  filter: invert(30%) sepia(40%) saturate(1700%) hue-rotate(155deg) brightness(90%) contrast(93%);
}

.download-cta .button-primary:hover {
  background: #0B1E46;
  color: #FFFFFF;
}

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

.disclaimer {
  margin: 18px 0 0;
  color: #CFDFF6;
  font-size: 11.5px;
}

/* ===== footer ===== */
.site-footer {
  padding: 26px 0 20px;
  border-top: 1px solid #D6DEEC;
  background: #F6FDFE;
  color: #6E7A93;
  font-size: 12px;
}

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

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--teal);
}

/* ===== to-top ===== */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 152px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  background: var(--teal);
  box-shadow: 0 10px 22px rgba(14, 55, 144, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.to-top::before {
  width: 9px;
  height: 9px;
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  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(--teal-dark);
}

/* ===== responsive ===== */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 1fr);
    gap: 28px;
  }

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

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

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

  .litePanel {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .fours {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-item:nth-child(2) {
    border-top: 0;
  }

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

@media (max-width: 700px) {
  :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);
    backface-visibility: hidden;
  }

  .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: 10px;
    row-gap: 0;
  }

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

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

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

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

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

  .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: 8px;
    padding-top: 13px;
  }

  .primary-nav a {
    display: block;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #F7FEFF;
    font-size: 13px;
  }

  .hero {
    padding: 40px 0 46px;
  }

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

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

  .hero-summary {
    font-size: 14px;
  }

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

  .section-heading h2 {
    font-size: 26px;
  }

  .fours {
    margin-top: 4px;
  }

  .rgrid {
    grid-template-columns: 1fr;
  }

  .faq {
    padding: 52px 0 12px;
  }

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

  .download-cta {
    padding: 52px 0 54px;
  }

  .site-footer .page-shell {
    display: block;
    text-align: center;
  }

  .site-footer p + p {
    margin-top: 6px;
  }

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

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

  .nav-download span {
    display: none;
  }

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

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

  .lpSeg b {
    padding: 3px 7px;
  }
}
