@charset "UTF-8";
/* ==========================================================
   WikiAid 제품소개 페이지 전용 스타일
   - 공통/제품 스타일(product.css)을 최대한 재사용
   ========================================================== */

/* ----------------------------------------------------------
   상단 배너 (wk_hero)
---------------------------------------------------------- */
.wk_hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  /* 배경 이미지를 화면(배너) 가로폭 100%에 맞춰 배치 (좌우 잘림 없이 전체 폭 노출) / 하단 기준 정렬 */
  background: #e8f1fd url("/src/assets/img/wiki/wk_topbanner_bg.png") center
    center / 100% auto no-repeat;
}

.wk_hero_inner {
  position: relative;
  z-index: 2;
  max-width: 1400px; /* 콘텐츠 노출영역 기준 (다른 제품 페이지와 통일) */
  margin: 0 auto;
  min-height: 600px;
  display: flex;
  align-items: center; /* 텍스트 세로 중앙 정렬 */
  padding: 0 40px;
}

.wk_hero_info {
  max-width: 640px;
  min-width: 0; /* row flex 안에서 줄어들 수 있게 → 좁은 화면에서 설명 텍스트 줄바꿈 */
  /* fixed 헤더에 가려진 상단만큼 아래로 내려 시각적 중앙 보정 */
  margin-top: 60px;
}

.wk_hero_logo {
  display: block;
  width: 240px;
  max-width: 60%;
}

.wk_hero_tit {
  margin-top: 32px;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.6px;
  color: #1f2329;
  word-break: keep-all;
}
.wk_hero_tit .wk_point {
  color: #2f6ae0;
}

.wk_hero_desc {
  margin-top: 22px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: #6b7280;
}

/* ----------------------------------------------------------
   배너 데코 원형 (배너 폭 비례 % → 반응형 자동 스케일)
   ※ 위치는 top/left 로만 지정하고 transform 은 비워둠
     (추후 위아래 부유 애니메이션이 transform: translateY 를 사용)
---------------------------------------------------------- */
.wk_hero .wk_deco {
  position: absolute;
  z-index: 1;
  height: auto;
  pointer-events: none;
  will-change: transform;
}

/* 좌측 상단 반쯤 잘린 큰 원 (wk_deco001) */
.wk_hero .wk_deco01 {
  width: 16%;
  left: -1%;
  top: -11%;
  animation: wk_float 5s ease-in-out -0.4s infinite;
}
/* 중앙 작은 흰 원 (wk_deco003) */
.wk_hero .wk_deco03 {
  width: 3%;
  left: 46%;
  top: 30%;
  animation: wk_float 3.6s ease-in-out -1.2s infinite;
}
/* 중앙 약간 우측 아래 진한 파랑 원 (wk_deco002) */
.wk_hero .wk_deco02 {
  width: 12.5%;
  left: 51%;
  top: 66%;
  animation: wk_float 4.4s ease-in-out -2s infinite;
}

/* 공중 부유 (위아래로 조금씩) — 원마다 duration/delay 를 달리해 따로 움직임 */
@keyframes wk_float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ----------------------------------------------------------
   반응형
---------------------------------------------------------- */
/* 1920px 이하: 배경 이미지가 폭 대비 짧아져 잘리거나 여백이 생기므로 꽉 채움(cover) */
@media (max-width: 1920px) {
  .wk_hero {
    background-size: cover;
  }
}

@media (max-width: 1024px) {
  /* 섹션(.wk_hero)과 inner 높이를 일치시켜 텍스트가 세로 중앙에 오도록 */
  .wk_hero_tit {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  /* 모바일: 배경을 꽉 채워 빈 공간 제거 + 콘텐츠를 상단 쪽에 배치(하단은 배경 그래픽) */
  .wk_hero {
    min-height: 460px;
    background-position: center bottom;
    background-size: cover;
  }
  .wk_hero_inner {
    /* row flex 해제 → 세로로 쌓고 좌측 정렬 + 세로 중앙 */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 460px;
    /* 상단 fixed 헤더 높이만큼 위 여백을 더 줘서 시각적 중앙 보정 */
    padding: 96px 24px 40px;
    text-align: left;
  }
  .wk_hero_info {
    margin-top: 0;
    width: 100%;
    max-width: 100%; /* 좁은 화면에서 설명 텍스트가 넘쳐 잘리지 않도록 */
    text-align: left;
  }
  .wk_hero_desc {
    word-break: keep-all;
  }
  /* 좁은 배너에서 데코 원이 텍스트와 겹쳐 지저분 → 숨김 (배경에 이미 시각요소 포함) */
  .wk_hero .wk_deco {
    display: none;
  }
  .wk_hero_logo {
    width: 180px;
  }
  .wk_hero_tit {
    margin-top: 16px;
    font-size: 26px;
  }
  .wk_hero_desc {
    margin-top: 14px;
    font-size: 14px;
  }
  /* 작은 화면에서는 부유 폭을 줄여 자연스럽게 */
  @keyframes wk_float {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-8px);
    }
  }
}

@media (max-width: 540px) {
  .wk_hero {
    min-height: 380px;
  }
  .wk_hero_inner {
    min-height: 380px;
    padding: 80px 20px 24px;
  }
  .wk_hero_tit {
    font-size: 22px;
  }
}

/* ==========================================================
   소개 섹션 (wk_intro) : 흩어진 자료를 하나의 지능으로
   ========================================================== */
/* 상단 문구 */
.wk_intro_head {
  text-align: center;
}
.wk_intro_logo {
  width: 260px;
  height: auto;
}
.wk_intro_tit {
  margin-top: 40px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.6px;
  color: #0d1b3e;
  word-break: keep-all;
}
.wk_intro_desc {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.3px;
  color: #333;
  word-break: keep-all;
}

