@charset "UTF-8";

:root {
  --brand: #4338CA;
  --brand-deep: #312E81;
  --accent: #F97316;
  --paper: #EEF2FF;
  --surface: #FFFFFF;
  --ink: #1E1B4B;
  --muted: #565E8F;
  --line: #D8DDFB;
  --radius: 18px;
  --radius-sm: 12px;
  --shell: 1160px;
  --header-height: 72px;
  --shadow: 0 22px 44px rgba(49, 46, 129, 0.14);
}

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

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(--brand);
  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");
}

.icon-download,
.icon-plus,
.icon-globe {
  filter: invert(24%) sepia(91%) saturate(2101%) hue-rotate(230deg) brightness(82%) contrast(96%);
}

/* ===== 顶栏：左对齐 + 斜杠分隔导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

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

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

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav li + li::before {
  margin: 0 2px;
  color: #B9BFE8;
  content: "/";
}

.primary-nav a {
  display: block;
  padding: 6px 12px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 160ms ease;
}

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

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

.nav-download {
  min-width: 132px;
  padding: 0 16px;
  color: var(--brand-deep);
  background: #EEF2FF;
  border: 1px solid var(--brand);
}

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

.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(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

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

/* ===== 英雄区：社区帖流 + 标签 ===== */
.hero {
  position: relative;
  padding: 56px 0 68px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(249, 115, 22, 0.09), transparent 34%),
    radial-gradient(rgba(67, 56, 202, 0.16) 1px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(180deg, #F5F7FF 0%, #EEF2FF 100%);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 540px);
  align-items: center;
  gap: 40px;
}

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

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

.hero h1 {
  margin: 0;
  color: var(--brand-deep);
  font-size: clamp(50px, 6.2vw, 74px);
  font-weight: 800;
  letter-spacing: -2.6px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 16px 0 18px;
  font-size: clamp(23px, 2.8vw, 31px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.3px;
}

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

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

.button-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(67, 56, 202, 0.26);
}

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

.button-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
}

.feedPanel {
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: 8px 8px 18px 18px;
  box-shadow: var(--shadow);
}

.feedBar {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}

.feedBar b {
  color: var(--brand-deep);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.feedLive {
  margin-left: auto;
  padding: 2px 8px;
  color: #C2410C;
  font-size: 10px;
  font-weight: 700;
  background: #FFEDD5;
  border-radius: 4px;
}

.feedTags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 18px;
  background: #F8F9FF;
  border-bottom: 1px dashed var(--line);
}

.ftag {
  padding: 3px 9px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.ftag.is-on {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.feedList {
  display: grid;
}

.feedPost {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #EEF1FE;
}

.feedPost.is-hot {
  background: #F7F8FF;
}

.fpAva {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 800;
  background: #E4E8FF;
  border-radius: 10px;
}

.feedPost.is-hot .fpAva {
  color: #fff;
  background: var(--brand);
}

.fpBody {
  min-width: 0;
}

.fpBody b {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fpBody p {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fpTags {
  display: block;
  margin-top: 3px;
  color: #7C83B8;
  font-size: 9.5px;
}

.feedPost em {
  align-self: start;
  color: #94A0D8;
  font-size: 9.5px;
  font-style: normal;
  white-space: nowrap;
}

.feedFoot {
  padding: 11px 18px;
  color: var(--brand);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: #F2F4FF;
}

/* ===== 通用标题 ===== */
.section-heading {
  max-width: 640px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -1px;
}

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

/* ===== 核心特色：横向条目 ===== */
.routes {
  padding: 70px 0 74px;
  background: var(--surface);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

.four {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--line);
}

.four .n {
  color: var(--accent);
  font-family: "DIN Alternate", Arial, sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.four h3 {
  margin: 0 0 6px;
  font-size: 17.5px;
  font-weight: 800;
}

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

/* ===== 界面展示：图文叠层 ===== */
.screens {
  padding: 70px 0 78px;
  background: #F7F8FF;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

.covers figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--brand-deep);
  border-radius: 8px;
}

.covers img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  opacity: 0.92;
}

.covers figure:nth-child(2),
.covers figure:nth-child(4) {
  margin-top: 26px;
}

.covers b {
  position: absolute;
  bottom: 30px;
  left: 12px;
  padding: 3px 8px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  background: rgba(49, 46, 129, 0.86);
  border-left: 2px solid var(--accent);
}

.covers small {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: #C7CDF7;
  font-size: 9.5px;
}

/* ===== FAQ ===== */
.faq {
  padding: 70px 0 38px;
  background: #fff;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
  padding: 0 4px;
  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;
}

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

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

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

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

/* ===== 官方入口 ===== */
.official {
  padding: 18px 0 72px;
  background: #fff;
}

.official h2 {
  font-size: 29px;
}

.official-fold {
  overflow: hidden;
  background: #F5F6FF;
  border-left: 4px solid var(--brand);
  border-radius: 4px;
}

.official-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 20px;
  color: var(--brand-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;
  color: var(--brand);
  font-size: 20px;
  font-weight: 700;
  content: "+";
}

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

.official-link {
  padding: 4px 20px 16px;
  border-top: 1px solid var(--line);
}

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

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

/* ===== 用户评价：浅底卡片墙 ===== */
.reviews {
  padding: 72px 0 80px;
  background:
    radial-gradient(circle at 90% 6%, rgba(249, 115, 22, 0.08), transparent 30%),
    #EEF2FF;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.reviews .eyebrow {
  color: var(--accent);
}

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

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 214px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--brand);
  border-radius: 6px;
}

.review-card:nth-child(2n) {
  border-bottom-color: var(--accent);
}

.review-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #E1E5FB;
}

