/* ==========================================================================
   免费收录引导卡动效样式
   适用：首页 index.htm 的「免费收录」卡片
   设计：精致编辑风，仅用线条/纸片/印章，与站点 ink + paper + accent 体系一致
   动效：网格缓慢漂移、档案纸片浮动、收录章脉冲、按钮箭头位移
   日期：2026-11-24
   ========================================================================== */

/* 卡片本体：白底 + 左侧橙色色带，浮起阴影由本类定义（覆盖后加载顺序优于 utility）；
   悬停时轻微抬升阴影，不改变布局。日期：2026-11-24 */
.fl-card {
  box-shadow: 0 14px 38px -24px rgba(22, 33, 46, .30), 0 2px 6px -2px rgba(22, 33, 46, .06);
  transition: box-shadow .45s ease, border-color .45s ease;
}
.fl-card:hover {
  box-shadow: 0 26px 50px -28px rgba(22, 33, 46, .24);
  border-color: rgba(232, 93, 4, .32);
  border-left-color: #e85d04;
}

/* 背景网格：向右下缓慢漂移，并用径向遮罩让右侧渐隐 */
.fl-grid {
  background-image:
    linear-gradient(rgba(22, 33, 46, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 33, 46, .06) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: fl-grid-drift 26s linear infinite;
  -webkit-mask-image: radial-gradient(120% 110% at 78% 50%, #000 32%, transparent 80%);
  mask-image: radial-gradient(120% 110% at 78% 50%, #000 32%, transparent 80%);
}
@keyframes fl-grid-drift {
  to { background-position: 40px 40px; }
}

/* 企业档案纸片：前景卡与背景卡分别反相浮动，形成层次 */
.fl-sheet {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid #e1ddd2;
  border-radius: 10px;
  box-shadow: 0 18px 40px -28px rgba(22, 33, 46, .45);
  animation: fl-float 7.5s ease-in-out infinite;
}
.fl-sheet--back {
  position: absolute;
  inset: 14px -10px -16px 14px;
  z-index: 1;
  background: #fbfaf6;
  border: 1px solid #ece8de;
  border-radius: 10px;
  transform: rotate(-3deg);
  animation: fl-float-back 9.5s ease-in-out infinite;
}
@keyframes fl-float {
  0%, 100% { transform: translateY(0) rotate(.6deg); }
  50% { transform: translateY(-9px) rotate(-.6deg); }
}
@keyframes fl-float-back {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(7px) rotate(-4.6deg); }
}

/* 档案卡内的占位文本线：白底卡上加深以保证可读性（2026-11-24） */
.fl-line {
  height: 6px;
  border-radius: 999px;
  background: rgba(22, 33, 46, .13);
}

/* 收录章：白色圆角印章 + 橙色呼吸光圈 */
.fl-seal {
  position: absolute;
  right: -14px;
  bottom: -14px;
  z-index: 3;
  padding: 8px 14px;
  border: 1px solid rgba(232, 93, 4, .45);
  border-radius: 999px;
  background: #fff;
  color: #e85d04;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  animation: fl-seal-pulse 3.4s ease-out infinite;
}
@keyframes fl-seal-pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 93, 4, .22); }
  70% { box-shadow: 0 0 0 16px rgba(232, 93, 4, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 93, 4, 0); }
}

/* 主按钮箭头：悬停右移 */
.fl-btn .fl-arrow {
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.fl-btn:hover .fl-arrow {
  transform: translateX(4px);
}

/* 窄屏隐藏背景纸片，避免被卡片裁切后显得拥挤 */
@media (max-width: 767px) {
  .fl-sheet--back { display: none; }
}

/* 尊重系统「减少动态效果」偏好 */
@media (prefers-reduced-motion: reduce) {
  .fl-grid,
  .fl-sheet,
  .fl-sheet--back,
  .fl-seal {
    animation: none;
  }
  .fl-card,
  .fl-btn .fl-arrow {
    transition: none;
  }
}
