/* ══════════════════════════════════════════════════════════════
   LeadFlow Hero —— 设计令牌
   浅色 + 深阴影组件 + 无限垂直跑马灯
   ══════════════════════════════════════════════════════════════ */

:root {
  /* 核心色 */
  --lf-bg:        #F7F7F7;   /* 浅灰背景 */
  --lf-text:      #202020;   /* 深灰文字 */
  --lf-muted:     #737373;   /* neutral-500 */
  --lf-accent:    #F25C40;   /* 橙红(深阴影主色) */
  --lf-green:     #52D352;   /* 脉冲绿点 */
  --lf-green-bd:  #D1F2D1;   /* 徽章边框 */
  --lf-star:      #FFB648;   /* 星星金 */
  --lf-dark:      #212121;   /* 深阴影外发光 */

  /* 字体 */
  --lf-font-head: 'SK Reykjavik Rounded', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --lf-font:      'Inter', ui-sans-serif, system-ui, sans-serif;

  /* 圆角 */
  --lf-radius-2xl:    16px;
  --lf-radius-xl:     12px;
  --lf-radius-full:   9999px;

  /* 滚动 */
  --lf-scroll-dur:    40s;
  --lf-card-gap:      20px;
}

/* ══════════════════════════════════════════════════════════════
   LeadFlow Hero —— 样式
   含:深阴影组件 / 无限垂直跑马灯 / 头像组 / 星级
   ══════════════════════════════════════════════════════════════ */

/* ── 字体 ── */
@font-face { font-family: 'Inter'; src: url('/fonts/lf/Inter-300.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/lf/Inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/lf/Inter-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/lf/Inter-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/lf/Inter-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/lf/Inter-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'SK Reykjavik Rounded'; src: url('/fonts/lf/SKReykjavikRounded.woff2') format('woff2'); font-weight: 400; font-display: swap; }

/* ══ ① 页面 ══ */
.lf-page {
  background: var(--lf-bg);
  color: var(--lf-text);
  font-family: var(--lf-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
.lf-wrap { max-width: 1440px; margin: 0 auto; padding: 80px 24px; }

/* ══ ② 主网格 ══ */
.lf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) {
  .lf-grid { grid-template-columns: 1.2fr 0.8fr; }
}

/* ══ ③ 左侧:价值主张 ══ */
.lf-left { display: flex; flex-direction: column; }

/* 脉冲徽章 */
.lf-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--lf-green-bd);
  border-radius: var(--lf-radius-full);
  padding: 6px 14px;
  width: fit-content;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lf-green);
  background: transparent;
}
.lf-badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lf-green);
  box-shadow: 0 0 8px rgba(82, 211, 82, 0.6);
  animation: lf-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  flex: 0 0 auto;
}
@keyframes lf-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .45; }
}

/* 大标题 */
.lf-h1 {
  margin: 28px 0 0;
  font-family: var(--lf-font-head);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--lf-text);
}
.lf-h1__inline { display: inline-flex; align-items: center; vertical-align: middle; margin: 0 6px; }

/* 副标题 */
.lf-sub {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--lf-muted);
  max-width: 520px;
}

/* CTA 行 */
.lf-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 36px; }
@media (min-width: 640px) { .lf-cta { gap: 24px; } }

