@charset "UTF-8";

/* ===== 鹿谷社区 · 青绿时间轴版式 ===== */
:root {
  --teal: #00B39B;
  --teal-deep: #007A6A;
  --teal-pale: #E4F7F4;
  --ink: #0D2A28;
  --text: #4C6462;
  --paper: #FCFEFD;
  --white: #ffffff;
  --line: #D6EBE7;
  --r-sm: 6px;
  --r-md: 16px;
  --r-lg: 26px;
  --shell: 1170px;
  --header-height: 72px;
  --mint-shadow: 0 24px 44px -32px rgba(0, 122, 106, .55);
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

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

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

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.2px;
  overflow-wrap: anywhere;
}

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

.brand span::after {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
  vertical-align: 4px;
}

.primary-nav {
  margin-left: auto;
}

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

.primary-nav li + li::before {
  margin-right: 24px;
  color: #C6DEDA;
  content: "/";
  font-size: 12px;
}

.primary-nav a {
  display: inline-block;
  padding: 6px 0;
  color: var(--text);
  font-size: 14px;
  transition: color 160ms ease;
}

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

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.nav-download {
  min-height: 42px;
  padding: 0 20px;
  border-radius: var(--r-sm);
  color: #fff;
  background: var(--teal-deep);
  transition: background-color 160ms ease;
}

.nav-download .icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.nav-download:hover {
  background: #005D51;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
}

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

/* ===== 英雄区 ===== */
.hero {
  padding: 58px 0 62px;
  background:
    radial-gradient(680px 300px at 8% 0%, #E9FAF7 0%, rgba(233, 250, 247, 0) 70%),
    linear-gradient(180deg, #F5FCFB 0%, var(--paper) 100%);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 520px);
  align-items: center;
  gap: 54px;
}

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

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

.eyebrow::after {
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-left: 10px;
  content: "";
  background: var(--teal);
  vertical-align: 4px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 700;
  letter-spacing: -.5px;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 12px 0 16px;
  color: var(--teal-deep);
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 600;
  letter-spacing: .6px;
}

.hero-summary {
  margin: 0 0 28px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.95;
}

.button {
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--r-sm);
}

.button-primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 24px -18px rgba(0, 179, 155, .95);
  transition: background-color 160ms ease, transform 160ms ease;
}

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

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

/* 垂直时间轴节点卡 */
.hero-timeline {
  min-width: 0;
  padding: 20px 20px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--mint-shadow);
}

.tlHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #EDF7F5;
}

.tlHead b {
  font-size: 15px;
  font-weight: 700;
}

.tlHead span {
  color: var(--teal-deep);
  font-size: 11px;
}

.tlList {
  position: relative;
  padding: 14px 0 6px 22px;
  margin: 0;
  list-style: none;
}

