@charset "UTF-8";

/* ===== 富贵小羊 · 牧场卡片风格 ===== */

:root {
  --lime: #A8D93A;
  --lime-deep: #7DB01E;
  --lime-pale: #F2FADC;
  --cream: #FFFDF4;
  --ink: #27331B;
  --muted: #6B7A5C;
  --line: #E4EFCC;
  --radius: 22px;
  --shell: 1140px;
  --header-height: 78px;
  --round: "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--round);
  font-size: 16px;
  line-height: 1.7;
}

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

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

button {
  color: inherit;
  font: inherit;
}

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

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

.page-shell {
  width: min(calc(100% - 40px), 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"); }

/* ---------- 顶栏 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 10px 0;
  background: rgba(255, 253, 244, 0.94);
  backdrop-filter: blur(8px);
}

.nav-shell {
  display: flex;
  align-items: center;
  width: min(calc(100% - 40px), var(--shell));
  min-height: 58px;
  margin: 0 auto;
  padding: 0 8px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(123, 160, 60, 0.08);
  gap: 18px;
}

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

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

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

.primary-nav ul,
.footer-nav ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav ul {
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 160ms ease, background-color 160ms ease;
}

.primary-nav a:hover {
  color: var(--ink);
  background: var(--lime-pale);
}

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

.nav-download {
  min-width: 124px;
  min-height: 40px;
  padding: 0 16px;
  color: #43510F;
  background: var(--lime);
  transition: background-color 180ms ease, transform 180ms ease;
}

.nav-download .icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(26%) sepia(38%) saturate(1100%) hue-rotate(30deg) brightness(96%);
}

.nav-download:hover {
  background: #BCE65A;
  transform: translateY(-1px);
}

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

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

/* ---------- 英雄区 ---------- */

.hero {
  position: relative;
  padding: 56px 0 68px;
  overflow: hidden;
  background:
    radial-gradient(560px 320px at 88% 12%, #EAF7C6 0%, rgba(234, 247, 198, 0) 70%),
    radial-gradient(420px 260px at 6% 92%, #F6F0D6 0%, rgba(246, 240, 214, 0) 72%),
    var(--cream);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.hero::before {
  position: absolute;
  top: 42px;
  left: -54px;
  width: 132px;
  height: 132px;
  content: "";
  border: 2px dashed #DCEBBA;
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(26px, 5vw, 62px);
}

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

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 13px;
  border-radius: 999px;
  color: #5C7A16;
  background: #E7F5C4;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 5.6vw, 66px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 16px 0 14px;
  color: #3C4B22;
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 700;
  line-height: 1.4;
}

.hero-summary {
  max-width: 430px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.button {
  min-height: 50px;
  padding: 0 28px;
}

.button-primary {
  color: #35400E;
  background: linear-gradient(135deg, #B7E452 0%, #8FC71F 100%);
  box-shadow: 0 10px 22px rgba(141, 190, 40, 0.32);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button-primary .icon {
  filter: brightness(0) saturate(100%) invert(24%) sepia(40%) saturate(1000%) hue-rotate(32deg) brightness(94%);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(141, 190, 40, 0.38);
}

/* 英雄组件：合成格 */

.hero-merge {
  width: 100%;
  max-width: 476px;
  margin-left: auto;
  padding: 20px;
  border: 1px solid #E7F1D2;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 40px rgba(120, 155, 58, 0.14);
}

.mg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px 13px;
}

.mg-head b {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.mg-coin {
  padding: 5px 12px;
  border-radius: 999px;
  color: #6A5A12;
  background: #FFF2C6;
  font-size: 11.5px;
  font-weight: 700;
}

.mg-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  padding: 9px;
  border-radius: 20px;
  background: #F4F9E5;
}

.mg-cell {
  display: grid;
  min-height: 52px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #43510F;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease;
}

.mg-cell:hover {
  transform: translateY(-2px);
}

.mg-cell.empty {
  border: 1px dashed #D9E8B8;
  background: #FBFEF2;
}

.mg-cell.lv1 { background: #F4F9E3; border-color: #E3EFC5; }
.mg-cell.lv2 { background: #E8F6C6; border-color: #D2E9A4; }
.mg-cell.lv3 { background: #DCF2B0; border-color: #C4E188; }
.mg-cell.lv4 { background: #CDE99A; border-color: #B2D66E; }
.mg-cell.lv5 { background: #BEE07F; border-color: #A0C956; color: #2F3B08; }
.mg-cell.lv6 { background: #A8D93A; border-color: #8ABD20; color: #26310A; box-shadow: inset 0 -3px 0 rgba(90, 125, 12, 0.22); }

.mg-progress {
  margin-top: 16px;
}

.mg-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #EDF3DD;
}

.mg-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #C8E96E 0%, #8FC71F 100%);
}

.mg-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11.5px;
}

.mg-meta b {
  color: #5C7A16;
}

/* ---------- 区块标题 ---------- */

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.28;
}

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

/* ---------- 核心特色：横排四行 ---------- */

.routes {
  padding: 70px 0;
  background: #fff;
  border-radius: 40px 40px 0 0;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.fours {
  display: grid;
  gap: 12px;
}

.four {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 0.72fr) minmax(0, 1.6fr);
  align-items: center;
  column-gap: 22px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FDFFF7;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.four:hover {
  border-color: #CFE4A4;
  background: #F8FDE9;
}

.four .n {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: #4D6012;
  background: #E8F5C6;
  font-size: 16px;
  font-weight: 800;
}

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

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

/* ---------- 界面展示 ---------- */

.screens {
  padding: 72px 0 80px;
  background: #fff;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

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

.covers figure {
  min-width: 0;
  margin: 0;
  padding: 10px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #FDFFF7;
  box-shadow: 0 10px 24px rgba(122, 158, 60, 0.07);
}

.covers figure:nth-child(even) {
  margin-top: 22px;
}

.covers img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  background: #F1F7E2;
  object-fit: cover;
  object-position: top center;
}

.covers b {
  display: block;
  margin: 12px 4px 0;
  font-size: 13.5px;
  font-weight: 800;
}

.covers small {
  display: block;
  margin: 2px 4px 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */

.faq {
  padding: 74px 0 60px;
  background: var(--lime-pale);
  border-radius: 44px;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.faq .page-shell {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  column-gap: 46px;
  align-items: start;
}

.faq .section-heading {
  margin-bottom: 0;
}

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

.faq-item {
  border: 1px solid #DCEBC0;
  border-radius: 18px;
  background: #fff;
  transition: border-color 180ms ease;
}

.faq-item[open] {
  border-color: #BEDD86;
}

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

.faq-item summary .icon {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 2px;
  border-radius: 50%;
  background: #EAF6CE;
  filter: brightness(0) saturate(100%) invert(43%) sepia(52%) saturate(800%) hue-rotate(38deg) brightness(92%);
  transition: transform 180ms ease;
}

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

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

.faq-answer p {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed #E3EFC9;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.82;
}

/* ---------- 官方入口 ---------- */

.official {
  padding: 0 0 72px;
  background: var(--lime-pale);
}

.official .section-heading {
  max-width: 660px;
}

.official-fold {
  border: 1px solid #CFE4A4;
  border-radius: 20px;
  background: #fff;
}

.official-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 20px;
  color: #4D6012;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.official-fold summary::after {
  margin-left: auto;
  content: "⌄";
  color: #7DB01E;
  font-size: 16px;
}

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

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

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

.official-link a {
  color: #5C7A16;
  font-weight: 800;
  word-break: break-all;
}

/* ---------- 用户评价 ---------- */

.reviews {
  padding: 74px 0 82px;
  background: #fff;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

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

.review-card {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #FDFFF7;
}

.review-card:nth-child(3n + 1) {
  background: #F7FDEA;
}

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

.review-card .who b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.review-card .who b::before {
  display: inline-block;
  width: 22px;
  height: 22px;
  content: "";
  border-radius: 50%;
  background: linear-gradient(135deg, #D7EE9E 0%, #A8D93A 100%);
}

.review-card time {
  color: #93A382;
  font-size: 11.5px;
  letter-spacing: 0.2px;
}

.review-card > p {
  margin: 13px 0 12px;
  color: #4C5840;
  font-size: 13.8px;
  line-height: 1.82;
}

.rv-site {
  margin-top: auto;
  padding: 5px 11px;
  border-radius: 999px;
  color: #5C7A16;
  background: #EDF7D6;
  font-size: 11.5px;
  word-break: break-all;
}

/* ---------- 下载 ---------- */

.download-cta {
  padding: 20px 0 74px;
  background: #fff;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.download-cta .page-shell {
  padding: 46px 34px 40px;
  border-radius: 34px;
  background:
    radial-gradient(320px 200px at 92% 0%, #DFF3A8 0%, rgba(223, 243, 168, 0) 72%),
    #F6FCE6;
  border: 1px solid #E0EEC2;
  text-align: center;
}

.download-cta .section-heading {
  max-width: 640px;
  margin: 0 auto 22px;
}

.download-cta .section-heading .eyebrow {
  background: #E3F4BC;
}

.download-cta .button {
  min-width: 214px;
}

.disclaimer {
  max-width: 620px;
  margin: 20px auto 0;
  color: #7C8A6C;
  font-size: 12.5px;
}

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 26px 0 22px;
  background: #263018;
  color: #C8D3B6;
}

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

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

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

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

.icp a {
  color: #A9BC8E;
  letter-spacing: 0.3px;
}

/* ---------- 返回顶部 ---------- */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 148px;
  z-index: 40;
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 10px 20px rgba(120, 160, 40, 0.32);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  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 #35400E;
  border-left: 2px solid #35400E;
  transform: rotate(45deg) translate(1px, 1px);
}

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

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

  .hero-merge {
    margin: 0 auto;
    max-width: 100%;
  }

  .four {
    grid-template-columns: 56px minmax(0, 1fr);
    row-gap: 6px;
  }

  .four p {
    grid-column: 2;
  }

  .faq .page-shell {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 6px;
  }

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

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

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

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
    padding: 6px 0;
    background: var(--cream);
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
  }

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

  .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-rows: 52px;
    min-height: 52px;
    column-gap: 8px;
    padding: 0 6px 0 10px;
    border-radius: 26px;
  }

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

  .brand img {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }

  .primary-nav {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 0 -6px;
    padding: 0 10px 10px;
  }

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

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

  .primary-nav a {
    display: block;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #FBFEF2;
    color: var(--ink);
    font-size: 12.5px;
  }

  .nav-download {
    grid-row: 1;
    grid-column: 3;
    min-width: auto;
    min-height: 32px;
    padding: 0 10px;
    font-size: 11.5px;
  }

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

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

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

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

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

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

  .hero-merge {
    padding: 14px;
    border-radius: 22px;
  }

  .mg-cell {
    min-height: 44px;
    font-size: 12.5px;
    border-radius: 11px;
  }

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

  .routes {
    border-radius: 26px 26px 0 0;
  }

  .faq {
    border-radius: 26px;
  }

  .four {
    display: block;
    padding: 18px;
  }

  .four .n {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    font-size: 13px;
  }

  .four h3 {
    margin-bottom: 6px;
  }

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

  .covers figure:nth-child(even) {
    margin-top: 14px;
  }

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

  .download-cta .page-shell {
    padding: 32px 18px 28px;
    border-radius: 24px;
  }

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

  .site-footer .page-shell {
    display: grid;
    justify-items: start;
    gap: 6px;
  }

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

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

  .nav-download span {
    display: none;
  }

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

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

  .mg-board {
    gap: 5px;
    padding: 7px;
  }

  .mg-cell {
    min-height: 38px;
    font-size: 11px;
  }
}
