/* ============================================================
   探鹿官网 · main.css
   设计语言：山野绿 × 暖金，克制的分区滚动，全幅 Hero 压字
   ============================================================ */

:root {
  --ink: #1c2a24;          /* 主墨色（近墨绿的深色） */
  --ink-soft: #46584f;
  --muted: #7a8a80;
  --paper: #f5f9fd;        /* 浅白蓝（与APP同调） */
  --paper-2: #ebf3fb;      /* 浅白蓝深一档（区分层次） */
  --accent: #2f7d5b;       /* 山野绿 */
  --accent-deep: #1f5c40;
  --gold: #c8a15a;         /* 暖金点缀 */
  --line: rgba(28, 42, 36, .10);
  --radius: 20px;
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --shadow-soft: 0 24px 60px -24px rgba(28, 42, 36, .25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 隐藏滚动条（所有页面）：保持滚动能力，仅隐藏滚动条组件 */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { display: none; width: 0; height: 0; }
body::-webkit-scrollbar { display: none; width: 0; height: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- 通用 ---------- */
.section { padding: clamp(72px, 10vw, 128px) 24px; max-width: 1120px; margin: 0 auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-kicker {
  font-size: 13px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 700; letter-spacing: .02em; line-height: 1.25;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: .04em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  will-change: transform;
}
.btn-ic { width: 20px; height: 20px; }
/* 浅色系按钮：极浅绿底 + 山野绿字，贴合APP浅色调性 */
.btn-primary {
  background: linear-gradient(135deg, #eaf4ee, #dff0e6);
  color: var(--accent-deep);
  border: 1px solid rgba(47, 125, 91, .18);
  box-shadow: 0 14px 30px -14px rgba(47, 125, 91, .35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #dff0e6, #d2e9dc);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(47, 125, 91, .45);
}
.btn-ghost {
  color: #fff; border: 1.5px solid rgba(255,255,255,.65);
  backdrop-filter: blur(6px); background: rgba(255,255,255,.08);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 17px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.nav.scrolled {
  background: rgba(245, 249, 253, .88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 12px; padding-bottom: 12px;
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.brand-logo { width: 34px; height: 34px; display: block; filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)); }
.nav.scrolled .brand-logo { filter: none; }
.brand-name { font-family: var(--font-serif); font-size: 22px; font-weight: 700; letter-spacing: .06em; }
.brand-en { font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: .2em; color: var(--muted); margin-left: 6px; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); font-size: 15px; font-weight: 500; }
.nav-links a { opacity: .85; transition: opacity .2s ease; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  padding: 9px 22px; border-radius: 999px;
  background: linear-gradient(135deg, #eaf4ee, #dff0e6);
  color: var(--accent-deep) !important;
  border: 1px solid rgba(47, 125, 91, .18);
  opacity: 1 !important;
  transition: background .25s ease, transform .25s ease;
}
.nav-cta:hover {
  background: linear-gradient(135deg, #dff0e6, #d2e9dc);
  transform: translateY(-1px);
}

/* Hero 上的导航为浅色 */
.nav:not(.scrolled) { color: #fff; }
.nav:not(.scrolled) .brand-en { color: rgba(255,255,255,.7); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: url("../images/hero-bg-snow.jpg") center / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(200deg, rgba(18,30,38,0) 34%, rgba(18,30,38,.58) 80%),
    linear-gradient(90deg, rgba(18,30,38,.40), rgba(18,30,38,.06) 58%);
}
.hero-content {
  position: relative; z-index: 1;
  width: 100%; max-width: 1120px; margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) clamp(72px, 12vh, 128px);
  color: #fff;
}
.hero-kicker {
  font-size: 13px; letter-spacing: .5em; font-weight: 600;
  color: var(--gold); margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(46px, 9vw, 96px);
  font-weight: 700; line-height: 1.12; letter-spacing: .04em;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-sub {
  margin-top: 22px; font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.92); letter-spacing: .06em;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
  white-space: nowrap;
}
.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scrollcue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 1; width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,.55); border-radius: 14px;
}
.hero-scrollcue span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px; background: rgba(255,255,255,.8);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  60% { transform: translate(-50%, 12px); opacity: .2; }
}

/* ---------- 功能亮点 ---------- */
.features { background: var(--paper); }
.feature-list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3.4vw, 44px);
}
.feature { border-top: 2px solid var(--ink); padding-top: 22px; }
.feature-num {
  font-family: var(--font-serif); font-size: 15px; font-weight: 700;
  color: var(--gold); letter-spacing: .1em; margin-bottom: 14px;
}
.feature h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; letter-spacing: .04em; }
.feature p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 场景 / 截图 ---------- */
.scenes { background: var(--paper-2); max-width: none; }
.scenes .section-head { max-width: 1120px; margin-left: auto; margin-right: auto; padding: 0 24px; }
.scenes-stage {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: end;
}
.shot { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.shot-a { transform: translateY(0); }
.shot-b { transform: translateY(28px); }
.shot-c { transform: translateY(56px); }
.phone-frame {
  width: 100%; max-width: 300px; aspect-ratio: 9 / 20;
  border-radius: 40px; padding: 10px;
  background: #10201a;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.08),
    var(--shadow-soft);
  overflow: hidden;
}
.phone-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  border-radius: 32px;
}
.shot figcaption {
  text-align: center; font-size: 17px; font-weight: 700; letter-spacing: .08em;
}
.shot figcaption span {
  display: block; margin-top: 4px;
  font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: .04em;
}

/* ---------- 数据条 ---------- */
.stats { padding-top: clamp(90px, 12vw, 150px); }
.stats-row {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(32px, 5vw, 56px) 8px;
}
.stat { flex: 1; min-width: 160px; text-align: center; }
.stat strong {
  display: block; font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px); font-weight: 700; line-height: 1.1;
  color: var(--accent-deep);
}
.stat strong i { font-style: normal; font-size: .55em; color: var(--gold); margin-left: 2px; }
.stat span { font-size: 14px; color: var(--muted); letter-spacing: .12em; }

/* ---------- 尾部 CTA ---------- */
.cta {
  position: relative; padding: clamp(88px, 13vw, 160px) 24px;
  background:
    radial-gradient(1200px 480px at 50% 118%, rgba(47,125,91,.28), transparent 70%),
    linear-gradient(180deg, var(--paper) 0%, #e3eefa 100%);
  text-align: center;
}
.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 5vw, 52px); font-weight: 700;
  line-height: 1.3; letter-spacing: .04em; margin-bottom: 18px;
}
.cta-inner p { color: var(--ink-soft); font-size: 16px; margin-bottom: 40px; letter-spacing: .06em; }