.tlList::before {
  position: absolute;
  top: 20px;
  bottom: 14px;
  left: 5px;
  width: 2px;
  content: "";
  background: linear-gradient(180deg, #9BE3DA, #D8F2EF);
}

.tlList li {
  position: relative;
  margin-bottom: 10px;
}

.tlDot {
  position: absolute;
  top: 16px;
  left: -22px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: #fff;
}

.tlList li:last-child .tlDot {
  background: var(--teal);
}

.tlCard {
  padding: 11px 13px 12px;
  border: 1px solid #E7F4F2;
  border-radius: 12px;
  background: #FAFEFD;
}

.tlMeta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.tlMeta b {
  color: var(--teal-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
}

.tlMeta span {
  padding: 1px 7px;
  border-radius: 4px;
  color: #5C807C;
  background: var(--teal-pale);
  font-size: 10px;
}

.tlTitle {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.tlCard small {
  display: block;
  margin-top: 3px;
  color: #7C9491;
  font-size: 11px;
}

.tlFoot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid #EDF7F5;
  color: #7C9491;
  font-size: 10.5px;
}

/* ===== 特色 ===== */
.routes {
  padding: 76px 0 80px;
  border-top: 1px solid var(--line);
  background: var(--white);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.routes-layout {
  display: grid;
  grid-template-columns: minmax(220px, .74fr) minmax(0, 1.26fr);
  gap: 56px;
  align-items: start;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -.4px;
  line-height: 1.32;
}

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

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

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

.four {
  min-width: 0;
  padding-left: 22px;
  border-left: 3px solid var(--teal-pale);
  transition: border-color 160ms ease;
}

.four:hover {
  border-left-color: var(--teal);
}

.four .n {
  display: block;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.four h3 {
  margin: 5px 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.four p {
  margin: 0;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.9;
}

/* ===== 界面展示 ===== */
.screens {
  padding: 78px 0 86px;
  background: linear-gradient(180deg, #F1FBF9 0%, #FBFEFD 100%);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

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

.covers figure:nth-child(even) {
  transform: translateY(22px);
}

.covers img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  border: 1px solid #CFEAE6;
  background: #fff;
}

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

.covers small {
  display: block;
  margin-top: 2px;
  color: #7C9491;
  font-size: 11.5px;
}

/* ===== FAQ ===== */
.faq {
  padding: 78px 0 20px;
  background: var(--white);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.faq .section-heading {
  margin-bottom: 30px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  counter-reset: q;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #FBFEFD;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.faq-item[open] {
  border-color: #B6E7E1;
  background: #fff;
  box-shadow: var(--mint-shadow);
}

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

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

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

.faq-item summary h3::before {
  display: inline-block;
  width: 20px;
  margin-right: 6px;
  color: var(--teal);
  content: counter(q, decimal-leading-zero);
  font-size: 11px;
  vertical-align: 1px;
}

.faq-item summary .icon {
  width: 13px;
  height: 13px;
  flex: none;
  filter: invert(45%) sepia(72%) saturate(2382%) hue-rotate(141deg) brightness(90%) contrast(101%);
  transition: transform 180ms ease;
}

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

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

.faq-answer p {
  margin: 0;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.9;
}

/* ===== 官方入口 ===== */
.official {
  padding: 28px 0 76px;
  background: var(--white);
}

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

.official-fold {
  border: 1px dashed #A7DED7;
  border-radius: var(--r-md);
  background: #F4FCFB;
}

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

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

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

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

.official-link {
  padding: 0 20px 18px;
}

.official-link p {
  margin: 8px 0 0;
  padding-top: 12px;
  border-top: 1px solid #DDF2EF;
  font-size: 13.5px;
}

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

/* ===== 评论 ===== */
.reviews {
  padding: 76px 0 82px;
  background: #F1FAF8;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

.review-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 190px;
  flex-direction: column;
  padding: 26px 22px 20px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid #E2F1EE;
}

.review-card::before {
  color: #CDEDE8;
  content: "“";
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1;
  position: absolute;
  top: 12px;
  left: 16px;
}

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

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

.review-card time {
  color: #8AA5A2;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.review-card > p {
  margin: 12px 0 10px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.9;
}

.rv-site {
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px dashed #E2F1EE;
  color: var(--teal-deep);
  font-size: 11px;
  word-break: break-all;
}

/* ===== 下载 CTA ===== */
.download-cta {
  padding: 72px 0 78px;
  background: linear-gradient(140deg, #007A6A 0%, #00B39B 62%, #2ACBB4 100%);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.cta-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 38px 40px 34px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .97);
  text-align: center;
}

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

.cta-card .eyebrow {
  color: var(--teal-deep);
}

.cta-card .section-heading > p:last-child {
  margin-bottom: 24px;
}

.disclaimer {
  margin: 24px 0 0;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: #F1FAF8;
  color: #5C7B78;
  font-size: 12.5px;
  line-height: 1.8;
  text-align: left;
}

/* ===== 页脚 ===== */
.site-footer {
  padding: 32px 0 22px;
  color: #7C9491;
  background: var(--white);
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12.5px;
}

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

.site-footer a {
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .icp a {
  color: #8AA5A2;
  text-decoration: none;
}

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

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

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

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

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

  .routes-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .routes-layout .section-heading {
    position: static;
    max-width: 640px;
    margin-bottom: 6px;
  }

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

  .covers figure:nth-child(even) {
    transform: none;
  }

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

@media (max-width: 900px) {
  .primary-nav {
    display: none;
    margin: 0;
  }

  .nav-shell {
    position: relative;
    gap: 12px;
  }

  .nav-download {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 12px 24px 16px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

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

  .primary-nav.is-open li + li::before {
    display: none;
  }

  .primary-nav.is-open a {
    display: block;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: #F7FCFB;
  }

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

@media (max-width: 720px) {
  :root {
    --header-height: 62px;
  }

  body {
    font-size: 15px;
  }

  .page-shell,
  .nav-shell {
    width: min(calc(100% - 30px), var(--shell));
  }

  .brand {
    font-size: 16px;
  }

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

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

  .hero-timeline {
    padding: 16px 14px 12px;
    border-radius: 20px;
  }

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

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

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

  .fours {
    gap: 18px;
  }

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

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

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

  .cta-card {
    padding: 28px 20px 24px;
  }

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

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

  .to-top {
    right: 14px;
    bottom: 128px;
    width: 40px;
    height: 40px;
  }
}
