/* =====================================================
   qy33.com 首页（2026-08-05 改版）
   营销转化型落地页：延续纸墨暖色，研报级排版
   复用 style.css 全局 token：--bg/--card/--ink/--sub/--mute/
   --line/--red/--red-deep/--gold/--amber/--green/--slate/
   --serif/--sans/--mono/--radius/--shadow
   ===================================================== */

/* ---------- 滚动渐显 ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- 通用小节标题（kicker + 标题） ---------- */
.hp-section { margin-bottom: 46px; scroll-margin-top: 76px; }
.hp-sec-head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.hp-kicker {
  font: 700 11px var(--mono); letter-spacing: .22em;
  color: var(--gold); text-transform: uppercase;
  border: 1px solid rgba(169,126,31,.3); border-radius: 4px;
  padding: 2px 8px; background: rgba(169,126,31,.06);
}
.hp-sec-head h2 {
  font: 800 clamp(20px, 2.6vw, 26px)/1.3 var(--serif);
  letter-spacing: .04em;
}
.hp-sec-note { margin-left: auto; color: var(--mute); font-size: 12.5px; }

/* =====================================================
   1. 首屏 HERO
   ===================================================== */
.hp-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 320px at 88% -10%, rgba(169,126,31,.12), transparent 65%),
    linear-gradient(135deg, #fffdf9 0%, #fbf3ec 55%, #f6e8d8 100%);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 54px 48px 50px; margin-bottom: 30px;
}
.hp-hero::before {
  /* 极淡的方格纸纹理 */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(169,126,31,.05) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(169,126,31,.05) 0 1px, transparent 1px 34px);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 75%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 75%, transparent);
}
.hp-hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 44px; align-items: center;
}

/* 左栏：文案 */
.hp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em;
  color: var(--gold); background: rgba(255,255,255,.65);
  border: 1px solid rgba(169,126,31,.28); border-radius: 20px;
  padding: 5px 14px; margin-bottom: 20px;
}
.hp-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex: none;
  animation: hp-pulse 2s ease-in-out infinite;
}
@keyframes hp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30,142,104,.4); }
  50% { box-shadow: 0 0 0 5px rgba(30,142,104,0); }
}
.hp-eyebrow-sep { color: rgba(169,126,31,.5); }
.hp-title {
  font: 900 clamp(28px, 4.2vw, 44px)/1.28 var(--serif);
  letter-spacing: .03em; color: var(--ink);
}
.hp-title em { font-style: normal; color: var(--red); }
.hp-sub { margin-top: 16px; color: var(--sub); font-size: 15px; line-height: 1.85; max-width: 30em; }
.hp-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hp-trust {
  margin-top: 22px; padding: 0; list-style: none;
  display: flex; gap: 8px 22px; flex-wrap: wrap;
}
.hp-trust li { position: relative; padding-left: 18px; color: var(--mute); font-size: 12.5px; letter-spacing: .02em; }
.hp-trust li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700;
}

