/* ============================================================
   JD Company – business.css
   BUSINESS 매체 상세 슬라이드 전용 스타일
   ============================================================ */

/* ── RESET BODY ─────────────────────────────────────────── */
.biz-body {
  overflow: hidden;
  height: 100vh;
}

/* ── PRESENTATION WRAPPER ───────────────────────────────── */
.pres-wrap {
  display: flex;
  height: calc(100vh - 72px);
  margin-top: 72px;
  overflow: hidden;
  position: relative;
}

/* ── SIDEBAR ────────────────────────────────────────────── */
.pres-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #020e1f;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
  z-index: 10;
  border-right: 1px solid rgba(255,255,255,.06);
}
.pres-sidebar::-webkit-scrollbar { width: 4px; }
.pres-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 2px; }

.sb-logo {
  padding: 20px 18px 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.sb-tag {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--gold, #E8B84B);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.sb-sub {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  font-weight: 400;
}

.sb-nav {
  flex: 1;
  padding: 8px 0;
}

.sb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all .2s;
  border-left: 3px solid transparent;
  position: relative;
}
.sb-item:hover {
  background: rgba(255,255,255,.05);
  border-left-color: rgba(232,184,75,.4);
}
.sb-item.active {
  background: rgba(232,184,75,.1);
  border-left-color: var(--gold, #E8B84B);
}

.sb-num {
  font-family: 'Barlow', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  color: rgba(255,255,255,.25);
  min-width: 20px;
  flex-shrink: 0;
}
.sb-item.active .sb-num { color: var(--gold, #E8B84B); }

.sb-name {
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sb-item.active .sb-name { color: #fff; font-weight: 700; }
.sb-item:hover .sb-name  { color: rgba(255,255,255,.85); }

.sb-item > i {
  font-size: .7rem;
  color: rgba(255,255,255,.2);
  flex-shrink: 0;
  margin-left: auto;
}
.sb-item.active > i,
.sb-item:hover > i { color: var(--gold, #E8B84B); }

.sb-contact {
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.sb-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold, #E8B84B);
  transition: opacity .2s;
}
.sb-contact a:hover { opacity: .75; }
.sb-contact i { font-size: .8rem; }

/* ── MAIN SLIDES ────────────────────────────────────────── */
.pres-main {
  flex: 1;
  overflow: hidden;
  position: relative;
  background: #f4f6fa;
}

/* ── SLIDE PAGES ────────────────────────────────────────── */
.slide-page {
  position: absolute;
  inset: 0;
  bottom: 52px; /* bottom nav height */
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
  transform: translateX(30px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,31,63,.2) transparent;
}
.slide-page.active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.slide-page.slide-out {
  opacity: 0;
  transform: translateX(-30px);
}

/* ── SLIDE 0: OVERVIEW ──────────────────────────────────── */
.sp-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.sp-bg--dark .sp-bgimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .4;
}
.sp-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,15,40,.92) 0%, rgba(0,31,63,.85) 100%);
}

.sp-content {
  position: relative;
  z-index: 2;
  padding: 48px 56px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sp-content--center { align-items: flex-start; }

.sp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold, #E8B84B);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.sp-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  color: #fff;
  line-height: 1;
  margin-bottom: 14px;
}

.sp-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 40px;
}

/* Overview grid */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  max-width: 900px;
}

.ov-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all .25s;
}
.ov-card:hover {
  background: rgba(232,184,75,.15);
  border-color: rgba(232,184,75,.5);
  transform: translateY(-3px);
}
.ov-card i {
  font-size: 1.3rem;
  color: var(--gold, #E8B84B);
}
.ov-card span {
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  text-align: center;
  line-height: 1.3;
}

.sp-nav-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .1em;
  z-index: 3;
  font-family: 'Barlow', sans-serif;
}

/* ── COMPANY INFO BAR (Slide 0 하단) ───────────────────── */
.biz-company-info {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  z-index: 4;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 12px 24px;
  max-width: 860px;
  width: 90%;
}
.bci-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  font-family: 'Noto Sans KR', sans-serif;
  white-space: nowrap;
}
.bci-item i {
  color: #4fa8ff;
  width: 14px;
  text-align: center;
}
.bci-item a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
}
.bci-item a:hover { color: #4fa8ff; }

/* ── SLIDE LAYOUT (1~15) ────────────────────────────────── */
.sp-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  height: 100%;
  min-height: 100%;
}

/* LEFT PANEL */
.sp-left {
  background: #001630;
  padding: 28px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}

.sp-media-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  flex-shrink: 0;
}
.sp-media-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.sp-media-img:hover img { transform: scale(1.04); }

.sp-media-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--c, #001F3F);
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 6px 14px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.sp-media-badge i { font-size: .8rem; }

