/* ============================================================
   种草大队 官方网站 · 样式表
   ------------------------------------------------------------
   设计口径：
     · 移动优先（手机打开占多数），≤720px 单列
     · 主色 #E8503A（种草红）＋ 墨色 #1F2328 ＋ 米白底 #FAF9F7
     · 不使用任何外链资源（字体/图片/CDN）—— 服务器离线也能正常打开
   ============================================================ */

:root {
  --red: #E8503A;
  --red-deep: #C93A26;
  --red-soft: #FFF1EE;
  --ink: #1F2328;
  --ink-2: #4A5159;
  --ink-3: #8A929B;
  --line: #EBE8E3;
  --bg: #FAF9F7;
  --card: #FFFFFF;
  --green: #2FA36B;
  --green-soft: #EAF7F0;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(31,35,40,.04), 0 8px 24px rgba(31,35,40,.06);
  --shadow-lg: 0 2px 4px rgba(31,35,40,.05), 0 18px 44px rgba(31,35,40,.10);
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------------- 顶栏 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,249,247,.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
  height: 66px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: .3px; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.brand small {
  display: block; font-size: 10px; font-weight: 600; letter-spacing: 1.4px;
  color: var(--ink-3); line-height: 1; margin-top: 2px;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: 9px; font-size: 15px; color: var(--ink-2);
  font-weight: 500; transition: background .16s, color .16s;
}
.nav-links a:hover { background: #F2EFEB; color: var(--ink); }
.nav-links a.on { color: var(--red); background: var(--red-soft); font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  background: var(--red); color: #fff; border: 0; cursor: pointer;
  box-shadow: 0 6px 18px rgba(232,80,58,.26);
  transition: transform .14s, box-shadow .14s, background .14s;
}
.btn:hover { background: var(--red-deep); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(232,80,58,.32); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { background: #F7F5F2; box-shadow: none; }

.burger {
  display: none; margin-left: auto; width: 42px; height: 42px;
  border: 1px solid var(--line); background: #fff; border-radius: 11px;
  cursor: pointer; align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 17px; height: 2px; background: var(--ink);
  border-radius: 2px; position: relative;
}
.burger span::before { position: absolute; top: -6px; }
.burger span::after  { position: absolute; top: 6px; }

/* ---------------- 首屏 ---------------- */
.hero { position: relative; overflow: hidden; padding: 76px 0 68px; }
.hero::before {
  content: ""; position: absolute; inset: -30% -20% auto -20%; height: 150%;
  background:
    radial-gradient(46% 52% at 22% 26%, rgba(232,80,58,.13), transparent 68%),
    radial-gradient(42% 48% at 84% 14%, rgba(47,163,107,.11), transparent 66%);
  pointer-events: none;
}
.hero-in { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.hero h1 {
  margin: 0 0 18px; font-size: clamp(30px, 5.4vw, 50px); line-height: 1.24;
  letter-spacing: -.6px; font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero p.lead {
  margin: 0 0 30px; font-size: clamp(15px, 2.1vw, 18px); color: var(--ink-2);
  max-width: 660px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.tagline {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 6px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow);
}
.tagline i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat b { display: block; font-size: clamp(20px, 3vw, 27px); font-weight: 800; letter-spacing: -.5px; }
.stat span { font-size: 13px; color: var(--ink-3); }

/* ---------------- 通用段落 ---------------- */
.section { padding: 66px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 34px; max-width: 700px; }
.sec-head .kicker {
  font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--red);
  text-transform: uppercase; margin-bottom: 10px;
}
.sec-head h2 { margin: 0 0 12px; font-size: clamp(23px, 3.4vw, 32px); letter-spacing: -.4px; font-weight: 800; }
.sec-head p { margin: 0; color: var(--ink-2); font-size: 16px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------------- 卡片网格 ---------------- */
.grid { display: grid; gap: 18px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #E2DDD6; }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--red-soft);
  display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 16px;
}
.card h3 { margin: 0 0 9px; font-size: 17px; font-weight: 750; letter-spacing: -.2px; }
.card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------------- 测评卡 ---------------- */
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ritem {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.ritem:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #E2DDD6; }
.rthumb {
  height: 132px; position: relative;
  display: flex; align-items: center; justify-content: center; font-size: 40px;
}
.rthumb .cat {
  position: absolute; left: 12px; top: 12px;
  background: rgba(255,255,255,.9); color: var(--ink-2);
  font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.rbody { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.rbody h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 750; line-height: 1.5; }
.rbody p { margin: 0 0 16px; color: var(--ink-2); font-size: 14px; line-height: 1.7; flex: 1; }
.rmeta {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: 13px;
}
.score { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--red); }
.score em { font-style: normal; color: var(--ink-3); font-weight: 600; }
.rmeta .read { font-size: 12.5px; color: var(--ink-3); }

/* 分类色板（纯 CSS，无外链图） */
.t-home  { background: linear-gradient(135deg,#FFE9E3,#FFD5C9); }
.t-tech  { background: linear-gradient(135deg,#E4EDFF,#D3E1FF); }
.t-beauty{ background: linear-gradient(135deg,#FCE6F1,#F8D3E6); }
.t-food  { background: linear-gradient(135deg,#FFF3DA,#FFE7B8); }
.t-baby  { background: linear-gradient(135deg,#E6F7EE,#D2EFE0); }
.t-wear  { background: linear-gradient(135deg,#EDE9FF,#DDD6FF); }

/* ---------------- 筛选 ---------------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  padding: 8px 17px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: #D9D3CB; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------- 步骤 ---------------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  display: block; font-size: 13px; font-weight: 800; letter-spacing: 1.5px;
  color: var(--red); margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-size: 16px; font-weight: 750; }
.step p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ---------------- 图文块 ---------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.split h2 { margin: 0 0 16px; font-size: clamp(22px,3.2vw,30px); font-weight: 800; letter-spacing: -.4px; }
.split p { margin: 0 0 14px; color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 11px; font-size: 15px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--green-soft);
  box-shadow: inset 0 0 0 1.5px rgba(47,163,107,.45);
}
.ticks li::after {
  content: ""; position: absolute; left: 5px; top: 13px;
  width: 5px; height: 8px; border: 2px solid var(--green); border-top: 0; border-left: 0;
  transform: rotate(42deg);
}
.panel {
  background: linear-gradient(150deg,#FFF6F3,#FFFFFF 55%);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow);
}
.panel h4 { margin: 0 0 16px; font-size: 15px; font-weight: 800; letter-spacing: .2px; }
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--ink-3); }
.kv b { font-weight: 700; }

/* ---------------- 页脚 ---------------- */
.foot { background: #17191C; color: #B9BFC6; padding: 54px 0 30px; margin-top: 8px; }
.foot-in { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 34px; border-bottom: 1px solid #2A2E33; }
.foot .brand { color: #fff; }
.foot .brand small { color: #6E767E; }
.foot p.about { margin: 16px 0 0; font-size: 13.5px; line-height: 1.8; color: #8B939B; max-width: 330px; }
.foot h5 { margin: 0 0 15px; font-size: 13px; color: #fff; font-weight: 700; letter-spacing: .6px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot ul li { margin-bottom: 10px; }
.foot ul a { font-size: 13.5px; color: #8B939B; transition: color .15s; }
.foot ul a:hover { color: #fff; }
.foot-bot {
  padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px;
  align-items: center; font-size: 12.5px; color: #6E767E;
}
.foot-bot a { color: #8B939B; transition: color .15s; }
.foot-bot a:hover { color: #fff; }
.foot-bot .sep { color: #33383D; }
.beian { display: inline-flex; align-items: center; gap: 6px; }
.beian svg { width: 13px; height: 13px; fill: currentColor; flex: none; }

/* ---------------- 内页头 ---------------- */
.pagehead { padding: 54px 0 40px; border-bottom: 1px solid var(--line); background: #fff; }
.pagehead .kicker { font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--red); margin-bottom: 10px; }
.pagehead h1 { margin: 0 0 12px; font-size: clamp(26px,4vw,38px); font-weight: 800; letter-spacing: -.5px; }
.pagehead p { margin: 0; color: var(--ink-2); max-width: 680px; }

.prose { max-width: 820px; }
.prose h2 { margin: 44px 0 14px; font-size: 21px; font-weight: 800; letter-spacing: -.2px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; font-size: 16.5px; font-weight: 750; }
.prose p { margin: 0 0 14px; color: var(--ink-2); }
.prose ul { padding-left: 22px; margin: 0 0 16px; color: var(--ink-2); }
.prose li { margin-bottom: 9px; }
.prose .note {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--red);
  border-radius: 10px; padding: 18px 22px; margin: 22px 0; font-size: 14.5px; color: var(--ink-2);
}

.cta-band {
  background: linear-gradient(120deg,#1F2328,#2C3238); color: #fff;
  border-radius: var(--radius-lg); padding: 44px; text-align: center;
}
.cta-band h2 { margin: 0 0 12px; font-size: clamp(21px,3vw,29px); font-weight: 800; }
.cta-band p { margin: 0 auto 26px; color: #B9BFC6; max-width: 560px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1000px) {
  .grid.c4, .steps { grid-template-columns: repeat(2,1fr); }
  .rgrid { grid-template-columns: repeat(2,1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .grid.c3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav-in { height: 60px; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 60px;
    flex-direction: column; gap: 2px; background: #fff; padding: 10px 14px 16px;
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 26px rgba(31,35,40,.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 16px; border-radius: 10px; }
  .burger { display: flex; }
  .hero { padding: 50px 0 46px; }
  .section { padding: 48px 0; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .grid.c4, .steps, .rgrid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 26px; }
  .cta-band { padding: 32px 22px; }
  .panel { padding: 22px; }
}

@media print {
  .nav, .hero-cta, .burger { display: none; }
  body { background: #fff; }
}