/* ---------- 页脚 ---------- */
.footer { background: var(--paper-2); color: var(--ink-soft); padding: 56px 24px 40px; border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start;
}
.footer-brand .brand-name { font-family: var(--font-serif); font-size: 20px; color: var(--ink); }
.footer-brand p { margin-top: 8px; font-size: 13px; color: var(--muted); letter-spacing: .14em; }
.footer-links { display: flex; gap: 26px; font-size: 14px; }
.footer-links a { opacity: .75; transition: opacity .2s; }
.footer-links a:hover { opacity: 1; color: var(--accent); }
.footer-copy { width: 100%; font-size: 12.5px; color: var(--muted); letter-spacing: .08em; }
.footer-copy .footer-beian { color: var(--muted); transition: color .2s; }
.footer-copy .footer-beian:hover { color: var(--accent); }

/* ---------- 入场动效 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }
.reveal.d4 { transition-delay: .48s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 920px) {
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .scenes-stage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shot-b, .shot-c { transform: translateY(0); }
}
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .feature-list { grid-template-columns: 1fr; gap: 30px; }
  .scenes-stage { grid-template-columns: 1fr; justify-items: center; }
  .phone-frame { max-width: 260px; }
  .stats-row { flex-direction: column; gap: 28px; }
  /* 窄屏一行放不下时按比例缩小字号而不是换行 */
  .hero-sub { font-size: clamp(11px, 2.6vw, 15px); }
  .footer-inner { flex-direction: column; }
}

/* 尊重系统减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scrollcue span { animation: none; }
}