.review-card header b {
  color: var(--brand-deep);
  font-size: 13.5px;
  font-weight: 700;
}

.review-card time {
  color: #8890C2;
  font-size: 11px;
  white-space: nowrap;
}

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

.rv-site {
  margin-top: auto;
  padding-top: 14px;
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 700;
}

/* ===== 下载模块 ===== */
.download-cta {
  padding: 72px 0 80px;
  background: #fff;
}

.download-cta .page-shell {
  padding: 42px 46px;
  background:
    radial-gradient(circle at 82% 10%, rgba(249, 115, 22, 0.24), rgba(49, 46, 129, 0) 56%),
    var(--brand-deep);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

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

.download-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 3.3vw, 39px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.24;
}

.download-cta .section-heading {
  max-width: none;
  margin-bottom: 22px;
}

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

.download-cta .button-primary {
  color: var(--brand-deep);
  background: var(--accent);
  box-shadow: 0 14px 26px rgba(12, 10, 60, 0.3);
}

.download-cta .button-primary .icon {
  filter: invert(17%) sepia(39%) saturate(3219%) hue-rotate(347deg) brightness(92%) contrast(96%);
}

.disclaimer {
  margin: 20px 0 0;
  color: #A8AFE8;
  font-size: 12.5px;
}

.site-footer {
  padding: 32px 0 18px;
  color: #9AA2DA;
  background: #16143D;
  text-align: center;
}

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

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

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

.icp a {
  color: #7C84C0;
  font-size: 12px;
}

/* ===== 返回顶部 ===== */
.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: 8px;
  cursor: pointer;
  background: var(--brand);
  box-shadow: 0 10px 22px rgba(22, 20, 61, 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 #fff;
  border-left: 2px solid #fff;
  content: "";
  transform: rotate(45deg) translate(1px, 1px);
}

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

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

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

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

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

  .covers figure:nth-child(2),
  .covers figure:nth-child(4) {
    margin-top: 0;
  }

  .rgrid {
    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%;
  }

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

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

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

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

  .primary-nav li + li::before {
    content: none;
  }

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

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

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

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

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

  .hero-grid {
    gap: 22px;
  }

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

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

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

  .feedPanel {
    max-width: 100%;
  }

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

  .feedPost em {
    display: none;
  }

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

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

  .four {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 18px 0;
  }

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

  .covers {
    gap: 10px;
  }

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

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

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

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

  .download-cta .page-shell {
    padding: 26px 20px;
  }

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

  .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: 34px;
    padding: 0;
  }

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

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