/* 野点子官网 — 森林雨季气质，品牌优先 */
:root {
  --green-deep: #14352a;
  --green: #1f4d3a;
  --green-mid: #2d6a4f;
  --green-soft: #3d8a66;
  --mist: #e8f0ea;
  --fog: #f3f7f4;
  --ink: #1a2e26;
  --muted: #4a6358;
  --line: rgba(45, 106, 79, 0.14);
  --display: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  background: var(--fog);
}

a {
  color: var(--green-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--green-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(243, 247, 244, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--green-deep);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
  display: block;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-header nav a:hover {
  color: var(--green-mid);
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #f4faf6;
  background: #1a4030;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #1a4030;
}

/* 全屏铺满：避免 width:auto + min-* 在宽屏只按固有尺寸显示、右侧露绿底 */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  animation: hero-drift 22s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 36, 28, 0.22) 0%, rgba(12, 36, 28, 0.52) 48%, rgba(10, 28, 22, 0.9) 100%);
  pointer-events: none;
}

@keyframes hero-drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.06); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto 4.5rem;
  animation: rise-in 1s ease-out both;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 18em;
  font-weight: 500;
}

.hero-brand {
  display: block;
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: clamp(2.8rem, 9vw, 5.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.08em;
}

.hero-slogan {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.25rem, 3.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin: 0 0 1.4rem;
  max-width: 34em;
  color: rgba(244, 250, 246, 0.88);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(244, 250, 246, 0.45);
  border-radius: 4px;
  color: #f4faf6;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  animation: pulse-border 3.2s ease-in-out infinite;
}

.hero-cta:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(244, 250, 246, 0.35); background: rgba(255, 255, 255, 0.04); }
  50% { border-color: rgba(244, 250, 246, 0.7); background: rgba(255, 255, 255, 0.09); }
}

.section {
  width: min(860px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.5rem 0;
}

.section-alt {
  width: 100%;
  padding-left: max(1.25rem, calc((100% - 860px) / 2));
  padding-right: max(1.25rem, calc((100% - 860px) / 2));
  background: var(--mist);
}

.section h2 {
  margin: 0 0 1.2rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  color: var(--green-deep);
  letter-spacing: 0.06em;
}

.section p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.section p:last-child {
  margin-bottom: 0;
}

.note {
  padding-left: 0.9rem;
  border-left: 3px solid var(--green-soft);
  color: var(--green) !important;
  font-size: 0.95rem;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--green-deep);
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.steps {
  margin: 0 0 2rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.steps li + li {
  margin-top: 0.45rem;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.1rem 1.5rem;
  margin: 0;
}

.meta-grid dt {
  font-size: 0.82rem;
  color: var(--green-soft);
  letter-spacing: 0.06em;
}

.meta-grid dd {
  margin: 0.2rem 0 0;
  color: var(--ink);
  font-size: 0.98rem;
  word-break: break-all;
}

.site-footer {
  padding: 2.4rem 1.25rem 2.8rem;
  text-align: center;
  background: var(--green-deep);
  color: rgba(244, 250, 246, 0.78);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0.35rem 0;
}

.site-footer a {
  color: rgba(244, 250, 246, 0.9);
}

.footer-domains {
  opacity: 0.65;
  font-size: 0.82rem;
}


.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.faq-item summary {
  cursor: pointer;
  color: var(--green-deep);
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--green-soft);
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.1rem;
  margin: 0.85rem 0 !important;
}

.footer-nav a {
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* —— 打开小程序 —— */
.miniapp-card {
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 1.6rem 1.25rem 1.4rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.miniapp-card-inline {
  margin: 0 0 2rem;
  width: 100%;
  max-width: 420px;
}

.miniapp-card h1,
.miniapp-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  color: var(--green-deep);
  letter-spacing: 0.05em;
}

.miniapp-kicker {
  margin: 0 0 0.45rem;
  color: var(--green-soft);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.miniapp-lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.miniapp-lead.wechat-tip {
  color: var(--green);
  font-weight: 500;
}

.miniapp-code {
  margin: 0 auto 1.1rem;
  width: min(240px, 70vw);
}

.miniapp-code img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(20, 53, 42, 0.12);
  -webkit-touch-callout: default;
  user-select: none;
}

.miniapp-code figcaption {
  margin-top: 0.55rem;
  color: var(--green-soft);
  font-size: 0.88rem;
}

.miniapp-steps {
  margin: 0 auto 0.5rem;
  padding-left: 1.2rem;
  max-width: 22em;
  text-align: left;
  color: var(--muted);
  font-size: 0.95rem;
}

.miniapp-steps li + li {
  margin-top: 0.35rem;
}

.miniapp-alt {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.page-qrcode .qrcode-main {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 3rem;
}

.wechat-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(20, 53, 42, 0.88) 35%);
  pointer-events: none;
}

.wechat-bar-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 48px;
  padding: 0 1.4rem;
  border-radius: 999px;
  background: #2d6a4f;
  color: #f4faf6;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(20, 53, 42, 0.35);
}

.wechat-bar-btn:hover {
  color: #fff;
  background: #245a42;
}

html.is-wechat body {
  padding-bottom: 72px;
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-inner {
    margin-bottom: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-photo {
    transform: none;
  }
}