/* 右栏：真实数据笔记卡 */
.hp-hero-visual { position: relative; }
.hp-card-back {
  position: absolute; inset: 18px -10px -12px 16px;
  background: linear-gradient(150deg, #f7ead9, #efdcc2);
  border: 1px solid rgba(169,126,31,.25); border-radius: 16px;
  transform: rotate(2.6deg);
}
.hp-note-card {
  position: relative; /* 流内：高度由内容决定，父容器随之撑高（修复 lock 框被挤贴底） */
  margin: 0 6px 8px 0;
  display: block; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 18px 44px rgba(80,50,15,.13);
  padding: 20px 22px; overflow: hidden;
  min-height: 340px; /* 内容矮时保底高度（避免背景卡露出） */
  transition: transform .25s, box-shadow .25s;
}
.hp-note-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px rgba(80,50,15,.18);
  border-color: rgba(214,58,48,.35);
}
.hp-note-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.hp-note-cat { font: 700 13.5px var(--serif); color: var(--red); letter-spacing: .05em; }
.hp-note-date { font: 600 12px var(--mono); color: var(--gold); }
.hp-note-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin: 14px 0;
}
.hp-note-stat {
  background: #fdfcf9; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 4px 8px; text-align: center;
}
.hp-note-stat b {
  display: block; font: 800 22px/1.1 var(--mono);
  font-variant-numeric: tabular-nums; color: var(--red-deep);
}
.hp-note-stat span { font-size: 11px; color: var(--mute); letter-spacing: .06em; }
.hp-note-quote {
  background: rgba(169,126,31,.09); border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0; padding: 9px 13px;
  font-size: 12.5px; color: #5d4a1c; line-height: 1.65;
}
.hp-note-quote i { display: block; font-style: normal; color: rgba(93,74,28,.6); font-size: 11px; margin-top: 3px; }
/* 模拟被截断的正文（毛玻璃条） */
.hp-note-blur { margin-top: 13px; display: grid; gap: 7px; filter: blur(2.5px); opacity: .75; }
.hp-note-blur span {
  height: 9px; border-radius: 5px;
  background: linear-gradient(90deg, #e9e2d4, #dcd2be);
}
.hp-note-blur span:nth-child(2) { width: 86%; }
.hp-note-blur span:nth-child(3) { width: 62%; }
.hp-note-lock {
  margin-top: 13px; text-align: center;
  border: 1.5px dashed rgba(214,58,48,.4); border-radius: 10px;
  background: rgba(214,58,48,.04);
  padding: 9px 12px; font-size: 12.5px; font-weight: 700; color: var(--red-deep);
}
.hp-lock-ic { margin-right: 4px; }

/* =====================================================
   2. 站点统计条
   ===================================================== */
.hp-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow);
  margin-bottom: 46px; overflow: hidden;
}
.hp-stat { padding: 20px 12px; text-align: center; position: relative; }
.hp-stat + .hp-stat::before {
  content: ""; position: absolute; left: 0; top: 22%; height: 56%;
  border-left: 1px solid var(--line);
}
.hp-stat b {
  display: block; font: 800 clamp(24px, 3vw, 32px)/1.15 var(--mono);
  font-variant-numeric: tabular-nums; color: var(--red-deep);
}
.hp-stat span { font-size: 12px; color: var(--mute); letter-spacing: .1em; }

/* =====================================================
   3. 三大特色
   ===================================================== */
