/* marketing.css — /social-radar 전용. layouts.marketing 에서만 로드. */

html { scroll-behavior: smooth; }
.mk-body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, system-ui, sans-serif;
  background: var(--bg, #ffffff); color: var(--ink, #0b1220);
  font-feature-settings: 'tnum' 1, 'ss06' 1;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.013em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 스크롤바 자리 항상 예약 — 본문 높이 변동으로 scrollbar toggle 시 centered
   container 가 좌우로 흔들리는 사고 방지. */
body.mk-body { overflow-y: scroll; scrollbar-gutter: stable; }

.container-w {
  max-width: 1180px; margin: 0 auto; padding: 0 28px;
  display: block;
  width: 100%;
  box-sizing: border-box;
}
section.sect, .hero, .trust-strip { display: block; }

/* Top nav — sticky + blur */
.mk-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border, #e6e9ef);
}
.mk-nav .container-w {
  height: 64px;
  display: flex; align-items: center; gap: 32px;
}
.mk-nav-link {
  font-size: 13px; font-weight: 500; color: var(--ink-2, #475569);
  padding: 6px 0; transition: color .15s;
  letter-spacing: -0.005em;
}
.mk-nav-link:hover { color: var(--ink, #0b1220); }
.mk-nav-link.active { color: var(--ink, #0b1220); font-weight: 600; }

/* Buttons — site .btn 충돌 회피용 mk- prefix */
.mk-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 600; padding: 13px 22px;
  border-radius: 11px; cursor: pointer;
  transition: all .15s; white-space: nowrap;
  letter-spacing: -0.005em;
}
.mk-btn-sm { font-size: 13px; padding: 9px 16px; }
.mk-btn-ink { background: var(--ink, #0b1220); color: white; }
.mk-btn-ink:hover { background: #1e293b; transform: translateY(-1px); color: white; }
.mk-btn-outline { color: var(--ink, #0b1220); background: white; border: 1px solid var(--border-strong, #d1d5db); }
.mk-btn-outline:hover { background: var(--surface-hover, #f3f5f8); border-color: var(--ink, #0b1220); }
.mk-btn-ghost { color: var(--ink-2, #475569); background: transparent; }
.mk-btn-ghost:hover { color: var(--ink, #0b1220); }

/* Tag / chip */
.mk-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
  background: var(--brand-soft, #eef0ff); color: var(--brand, #4f46e5);
  letter-spacing: 0.005em;
}
.mk-tag-dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}

/* Hero — DaisyUI 5 `.hero` (grid + place-items:center + text-align:center)
   와 충돌. display/place-items/text-align 명시 override 로 안전망. */
.hero {
  display: block;
  place-items: initial;
  text-align: left;
  padding: 112px 0 80px;
  background:
    radial-gradient(circle at 88% 10%, rgba(79,70,229,0.07), transparent 55%),
    radial-gradient(circle at 12% 100%, rgba(34,183,90,0.04), transparent 50%),
    var(--bg, #fff);
  position: relative;
  overflow: hidden;
}
.hero-tag-wrap { display: flex; gap: 8px; margin-bottom: 32px; }

/* !important — Tailwind v4 preflight h1/h2 font-size reset cascade 차단. */
.scenario-line {
  font-size: 68px !important; line-height: 1.1 !important;
  font-weight: 800 !important; letter-spacing: -0.042em;
  color: var(--ink, #0b1220);
  min-height: 152px;
  display: block;
  transition: opacity .45s ease;
}
.scenario-line.fading { opacity: 0; }
.scenario-line .acc { color: var(--brand, #4f46e5); }

.brand-mark {
  font-size: 104px !important; line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: -0.062em;
  margin: 22px 0 28px;
  display: block;
}
.brand-mark .b-social { color: var(--ink-3, #94a3b8); }
.brand-mark .b-radar  { color: var(--ink, #0b1220); }
.brand-mark .b-dot    {
  color: var(--brand, #4f46e5);
  display: inline-block;
  animation: blip 2.6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes blip {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.9); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-mark .b-dot { animation: none; }
}

.action-line {
  font-size: 20px !important; line-height: 1.6 !important;
  color: var(--ink-2, #475569);
  font-weight: 500;
  letter-spacing: -0.012em;
  max-width: 560px;
  min-height: 32px;
  margin-top: 26px;
  transition: opacity .45s ease;
}
.action-line.fading { opacity: 0; }
.action-line strong { color: var(--ink, #0b1220); font-weight: 700; }

.rot-dots { display: flex; gap: 6px; margin-top: 32px; }
.rot-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--ink-4, #cbd5e1); cursor: pointer;
  transition: all .25s ease;
  border: 0; padding: 0;
}
.rot-dot.active { background: var(--ink, #0b1220); width: 24px; }

.hero-peek {
  margin-top: 76px;
  background: white;
  border: 1px solid var(--border, #e6e9ef);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 36px 88px -32px rgba(15,23,42,.18), 0 2px 4px rgba(15,23,42,0.04);
  position: relative;
}

/* Hero 하단 산업 카테고리 trust 라인 — 가짜 ABC 배지 대신 카테고리 pill */
.hero-trust__pill {
  display: inline-flex; align-items: center;
  font-size: 11.5px; font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: -0.005em;
}

/* ── Section 공통 ───────────────────────────────────── */
section.sect { padding: 96px 0; }
.sect-eyebrow {
  font-size: 13px; font-weight: 700;
  color: var(--brand, #4f46e5); letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.sect-title {
  font-size: 48px; line-height: 1.18;
  font-weight: 800; letter-spacing: -0.032em;
  color: var(--ink, #0b1220);
  max-width: 820px;
}
.sect-desc {
  margin-top: 20px;
  font-size: 17px; line-height: 1.75;
  color: var(--ink-2, #475569); max-width: 660px;
  letter-spacing: -0.005em;
}

/* ── Trust strip ────────────────────────────────────── */
.trust-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border-2, #eef0f4);
  border-bottom: 1px solid var(--border-2, #eef0f4);
  background: var(--bg-soft, #f7f8fa);
}
.trust-stat {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative;
}
.trust-stat + .trust-stat::before {
  content: '';
  position: absolute; left: 0; top: 18px; bottom: 18px;
  width: 1px; background: var(--border, #e6e9ef);
}
.trust-stat .label {
  font-size: 12px; color: var(--ink-3, #94a3b8);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.trust-stat .num-big {
  font-size: 44px; font-weight: 800; line-height: 1;
  letter-spacing: -0.035em; color: var(--ink, #0b1220);
}
@media (max-width: 640px) {
  .trust-stat + .trust-stat::before { display: none; }
}

/* ── Pain card ──────────────────────────────────────── */
.pain-card {
  padding: 32px 30px;
  background: white;
  border: 1px solid var(--border, #e6e9ef);
  border-radius: 16px;
  transition: all .2s;
}
.pain-card:hover { border-color: var(--ink-4, #cbd5e1); transform: translateY(-2px); }
.pain-card .icon-wrap {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--bad-soft, #fce8e8); color: var(--bad, #e04848);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.pain-card h3 { font-size: 22px !important; font-weight: 700; letter-spacing: -0.022em; }
.pain-card p { font-size: 15px !important; line-height: 1.7; }

/* ── Feature card ───────────────────────────────────── */
.feat-card {
  padding: 34px 30px;
  background: white;
  border: 1px solid var(--border, #e6e9ef);
  border-radius: 18px;
  transition: all .2s;
  position: relative;
}
.feat-card:hover { border-color: var(--ink-4, #cbd5e1); transform: translateY(-2px); }
.feat-card .icon-wrap {
  width: 54px; height: 54px;
  border-radius: 13px;
  background: var(--brand-soft, #eef0ff); color: var(--brand, #4f46e5);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.feat-card .icon-wrap svg { width: 22px; height: 22px; }
.feat-card h3 {
  font-size: 21px; font-weight: 700;
  letter-spacing: -0.022em;
  margin-bottom: 10px;
}
.feat-card p {
  font-size: 15px; line-height: 1.7;
  color: var(--ink-2, #475569);
  letter-spacing: -0.005em;
}
.feat-card.feat-card-feature {
  background: linear-gradient(180deg, var(--brand-soft, #eef0ff) 0%, white 60%);
  border-color: rgba(79,70,229,0.2);
}

/* ── Spotlight grid — 3개 깊이 소개 카드 (AI 어시스턴트 / 경쟁사 / 시각화) ─── */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1024px) { .spotlight-grid { grid-template-columns: 1fr; gap: 16px; } }

.spotlight-card {
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--border, #e6e9ef);
  border-radius: 18px;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.spotlight-card:hover { border-color: var(--ink-4, #cbd5e1); transform: translateY(-2px); }

.spotlight-card__head {
  display: flex; align-items: center; justify-content: flex-end;
  margin-bottom: 14px;
}
.spotlight-card__num {
  font-size: 11px; font-weight: 700;
  color: var(--ink-3, #94a3b8);
  letter-spacing: 0.08em;
}
.spotlight-card__title {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink, #0f172a);
  margin: 0 0 12px;
}
.spotlight-card__desc {
  font-size: 14px; line-height: 1.7;
  color: var(--ink-2, #475569);
  letter-spacing: -0.005em;
  margin: 0 0 20px;
}
.spotlight-card__desc em { font-style: normal; }
.spotlight-card__desc strong { color: var(--brand, #4f46e5); font-weight: 700; }

/* AI 어시스턴트 미니 채팅 프리뷰 */
.spotlight-chat {
  background: var(--bg-soft, #f7f8fa);
  border: 1px solid var(--border, #e6e9ef);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.spotlight-chat__bubble {
  font-size: 12px; line-height: 1.6;
  padding: 8px 11px; border-radius: 10px;
  max-width: 88%;
}
.spotlight-chat__bubble.is-user {
  background: var(--brand, #4f46e5); color: #fff;
  align-self: flex-end;
  border-radius: 10px 10px 4px 10px;
}
.spotlight-chat__bubble.is-ai {
  background: white;
  border: 1px solid var(--border, #e6e9ef);
  color: var(--ink, #0f172a);
  border-radius: 10px 10px 10px 4px;
  align-self: flex-start;
}
.spotlight-chat__bubble.is-ai strong { color: var(--ink, #0f172a); font-weight: 700; }
.spotlight-chat__chips {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-top: 6px;
}
.spotlight-chat__chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px;
  padding: 3px 7px;
  background: var(--bg-soft, #f7f8fa);
  border: 1px solid var(--border, #e6e9ef);
  border-radius: 5px;
  color: var(--ink-2, #475569);
}
.spotlight-chat__plat {
  display: inline-flex; align-items: center; justify-content: center;
  width: 13px; height: 13px;
  border-radius: 3px;
  color: #fff;
  font-size: 8.5px; font-weight: 800;
}

/* 경쟁사 동향 프리뷰 */
.spotlight-brief {
  background: white;
  border: 1px solid var(--border, #e6e9ef);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 20px;
}
.spotlight-brief__head {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 12px;
  font-size: 11px;
}
.spotlight-brief__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-4, #94a3b8);
}
.spotlight-brief__name {
  font-weight: 700; color: var(--ink, #0f172a); font-size: 13px;
}
.spotlight-brief__ago {
  margin-left: auto;
  color: var(--ink-3, #94a3b8); font-size: 10.5px;
}
.spotlight-brief__sig {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 0;
  border-top: 1px solid var(--border, #e6e9ef);
}
.spotlight-brief__sig:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.spotlight-brief__tag {
  font-size: 9.5px; font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.spotlight-brief__title {
  flex: 1;
  font-size: 12px;
  color: var(--ink, #0f172a);
  font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.spotlight-brief__src {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px; font-weight: 500;
  padding: 3px 7px;
  border-radius: 5px;
  flex-shrink: 0;
}
.spotlight-brief__src svg { width: 11px; height: 11px; }

/* 키워드 네트워크 프리뷰 */
.spotlight-net {
  background: var(--bg-soft, #f7f8fa);
  border: 1px solid var(--border, #e6e9ef);
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 20px;
}
.spotlight-net__svg {
  width: 100%; height: auto;
  max-height: 200px;
  display: block;
}

/* How it works step */
.step-card {
  padding: 36px;
  background: white;
  border: 1px solid var(--border, #e6e9ef);
  border-radius: 18px;
  position: relative;
}
.step-num {
  font-size: 14px; font-weight: 700;
  color: var(--brand, #4f46e5);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.step-card h3 {
  font-size: 23px; font-weight: 700;
  letter-spacing: -0.022em;
  margin-bottom: 12px;
}
.step-card p {
  font-size: 15px; line-height: 1.7;
  color: var(--ink-2, #475569);
}
.step-card .step-icon {
  position: absolute; top: 28px; right: 28px;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-soft, #f7f8fa);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2, #475569);
}

/* ── AI advantage 섹션 (다크 배너) ──────────────────── */
.ai-section {
  background: var(--ink, #0b1220);
  color: white;
  border-radius: 24px;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute; top: -150px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(79,70,229,0.45) 0%, transparent 60%);
  pointer-events: none;
}
.ai-section h2 {
  font-size: 44px; line-height: 1.18;
  font-weight: 800; letter-spacing: -0.032em;
}
.ai-section .sub {
  color: #94a3b8; font-size: 17px; line-height: 1.75;
  margin-top: 18px; max-width: 540px;
}
.ai-feat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px;
  transition: background .2s;
}
.ai-feat-card:hover { background: rgba(255,255,255,0.06); }
.ai-feat-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.ai-feat-card p { font-size: 13px; line-height: 1.6; color: #94a3b8; }
.ai-feat-card .ai-icon-wrap {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(79,70,229,0.2);
  color: #a5b4fc;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

/* ── Case study ─────────────────────────────────────── */
.case-card {
  background: white;
  border: 1px solid var(--border, #e6e9ef);
  border-radius: 20px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.case-quote {
  font-size: 26px; line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink, #0b1220);
  max-width: 800px;
}
.case-quote .h {
  background: linear-gradient(transparent 65%, var(--bad-soft, #fce8e8) 65%);
  padding: 0 2px;
}
.case-meta {
  margin-top: 24px;
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-3, #94a3b8); font-size: 13px;
}
.case-stat-card {
  background: var(--bg-soft, #f7f8fa);
  border: 1px solid var(--border-2, #eef0f4);
  border-radius: 12px;
  padding: 18px 20px;
}
.case-stat-card .num-big {
  font-size: 36px; font-weight: 800; line-height: 1;
  letter-spacing: -0.03em;
}
.case-stat-card .label {
  font-size: 13px; color: var(--ink-3, #94a3b8); margin-top: 10px;
}

/* ── CTA ────────────────────────────────────────────── */
.cta-section {
  background: white;
  border-radius: 24px;
  padding: 88px 56px;
  text-align: center;
  border: 1px solid var(--border, #e6e9ef);
  box-shadow: 0 24px 56px -32px rgba(15,23,42,.10);
}
.cta-section h2 {
  font-size: 48px; font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.18;
}

/* ── Footer ─────────────────────────────────────────── */
.mk-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--border, #e6e9ef);
  background: white;
}
.mk-footer a { color: var(--ink-2, #475569); }
.mk-footer a:hover { color: var(--ink, #0b1220); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .scenario-line { font-size: 50px; min-height: 116px; }
  .brand-mark { font-size: 78px; margin: 18px 0 22px; }
  .sect-title { font-size: 36px; }
  .ai-section h2 { font-size: 34px; }
  .cta-section h2 { font-size: 36px; }
  .case-quote { font-size: 22px; }
  .trust-stat .num-big { font-size: 36px; }
  .hero { padding: 80px 0 56px; }
  section.sect { padding: 72px 0; }
  .ai-section { padding: 48px 32px; }
  .case-card { padding: 36px 28px; }
  .cta-section { padding: 64px 32px; }
  .hero-peek { padding: 24px; margin-top: 56px; }
  .feat-card, .pain-card, .step-card { padding: 26px 24px; }
  .feat-card h3, .pain-card h3 { font-size: 18px !important; }
  .step-card h3 { font-size: 20px; }
}
@media (max-width: 640px) {
  .container-w { padding: 0 16px; }
  .hero { padding: 56px 0 40px; }
  .scenario-line { font-size: 32px; min-height: 86px; letter-spacing: -0.035em; }
  .brand-mark { font-size: 52px; margin: 14px 0 18px; }
  .action-line { font-size: 16px; margin-top: 18px; }
  .sect-title { font-size: 28px; }
  .ai-section h2 { font-size: 26px; }
  .cta-section h2 { font-size: 28px; }
  .case-quote { font-size: 18px; }
  .trust-stat .num-big { font-size: 28px; }
  .feat-card h3, .pain-card h3 { font-size: 17px !important; }
  .feat-card .icon-wrap, .pain-card .icon-wrap { width: 44px; height: 44px; margin-bottom: 16px; }
  section.sect { padding: 56px 0; }
  .sect-desc { font-size: 15px; }
  .ai-section { padding: 40px 22px; border-radius: 16px; }
  .case-card { padding: 28px 20px; border-radius: 14px; }
  .cta-section { padding: 44px 22px; border-radius: 16px; }
  .mk-nav .container-w { gap: 16px; height: 56px; }
  .nav-mobile-hide { display: none !important; }
  .feat-card, .pain-card, .step-card { padding: 22px 20px; }
  .hero-cta { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-cta .mk-btn { justify-content: center; }
  .trust-grid { grid-template-columns: repeat(2, 1fr) !important; row-gap: 24px; }
  .trust-stat .num-big { font-size: 22px; }
  .ai-grid, .feat-grid, .pain-grid, .step-grid { grid-template-columns: 1fr !important; }
}
