/* ============================================================
   landing.css — 비로그인 HOME (firader 서비스 소개)
   밝고 모던한 랜딩. sn-tokens 변수 재사용. prefix: lp-
   ============================================================ */

/* sn-main-inner(padding:30px 32px) 를 상쇄해 풀폭 섹션 구현 */
.lp {
  margin: -30px -32px -8px;
}
.lp-section {
  padding: 72px 32px;
}
.lp-wrap {
  max-width: 1160px;
  margin: 0 auto;
}
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--brand-red);
  background: var(--brand-red-soft);
  padding: 7px 13px;
  border-radius: var(--r-pill);
}
.lp-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--brand-red);
  box-shadow: 0 0 0 0 rgba(254,44,85,.5);
  animation: lp-pulse 1.8s infinite;
}
@keyframes lp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(254,44,85,.5); }
  70%  { box-shadow: 0 0 0 9px rgba(254,44,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(254,44,85,0); }
}

/* ===================== HERO ===================== */
.lp-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 32px 80px;
  background:
    radial-gradient(1100px 460px at 78% -8%, rgba(254,44,85,.10), transparent 60%),
    radial-gradient(900px 460px at 8% 110%, rgba(43,108,255,.10), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--bg-subtle) 100%);
  border-bottom: 1px solid var(--line);
}
/* 히어로 상단 소개 문구 (전폭) + 아래 그리드 = 수급 터널 | 라이브 카드 */
.lp-hero-top {
  max-width: 1160px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;   /* 좌: 제목 · 우: 설명+CTA — 전폭으로 펼침 */
  gap: 24px 56px;
  align-items: end;
}
.lp-hero-top .lp-sub { margin-top: 0; max-width: none; }
.lp-hero-top .lp-cta-row { margin-top: 24px; }
.lp-tunnel-box { position: relative; min-width: 0; }
.lp-tunnel {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  /* 가장자리를 투명하게 녹여 히어로 배경과 이음새 없음 */
  -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 55%, transparent 100%);
}
.lp-tunnel canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lp-tunnel-label {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink-700);
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  pointer-events: none;
}
.lp-hero-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.lp-h1 {
  font-size: 52px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--ink-900);
  margin: 20px 0 0;
}
.lp-h1 .lp-accent {
  background: linear-gradient(90deg, var(--brand-red), #ff6b85);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lp-sub {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink-500);
  max-width: 540px;
}
.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.lp-btn-primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.lp-btn-primary:hover { background: var(--brand-red-press); transform: translateY(-1px); }
.lp-btn-ghost {
  background: #fff;
  color: var(--ink-900);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.lp-btn-ghost:hover { background: var(--fill-100); transform: translateY(-1px); }

/* 히어로 라이브 KPI 카드 */
.lp-live-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.lp-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.lp-live-title { font-size: 14px; font-weight: 800; color: var(--ink-900); }
.lp-live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 800; color: var(--brand-red);
}
.lp-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lp-kpi {
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 15px;
}
.lp-kpi.is-wide { grid-column: 1 / -1; }
.lp-kpi-k { font-size: 11.5px; font-weight: 700; color: var(--ink-400); }
.lp-kpi-v {
  margin-top: 5px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}
.lp-kpi-v .lp-unit { font-size: 14px; font-weight: 800; color: var(--ink-400); margin-left: 3px; }
.lp-kpi-sub { font-size: 11.5px; font-weight: 600; color: var(--ink-500); margin-top: 3px; }

/* 시장 라인 (KOSPI/KOSDAQ) */
.lp-mkt-row { display: flex; gap: 8px; margin-top: 12px; }
.lp-mkt {
  flex: 1;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px 12px;
}
.lp-mkt-name { font-size: 11.5px; font-weight: 700; color: var(--ink-500); }
.lp-mkt-val { font-size: 16px; font-weight: 900; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.lp-mkt-chg { font-size: 12px; font-weight: 800; }
.up { color: var(--up); }
.down { color: var(--down); }

/* ===================== 라이브 시그널 / 테마 ===================== */
.lp-flowpanel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  margin-top: 26px;
}
.lp-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 20px 22px;
}
.lp-panel-h {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.lp-panel-t { font-size: 15px; font-weight: 800; color: var(--ink-900); }
.lp-panel-hint { font-size: 11.5px; font-weight: 600; color: var(--ink-400); }
.lp-siglist { display: flex; flex-direction: column; gap: 2px; }
.lp-sig {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 6px;
  border-bottom: 1px solid var(--line);
}
.lp-sig:last-child { border-bottom: 0; }
.lp-sig-rank {
  width: 22px; height: 22px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 7px; font-size: 11.5px; font-weight: 900;
  background: var(--fill-100); color: var(--ink-500);
}
.lp-sig:nth-child(1) .lp-sig-rank { background: var(--brand-red); color: #fff; }
.lp-sig-name { flex: 1; font-size: 14px; font-weight: 700; color: var(--ink-900); }
.lp-sig-tag { font-size: 11.5px; font-weight: 700; color: var(--ink-400); }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chip {
  font-size: 13px; font-weight: 700;
  padding: 8px 13px; border-radius: var(--r-pill);
  background: var(--brand-red-soft); color: var(--brand-red);
}
.lp-muted { font-size: 13px; color: var(--ink-400); font-weight: 600; padding: 18px 4px; }

/* ===================== 3계층 ===================== */
.lp-tier-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.lp-tier {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.lp-tier.is-active {
  border-color: var(--brand-red);
  box-shadow: var(--shadow-red);
}
.lp-tier-step { font-size: 12px; font-weight: 800; color: var(--ink-400); }
.lp-tier-t { font-size: 18px; font-weight: 900; color: var(--ink-900); margin: 8px 0 6px; }
.lp-tier.is-active .lp-tier-t { color: var(--brand-red); }
.lp-tier-d { font-size: 14px; line-height: 1.55; color: var(--ink-500); font-weight: 500; }
.lp-tier-badge {
  position: absolute; top: 18px; right: 18px;
  font-size: 11px; font-weight: 800; color: #fff;
  background: var(--brand-red); padding: 4px 9px; border-radius: var(--r-pill);
}

/* ===================== 섹션 헤더 ===================== */
.lp-sec-head { text-align: center; max-width: 680px; margin: 0 auto 8px; }
.lp-sec-t { font-size: 34px; font-weight: 900; letter-spacing: -.02em; color: var(--ink-900); margin: 14px 0 0; }
.lp-sec-d { font-size: 16px; line-height: 1.6; color: var(--ink-500); font-weight: 500; margin: 12px 0 0; }
.lp-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ===================== 3스텝 (데이터→시그널→검증) ===================== */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.lp-step {
  background: var(--bg-subtle); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 24px;
}
.lp-step-n {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-red); color: #fff;
  font-size: 17px; font-weight: 900; margin-bottom: 16px;
}
.lp-step-t { font-size: 18px; font-weight: 800; color: var(--ink-900); }
.lp-step-d { font-size: 14px; line-height: 1.55; color: var(--ink-500); font-weight: 500; margin-top: 8px; }

/* ===================== 4 전략 카드 ===================== */
.lp-strat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.lp-strat {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-sm); transition: box-shadow .15s ease, transform .12s ease;
}
.lp-strat:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.lp-strat-h { display: flex; align-items: center; gap: 10px; }
.lp-strat-t { font-size: 18px; font-weight: 900; color: var(--ink-900); }
.lp-strat-pill {
  font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: var(--r-pill);
  background: var(--fill-100); color: var(--ink-500);
}
.lp-strat-d { font-size: 14px; line-height: 1.55; color: var(--ink-500); font-weight: 500; margin-top: 10px; }
.lp-strat-meta { display: flex; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.lp-strat-meta div { font-size: 12.5px; font-weight: 600; color: var(--ink-500); }
.lp-strat-meta b { display: block; font-size: 13px; color: var(--ink-900); font-weight: 800; margin-bottom: 2px; }

/* ===================== 메뉴 둘러보기 ===================== */
.lp-menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.lp-menu {
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 18px 16px;
  transition: border-color .15s ease, transform .12s ease;
}
.lp-menu:hover { border-color: var(--brand-red); transform: translateY(-2px); }
.lp-menu-t { font-size: 15px; font-weight: 800; color: var(--ink-900); }
.lp-menu-d { font-size: 12.5px; line-height: 1.5; color: var(--ink-500); font-weight: 500; }
.lp-menu-arrow { font-size: 13px; font-weight: 800; color: var(--brand-red); margin-top: 2px; }

/* ===================== CTA 푸터 ===================== */
.lp-cta {
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% 120%, rgba(254,44,85,.12), transparent 60%),
    linear-gradient(180deg, var(--bg-subtle), #fff);
}
.lp-cta .lp-sec-t { margin-bottom: 6px; }
.lp-cta .lp-cta-row { justify-content: center; }
.lp-disc { font-size: 12.5px; color: var(--ink-400); font-weight: 500; margin-top: 28px; max-width: 620px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* ===================== 반응형 ===================== */
@media (max-width: 920px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .lp-hero-top { grid-template-columns: 1fr; }
  .lp-flowpanel { grid-template-columns: 1fr; }
  .lp-tier-row, .lp-steps { grid-template-columns: 1fr; }
  .lp-strat-grid { grid-template-columns: 1fr; }
  .lp-menu-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .lp { margin: -30px -20px -8px; }
  .lp-section { padding: 52px 20px; }
  .lp-hero { padding: 56px 20px 52px; }
  .lp-h1 { font-size: 38px; }
  .lp-sec-t { font-size: 27px; }
  .lp-menu-grid { grid-template-columns: 1fr; }
  .lp-kpis { grid-template-columns: 1fr; }
}