.hp-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hp-feat {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px 22px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.hp-feat:hover {
  transform: translateY(-3px); box-shadow: var(--shadow);
  border-color: rgba(169,126,31,.4);
}
.hp-feat-ic {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, rgba(214,58,48,.1), rgba(169,126,31,.14));
  border: 1px solid rgba(169,126,31,.25);
  color: var(--red-deep); font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.hp-feat h3 { font: 800 17px var(--serif); letter-spacing: .03em; margin-bottom: 8px; }
.hp-feat p { color: var(--sub); font-size: 13.5px; line-height: 1.8; flex: 1; }
/* 特色卡小视觉 */
.hp-feat-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.hp-chip-num {
  font: 600 12px var(--sans); color: var(--red-deep);
  background: rgba(214,58,48,.06); border: 1px solid rgba(214,58,48,.2);
  border-radius: 7px; padding: 3px 9px;
}
.hp-chip-num b { font: 700 12.5px var(--mono); margin-right: 4px; font-variant-numeric: tabular-nums; }
.hp-feat-skel { margin-top: 16px; display: grid; gap: 8px; }
.hp-feat-skel span { height: 11px; border-radius: 6px; background: #f0ebe0; }
.hp-feat-skel .sk-a { width: 92%; background: linear-gradient(90deg, #f0ebe0, #e6ddca); }
.hp-feat-skel .sk-b { width: 64%; }
.hp-feat-skel .sk-c { width: 78%; }
.hp-feat-unlock {
  margin-top: 16px; text-align: center;
  background: rgba(30,142,104,.07); border: 1px solid rgba(30,142,104,.3);
  border-radius: 9px; padding: 9px 10px;
  font-size: 12.5px; font-weight: 600; color: var(--green);
}
.hp-feat-unlock b { font: 700 14px var(--mono); color: var(--green); font-variant-numeric: tabular-nums; }

/* =====================================================
   4. 四大板块纵览
   ===================================================== */
.hp-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hp-cat {
  background: var(--card); border: 1px solid var(--line);
  border-top: 3px solid var(--line-2, #ddd7c9);
  border-radius: 13px; padding: 18px 18px 16px;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.hp-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.hp-cat-fupan   { border-top-color: var(--red); }
.hp-cat-guping  { border-top-color: var(--gold); }
.hp-cat-xuangu  { border-top-color: var(--amber); }
.hp-cat-guanzhu { border-top-color: var(--slate); }
.hp-cat-fupan:hover   { border-color: rgba(214,58,48,.45); border-top-color: var(--red); }
.hp-cat-guping:hover  { border-color: rgba(169,126,31,.5); border-top-color: var(--gold); }
.hp-cat-xuangu:hover  { border-color: rgba(181,119,8,.5); border-top-color: var(--amber); }
.hp-cat-guanzhu:hover { border-color: rgba(97,116,138,.5); border-top-color: var(--slate); }
.hp-cat-top { display: flex; align-items: center; gap: 8px; }
.hp-cat-ic { font-size: 15px; color: var(--red); }
.hp-cat-guping .hp-cat-ic { color: var(--gold); }
.hp-cat-xuangu .hp-cat-ic { color: var(--amber); }
.hp-cat-guanzhu .hp-cat-ic { color: var(--slate); }
.hp-cat-name { font: 800 16px var(--serif); letter-spacing: .04em; color: var(--ink); }
.hp-cat-cnt {
  margin-left: auto; font: 600 11.5px var(--mono);
  color: var(--mute); background: #f5f1e8;
  border-radius: 20px; padding: 2px 9px; flex: none;
}
.hp-cat-desc { margin-top: 10px; font-size: 12.5px; color: var(--sub); line-height: 1.7; flex: 1; }
.hp-cat-latest {
  margin-top: 13px; padding-top: 11px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; gap: 8px; font-size: 12px; min-width: 0;
}
.hp-cat-latest-tag {
  flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  color: #fff; background: var(--red); border-radius: 4px; padding: 1px 6px;
}
.hp-cat-latest-title {
  flex: 1; min-width: 0; color: var(--sub);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hp-cat-latest-date { flex: none; font: 600 11px var(--mono); color: var(--mute); }

/* =====================================================
   5. 最新更新流
   ===================================================== */
.hp-recent {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.hp-recent-item {
  display: flex; align-items: center; gap: 16px;
  padding: 15px 20px; text-decoration: none; color: inherit;
  border-bottom: 1px solid #f0ece3; transition: background .15s;
}
.hp-recent-item:last-child { border-bottom: none; }
.hp-recent-item:hover { background: #fbf6ee; color: inherit; }
.hp-chip {
  flex: none; font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
  border-radius: 6px; padding: 3px 9px; white-space: nowrap;
}
.hp-chip-fupan   { color: var(--red-deep); background: rgba(214,58,48,.08); border: 1px solid rgba(214,58,48,.22); }
.hp-chip-guping  { color: var(--gold); background: rgba(169,126,31,.1); border: 1px solid rgba(169,126,31,.28); }
.hp-chip-xuangu  { color: var(--amber); background: rgba(181,119,8,.1); border: 1px solid rgba(181,119,8,.28); }
.hp-chip-guanzhu { color: var(--slate); background: rgba(97,116,138,.1); border: 1px solid rgba(97,116,138,.28); }
.hp-recent-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hp-recent-title { font-size: 15px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-recent-item:hover .hp-recent-title { color: var(--red-deep); }
.hp-recent-teaser {
  font-size: 12.5px; color: var(--mute); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.hp-recent-meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.hp-recent-date { font: 600 12px var(--mono); color: var(--gold); }
.hp-recent-views { font-size: 11.5px; color: var(--mute); }
.hp-recent-cta { text-align: center; margin-top: 18px; }

/* =====================================================
   6. 三步解锁
   ===================================================== */
.hp-steps-sec { text-align: center; }
.hp-steps-sec .hp-sec-head { justify-content: center; }
.hp-steps {
  display: flex; align-items: stretch; justify-content: center; gap: 10px;
  max-width: 900px; margin: 0 auto;
}
.hp-step {
  flex: 1; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px 20px;
}
.hp-step-num {
  width: 38px; height: 38px; margin: 0 auto 12px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; font: 800 17px var(--mono);
  box-shadow: 0 4px 12px rgba(214,58,48,.3);
}
.hp-step h3 { font: 800 16px var(--serif); margin-bottom: 6px; }
.hp-step p { font-size: 12.5px; color: var(--sub); line-height: 1.7; }
.hp-step-arrow {
  flex: none; align-self: center;
  color: var(--mute); font-size: 18px;
}

/* =====================================================
   7. FAQ
   ===================================================== */
.hp-faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.hp-faq-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
}
.hp-faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 20px; font: 700 14.5px var(--serif); color: var(--ink);
  transition: color .15s;
}
.hp-faq-item summary::-webkit-details-marker { display: none; }
.hp-faq-item summary i {
  flex: none; font-style: normal; font-size: 17px; color: var(--gold);
  transition: transform .2s;
}
.hp-faq-item[open] summary i { transform: rotate(45deg); }
.hp-faq-item summary:hover { color: var(--red-deep); }
.hp-faq-body {
  padding: 0 20px 16px; font-size: 13.5px; color: var(--sub); line-height: 1.85;
  border-top: 1px dashed var(--line); padding-top: 12px; margin: 0 0;
}
.hp-faq-body a { color: var(--red); text-decoration: underline; }

/* =====================================================
   8. 底部转化面板
   ===================================================== */
.hp-final {
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--red) 70%, #c8473c 100%);
  border-radius: 18px; padding: 46px 30px; text-align: center;
  box-shadow: 0 12px 34px rgba(176,42,33,.25);
  position: relative; overflow: hidden;
}
.hp-final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 200px at 15% 0%, rgba(255,255,255,.14), transparent 70%);
}
.hp-final-inner { position: relative; }
.hp-final h2 { font: 900 clamp(22px, 3vw, 30px) var(--serif); color: #fff; letter-spacing: .05em; }
.hp-final p { margin-top: 10px; color: rgba(255,255,255,.85); font-size: 13.5px; letter-spacing: .03em; }
.hp-final-actions { margin-top: 24px; display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hp-final-btn {
  display: inline-block; background: #fff; color: var(--red-deep);
  font: 800 15.5px var(--sans); letter-spacing: .04em;
  border-radius: 10px; padding: 13px 34px; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .2s, box-shadow .2s;
}
.hp-final-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.25); color: var(--red-deep); }
.hp-final-login { color: rgba(255,255,255,.85); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.hp-final-login:hover { color: #fff; }

/* =====================================================
   已登录：简洁仪表板
   ===================================================== */
.hp-dash {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(135deg, #fff 0%, #fbf3ec 100%);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 26px; margin-bottom: 30px;
}
.hp-dash-title { font: 900 24px var(--serif); letter-spacing: .04em; }
.hp-dash-sub { margin-top: 5px; color: var(--mute); font-size: 13px; }
.hp-dash-live { color: var(--green); font-weight: 700; }

/* =====================================================
   响应式
   ===================================================== */
@media (max-width: 960px) {
  .hp-hero { padding: 40px 28px; }
  .hp-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hp-hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .hp-note-card { min-height: 320px; }
  .hp-feats { grid-template-columns: 1fr; }
  .hp-cats { grid-template-columns: repeat(2, 1fr); }
  .hp-stats { grid-template-columns: repeat(2, 1fr); }
  .hp-stat:nth-child(3)::before { display: none; }
  .hp-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hp-steps { flex-direction: column; }
  .hp-step-arrow { transform: rotate(90deg); padding: 2px 0; }
}
@media (max-width: 620px) {
  .hp-hero { padding: 32px 18px; border-radius: 14px; }
  .hp-sub { font-size: 14px; }
  .hp-cta .btn { flex: 1; min-width: 140px; }
  .hp-trust { gap: 6px 14px; }
  .hp-note-card { min-height: 300px; }
  .hp-note-stats { grid-template-columns: repeat(2, 1fr); }
  .hp-stats { margin-bottom: 36px; }
  .hp-cats { grid-template-columns: 1fr; }
  .hp-recent-item { flex-wrap: wrap; gap: 8px; padding: 13px 14px; }
  .hp-recent-meta { flex-direction: row; align-items: center; gap: 10px; margin-left: auto; }
  .hp-sec-note { flex-basis: 100%; margin-left: 0; }
  .hp-final { padding: 36px 18px; }
  .hp-dash { flex-direction: column; align-items: flex-start; }
}