/* ══ ④ 深阴影图标 ══ */
.lf-icon { position: relative; display: inline-block; }
.lf-icon__glow {
  position: absolute; inset: 0;
  background: var(--lf-accent);
  opacity: .60;
  filter: blur(18px);
  transform: scale(.9) translateY(6px);
  border-radius: var(--lf-radius-2xl);
}
.lf-icon__box {
  position: relative;
  background: var(--lf-accent);
  padding: 8px;
  border-radius: var(--lf-radius-2xl);
  box-shadow: 0px 0px 5px rgba(255,255,255,0.5) inset,
              0px 8px 20px rgba(242,92,64,0.35);
  display: inline-flex; align-items: center; justify-content: center;
}
.lf-icon__box svg { color: #fff; display: block; }
.lf-icon--rotate { transform: rotate(-6deg); display: inline-block; }

/* ══ ⑤ 深阴影按钮 ══ */
.lf-btn-group { position: relative; display: inline-block; }
.lf-btn-group__glow {
  position: absolute; inset: 0;
  background: var(--lf-dark);
  opacity: .40;
  filter: blur(25px);
  border-radius: var(--lf-radius-full);
  transition: transform .3s ease;
}
.lf-btn-group:hover .lf-btn-group__glow { transform: scale(1.1) translateY(4px); }
.lf-btn {
  position: relative;
  background: var(--lf-text);
  color: #fff;
  border: 0; cursor: pointer;
  border-radius: var(--lf-radius-full);
  padding: 15px 30px;
  font-family: var(--lf-font);
  font-size: 15px; font-weight: 600;
  box-shadow: 0px 0px 4px rgba(255,255,255,0.25) inset,
              0px 6px 19px rgba(0,0,0,0.25);
  transition: opacity .2s ease;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.lf-btn:hover { opacity: .92; }

/* 白色次按钮 */
.lf-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: var(--lf-radius-full);
  padding: 15px 26px;
  font-family: var(--lf-font);
  font-size: 15px; font-weight: 500;
  color: #525252;
  text-decoration: none;
  transition: background .2s ease;
}
.lf-btn-ghost:hover { background: #fafafa; }
.lf-btn-ghost svg { width: 16px; height: 16px; }

/* ══ ⑥ 社交证明 ══ */
.lf-proof {
  display: flex; flex-direction: column; gap: 28px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .lf-proof { flex-direction: row; align-items: flex-start; gap: 0; }
  .lf-proof__divider { width: 1px; background: #e5e5e5; align-self: stretch; margin: 0 32px; }
}
.lf-proof__col { flex: 1 1 auto; }
.lf-proof__label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #a3a3a3;
  margin-bottom: 14px;
}

/* 头像组 */
.lf-avatars { display: flex; align-items: center; }
.lf-avatars > * + * { margin-left: -12px; }

/* 深阴影头像 */
.lf-av { position: relative; display: inline-block; }
.lf-av__shadow {
  position: absolute; inset: 0;
  background: #000;
  opacity: .20;
  filter: blur(12px);
  border-radius: 50%;
  transform: translateY(4px);
}
.lf-av--glow .lf-av__shadow { background: var(--lf-accent); opacity: .60; filter: blur(18px); }
.lf-av img {
  position: relative;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid #fff;
}
.lf-av--sm img { width: 36px; height: 36px; }
.lf-av--md img { width: 48px; height: 48px; }
.lf-av--lg img { width: 58px; height: 58px; }

/* 星级 */
.lf-stars { display: flex; align-items: center; gap: 4px; }
.lf-stars svg { width: 22px; height: 22px; color: var(--lf-star); fill: var(--lf-star); }

/* ══ ⑦ 右侧:无限垂直跑马灯 ══ */
.lf-right { position: relative; overflow: hidden; height: 600px; }
@media (min-width: 1024px) { .lf-right { height: 100%; min-height: 640px; } }

.lf-mask {
  position: absolute; left: 0; right: 0; height: 80px;
  z-index: 10; pointer-events: none;
}
@media (min-width: 640px) { .lf-mask { height: 160px; } }
.lf-mask--top { top: 0; background: linear-gradient(to bottom, var(--lf-bg), transparent); }
.lf-mask--bot { bottom: 0; background: linear-gradient(to top, var(--lf-bg), transparent); }

.lf-tracks { display: grid; grid-template-columns: 1fr; }
.lf-track { will-change: transform; }
.lf-track--secondary { display: none; }

@media (min-width: 768px) {
  .lf-tracks { grid-template-columns: 1fr 1fr; gap: 20px; }
  .lf-track--secondary { display: block; }
}
@media (min-width: 1024px) {
  .lf-tracks { grid-template-columns: 1fr; }
  .lf-track--secondary { display: none; }
}

/* 滚动动画 */
@keyframes lf-scroll-a {
  from { transform: translateY(0); }
  to   { transform: translateY(-1200px); }
}
@keyframes lf-scroll-b {
  from { transform: translateY(-600px); }
  to   { transform: translateY(-1800px); }
}
.lf-track--primary   { animation: lf-scroll-a var(--lf-scroll-dur) linear infinite; }
.lf-track--secondary { animation: lf-scroll-b calc(var(--lf-scroll-dur) * 1.5) linear infinite; }

/* ══ ⑧ 客户卡 ══ */
.lf-card {
  background: #fff;
  border-radius: var(--lf-radius-2xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 22px;
  margin-bottom: 20px;
  opacity: 0;
  transform: scale(0.96) rotate(0deg);
  animation: lf-card-in .5s ease forwards;
}
@keyframes lf-card-in {
  to { opacity: 1; transform: scale(1) rotate(var(--lf-tilt, 0deg)); }
}
.lf-card--r  { --lf-tilt:  3deg; }
.lf-card--rn { --lf-tilt: -3deg; }

.lf-card__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
}
.lf-card__day {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lf-text);
}
.lf-card__date {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em;
  color: #a3a3a3;
}

.lf-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed #e5e5e5;
}
.lf-item:last-child { border-bottom: 0; padding-bottom: 0; }
.lf-item__av {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; flex: 0 0 auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.10);
}
.lf-item__body { flex: 1 1 auto; min-width: 0; }
.lf-item__name { font-size: 14px; font-weight: 600; color: var(--lf-text); }
.lf-item__time { font-size: 12px; color: #a3a3a3; margin-top: 2px; }
.lf-item__dur {
  font-size: 11px; font-weight: 600;
  color: #a3a3a3; white-space: nowrap;
}

/* ══ ⑨ 响应式 ══ */
@media (max-width: 640px) {
  .lf-wrap { padding: 48px 20px; }
  .lf-h1 { font-size: 36px; }
  .lf-btn, .lf-btn-ghost { padding: 13px 22px; font-size: 14px; }
}

/* ══ ⑩ 无障碍 ══ */
.lf-btn:focus-visible, .lf-btn-ghost:focus-visible { outline: 2px solid var(--lf-accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .lf-track { animation: none; }
  .lf-badge__dot { animation: none; }
  .lf-card { animation: none; opacity: 1; transform: rotate(var(--lf-tilt, 0deg)); }
  .lf-btn-group__glow { transition: none; }
}