@charset "UTF-8";

/* ===== 灵境ai · 卷轴纸页主题 ===== */
:root {
  --jade: #0E5690;
  --jade-deep: #0A4067;
  --jade-soft: #CFEFFE;
  --paper: #F0FDFA;
  --card: #FFFFFF;
  --ink: #122938;
  --muted: #506B7C;
  --line: #CFE3E7;
  --radius: 2px;
  --radius-lg: 6px;
  --shell: 1180px;
  --header-height: 74px;
  --shadow: 0 10px 26px rgba(14, 86, 144, 0.12);
}

* {
  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", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

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,
summary:focus-visible {
  outline: 2px solid var(--jade);
  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"); }

/* ---- 页头 ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(240, 253, 250, 0.95);
  backdrop-filter: blur(6px);
}

.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: 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: contain;
}

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

.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.03em;
}

.primary-nav a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  content: "";
  background: var(--jade);
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.primary-nav a:hover {
  color: var(--jade);
}

.primary-nav a:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  border-radius: var(--radius);
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-download {
  min-width: 128px;
  padding: 0 16px;
  border: 1px solid var(--jade);
  color: var(--jade);
  background: transparent;
}

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

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

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

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

/* ---- 英雄区 ---- */
.hero {
  position: relative;
  padding: 68px 0 72px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #E6F7FB 0%, var(--paper) 72%),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(14, 86, 144, 0.045) 39px 40px);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.hero::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(24px, calc(50% - 610px));
  width: 1px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(14, 86, 144, 0.22), transparent);
}

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

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--jade);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Songti SC", "SimSun", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(46px, 5.6vw, 68px);
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 14px 0 18px;
  font-size: clamp(23px, 2.6vw, 31px);
  font-weight: 600;
  line-height: 1.34;
}

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

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

.button-primary {
  border: 1px solid var(--jade);
  color: #FFFFFF;
  background: var(--jade);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16);
}

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

.button-primary:hover {
  background: var(--jade-deep);
  border-color: var(--jade-deep);
}

/* ---- 英雄组件：章节进度 + 折叠对话卷轴 ---- */
.storyRail {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  padding: 20px 20px 22px;
  border: 1px solid #BFDBE4;
  border-radius: var(--radius-lg);
  background: #FBFEFE;
  box-shadow: var(--shadow);
}

.srHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px dashed #BED7E2;
  gap: 10px;
}

.srHead b {
  color: var(--jade-deep);
  font-family: "Songti SC", "SimSun", Georgia, serif;
  font-size: 17px;
  font-weight: 700;
}

