/* ===== 首页区块 ===== */
.home-block{padding:28px 0 8px}
#animalsBlock{border-top:1px solid var(--line)}
#animalsBlock,#featuresBlock{scroll-margin-top:70px}

/* ===== Hero ===== */
.hero{padding:12px 0 40px;overflow:hidden}
.hero-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.hero-copy h1{font-size:clamp(34px,5.6vw,54px);font-weight:900;color:var(--ink);margin:16px 0 18px;letter-spacing:.01em}
.hero-copy h1 .hl{color:var(--green)}
.hero-copy .lede{font-size:17px;color:var(--ink-2);max-width:34em}
.hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:28px 0 26px}
.hero-note{font-size:13.5px;color:var(--ink-3);display:inline-flex;align-items:center;gap:7px}
.hero-stats{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.hstat{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:10px 16px;box-shadow:var(--shadow-sm)}
.hstat .ic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:var(--green);background:var(--green-soft);flex:none}
.hstat .ic svg{width:19px;height:19px}
.hstat b{font-family:var(--serif);font-size:19px;color:var(--ink);line-height:1.1}
.hstat span{font-size:12px;color:var(--ink-3);display:block}
.hero-figure{position:relative}
.hero-figure .frame{border-radius:30px;overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--line)}
.hero-figure .frame img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.hero-figure .chip{
  position:absolute;left:-8px;bottom:18px;background:var(--surface);border:1px solid var(--line);
  border-radius:14px;padding:12px 16px;box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:10px;
}
.hero-figure .chip .chip-ic{width:38px;height:38px;border-radius:50%;background:var(--amber-soft);display:grid;place-items:center;color:var(--amber-deep);flex:none}
.hero-figure .chip .chip-ic svg{width:22px;height:22px}
.hero-figure .chip b{font-family:var(--serif);font-size:15px;display:block;line-height:1.3}
.hero-figure .chip span{font-size:12px;color:var(--ink-3)}

/* ===== 统计带 ===== */
.statband{background:var(--green-deep);border-radius:26px;color:#fff;padding:34px 26px;margin:8px 0 8px}
.statband-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.stat-item{text-align:center;padding:6px 8px}
.stat-item .num{font-family:var(--serif);font-weight:900;font-size:clamp(28px,4vw,40px);color:#fff;line-height:1.1}
.stat-item .num em{font-style:normal;color:var(--amber)}
.stat-item .lbl{font-size:13.5px;color:rgba(255,255,255,.82);margin-top:4px;letter-spacing:.04em}

/* ===== 动物图谱 ===== */
.animal-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.animal-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);
  padding:14px;text-align:center;box-shadow:var(--shadow-sm);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.animal-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--green)}
.animal-card .thumb{width:100%;aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:var(--bg-deep)}
.animal-card .thumb img{width:100%;height:100%;object-fit:cover}
.animal-card h3{font-family:var(--serif);font-size:17px;color:var(--ink);margin:10px 0 2px}
.animal-card p{font-size:12.5px;color:var(--ink-3)}
.grid-note{margin-top:18px;text-align:center;font-size:13px;color:var(--ink-3)}

/* ===== 特色 ===== */
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.feature{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);
  padding:26px 22px;box-shadow:var(--shadow-sm);position:relative;overflow:hidden;
}
.feature::after{content:"";position:absolute;right:-30px;top:-30px;width:90px;height:90px;border-radius:50%;background:var(--green-soft);opacity:.7}
.feature .fic{width:46px;height:46px;border-radius:13px;background:var(--green-soft);color:var(--green);display:grid;place-items:center;margin-bottom:16px}
.feature .fic svg{width:24px;height:24px}
.feature h3{font-size:18px;margin-bottom:8px}
.feature p{font-size:14px;color:var(--ink-2)}

/* ===== 响应式 ===== */
@media (max-width:900px){
  .animal-grid{grid-template-columns:repeat(4,1fr)}
  .feature-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:768px){
  /* 收紧手机端页头与 Hero 首行文字之间的距离 */
  section{padding-top:20px}
  .hero{padding:0 0 32px}
  .hero-inner{grid-template-columns:1fr;gap:34px}
  .hero-figure .chip{left:10px}
  .statband-inner{grid-template-columns:repeat(2,1fr);gap:18px}
  /* 手机端隐藏 Hero 内的三个统计卡片（60题/7维/20型），统计带 statband 仍保留 */
  .hero-stats{display:none}
}
@media (max-width:560px){
  .animal-grid{grid-template-columns:repeat(3,1fr)}
  .feature-grid{grid-template-columns:1fr}
}
