/* DJETORA domain Soft Launch — 전체화면 홍보 · 좌상단 로고만 */
/* 문제: 사진 소형·로고 없음·입구사진 혼입 / 수정: cover 전체 · 로고 고정 · 회사소개 분리 */

body[data-promo-phase="pre-open"],
body[data-promo-phase="soft-launch"],
body[data-djetora-domain-landing="1"] {
  --dpc-bg: #050b18;
  margin: 0;
  background: #000;
  overflow: hidden;
  min-height: 100vh;
}

/* 플랫폼 UI 숨김 */
body[data-djetora-domain-landing="1"] .topbar,
body[data-djetora-domain-landing="1"] .site-header,
body[data-djetora-domain-landing="1"] .hero,
body[data-djetora-domain-landing="1"] .section,
body[data-djetora-domain-landing="1"] footer,
body[data-djetora-domain-landing="1"] .ai-launcher,
body[data-djetora-domain-landing="1"] .ai-panel,
body[data-djetora-domain-landing="1"] .ai-glass-panel,
body[data-djetora-domain-landing="1"] .site-ai-chat-fab,
body[data-djetora-domain-landing="1"] [data-open-ai-chat],
body[data-djetora-domain-landing="1"] .runtime-guard-banner,
body[data-djetora-domain-landing="1"] .wbpc-brand-watermark {
  display: none !important;
}

/* 좌상단 로고 — 투명 PNG만 · 검정 사각 덮어쓰기 금지
 * 문제: 검정배경 PNG가 더럽게 보임 / 수정: djetora-d-clean-transparent.png 사용 */
.dpc-logo-fixed {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 120;
  display: block;
  width: 56px;
  height: 56px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  overflow: visible;
}
.dpc-logo-fixed + .dpc-logo-fixed {
  display: none !important;
}
.dpc-logo-fixed img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent !important;
  mix-blend-mode: normal;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

/* Soft CTA — 가입·AI 대화만 (결제 금지) */
.dpc-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.dpc-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(200, 230, 255, 0.35);
  background: rgba(5, 11, 24, 0.55);
  color: #e8f4ff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.dpc-cta__btn--primary {
  border-color: rgba(126, 235, 255, 0.55);
  background: rgba(20, 80, 120, 0.55);
}

/* 홍보 사진 = 화면 전체 */
body[data-djetora-domain-landing="1"] .djetora-preopen-hero-photo,
.djetora-preopen-hero-photo[data-wbpc-preopen-photos] {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
  display: block !important;
  background: #000 !important;
  z-index: 1;
}
body[data-djetora-domain-landing="1"] .djetora-preopen-hero-photo::after {
  display: none !important;
}
body[data-djetora-domain-landing="1"] .djetora-preopen-hero-photo img[data-dpc-photo] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 0 !important;
  filter: none !important;
  display: block !important;
  z-index: 1;
}
body[data-djetora-domain-landing="1"] .dpc-photo-caption {
  display: none !important;
}

/* Soft 통합바(#wbpc-soft-promo-visible)가 있으면 구 이중시계 숨김 — 글씨겹침 제거 */
body[data-djetora-domain-landing="1"] .djetora-preopen-countdown {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: linear-gradient(180deg, transparent, rgba(5, 11, 24, 0.72));
  border-top: none;
}
body[data-spv-unified-bar="1"] .djetora-preopen-countdown,
body[data-djetora-domain-landing="1"] .djetora-preopen-countdown.dpc-hidden-by-spv,
body[data-djetora-domain-landing="1"]:has(#wbpc-soft-promo-visible) .djetora-preopen-countdown {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}
body[data-djetora-domain-landing="1"] .djetora-preopen-hero-photo img[data-dpc-photo].dpc-photo--swap {
  opacity: 0.35;
  transition: opacity 0.35s ease;
}

/* 회사소개 틀 (입구·사무실문) — ESC로 홍보 전체화면 복귀 */
.dpc-about-frame {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  flex-direction: column;
  background: #07090f;
  color: #e8f4ff;
}
.dpc-about-frame.is-open {
  display: flex;
}
.dpc-about-frame__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(126, 235, 255, 0.2);
  background: rgba(5, 11, 24, 0.92);
  min-height: 56px;
}
.dpc-about-frame__title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.dpc-about-frame__title img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
  background: transparent;
}
.dpc-about-frame__bar strong {
  font-size: 15px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
/* 문제: 고정 로고가 「회사소개」글씨와 겹침 / 이유: logo z-index 120 > frame 100 / 수정: 소개 열면 고정로고 숨김·바에만 표시 */
body.dpc-about-open .dpc-logo-fixed {
  visibility: hidden;
  pointer-events: none;
}
.dpc-about-frame__esc {
  border: 1px solid rgba(200, 230, 255, 0.35);
  background: transparent;
  color: #c8f4ff;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
}
.dpc-about-frame__body {
  flex: 1;
  overflow: auto;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  align-content: start;
}
.dpc-about-frame__body figure {
  margin: 0;
}
.dpc-about-frame__body img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.dpc-about-frame__body figcaption {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.75;
}
body.dpc-about-open .djetora-preopen-hero-photo,
body.dpc-about-open .djetora-preopen-countdown {
  visibility: hidden;
}

/* 문제: SEO 크롤 본문이 회원·방문자에게 그대로 보임(유출감) / 이유: 검색용 main 시각노출 / 수정: 크롤러만·화면 숨김 */
#djetora-seo-crawl {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  color: transparent !important;
  pointer-events: none !important;
}
#djetora-seo-crawl a {
  color: transparent !important;
}
