@charset "UTF-8";

:root {
  --orange: #B18D50;
  --orange-deep: #8A6D3B;
  --ink: #171512;
  --paper: #fffdf8;
  --muted: #6f6a61;
  --line: #ece2d2;
  --radius: 5px;
  --shell: 1220px;
  --header-height: 76px;
  --icon-filter: invert(44%) sepia(28%) saturate(800%) hue-rotate(2deg) brightness(88%) contrast(86%);
}

* {
  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", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--orange);
  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-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"); }
.icon-wechat::before { background-image: url("../icons/wechat.svg"); }
.icon-weibo::before { background-image: url("../icons/weibo.svg"); }
.icon-bell::before { background-image: url("../icons/bell.svg"); }
.icon-bilibili::before { background-image: url("../icons/bilibili.svg"); }

/* ===== 头部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.98);
}

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

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

.brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  object-fit: contain;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(21px, 3vw, 42px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 7px 0;
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 9px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nav-download {
  min-width: 132px;
  padding: 0 15px;
  border: 1px solid var(--orange);
  color: var(--orange-deep);
}

.nav-download .icon,
.button-primary .icon {
  filter: var(--icon-filter);
}

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

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

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

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

/* ===== 英雄区 ===== */
.hero {
  padding: 54px 0 60px;
  background: linear-gradient(180deg, #fbf6ec 0%, #fffdf8 68%);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 1.07fr);
  align-items: center;
  gap: 46px;
}

.hero-copy {
  max-width: 535px;
  padding: 14px 0 22px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -1.4px;
}

.hero h1 {
  font-size: clamp(44px, 5.3vw, 70px);
  line-height: 1.04;
}

.hero-title {
  margin: 14px 0 16px;
  font-size: clamp(23px, 2.7vw, 32px);
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.25;
}

.hero-summary {
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
}

.button {
  min-width: 174px;
  padding: 0 23px;
}

.button-primary {
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #fff;
  box-shadow: 6px 6px 0 var(--ink);
}

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

.button-primary:hover {
  background: var(--orange-deep);
  transform: translate(-2px, -2px);
}

/* 书架卡片墙 */
.lv-shelf {
  width: 100%;
  max-width: 508px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 42px rgba(112, 84, 34, 0.15);
  overflow: hidden;
}

.lv-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #eee3d0;
  background: linear-gradient(120deg, #f7f0e0 0%, #fdfaf3 100%);
  color: #8a6d3b;
  font-size: 11.5px;
}

.lv-top b {
  color: #5f4a26;
  font-size: 14px;
}

.lv-top em {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  color: #7a5c28;
  background: #f0e2c6;
  font-size: 10.5px;
  font-style: normal;
}

.lv-books {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 14px 17px;
  border-bottom: 6px solid #d9c39c;
  box-shadow: inset 0 -2px 0 #f2e7d2;
  background: repeating-linear-gradient(180deg, #fffdf8 0 40px, #fbf6ec 40px 41px);
}

.lv-book {
  position: relative;
  min-width: 0;
  padding: 14px 12px 12px;
  border: 1px solid #ebdec6;
  border-left: 5px solid #c8a96e;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(120, 90, 40, 0.07);
}

.lv-b2 {
  border-left-color: #b18d50;
}

.lv-b3 {
  border-left-color: #d8bd8d;
}

.lv-no {
  position: absolute;
  top: 9px;
  right: 9px;
  color: #b5a48c;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.lv-book h3 {
  margin: 0 0 7px;
  font-size: 14px;
  letter-spacing: -0.2px;
}

.lv-book p {
  margin: 0;
  color: #8a7a62;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lv-book small {
  display: block;
  margin-top: 4px;
  color: #a89983;
  font-size: 10px;
}

.lv-pic {
  margin: 0;
  padding: 0;
  border-left-width: 5px;
  border-left-color: #e2cb9f;
  overflow: hidden;
  background: #faf5ea;
}

.lv-pic img {
  width: 100%;
  height: 100%;
  min-height: 106px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
}

.lv-note {
  margin: 9px 14px 12px;
  padding: 6px 10px;
  border: 1px dashed #e4d4b8;
  border-radius: 4px;
  color: #8d7a58;
  background: #fdf8ee;
  font-size: 10.5px;
  text-align: center;
}

/* ===== 区块标题 ===== */
.section-heading {
  max-width: 660px;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.2;
}

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

/* ===== 核心特色 ===== */
.routes {
  padding: 70px 0 76px;
  color: #fff;
  background: var(--ink);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

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

.routes .eyebrow {
  color: #d9bd88;
}

.routes .section-heading > p:last-child {
  color: #bdbdbd;
}

.fours {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #3d3a35;
  border-radius: var(--radius);
}

.four {
  min-height: 188px;
  padding: 25px 23px 22px;
}

.four + .four {
  border-left: 1px solid #3d3a35;
}

.four .n {
  color: #d9bd88;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.four h3 {
  margin: 15px 0 8px;
  font-size: 19px;
}

.four p {
  margin: 0;
  color: #bdbdbd;
  font-size: 14px;
  line-height: 1.75;
}

/* ===== 界面展示 ===== */
.screens {
  padding: 76px 0 82px;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

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

.covers figure {
  min-width: 0;
  margin: 0;
}

.covers img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 8px 8px 2px 2px;
  background: #fbf6ec;
  box-shadow: 0 10px 22px rgba(112, 84, 34, 0.1);
}

.covers b {
  display: block;
  margin-top: 10px;
  color: var(--orange-deep);
  font-size: 13px;
}

.covers small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

/* ===== FAQ ===== */
.faq {
  padding: 74px 0 20px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 57px;
  padding: 0 18px;
  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.5;
  text-align: left;
}

.faq-item summary .icon {
  flex: none;
  filter: var(--icon-filter);
  transition: transform 180ms ease;
}

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

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

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

/* ===== 官方网站 ===== */
.official {
  padding: 26px 0 72px;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.official-fold {
  max-width: 900px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

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

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

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

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

.official-fold .official-link {
  padding: 13px 18px 16px;
  border-top: 1px dashed var(--line);
  background: #fdf9f0;
}

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

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

/* ===== 用户评价 ===== */
.reviews {
  padding: 72px 0 78px;
  background: #faf5ea;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

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

.review-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid #ece0cb;
  border-radius: var(--radius);
  background: var(--paper);
}

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

.review-card .who b {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.review-card time {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.review-card > p {
  margin: 14px 0 0;
  color: #4f4a41;
  font-size: 14px;
  line-height: 1.82;
}

.rv-site {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #ece0cb;
  color: var(--orange-deep);
  font-size: 12px;
  word-break: break-all;
}

/* ===== 下载区 ===== */
.download-cta {
  padding: 64px 0 68px;
  text-align: center;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.download-cta .section-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.disclaimer {
  display: inline-block;
  margin: 18px 0 0;
  padding: 7px 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: #837a6c;
  font-size: 12px;
}

/* ===== 页脚 ===== */
.site-footer {
  padding: 34px 0 22px;
  color: #b9b9b9;
  background: #121110;
  text-align: center;
  font-size: 12px;
}

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

.site-footer a {
  color: #d9c9a8;
}

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

.site-footer .icp a {
  color: #9c9c9c;
}

.foot-note {
  color: #8b8b8b;
}

/* ===== 返回顶部 ===== */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 152px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  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;
  content: "";
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg) translate(1px, 1px);
}

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

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

/* ===== 响应式 ===== */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .lv-shelf {
    max-width: 560px;
    margin: 0 auto;
  }

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

  .four:nth-child(3) {
    border-top: 1px solid #3d3a35;
    border-left: 0;
  }

  .four:nth-child(4) {
    border-top: 1px solid #3d3a35;
  }

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

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

@media (max-width: 700px) {
  :root {
    --header-height: 64px;
  }

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

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
    background: var(--paper);
  }

  .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;
  }

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

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

  .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: var(--paper);
  }

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

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

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

  .primary-nav a::after {
    display: none;
  }

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

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

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

  .hero {
    padding: 34px 0 42px;
  }

  .hero-copy {
    padding: 0;
    text-align: center;
  }

  .hero-summary {
    margin-right: auto;
    margin-left: auto;
    font-size: 14px;
  }

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

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

  .lv-top em {
    display: none;
  }

  .lv-book {
    padding: 12px 10px 10px;
  }

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

  .section-heading {
    margin-bottom: 26px;
  }

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

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

  .four {
    min-height: auto;
    padding: 21px;
  }

  .four + .four,
  .four:nth-child(3),
  .four:nth-child(4) {
    border-top: 1px solid #3d3a35;
    border-left: 0;
  }

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

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

  .faq {
    padding: 50px 0 16px;
  }

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

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

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

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

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

  .nav-download span {
    display: none;
  }

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

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

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

  .primary-nav ul {
    grid-template-columns: 1fr;
  }

  .lv-books {
    grid-template-columns: 1fr;
  }

  .lv-pic img {
    min-height: 140px;
  }
}