.sp-formats h4,
.sp-pricing h4 {
  font-family: 'Barlow', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.sp-formats h4 i,
.sp-pricing h4 i { font-size: .7rem; color: var(--gold, #E8B84B); }

.fmt-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fmt-tag {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
}

/* Price table */
.price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-table tr {
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.price-table td {
  padding: 7px 4px;
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  line-height: 1.4;
}
.price-table td.price {
  text-align: right;
  color: var(--gold, #E8B84B);
  font-weight: 700;
  font-family: 'Barlow', sans-serif;
  white-space: nowrap;
}

/* RIGHT PANEL */
.sp-right {
  background: #fff;
  padding: 32px 36px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,31,63,.1) transparent;
}

/* Header */
.sp-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e8edf5;
}

.sp-num-badge {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.2rem;
  color: #e8edf5;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -4px;
}

.sp-category {
  font-family: 'Barlow', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted, #6b7a99);
  margin-bottom: 4px;
}
.sp-title {
  font-family: 'Barlow', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #001F3F;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.sp-eng {
  font-family: 'Barlow', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: #a0aec0;
  text-transform: uppercase;
}

/* Sub-section titles */
.sp-target h4,
.sp-reach h4,
.sp-pros h4,
.sp-cons h4,
.sp-jd h4,
.sp-case h4 {
  font-family: 'Barlow', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #001F3F;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.sp-target h4 i { color: #3B82F6; }
.sp-reach h4 i  { color: #10B981; }
.sp-pros h4 i   { color: #E8B84B; }
.sp-cons h4 i   { color: #EF4444; }
.sp-jd h4 i     { color: #001F3F; }
.sp-case h4 i   { color: #8B5CF6; }

/* Target pills */
.target-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.target-pills span {
  background: #e8edf5;
  color: #001F3F;
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

/* Reach stats */
.reach-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.rs-item {
  display: flex;
  flex-direction: column;
  background: #f4f6fa;
  border: 1px solid #dce4f0;
  border-radius: 6px;
  padding: 12px 16px;
  min-width: 140px;
}
.rs-num {
  font-family: 'Barlow', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: #001F3F;
  line-height: 1;
  margin-bottom: 4px;
}
.rs-label {
  font-size: .72rem;
  color: #6b7a99;
  line-height: 1.35;
}

/* Pros/Cons lists */
.sp-pros ul,
.sp-cons ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sp-pros li,
.sp-cons li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .82rem;
  color: #3a4260;
  line-height: 1.5;
}
.sp-pros li i { color: #10B981; font-size: .7rem; margin-top: 4px; flex-shrink: 0; }
.sp-cons li i { color: #EF4444; font-size: .7rem; margin-top: 4px; flex-shrink: 0; }

/* JD diff */
.sp-jd {
  background: #f0f4ff;
  border-left: 3px solid #001F3F;
  border-radius: 0 6px 6px 0;
  padding: 14px 16px;
}
.sp-jd p {
  font-size: .82rem;
  color: #2d3748;
  line-height: 1.65;
}
.sp-jd p strong { color: #001F3F; }

/* Case study */
.sp-case {
  background: linear-gradient(135deg, #001F3F 0%, #003060 100%);
  border-radius: 6px;
  padding: 16px 18px;
}
.sp-case h4 { color: rgba(255,255,255,.5) !important; }
.sp-case h4 i { color: var(--gold, #E8B84B) !important; }
.sp-case p {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
}
.sp-case strong { color: var(--gold, #E8B84B); }

/* ── BOTTOM NAV ─────────────────────────────────────────── */
.pres-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 220px;
  right: 0;
  height: 52px;
  background: #fff;
  border-top: 1px solid #e0e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 20;
  box-shadow: 0 -2px 12px rgba(0,31,63,.06);
}

.pbn-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: #001F3F;
  padding: 8px 18px;
  border-radius: 3px;
  border: 1.5px solid #dce4f0;
  background: #fff;
  cursor: pointer;
  transition: all .2s;
}
.pbn-btn:hover {
  background: #001F3F;
  color: #fff;
  border-color: #001F3F;
}
.pbn-btn:disabled { opacity: .3; pointer-events: none; }

.pbn-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: #6b7a99;
}
#curSlideLabel { font-weight: 700; color: #001F3F; }
.pbn-slash { color: #dce4f0; }

/* ── KEYBOARD HINT ──────────────────────────────────────── */
.kb-hint {
  position: fixed;
  top: 84px;
  right: 20px;
  background: rgba(0,15,40,.7);
  color: rgba(255,255,255,.6);
  font-size: .65rem;
  padding: 5px 10px;
  border-radius: 3px;
  letter-spacing: .1em;
  pointer-events: none;
  z-index: 100;
  transition: opacity .5s;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  .sp-layout {
    grid-template-columns: 340px 1fr;
  }
  .overview-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1024px) {
  .pres-sidebar { width: 190px; }
  .pres-bottom-nav { left: 190px; }
  .sp-layout { grid-template-columns: 300px 1fr; }
  .sp-right { padding: 24px 24px; }
}

@media (max-width: 860px) {
  .pres-sidebar {
    position: fixed;
    top: 72px;
    left: -220px;
    bottom: 0;
    width: 220px;
    transition: left .3s ease;
    z-index: 500;
  }
  .pres-sidebar.sb-open { left: 0; }

  .pres-main { margin-left: 0; }
  .pres-bottom-nav { left: 0; }

  .sp-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .sp-left {
    max-height: 320px;
    overflow-y: auto;
  }

  .overview-grid { grid-template-columns: repeat(3, 1fr); }

  .sb-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 64px;
    left: 16px;
    width: 44px; height: 44px;
    background: #001F3F;
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
    z-index: 400;
    box-shadow: 0 4px 16px rgba(0,31,63,.4);
  }
}

@media (max-width: 600px) {
  .sp-content { padding: 28px 24px; }
  .sp-hero-title { font-size: 2.4rem; }
  .sp-right { padding: 20px 18px; gap: 16px; }
  .sp-title { font-size: 1.4rem; }
  .sp-num-badge { font-size: 2.5rem; }
  .reach-stats { flex-direction: column; }
  .rs-item { min-width: unset; }
  .pbn-btn { padding: 7px 12px; font-size: .75rem; }
  .overview-grid { grid-template-columns: repeat(3, 1fr); }
}