.srHead span {
  flex: none;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.srNodes {
  display: grid;
  padding: 14px 0 16px;
  margin: 0;
  gap: 0;
  list-style: none;
}

.srNodes li {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 7px 4px;
  color: #8A9FAA;
  font-size: 12.5px;
}

.srNodes li::before {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 1px;
  height: 100%;
  content: "";
  background: #D3E3E9;
  transform: translateY(0);
}

.srNodes li:first-child::before {
  top: 50%;
  height: 50%;
}

.srNodes li:last-child::before {
  display: none;
}

.srNodes li i {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  margin-left: 6px;
  border: 1px solid #B9D0DA;
  border-radius: 50%;
  background: #FFFFFF;
}

.srNodes li b {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.srNodes li em {
  font-size: 11px;
  font-style: normal;
  color: #9DB0B9;
}

.srNodes .is-done i {
  border-color: var(--jade);
  background: var(--jade);
}

.srNodes .is-done b {
  color: #4B6979;
}

.srNodes .is-now {
  border-radius: var(--radius);
  background: #E4F4F8;
}

.srNodes .is-now i {
  width: 11px;
  height: 11px;
  margin-left: 5px;
  border: 2px solid var(--jade);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(14, 86, 144, 0.14);
}

.srNodes .is-now b {
  color: var(--jade-deep);
  font-weight: 700;
}

.srNodes .is-now em {
  color: var(--jade);
}

.srRoll {
  border: 1px solid #D5E4E9;
  border-radius: var(--radius);
  background: #FFFFFF;
  overflow: hidden;
}

.srRollBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 13px;
  color: var(--jade-deep);
  background: #EAF7F7;
  font-size: 11.5px;
  letter-spacing: 0.1em;
}

.srRollBar em {
  font-style: normal;
  color: #6E8998;
  letter-spacing: 0.04em;
}

.srRollBody {
  padding: 12px 13px 0;
}

.srLine {
  margin: 0 0 9px;
  color: #334E5E;
  font-size: 12.5px;
  line-height: 1.66;
}

.srLine b {
  margin-right: 8px;
  color: var(--jade);
  font-size: 11.5px;
  font-weight: 600;
}

.srLine.is-me b {
  color: #B0882E;
}

.srMore {
  padding: 9px 0 12px;
  border-top: 1px dashed #DCEBEA;
  color: #8CA2AC;
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ---- 平台核心特色 ---- */
.routes {
  padding: 74px 0 78px;
  color: #EAF9F8;
  background: #0B2D47;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.routes .eyebrow {
  color: #6FBADE;
}

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

.section-heading {
  max-width: 640px;
  margin-bottom: 38px;
}

.section-heading h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.24;
}

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

.fours {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(111, 186, 222, 0.26);
}

.four {
  position: relative;
  min-width: 0;
  padding: 26px 22px 6px 0;
}

.four + .four {
  padding-left: 22px;
  border-left: 1px solid rgba(111, 186, 222, 0.18);
}

.four .n {
  display: block;
  margin-bottom: 14px;
  color: #6FBADE;
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.four h3 {
  margin: 0 0 9px;
  color: #F2FDFC;
  font-family: "Songti SC", "SimSun", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
}

.four p {
  margin: 0;
  color: #A9C3CE;
  font-size: 13.6px;
  line-height: 1.8;
}

/* ---- 界面展示 ---- */
.screens {
  padding: 78px 0 84px;
  background: #FFFFFF;
  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;
  padding: 10px 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #F7FEFD;
}

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

.covers b {
  display: block;
  margin-top: 11px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

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

/* ---- FAQ ---- */
.faq {
  padding: 74px 0 30px;
  background: #E9F7F6;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

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

.faq-item {
  border: 1px solid #CFE3E7;
  border-left: 3px solid var(--jade);
  border-radius: var(--radius);
  background: #FFFFFF;
}

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

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

.faq-item summary h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--ink);
}

.faq-item summary .icon {
  flex: none;
  transition: transform 180ms ease;
  filter: invert(31%) sepia(38%) saturate(1580%) hue-rotate(152deg) brightness(92%) contrast(93%);
}

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

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

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

/* ---- 官方入口 ---- */
.official {
  padding: 30px 0 74px;
  background: #E9F7F6;
}

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

.official-fold {
  border: 1px solid #BFDBE4;
  border-radius: var(--radius);
  background: #FFFFFF;
}

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

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

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

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

.official-link {
  padding: 12px 18px 16px;
  border-top: 1px dashed #CFE3E7;
}

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

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

/* ---- 用户评价 ---- */
.reviews {
  padding: 76px 0 80px;
  background: var(--paper);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

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

.review-card {
  display: flex;
  min-width: 0;
  min-height: 200px;
  flex-direction: column;
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  box-shadow: 0 6px 18px rgba(14, 86, 144, 0.06);
}

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

.review-card header b {
  color: var(--jade-deep);
  font-family: "Songti SC", "SimSun", Georgia, serif;
  font-size: 15px;
  font-weight: 700;
}

.review-card time {
  flex: none;
  color: #93A7B1;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.review-card > p {
  margin: 12px 0 0;
  color: #3D5667;
  font-size: 13.6px;
  line-height: 1.84;
}

.rv-site {
  margin-top: auto;
  padding-top: 12px;
  color: var(--jade);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  word-break: break-all;
}

/* ---- 下载 ---- */
.download-cta {
  padding: 70px 0 76px;
  color: #EAF9F8;
  background: linear-gradient(140deg, #0B2D47 0%, #0E5690 100%);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.download-cta .eyebrow {
  color: #8FCEEA;
}

.download-cta h2 {
  color: #FFFFFF;
}

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

.download-cta .button-primary {
  border-color: #FFFFFF;
  color: var(--jade-deep);
  background: #FFFFFF;
  box-shadow: none;
}

.download-cta .button-primary .icon {
  filter: invert(31%) sepia(38%) saturate(1580%) hue-rotate(152deg) brightness(92%) contrast(93%);
}

.download-cta .button-primary:hover {
  color: #FFFFFF;
  background: var(--jade-deep);
  border-color: var(--jade-deep);
}

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

.disclaimer {
  margin: 20px 0 0;
  color: #A9C5D3;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

/* ---- 页脚 ---- */
.site-footer {
  padding: 34px 0 20px;
  color: #9DB2C0;
  background: #071E2F;
  font-size: 12.5px;
}

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

.site-footer p {
  margin: 0;
}

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

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

.site-footer .icp {
  letter-spacing: 0.02em;
}

/* ---- 返回顶部 ---- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 148px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--jade);
  border-radius: 50%;
  background: #FFFFFF;
  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(--jade);
  border-left: 2px solid var(--jade);
  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(--jade-soft);
}

/* ---- 平板 ---- */
@media (max-width: 1024px) {
  .fours {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .four {
    padding: 24px 20px 10px 0;
  }

  .four:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(111, 186, 222, 0.18);
  }

  .four:nth-child(4) {
    border-top: 1px solid rgba(111, 186, 222, 0.18);
  }

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

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

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

  .storyRail {
    max-width: 100%;
    margin: 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;
    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: 8px;
    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;
    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: 12px;
  }

  .primary-nav a {
    display: block;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #FFFFFF;
    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 10px;
    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: 40px 0 44px;
  }

  .hero::after {
    display: none;
  }

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

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

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

  .storyRail {
    padding: 16px 14px 18px;
  }

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

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

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

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

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

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

  .four,
  .four + .four,
  .four:nth-child(3),
  .four:nth-child(4) {
    padding: 20px 0;
    border-top: 1px solid rgba(111, 186, 222, 0.16);
    border-left: 0;
  }

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

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

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

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

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

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

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

  .nav-download span {
    display: none;
  }

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

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

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

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