/* ----------------------------------------------------------
   다이어그램 스테이지 (디자인 좌표 850 x 486, JS 로 스케일)
---------------------------------------------------------- */
.wk_stage_wrap {
  position: relative;
  width: 100%;
  margin-top: 68px;
  /* 세로는 visible(카드 그림자 노출), 가로는 clip(모바일에서 스테이지 우측 빈 영역이 넘쳐도 스크롤 방지).
     clip-margin 으로 카드 좌우 그림자는 살짝 넘쳐 보이도록 허용 */
  overflow-x: clip;
  overflow-y: visible;
  overflow-clip-margin: 24px;
}
.wk_stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 850px;
  height: 486px;
  transform: scale(1);
  transform-origin: top left; /* left 오프셋은 JS 로 중앙정렬 */
}

/* 연결 라인 SVG (스테이지 전체를 덮음, 카드/원 뒤) */
.wk_lines {
  position: absolute;
  inset: 0;
  width: 850px;
  height: 486px;
  z-index: 1;
  pointer-events: none;
}

/* 채널 카드 공통 */
.wk_card {
  position: absolute;
  z-index: 3;
  box-sizing: border-box;
  width: 168px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 14px;
  background: #fff;
  border: 1px solid #ecf4ff;
  border-radius: 16px;
  box-shadow: 0 4px 7.5px rgba(196, 221, 255, 0.55);
}
.wk_card_ic {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wk_card_ic img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.wk_card_tx {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.wk_card_tx b {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  color: #0d1b3e;
  white-space: nowrap;
}
.wk_card_tx em {
  font-size: 14px;
  font-style: normal;
  line-height: 1.3;
  color: #5b7aa0;
}
/* 카드 위치 (디자인 좌표) */
.wk_card--slack {
  left: 93px;
  top: 0;
}
.wk_card--jira {
  left: 31px;
  top: 104px;
}
.wk_card--drive {
  left: 0;
  top: 206px;
}
.wk_card--notion {
  left: 36px;
  top: 307px;
}
.wk_card--confluence {
  left: 94px;
  top: 412px;
}

/* 중앙 3중 링 (공통) — 각자 자신의 중심을 기준으로 애니메이션 */
.wk_ring {
  position: absolute;
  z-index: 2;
  height: auto;
  pointer-events: none;
  will-change: transform;
}
/* circle3-right-turn : 294px @ (371.63, 103.83) */
.wk_ring3 {
  width: 294px;
  left: 371.63px;
  top: 103.83px;
  animation: wk_spin_right 30s linear infinite;
}
/* circle2-left-turn : 248px @ (394.63, 126.83) */
.wk_ring2 {
  width: 248px;
  left: 394.63px;
  top: 126.83px;
  animation: wk_spin_left 24s linear infinite;
}
/* circle1-bounce : 270px @ (383.63, 114.83) — 심장박동 (글로우, 맨 아래) */
.wk_ring1 {
  z-index: 1; /* 점선 링(ring2/3, z-index:2) 보다 아래로 → 링을 가리지 않도록 */
  width: 270px;
  left: 383.63px;
  top: 114.83px;
  animation: wk_heartbeat 2.4s ease-in-out infinite;
}

/* 코어 (파란 원 + 텍스트) : 226px @ (405.63, 137.83) */
.wk_core {
  position: absolute;
  z-index: 4;
  left: 405.63px;
  top: 137.83px;
  width: 226px;
  height: 226px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background: url("/src/assets/img/wiki/wk_deco_circleBlue.png") center center /
    100% 100% no-repeat;
}
.wk_core_tit {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
}
.wk_core_sub {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* 화살표 (라운드 셰브론 3개, 순차 투명도) : 원 오른쪽 (약 636, 230) */
.wk_arrows {
  position: absolute;
  z-index: 3;
  left: 642px;
  top: 231px;
  width: 52px;
  height: 38px;
}
.wk_arrows svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.wk_chev {
  opacity: 0.3;
  animation: wk_arrow_flow 1.4s ease-in-out infinite;
}
.wk_chev:nth-child(1) {
  animation-delay: 0s;
}
.wk_chev:nth-child(2) {
  animation-delay: 0.2s;
}
.wk_chev:nth-child(3) {
  animation-delay: 0.4s;
}

/* 결과 카드 (즉시 응답) : (706.54, 184.58) */
.wk_result {
  position: absolute;
  z-index: 3;
  left: 706.54px;
  top: 184.58px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 35px;
  background: #fff;
  border: 1px solid #ecf4ff;
  border-radius: 31px;
  box-shadow: 0 4px 12.5px rgba(171, 205, 253, 0.55);
}
.wk_result_ic {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.wk_result_tit {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: #0d1b3e;
  white-space: nowrap;
  padding-left: 8px;
  padding-right: 8px;
}
.wk_result_sub {
  font-size: 12px;
  font-style: normal;
  line-height: 1.3;
  color: #5b7aa0;
  white-space: nowrap;
}

/* ----------------------------------------------------------
   소개 섹션 애니메이션
---------------------------------------------------------- */
/* circle3 : 우측(시계방향) 회전 */
@keyframes wk_spin_right {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* circle2 : 좌측(반시계) 회전 */
@keyframes wk_spin_left {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
/* circle1 : 심장박동 (살짝 커졌다 작아짐, 이중 박동) */
@keyframes wk_heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.06);
  }
  30% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.04);
  }
  60% {
    transform: scale(1);
  }
}
/* 화살표 : 흐르듯 순차적으로 진해졌다 옅어짐 */
@keyframes wk_arrow_flow {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}

/* ----------------------------------------------------------
   모바일 세로 스택 (≤768) — 기본 숨김, 미디어쿼리에서 display:flex
   채널카드 → dot 흐름 → 원 → 하향 화살표 → 결과카드 (풀사이즈)
---------------------------------------------------------- */
.wk_flow_mo {
  display: none;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

/* 채널 카드 */
.wk_mo_channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(440px, 90%); /* 디바이스 폭에 맞춰 여유있게 */
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wk_mo_card {
  box-sizing: border-box;
  flex: 1 1 calc(50% - 7px); /* 한 줄에 2장씩 폭을 꽉 채움 */
  min-width: 0;
}
/* 마지막 줄에 홀로 오는 Confluence : 폭 50% 유지하고 가운데 정렬 */
.wk_mo_channels .wk_mo_card:last-child {
  flex-grow: 0;
}
.wk_mo_card {
  position: relative;
  z-index: 1; /* 카드가 연결선 위에 그려지도록 */
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #ecf4ff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(196, 221, 255, 0.55);
}
.wk_mo_ic {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wk_mo_ic img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.wk_mo_tx {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.wk_mo_tx b {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #0d1b3e;
  white-space: nowrap;
  text-align: left;
}
.wk_mo_tx em {
  font-size: 14px;
  font-style: normal;
  line-height: 1.2;
  color: #5b7aa0;
  white-space: nowrap;
  text-align: left;
}

/* 아래로 흐르는 dot 라인 (좌:Drive · 중:Confluence · 우:Notion 3줄) */
.wk_mo_conn {
  width: min(
    440px,
    90%
  ); /* 채널 그리드와 동일 폭 → 좌/우 선이 Drive/Notion 열에 정렬 */
  aspect-ratio: 300 / 156; /* 폭이 커져도 균일 스케일(도트 원형 유지) */
  height: auto;
  margin: -84px 0 0; /* 위로 끌어올려 Drive/Notion 카드 바닥에서 시작 */
  overflow: visible;
  position: relative;
  z-index: 0; /* 라인은 카드 뒤로 */
}

/* 중앙 원 (3중 링 + 코어) */
.wk_mo_core {
  position: relative;
  width: 200px;
  height: 200px;
  margin-top: -40px; /* 라인 수렴점과 원 간격 축소 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.wk_mo_core::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
  background: url("/src/assets/img/wiki/wk_deco_circleBlue.png") center center /
    100% 100% no-repeat;
}
.wk_mo_ring {
  position: absolute;
  z-index: 1; /* 점선 링 : 글로우 위, 코어 아래 */
  pointer-events: none;
  will-change: transform;
}
.wk_mo_ring3 {
  /* 우회전, 258px */
  width: 258px;
  left: -29px;
  top: -29px;
  animation: wk_spin_right 30s linear infinite;
}
.wk_mo_ring2 {
  /* 좌회전, 219px */
  width: 219px;
  left: -9.5px;
  top: -9.5px;
  animation: wk_spin_left 24s linear infinite;
}
.wk_mo_ring1 {
  /* 글로우 박동, 236px — 맨 아래 */
  z-index: 0;
  width: 236px;
  left: -18px;
  top: -18px;
  animation: wk_heartbeat 2.4s ease-in-out infinite;
}
.wk_mo_coretxt {
  position: relative;
  z-index: 3;
  text-align: center;
}
.wk_mo_tit {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
}
.wk_mo_sub {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* 아래 화살표 (하향 셰브론 3개, .wk_chev 재사용) */
.wk_mo_arrows {
  width: 28px;
  height: 26px;
  margin: 6px 0;
  overflow: visible;
}

/* 결과 카드 (아이콘 + 텍스트 가로 배치, 넓은 가로 카드) */
.wk_mo_result {
  box-sizing: border-box;
  width: min(440px, 90%);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 28px;
  background: #fff;
  border: 1px solid #ecf4ff;
  border-radius: 24px;
  box-shadow: 0 4px 14px rgba(171, 205, 253, 0.55);
}
.wk_mo_result_tx {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.wk_mo_result_ic {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.wk_mo_result_tit {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #0d1b3e;
}
.wk_mo_result_sub {
  font-size: 14px;
  font-style: normal;
  line-height: 1.3;
  color: #5b7aa0;
}

/* ----------------------------------------------------------
   소개 섹션 반응형
---------------------------------------------------------- */
@media (max-width: 1024px) {
  .wk_intro_tit {
    font-size: 30px;
  }
  .wk_intro_desc {
    font-size: 17px;
  }
}
@media (max-width: 768px) {
  .wk_intro_logo {
    width: 220px;
  }
  .wk_intro_tit {
    margin-top: 24px;
    font-size: 24px;
  }
  .wk_intro_desc {
    margin-top: 16px;
    font-size: 15px;
  }
  .wk_stage_wrap {
    margin-top: 44px;
  }

  /* 가로 스테이지 숨기고 세로 스택 노출 (풀사이즈 → 텍스트 크게) */
  .wk_stage_wrap {
    display: none;
  }
  .wk_flow_mo {
    display: flex;
  }
}

/* ==========================================================
   SMART Q&A 섹션 (wk_qa) : 채팅 데모 + 기능 소개
   ========================================================== */
.wk_qa {
  background: #fff url("/src/assets/img/wiki/wk_dot_grBg.png") center center /
    cover no-repeat;
  overflow-x: clip; /* 내부 요소가 페이지 가로폭을 넓히지 않도록 */
}
.wk_qa_inner {
  display: flex;
  align-items: center;
  justify-content: center; /* 그룹을 가운데로 (양끝 stretch 아님) */
  gap: clamp(32px, 7vw, 120px); /* 화면이 좁아지면 간격도 축소 */
}

/* ----- 좌측 채팅 데모 카드 ----- */
.wk_chat {
  flex: 0 1 520px; /* 공간이 부족하면 줄어들도록 (잘림 방지) */
  box-sizing: border-box;
  width: auto;
  max-width: 520px;
  min-width: 0;
  height: 624px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eef4fd;
  border-radius: 24px;
  box-shadow: 0 30px 60px -18px rgba(89, 141, 239, 0.35);
  overflow: hidden;
}

/* 헤더 */
.wk_chat_head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid #eef3fb;
}
.wk_chat_avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f1fd, #d7e6fd);
}
.wk_chat_avatar img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.wk_chat_meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wk_chat_name {
  font-size: 17px;
  font-weight: 700;
  color: #0d1b3e;
  letter-spacing: 0;
  text-align: Left;
}
.wk_chat_status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8595ac;
  letter-spacing: 0;
}
.wk_chat_on {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}
.wk_chat_on_tx {
  font-style: normal;
  color: #22c55e;
  font-weight: 400;
  letter-spacing: 0;
}

.wk_chat_badge {
  margin-left: auto;
  align-self: flex-start;
  padding: 6px 12px;
  font-size: 12px;
  line-height: 120%;
  font-weight: 500;
  color: #2f6ae0;
  letter-spacing: 0.5px;
  background: #e8f1fd;
  border-radius: 999px;
}

/* 대화 영역 (디바이스에 따라 스크롤) */
.wk_chat_body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 22px 24px;
  background: #f7fafe;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wk_msg {
  display: flex;
  flex-direction: column;
}
.wk_msg--user {
  align-items: flex-end;
}
.wk_msg--bot {
  align-items: flex-start;
}
.wk_bubble {
  max-width: 78%;
  padding: 13px 16px;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: -0.2px;
  word-break: keep-all;
  font-weight: 400;
  text-align: left;
}
.wk_msg--user .wk_bubble {
  color: #fff;
  background: #2f6ae0;
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0 6px 6px rgba(47, 106, 224, 0.2);
}
.wk_msg--bot .wk_bubble {
  color: #2a3550;
  background: #fff;
  border: 1px solid #e9f0fb;
  border-radius: 4px 18px 18px 18px;
  box-shadow: 0 6px 6px rgba(171, 205, 253, 0.103);
}

/* 출처 */
.wk_src_label {
  margin: 10px 2px 2px;
  font-size: 12px;
  color: #9aa7bd;
  font-weight: 400;
}
.wk_src_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 88%;
}
.wk_src {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #eaf1fb;
  border-radius: 12px;
  box-shadow: 0 4px 5px rgba(196, 221, 255, 0.2);
  width: 88%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.wk_src:hover {
  border-color: #93b4e9;
}
.wk_src:active {
  box-shadow: 0 3px 6px rgba(120, 160, 230, 0.18);
}
/* 리스트 li 는 래퍼 역할만 */
.wk_src_item {
  display: flex;
}
.wk_src_dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.wk_src_dot--blue {
  background: #2f6ae0;
}
.wk_src_dot--green {
  background: #16a45c;
}
.wk_src_dot--red {
  background: #d8285a;
}
.wk_src_name {
  flex: 0 0 auto;
  font-size: 13.5px;
  font-weight: 700;
  color: #2f6ae0;
}
.wk_src_dot--green + .wk_src_name {
  color: #16a45c;
}
.wk_src_dot--red + .wk_src_name {
  color: #d8285a;
}
.wk_src_desc {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-style: normal;
  color: #6b7a92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 호버 시 제목에 밑줄 */
.wk_src:hover .wk_src_desc {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wk_src_go {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #e2ebf8;
  color: #93a4c0;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}
/* 호버 시 화살표 강조  */
.wk_src:hover .wk_src_go {
  color: #2f6ae0;
  border-color: #abceff;
  background: #eef4fe;
  /* transform: rotate(45deg); */
}
.wk_src_go svg {
  width: 13px;
  height: 13px;
}

/* 입력창 */
.wk_chat_input {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px 8px;
  background: #fff;
  border-top: 1px solid #e4ecf8;
}
.wk_chat_field {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  font-size: 14.5px;
  color: #2a3550;
  background: #f1f5fc; /* 활성화(포커스) 전 기본 배경 */
  border: 1px solid #e4ecf8;
  border-radius: 14px;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.wk_chat_field::placeholder {
  color: #a6b3c8;
}
.wk_chat_field:focus {
  background: #fff; /* 포커스 시 흰색으로 */
  border-color: #9cc0f7;
}
.wk_chat_send {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f6ae0;
  background: #e8f1fd;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.1s;
}
.wk_chat_send:hover {
  background: #2f6ae0; /* 호버 시 프라이머리 컬러 */
  box-shadow: 0 8px 18px rgba(47, 106, 224, 0.35); /* 페이지 그림자 톤과 통일 */
}
.wk_chat_send:active {
  transform: scale(0.94);
}
/* 전송 아이콘 : 기본은 파일 원본 색, 호버 시 흰색 */
.wk_chat_send_ic {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: filter 0.2s;
}
.wk_chat_send:hover .wk_chat_send_ic {
  filter: brightness(0) invert(1); /* 호버 시 아이콘 흰색 */
}
.wk_chat_hint {
  flex: 0 0 auto;
  padding: 0 0 16px;
  text-align: center;
  font-size: 12.5px;
  color: #a6b3c8;
}

/* ----- 우측 카피 + 기능 ----- */
.wk_qa_info {
  flex: 0 1 440px; /* 공간이 부족하면 줄어들도록 (잘림 방지) */
  max-width: 440px;
  min-width: 0;
}
/* 공통 태그 배지 (페이지 내 반복 사용) */
.wk_tag {
  display: inline-block;
  padding: 6px 16px 5px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #76a6ef;
  background: linear-gradient(
    180deg,
    rgba(40, 120, 240, 0.04) 0%,
    rgba(40, 120, 240, 0.14) 100%
  );
  border: 1px solid #bbd5fb;
  border-radius: 999px;
}
.wk_qa_tit {
  margin-top: 22px;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.8px;
  color: #0d1b3e;
  word-break: keep-all;
}
.wk_qa_desc {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -0.3px;
  color: #5b6b85;
  word-break: keep-all;
}
.wk_feat_list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wk_feat {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 95%; /* 영역을 꽉 채우지 않고 살짝 여유 */
  padding: 17px 30px;
  text-align: left; /* 모바일 공통 중앙정렬 상속 방지 */
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #eef4fd;
  border-radius: 999px; /* 양쪽 모서리 완전 둥글게 (알약형) */
  box-shadow: 0 8px 20px rgba(171, 205, 253, 0.4);
}
.wk_feat_ic {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wk_feat_ic img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.wk_feat_tx {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 140%;
}
.wk_feat_tx b {
  font-size: 16px;
  font-weight: 500;
  color: #16233f;
  line-height: 140%;
}
.wk_feat_tx em {
  font-size: 14px;
  font-style: normal;
  color: #7385a0;
}

/* ----- 반응형 ----- */
@media (max-width: 1080px) {
  .wk_qa_inner {
    flex-direction: column;
    gap: 44px;
  }
  .wk_chat {
    order: 2; /* 줄바꿈 시 채팅은 아래로 */
    width: 100%;
    max-width: 520px;
  }
  .wk_qa_info {
    order: 1; /* 줄바꿈 시 타이틀(정보)이 위로 */
    width: 100%;
    max-width: 520px;
    flex: 0 0 auto;
  }
}

@media (max-width: 768px) {
  .wk_qa_tit {
    margin-top: 18px;
    font-size: 28px;
  }
  .wk_qa_desc {
    margin-top: 18px;
    font-size: 15px;
  }
  /* 배경이 복잡한 유지관리 섹션에서만 가독성용 배경 박스 유지 */
  .wk_maint .wk_qa_desc {
    background: #e9f1fde0;
    border-radius: 20px;
    padding: 22px;
    margin-left: auto;
    margin-right: auto;
  }
  .wk_chat {
    height: 640px;
    border-radius: 20px;
  }
  /* 모바일에선 강제 줄바꿈 해제 → 자연 줄바꿈 */
  .wk_qa_desc br {
    display: none;
  }
  .wk_src_list {
    max-width: 100%;
  }
  .wk_feat_list {
    margin-top: 24px;
    gap: 10px;
  }
  .wk_feat {
    width: 100%;
    gap: 12px;
    padding: 12px 20px;
  }
  .wk_feat_ic,
  .wk_feat_ic img {
    width: 30px;
    height: 30px;
  }
  .wk_feat_tx b {
    font-size: 14px;
  }
  .wk_feat_tx em {
    font-size: 12.5px;
  }
}

/* ==========================================================
   다크 섹션 (wk_dark) : 네이비 그라데이션 + 좌측 하단 블러 원형
   ========================================================== */
.wk_dark {
  position: relative;
  overflow: hidden; /* 블러 원형이 섹션 밖으로 넘치지 않도록 */
  background: linear-gradient(150deg, #0d1a44 0%, #122668 55%, #1b3d8c 100%);
}
/* 좌측 하단 블러 글로우 원형 */
.wk_dark::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -255px;
  bottom: -315px;
  width: 990px;
  height: 990px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(94, 104, 224, 0.55) 0%,
    rgba(70, 84, 210, 0.28) 45%,
    rgba(60, 80, 200, 0) 72%
  );
  filter: blur(60px);
  pointer-events: none;
  will-change: transform;
  /* 현재 위치 중심으로 아주 천천히 둥글게(위아래) 부유 */
  animation: wk_glow_float 16s ease-in-out infinite;
}
/* 좌측 하단 글로우 : 원형(위아래) 궤적으로 부드럽게 부유 (이동폭 확대) */
@keyframes wk_glow_float {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(60px, -80px);
  }
  50% {
    transform: translate(0, -140px);
  }
  75% {
    transform: translate(-60px, -80px);
  }
  100% {
    transform: translate(0, 0);
  }
}
.wk_dark_inner {
  position: relative;
  z-index: 1; /* 콘텐츠는 글로우 위 */
  min-height: 320px; /* 콘텐츠 전 임시 높이 */
}

/* ----- 다크 섹션 콘텐츠 ----- */
/* 헤더 (기존 타이틀/설명 클래스 재사용 + 다크 오버라이드) */
.wk_cd_head {
  text-align: center;
}
.wk_dark .wk_tag--dark {
  color: #8fb4f7;
  background: linear-gradient(
    180deg,
    rgba(90, 130, 240, 0.08) 0%,
    rgba(90, 130, 240, 0.22) 100%
  );
  border-color: rgba(120, 160, 240, 0.5);
}
.wk_dark .wk_dark_tit {
  color: #fff;
}
.wk_dark .wk_dark_desc {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.72);
}

/* 4단계 카드 그리드 */
.wk_cd_steps {
  list-style: none;
  margin: 52px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.wk_cd_card {
  position: relative;
  overflow: hidden;
  text-align: left; /* 모바일 공통 중앙정렬 상속 방지 */
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 44px rgba(8, 18, 55, 0.32);
}
/* 상단 컬러 액센트 바 (카드별 테마색) */
.wk_cd_card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
}
.wk_cd_card--1::before {
  background: linear-gradient(90deg, #3d7bf0, #6aa0f8);
}
.wk_cd_card--2::before {
  background: linear-gradient(90deg, #8b5cf6, #b57bf3);
}
.wk_cd_card--3::before {
  background: linear-gradient(90deg, #2f8fe0, #5bc0f0);
}
.wk_cd_card--4::before {
  background: linear-gradient(90deg, #16a45c, #37c98a);
}
.wk_cd_top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.wk_cd_no {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.wk_cd_card--1 .wk_cd_no {
  background: #3d7bf0;
}
.wk_cd_card--2 .wk_cd_no {
  background: #8b5cf6;
}
.wk_cd_card--3 .wk_cd_no {
  background: #2f8fe0;
}
.wk_cd_card--4 .wk_cd_no {
  background: #16a45c;
}
.wk_cd_ic {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.wk_cd_tit {
  display: block;
  margin-top: 22px;
  font-size: 19px;
  line-height: 140%;
  font-weight: 600;
  color: #0d1b3e;
}
.wk_cd_sub {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  color: #7385a0;
}
.wk_cd_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 18px;
}
.wk_cd_chips span {
  font-size: 12px;
  font-weight: 400;
  line-height: 120%;
  padding: 6px 12px;
  border-radius: 20px;
  background: #eaf2fe;
  color: #2f6ae0;
}
.wk_cd_card--2 .wk_cd_chips span {
  background: #f1eafe;
  color: #7c4fe0;
}
.wk_cd_card--4 .wk_cd_chips span {
  background: #e6f7ef;
  color: #128a4e;
}

/* 라인 + 화살표 */
.wk_cd_arrows {
  display: flex;
  align-items: center;
  margin-top: 32px;
  margin-bottom: 32px;
}
.wk_cd_ln {
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.wk_cd_ar {
  flex: 0 0 auto;
  padding: 0 6px;
  font-style: normal;
  font-size: 16px;
  line-height: 1;
}
/* 화살표 색 = 왼쪽 카드 테마색 */
.wk_cd_ar:nth-of-type(1) {
  color: #3d7bf0; /* 1 자료 입력 (블루) */
}
.wk_cd_ar:nth-of-type(2) {
  color: #8b5cf6; /* 2 AI 자동 정리 (퍼플) */
}
.wk_cd_ar:nth-of-type(3) {
  color: #2f8fe0; /* 3 결과물 생성 (시안블루) */
}

/* 원형(알약) 텍스트 */
.wk_cd_stats {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.wk_cd_stats li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: #f0f7ff;
  border: 1px solid #e0edff;
  font-size: 14px;
}
.wk_cd_stats em {
  font-style: normal;
  font-weight: 400;
  color: #5b7aa0;
}
.wk_cd_stats b {
  font-weight: 500;
  color: #2878f0;
}

/* 반투명 카드 3개 */
.wk_cd_feats {
  list-style: none;
  margin: 62px auto 0; /* 좌우 auto 로 중앙 정렬 */
  max-width: 80%;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wk_cd_feat {
  padding: 28px;
  text-align: left; /* 모바일 공통 중앙정렬 상속 방지 */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
}
.wk_cd_feat_ic {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
}
.wk_cd_feat_ic img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.wk_cd_feat_tx b {
  display: block;
  margin-top: 16px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}
.wk_cd_feat_tx em {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  letter-spacing: 0;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  word-break: keep-all;
  color: rgba(255, 255, 255, 0.6);
}

/* ----- 다크 섹션 반응형 ----- */
@media (max-width: 1024px) {
  .wk_cd_feats {
    max-width: 100%;
  }
}
@media (max-width: 960px) {
  .wk_cd_steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .wk_cd_arrows {
    display: none; /* 4열 기준 꾸밈 → 2열에선 숨김 */
  }
  .wk_cd_feats {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 540px) {
  .wk_cd_steps {
    gap: 12px;
    margin-top: 26px;
  }
  .wk_cd_card {
    padding: 18px 14px;
    border-radius: 14px;
  }
}
/* 모바일 여백/간격 축소 (다크 섹션 기본 규칙 뒤에 위치해야 적용됨) */
@media (max-width: 768px) {
  .wk_cd_chips span {
    font-size: 11px;
    padding: 6px 11px;
  }
  .wk_cd_steps {
    margin-top: 26px;
  }
  .wk_cd_feats {
    margin-top: 30px;
    gap: 12px;
  }
  .wk_cd_feat {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    padding: 18px 20px;
  }
  .wk_cd_feat_tx b {
    margin-top: 0;
    font-size: 15.5px;
  }
  .wk_cd_feat_tx em {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.55;
  }
  /* 글로우 원형 크기 원복 */
  .wk_dark::after {
    left: -170px;
    bottom: -210px;
    width: 660px;
    height: 660px;
  }
}

/* ==========================================================
   자동 유지관리 섹션 (wk_maint) : 배경이미지 + 스택 카드 슬라이드
   ========================================================== */
.wk_maint {
  position: relative;
  overflow: hidden;
  /* 배경 이미지 : 영역 꽉 채우고 우측 기준 정렬 */
  background: #eaf2fd url("/src/assets/img/wiki/wk_maintenanceBg.png") right
    top / cover no-repeat;
}
/* 좁은 화면에서 상단 텍스트 가독성 확보용 밝은 그라데이션 오버레이 (하단 씬/카드는 그대로 노출) */
.wk_maint::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0; /* 데스크톱에선 미적용 */
  background: linear-gradient(
    180deg,
    rgba(233, 241, 253, 0.97) 0%,
    rgba(233, 241, 253, 0.9) 34%,
    rgba(233, 241, 253, 0.6) 48%,
    rgba(233, 241, 253, 0) 62%
  );
}
/* 좌측에 살짝 잘리게 배치되는 데코 (공중 부유) */
.wk_maint_deco {
  position: absolute;
  z-index: 1;
  left: -40px;
  top: 30%;
  width: 240px;
  height: auto;
  pointer-events: none;
  will-change: transform;
  animation: wk_float 5.5s ease-in-out infinite;
}
/* 우측 상단 데코 (공중 부유) */
.wk_maint_deco2 {
  position: absolute;
  z-index: 1;
  right: 9%;
  top: 12%;
  width: 96px;
  height: auto;
  pointer-events: none;
  will-change: transform;
  animation: wk_float 4.6s ease-in-out -1.5s infinite;
  opacity: 0.8;
}
.wk_maint_inner {
  position: relative;
  z-index: 2;
}
.wk_maint_head {
  text-align: center;
}

/* ----- 스택 카드 슬라이드 ----- */
.wk_slides {
  position: relative;
  width: 100%;
  max-width: 660px;
  height: 300px; /* 앞 카드 + 뒤 카드 peek 높이 */
  margin: 48px auto 0;
}
.wk_slide {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px 46px;
  min-height: 180px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 46px;
  box-shadow: 0 22px 48px rgba(40, 80, 160, 0.2);
  transform-origin: top center;
  transition:
    transform 0.7s cubic-bezier(0.34, 1.4, 0.5, 1),
    opacity 0.5s ease;
  will-change: transform, opacity;
}
/* 스택 위치 */
.wk_slide--p0 {
  transform: translateY(0) scale(1);
  z-index: 3;
  opacity: 1;
}
.wk_slide--p1 {
  transform: translateY(100px) scale(0.85);
  z-index: 2;
  opacity: 1;
}
.wk_slide--p2 {
  transform: translateY(200px) scale(0.7);
  z-index: 1;
  opacity: 1;
}
.wk_slide--p3 {
  transform: translateY(100px) scale(0.7);
  z-index: 0;
  opacity: 0;
}
/* 맨 앞 카드가 위로 빠지며 사라짐 */
.wk_slide--leaving {
  transform: translateY(-46px) scale(1.03);
  z-index: 4;
  opacity: 0;
}
/* 뒤로 재진입 초기 상태 (페이드인용) */
.wk_slide--enter {
  opacity: 0;
}

.wk_slide_ic {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wk_slide_ic img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.wk_slide_tx {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin-bottom: 12px;
  text-align: left;
}
.wk_slide_tx b {
  font-size: 20px;
  font-weight: 600;
  color: #16233f;
}
.wk_slide_tx em {
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: #6b7a92;
}

@media (max-width: 768px) {
  .wk_slide--p0 {
    transform: translateY(0) scale(1);
    z-index: 3;
    opacity: 1;
  }
  .wk_slide--p1 {
    transform: translateY(70px) scale(0.85);
    z-index: 2;
    opacity: 1;
  }
  .wk_slide--p2 {
    transform: translateY(140px) scale(0.7);
    z-index: 1;
    opacity: 1;
  }
  .wk_slide--p3 {
    transform: translateY(140px) scale(0.7);
    z-index: 0;
    opacity: 0;
  }
}
/* ----- 자동 유지관리 반응형 ----- */
@media (max-width: 1800px) {
  /* 좁아지면 배경 씬이 텍스트 뒤로 오므로 상단을 밝게 덮어 가독성 확보 */
  .wk_maint::before {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .wk_maint {
    background-position: center center;
  }
  .wk_maint_deco {
    width: 140px;
    left: -50px;
  }
  .wk_maint_deco2 {
    width: 56px;
    right: 5%;
    top: 4%;
  }
  .wk_slides {
    margin-top: 20px;
    height: 250px;
  }
  .wk_slide {
    gap: 16px;
    padding: 22px 20px;
    min-height: 130px;
    border-radius: 20px;
    /* align-items: flex-start; */
    margin-top: 20px;
  }
  .wk_slide_ic,
  .wk_slide_ic img {
    width: 56px;
    height: 56px;
    margin-bottom: 5px;
  }
  .wk_slide_tx b {
    font-size: 17px;
  }
  .wk_slide_tx em {
    font-size: 13px;
  }
}

/* ==========================================================
   커스터마이제이션 섹션 (wk_cz) : 탭 전환 미리보기
   ========================================================== */
.wk_cz {
  background: #fff;
}
.wk_cz_head {
  text-align: center;
}

/* 공통 accent (탭/패널별로 재정의) */
.wk_cz_wrap {
  max-width: 900px;
  margin: 52px auto 0;
}

/* ----- 탭 버튼 ----- */
.wk_cz_tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wk_cz_tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 500;
  line-height: 120%;
  color: #45536e;
  background: #fff;
  border: 1px solid #e7edf7;
  border-radius: 12px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
}
.wk_cz_tab:active {
  transform: translateY(1px);
}
.wk_cz_tab--tech {
  --acc: #5744fc;
}
.wk_cz_tab--fin {
  --acc: #1e2f61;
}
.wk_cz_tab--con {
  --acc: #e84c98;
}
.wk_cz_tab--med {
  --acc: #16ac9e;
}
.wk_cz_tab:hover {
  border-color: var(--acc);
}
.wk_cz_tab.is-on {
  color: #fff;
  background: var(--acc);
  border-color: var(--acc);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--acc) 34%, transparent);
}

/* ----- 미리보기 패널 ----- */
.wk_cz_panel {
  display: none;
  margin-top: 26px;
}
.wk_cz_panel.is-on {
  display: block;
  transform-origin: center top;
  animation: wk_cz_pop 0.45s cubic-bezier(0.34, 1.4, 0.5, 1);
}
/* 탭 전환 : 스케일 팝(탄력) */
@keyframes wk_cz_pop {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.wk_cz_panel--tech {
  --acc: #5744fc;
  --tint: #f0eefe;
}
.wk_cz_panel--fin {
  --acc: #1e2f61;
  --tint: #eef1f8;
}
.wk_cz_panel--con {
  --acc: #e84c98;
  --tint: #fdeef6;
}
.wk_cz_panel--med {
  --acc: #16ac9e;
  --tint: #e5f6f3;
}

/* 윈도우 프레임 */
.wk_cz_win {
  border-radius: 22px;
  background: var(--tint);
  overflow: hidden;
}
.wk_cz_winbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 24px 14px;
  /* 윈도우 배경보다 한 톤 밝게 → 헤더 구분 */
  background: color-mix(in srgb, var(--tint) 45%, #fff);
}
.wk_cz_dots {
  display: inline-flex;
  gap: 6px;
}
.wk_cz_dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.wk_cz_dots i:nth-child(1) {
  background: #ff5f57;
}
.wk_cz_dots i:nth-child(2) {
  background: #febc2e;
}
.wk_cz_dots i:nth-child(3) {
  background: #28c840;
}
.wk_cz_wintitle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15px;
  font-weight: 400;
  color: #6b7a92;
  white-space: nowrap;
  letter-spacing: -0.5px;
}
.wk_cz_winlabel {
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  color: var(--acc);
  white-space: nowrap;
  background-color: #ffffffce;
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid var(--tint);
}

/* 메일 카드 */
.wk_cz_mail {
  margin: 24px 24px;
  padding: 28px 30px;
  text-align: left;
  background: #fff;
  border-radius: 16px;
  /* 그림자도 탭 고유색 반영 */
  box-shadow: 0 12px 30px color-mix(in srgb, var(--acc) 18%, transparent);
}
.wk_cz_mailhead {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.wk_cz_avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 50%;
  background: var(--tint);
  line-height: 100%;
  padding-top: 2px;
}
.wk_cz_from {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.wk_cz_from b {
  font-size: 16px;
  font-weight: 500;
  color: #16233f;
}
.wk_cz_email {
  font-size: 13px;
  font-weight: 400;
  color: #9aa7bd;
  padding-left: 4px;
  letter-spacing: 0;
}
.wk_cz_from em {
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  color: #7385a0;
}
.wk_cz_time {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0;
  color: #9aa7bd;
  white-space: nowrap;
}
.wk_cz_mailbody {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eef2f8;
  letter-spacing: -0.2px;
}
.wk_cz_subject {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #16233f;
}
.wk_cz_mailbody p {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #55627a;
}
.wk_cz_gen {
  margin-top: 20px;
  padding: 4px 0 4px 14px;
  border-left: 3px solid var(--acc);
}
.wk_cz_gen b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--acc);
}
.wk_cz_gen em {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-style: normal;
  color: #9aa7bd;
}

/* 메타 pill */
.wk_cz_meta {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wk_cz_meta li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border: 1px solid #e7eef8;
  border-radius: 999px;
  font-size: 13px;
}
.wk_cz_meta em {
  font-style: normal;
  font-weight: 400;
  color: #8595ac;
}
.wk_cz_meta b {
  font-weight: 600;
  color: #16233f;
}

/* ----- 하단 4개 특징 카드 ----- */
.wk_cz_cards {
  list-style: none;
  margin: 44px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1100px;
}
.wk_cz_card {
  padding: 28px 26px;
  text-align: left;
  background: #fff;
  border: 1px solid #f0f4fb;
  border-radius: 20px;
  box-shadow: 0 10px 27px rgb(172 187 213 / 10%);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.wk_cz_card:hover {
  /* transform: translateY(-3px); */
  /* box-shadow: 0 16px 36px rgba(120, 160, 230, 0.22); */
}
.wk_cz_card_ic {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
}
.wk_cz_card_ic img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.wk_cz_card b {
  display: block;
  margin-top: 22px;
  font-size: 17px;
  font-weight: 500;
  color: #16233f;
}
.wk_cz_card em {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: #7385a0;
}

/* ----- 반응형 ----- */
@media (max-width: 900px) {
  .wk_cz_cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .wk_cz_wrap {
    margin-top: 32px;
  }
  .wk_cz_cards {
    gap: 12px;
  }
  .wk_cz_tab {
    flex: 1 1 auto;
    justify-content: center;
    padding: 14px 12px;
    font-size: 15px;
  }
  .wk_cz_wintitle {
    display: none; /* 좁은 화면에선 가운데 제목 숨김 (좌우 요소만) */
  }
  .wk_cz_mail {
    margin: 14px 14px;
    padding: 20px 18px;
  }
  .wk_cz_card {
    padding: 20px 18px;
  }
  .wk_cz_card b {
    font-size: 15px;
  }
}

/* ==========================================================
   문의(CTA) 섹션 (wk_contact)
   ========================================================== */
.wk_contact {
  /* 그라데이션+노이즈 배경 : 항상 꽉 차게 */
  background: #eaf1fb url("/src/assets/img/wiki/wk_contact_bg.png") center
    center / cover no-repeat;
}
.wk_contact_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 50px 20px 70px; /* 기본 content_area 상하 패딩 축소 */
}
/* 좌측 : 타이틀 + 버튼 */
.wk_ct_info {
  flex: 0 1 auto;
  min-width: 0;
}
.wk_ct_tit {
  margin-top: 20px;
}
.wk_ct_desc {
  margin-top: 16px;
}
/* 글래스 버튼 (프리즘 문의하기 버튼과 동일) */
.wk_ct_btn {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  color: #2c73f8;
  padding: 0.7rem 2.4rem 0.7rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 100%;
  min-width: 198px;
  width: fit-content;
  height: 60px;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 10px 60px 0 rgba(47, 70, 113, 0.171),
    -3px -3px 3px 0 rgba(255, 255, 255, 0.37) inset,
    0 3px 3px 0 rgba(255, 255, 255, 0.79) inset;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: all 0.3s ease-in-out;
}
.wk_ct_btn:hover {
  scale: 1.08;
  box-shadow:
    0 8px 40px 0 rgba(79, 88, 255, 0.421),
    -3px -3px 3px 0 rgba(255, 255, 255, 0.37) inset,
    0 3px 3px 0 rgba(255, 255, 255, 0.79) inset;
}
.wk_ct_btn_ic {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
/* 우측 : 메인 이미지 (웹 기준 700 x 456) */
.wk_ct_visual {
  flex: 0 0 auto;
  width: 700px;
  max-width: 100%;
}
.wk_ct_img {
  display: block;
  width: 100%;
  height: auto;
}

/* ----- 반응형 ----- */
@media (max-width: 1200px) {
  .wk_ct_visual {
    width: 52%;
  }
}
@media (max-width: 900px) {
  .wk_contact_inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .wk_ct_visual {
    width: 100%;
    max-width: 560px;
  }
  .wk_ct_btn {
    /* 가운데 정렬시 버튼도 중앙 */
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 768px) {
  .wk_ct_tit {
    margin-top: 16px;
  }
}
