/* ============ edibooks extras — stats / clients / reviews / pricing ============ */

/* ---- 실적 지표 + 킬링 카피 ---- */
.stats-section {
  background-color: var(--c-bg) !important;
}
.stats-inner { display: flex; flex-direction: column; gap: 3.5rem; padding: 6.5rem 0 4.0rem; }
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 8.5rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.stat {
  flex: 1;
  min-width: 200px;
  padding: 2rem 1rem;
  background-color: transparent;
  border: none;
  text-align: center;
  transition: all 0.3s ease;
}
.stat-num {
  font-family: var(--ff);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--c-ink) !important;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), text-shadow 0.3s ease;
  display: inline-block;
}
.stat:hover .stat-num {
  transform: translateY(-4px);
  text-shadow: 0 8px 16px rgba(44, 45, 47, 0.1);
}
.stat-label {
  margin-top: .8rem;
  font-size: var(--fs-regular);
  color: var(--c-ink) !important;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.stat:hover .stat-label {
  opacity: 0.95;
}
.stats-copy { display: flex; flex-direction: column; gap: 2.25rem; align-items: flex-start; width: 100%; max-width: 58rem; margin: 0 auto; }
.stats-headline { font-size: 2.25rem; font-weight: 700; line-height: 1.45; color: var(--c-ink); }
.stats-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.stats-btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  background-color: var(--c-black-bar);
  color: var(--c-off-white);
  font-size: var(--fs-small);
  font-weight: 600;
  border-radius: 4px;
}

/* ---- 작업 고객사 ---- */
.clients-section {
  position: relative;
  overflow: hidden;
}
.clients-inner { display: flex; flex-direction: column; align-items: center; gap: 6rem; padding: 7.5rem 0; position: relative; z-index: 2; }
.clients-header { text-align: center; }
.clients-title { font-size: 1.5rem; font-weight: 700; }
.clients-sub { margin-top: 2.5rem; font-size: 1.25rem; opacity: .9; letter-spacing: -.02em; line-height: 1.8; color: var(--c-ink); }
.clients-sub-bold { font-size: 1.75rem; font-weight: 800; color: #0c0d0f; display: inline-block; margin-bottom: 0.8rem; }
.clients-sub-trigger { font-weight: 700; text-decoration: underline; text-underline-offset: 6px; cursor: pointer; color: var(--c-ink); transition: opacity 0.2s ease, transform 0.2s ease; display: inline-block; }
.clients-sub-trigger:hover { opacity: 0.7; transform: translateY(-1px); }
.clients-bg-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.85;
  z-index: 1;
}
.clients-glow-1 {
  width: 45rem;
  height: 25rem;
  background: radial-gradient(circle, rgba(122, 0, 255, 0.12) 0%, rgba(255, 51, 102, 0.05) 60%, rgba(255,255,255,0) 100%);
  top: 10%;
  left: -10%;
  animation: driftGlow1 22s ease-in-out infinite alternate;
}
.clients-glow-2 {
  width: 35rem;
  height: 35rem;
  background: radial-gradient(circle, rgba(0, 150, 255, 0.1) 0%, rgba(255, 51, 102, 0.06) 50%, rgba(255,255,255,0) 100%);
  bottom: -10%;
  right: -5%;
  animation: driftGlow2 28s ease-in-out infinite alternate;
}
.clients-bg-waves {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.95;
  z-index: 1;
  animation: waveFloat 10s ease-in-out infinite alternate;
}
.clients-bg-waves svg {
  width: 100%;
  height: auto;
}

@keyframes driftGlow1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 70px) scale(1.1); }
  100% { transform: translate(-45px, 120px) scale(0.9); }
}
@keyframes driftGlow2 {
  0% { transform: translate(0, 0) scale(0.95); }
  50% { transform: translate(-90px, -60px) scale(1.05); }
  100% { transform: translate(60px, -110px) scale(1); }
}
@keyframes waveFloat {
  0% { transform: translateY(-50%) scaleY(1) skewX(0deg); }
  50% { transform: translateY(-48%) scaleY(1.05) skewX(1deg); }
  100% { transform: translateY(-52%) scaleY(0.95) skewX(-1deg); }
}
.clients-marquee {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
  overflow: visible;
  width: 100%;
  user-select: none;
  position: relative;
}
.clients-marquee-row {
  display: flex;
  gap: 12rem;
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 12rem;
  padding: 1rem 0;
  flex-shrink: 0;
}
.clients-marquee-row-1 .marquee-track,
.clients-marquee-row-3 .marquee-track {
  animation: logoMarqueeLeft 28s linear infinite;
}
.clients-marquee-row-2 .marquee-track.marquee-track-reverse {
  animation: logoMarqueeRight 28s linear infinite;
}
.clients-marquee .marquee-track img { height: 2.6rem; width: auto; max-width: 11rem; object-fit: contain; opacity: .85; }
.clients-marquee .marquee-track img.tall { height: 4rem; }

@keyframes logoMarqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% - 12rem)); }
}
@keyframes logoMarqueeRight {
  0% { transform: translateX(calc(-100% - 12rem)); }
  100% { transform: translateX(0); }
}

/* ---- 진솔한 고객 후기 ---- */
.reviews-inner { display: flex; flex-direction: column; gap: 4.5rem; padding: 7.5rem 0; }
.reviews-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.reviews-label { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem; font-size: var(--fs-tiny); letter-spacing: var(--ls-tiny); font-weight: 700; opacity: .6; }
.reviews-label::before { content: ""; display: block; width: 2.6rem; height: 1px; background-color: var(--c-ink); }
.reviews-note { max-width: 30rem; font-size: var(--fs-regular); line-height: 1.6; color: #000000; opacity: 1; }
.reviews-marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
  gap: 2.5rem;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y; /* 세로 스크롤은 페이지에, 가로 드래그는 마퀴가 처리 */
}
.reviews-marquee.is-dragging { cursor: grabbing; }
.reviews-marquee .marquee-track {
  display: flex;
  align-items: stretch; /* 모든 카드를 가장 큰 카드 높이로 통일 */
  gap: 2.5rem;
  padding: 1rem 0;
  flex-shrink: 0;
  will-change: transform;
}
.reviews-marquee .review-card {
  width: 880px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  flex-shrink: 0;
}
/* 모든 카드에서 별점 헤더는 맨 위, 회색 답글 박스는 맨 아래 같은 자리에 고정 */
.reviews-marquee .rv-reply { margin-top: auto; }
.reviews-marquee img { -webkit-user-drag: none; }
.review-card {
  background-color: var(--c-white);
  border-radius: var(--r-card);
  padding: 2.4rem 2.8rem;
  border: 1px solid rgba(44,45,47,.08);
}
/* ---- 크몽 실시간 후기 카드 ---- */
.rv-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.3rem; }
.rv-ava { width: 3.25rem; height: 3.25rem; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.rv-toprow { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.rv-stars { color: #ffce21; font-size: 1.2rem; line-height: 1; letter-spacing: .08em; }
.rv-score { font-size: 1.05rem; font-weight: 800; color: var(--c-ink); }
.rv-date { font-size: .85rem; color: #9b9ba3; font-weight: 400; white-space: nowrap; }
.rv-user { margin-top: .35rem; font-size: .85rem; color: #75757d; }
.rv-msg { margin: 0 0 1.2rem; white-space: pre-line; font-size: .98rem; line-height: 1.65; color: #2c2d2f; word-break: keep-all; }
.rv-meta { margin: 0 0 1.5rem; font-size: .88rem; color: #9b9ba3; }
.rv-reply { background: #f6f7f9; border-radius: .7rem; padding: 1.3rem 1.5rem; }
.rv-reply-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; font-size: .92rem; color: var(--c-ink); }
.rv-reply-msg { margin: 0; white-space: pre-line; font-size: .92rem; line-height: 1.6; color: #4c4d52; word-break: keep-all; }

/* ---- 작업 비용 안내 ---- */
.pricing-inner { display: flex; flex-direction: column; align-items: center; gap: 4.5rem; padding: 7.5rem 0; }
.pricing-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
}
.pricing-sub { font-size: var(--fs-medium); line-height: 1.85; opacity: .65; margin: 0; }
.pricing-kakao {
  display: inline-block;
  padding: 1.25rem 3.5rem;
  background: linear-gradient(90deg, #0a0a0a 0%, #444444 50%, #0a0a0a 100%);
  background-size: 200% auto;
  color: var(--c-white) !important;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  animation: worksShimmer 2.5s linear infinite, worksFloat 3s ease-in-out infinite;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  border-bottom: none;
}
.pricing-kakao:hover {
  opacity: 0.95;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; width: 100%; max-width: 72rem; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: 2.5rem 2.1rem;
  background-color: var(--c-white);
  border-radius: 14px;
  border: 1px solid rgba(44,45,47,.08);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(44, 45, 47, 0.08);
  border-color: rgba(44, 45, 47, 0.2);
}
.price-card.is-best { outline: 2px solid var(--c-ink); }
.price-card.is-best:hover {
  box-shadow: 0 24px 48px rgba(44, 45, 47, 0.12);
}
.price-best-badge {
  position: absolute;
  top: -.85rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .32rem .9rem;
  border-radius: 999px;
  background-color: var(--c-black-bar);
  color: var(--c-off-white);
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: .08em;
}
.price-name { font-size: 1.25rem; font-weight: 700; }
.price-desc { font-size: var(--fs-small); line-height: 1.55; opacity: .6; min-height: 2.7em; }
.price-amount { font-size: 2.7rem; font-weight: 800; letter-spacing: -.02em; border-top: 1px solid rgba(44,45,47,.1); padding-top: 1.4rem; }
.price-amount .won { font-size: 1.5rem; font-weight: 600; margin-right: .3rem; opacity: .7; }
.price-amount .per { font-size: .95rem; font-weight: 500; opacity: .5; margin-left: .35rem; }
.price-cta {
  display: block;
  text-align: center;
  padding: .75rem;
  border: 1px solid rgba(44,45,47,.3);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 600;
  transition: all 0.3s ease;
}
.price-card:hover .price-cta {
  background-color: var(--c-ink);
  color: var(--c-white);
  border-color: var(--c-ink);
}
.price-cta:hover {
  opacity: 0.9;
}
.price-features { display: flex; flex-direction: column; gap: .65rem; border-top: 1px solid rgba(44,45,47,.08); padding-top: 1.4rem; }
.price-features .feat { display: flex; gap: .6rem; font-size: var(--fs-small); line-height: 1.4; }
.price-features .feat::before { content: "✓"; font-weight: 700; opacity: .55; }

/* ---- 공용: 섹션 라벨 + 중간 헤딩 ---- */
.section-label { font-size: var(--fs-tiny); letter-spacing: .14em; font-weight: 700; opacity: .45; text-transform: uppercase; }
.h-mid { font-size: 2.5rem; font-weight: 700; line-height: 1.35; color: var(--c-ink); }
.services-sub { margin-top: 1.25rem; font-size: var(--fs-regular); line-height: 1.6; opacity: .6; }

/* ---- 안전정책 ---- */
.safety-inner { display: flex; flex-direction: column; align-items: center; gap: 6rem; padding: 7.5rem 0; }
.safety-header { display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
.safety-desc { font-size: var(--fs-regular); line-height: 1.8; opacity: .6; }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; width: 100%; max-width: 78rem; }
@keyframes worksShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes worksFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.safety-card {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 2.25rem 1.75rem;
  background-color: var(--c-near-white);
  border-radius: 12px;
  text-align: center;
  align-items: center;
  border: 1px solid rgba(44, 45, 47, .06);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s ease, background 0.4s ease, color 0.3s ease;
}
.safety-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
  border-color: #0a0a0a;
  background: linear-gradient(90deg, #0a0a0a 0%, #444444 50%, #0a0a0a 100%);
  background-size: 200% auto;
  animation: worksShimmer 2.5s linear infinite;
  color: var(--c-white);
}
.safety-card:hover .safety-card-desc {
  color: var(--c-white);
  opacity: 0.85;
}
.safety-card-title { font-size: 1.1rem; font-weight: 700; }
.safety-card-desc { font-size: var(--fs-small); line-height: 1.6; opacity: .6; transition: color 0.3s ease, opacity 0.3s ease; }

/* ---- 프로세스 ---- */
.process-inner { display: flex; flex-direction: column; gap: 4.5rem; padding: 7.5rem 0; max-width: 78rem; margin: 0 auto; }
.process-header { display: flex; flex-direction: column; gap: 2rem; }
.process-list { display: flex; flex-direction: column; }
.process-row {
  display: grid;
  grid-template-columns: 6rem 9rem 1fr;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.9rem 0;
  border-top: 1px solid rgba(44, 45, 47, .12);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding-left 0.3s ease, border-top-color 0.3s ease;
}
.process-row:hover {
  transform: translateX(12px);
  padding-left: 8px;
  border-top-color: rgba(44, 45, 47, 0.25);
}
.process-row:hover .process-num {
  opacity: 0.45;
  color: var(--c-ink);
}
.process-row:hover .process-desc {
  opacity: 0.9;
}
.process-row:last-child { border-bottom: 1px solid rgba(44, 45, 47, .12); transition: border-bottom-color 0.3s ease; }
.process-row:last-child:hover { border-bottom-color: rgba(44, 45, 47, 0.25); }
.process-num { font-size: 2.25rem; font-weight: 800; opacity: .15; line-height: 1; transition: opacity 0.3s ease, color 0.3s ease; }
.process-title { font-size: 1.25rem; font-weight: 700; }
.process-desc { font-size: var(--fs-regular); line-height: 1.65; opacity: .6; transition: opacity 0.3s ease; }

/* ---- Brand entity / selection criteria (home-only SEO/AEO/GEO block) ---- */
.entity-section {
  background: #f7f7f3;
  border-top: 1px solid rgba(44, 45, 47, .06);
  border-bottom: 1px solid rgba(44, 45, 47, .06);
}
.entity-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  padding: 6.5rem 0;
  align-items: start;
}
.entity-copy { display: flex; flex-direction: column; gap: 1.2rem; }
.entity-lead {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.85;
  color: rgba(44,45,47,.72);
  font-weight: 600;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.entity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}
.entity-card,
.entity-proof > div {
  border: 1px solid rgba(44,45,47,.08);
  border-radius: 1rem;
  background: rgba(255,255,255,.74);
  box-shadow: 0 12px 30px rgba(44,45,47,.035);
}
.entity-card {
  min-height: 9rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
}
.entity-card strong,
.entity-proof b {
  display: block;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--c-ink);
  font-weight: 800;
}
.entity-card span,
.entity-proof span {
  display: block;
  font-size: .9rem;
  line-height: 1.65;
  color: rgba(44,45,47,.62);
  font-weight: 600;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.entity-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}
.entity-proof > div {
  padding: 1.15rem 1.25rem;
}

/* ---- FAQ ---- */
.faq-inner { display: flex; flex-direction: column; gap: 4.5rem; padding: 7.5rem 0; max-width: 78rem; margin: 0 auto; }
.faq-header { display: flex; flex-direction: column; gap: 2rem; }
.faq-list { display: flex; flex-direction: column; }

/* FAQ Tabs */
.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid rgba(44, 45, 47, 0.08);
  padding-bottom: 1rem;
  width: 100%;
}
.faq-tab-btn {
  font-size: 1.25rem;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  color: #888 !important;
  position: relative;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}
.faq-tab-btn::after {
  content: "";
  position: absolute;
  bottom: -1.05rem;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--c-ink);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.faq-tabs .faq-tab-btn.active {
  color: var(--c-ink) !important;
}
.faq-tabs .faq-tab-btn.active::after {
  transform: scaleX(1) !important;
}

.faq-item.hidden {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .faq-tabs { gap: 1.5rem; margin-bottom: 2.5rem; }
  .faq-tab-btn { font-size: 1.05rem; padding: 0.5rem 0.5rem; }
}

.faq-item {
  border-top: 1px solid rgba(44, 45, 47, .12);
  transition: background-color 0.3s ease;
}
.faq-item:last-child { border-bottom: 1px solid rgba(44, 45, 47, .12); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: padding-left 0.3s ease, color 0.3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 300;
  opacity: .4;
  flex: none;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
}
.faq-item:hover {
  background-color: rgba(44, 45, 47, 0.015);
}
.faq-item:hover summary {
  padding-left: 1.5rem;
  color: var(--c-ink);
}
.faq-item:hover summary::after {
  opacity: 0.8;
}
.faq-item[open] summary::after {
  transform: rotate(135deg);
  opacity: 0.8;
}
.faq-a {
  padding: 0 2.5rem 1.75rem 1.5rem;
  font-size: var(--fs-regular);
  line-height: 1.75;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.faq-item[open] .faq-a {
  opacity: 0.65;
  transform: translateY(0);
}

@media screen and (max-width: 991px) {
  .entity-inner { grid-template-columns: 1fr; gap: 2.25rem; padding: 5.5rem 0; }
  .stats-grid { gap: 3.5rem; }
  .stat-num { font-size: 3.25rem; }
  .stats-headline { font-size: 1.75rem; }
  .clients-grid { gap: 2.5rem 3rem; }
  .clients-grid img { height: 2.1rem; max-width: 9rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 30rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-marquee .review-card { width: 80vw; }
  .safety-grid { grid-template-columns: 1fr 1fr; }
  .h-mid { font-size: 1.9rem; }
  .process-row { grid-template-columns: 4rem 1fr; }
  .process-desc { grid-column: 1 / 3; }
}
@media screen and (max-width: 479px) {
  .entity-inner { padding: 4.5rem 0; }
  .entity-grid, .entity-proof { grid-template-columns: 1fr; }
  .entity-card { min-height: auto; }
  .stat-num { font-size: 2.75rem; }
  .stats-headline { font-size: 1.4rem; }
  .stats-btn { width: 100%; text-align: center; }
  .safety-grid { grid-template-columns: 1fr; }
  .reviews-marquee .review-card { width: 90vw; }
}

/* ============ Deck Viewer (대표 작업 슬라이드 모음집) ============ */
.works-swiper .square-cards { cursor: pointer; } /* href 없는 카드도 클릭 가능 표시 */
.deck-modal { position: fixed; inset: 0; z-index: 10000; display: none; }
.deck-modal.is-open { display: block; }
.deck-modal-overlay { position: absolute; inset: 0; background: rgba(17, 17, 19, .62); }
.deck-modal-panel {
  position: absolute; top: 3vh; left: 50%; transform: translateX(-50%);
  width: min(1080px, 94vw); height: 94vh;
  background: #fff; border-radius: 1rem; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.deck-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.6rem; border-bottom: 1px solid rgba(44, 45, 47, .08); }
.deck-modal-title { font-size: 1.05rem; font-weight: 800; color: var(--c-ink); letter-spacing: -.01em; }
.deck-modal-count { font-size: .85rem; color: #9b9ba3; margin-left: .6rem; font-weight: 500; }
.deck-modal-close { width: 2.4rem; height: 2.4rem; border: 0; background: #f3f4f6; border-radius: 50%; font-size: 1.3rem; line-height: 1; cursor: pointer; color: #111; flex-shrink: 0; }
.deck-modal-close:hover { background: #e5e7eb; }
.deck-modal-body { flex: 1; overflow-y: auto; padding: 1.6rem; background: #f3f4f6; -webkit-overflow-scrolling: touch; }
.deck-modal-body img { display: block; width: 100%; height: auto; border-radius: .5rem; box-shadow: 0 2px 10px rgba(0, 0, 0, .07); }
.deck-modal-body img + img { margin-top: 1.2rem; }
.deck-modal-note { text-align: center; font-size: .8rem; color: #9b9ba3; margin: 0 0 1.2rem; }
@media screen and (max-width: 767px) {
  .deck-modal-panel { width: 96vw; top: 2vh; height: 96vh; }
  .deck-modal-body { padding: 1rem; }
}

/* ============ Industry Modal (전 업종 진행 팝업) ============ */
.industry-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.industry-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.industry-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 11, 14, 0.55);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}
.industry-modal-container {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 1100px;
  max-height: 85vh;
  background: #ffffff;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
  padding: 3.5rem;
  overflow-y: auto;
  transform: scale(0.92) translateY(10px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}
.industry-modal.is-open .industry-modal-container {
  transform: scale(1) translateY(0);
}
.industry-modal-close {
  position: absolute;
  top: 2rem;
  right: 2.2rem;
  background: none;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  color: #000000;
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.industry-modal-close:hover {
  opacity: 0.9;
  transform: scale(1.1);
}
.industry-modal-header {
  text-align: center;
  margin-bottom: 2rem;
}
.industry-modal-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0c0d0f;
  letter-spacing: -.03em;
  margin-bottom: 0.75rem;
}
.industry-modal-subtitle {
  font-size: 1.125rem;
  color: #4b5563;
  letter-spacing: -.02em;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* 검색창 스타일 */
.industry-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 580px;
  margin: 1.5rem auto 3rem auto;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 0.2rem 1.2rem;
  transition: all 0.3s ease;
}
.industry-search-wrap:focus-within {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.industry-search-icon {
  font-size: 1.15rem;
  opacity: 0.4;
  margin-right: 0.75rem;
  user-select: none;
}
#industrySearchInput {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.75rem 0;
  font-size: 1rem;
  outline: none;
  color: #1f2937;
  font-family: inherit;
}
#industrySearchClear {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.3rem;
  line-height: 1;
  display: none;
  transition: color 0.2s;
}
#industrySearchClear:hover {
  color: #4b5563;
}

/* 아코디언 그리드 리스트 (박스 및 이모티콘 완벽 제거) */
.industry-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  padding: 0.5rem;
}
.industry-accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 1.5rem;
  transition: border-color 0.3s;
}
.industry-accordion-item:hover {
  border-color: rgba(0, 0, 0, 0.12);
}
.industry-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 0;
  user-select: none;
}
.accordion-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  transition: color 0.2s ease;
}
.industry-accordion-item:hover .accordion-title {
  color: #000000;
}
.accordion-arrow {
  position: relative;
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.accordion-arrow::after {
  content: "▼";
  font-size: 0.7rem;
  color: #9ca3af;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
}
.industry-accordion-item.is-open .accordion-arrow::after {
  transform: rotate(-180deg);
  color: #111827;
}

.industry-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.industry-accordion-item.is-open .industry-accordion-content {
  max-height: 4000px;
}

.industry-card-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.industry-card-list li {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.45;
  letter-spacing: -.01em;
  position: relative;
  padding-left: 1rem;
}
.industry-card-list li::before {
  content: "•";
  position: absolute;
  left: 0.1rem;
  color: #cbd5e1;
  font-size: 1rem;
}

@media screen and (max-width: 991px) {
  .industry-modal-container {
    padding: 2.5rem 2rem;
    max-height: 90vh;
  }
  .industry-modal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
  }
  .industry-modal-title {
    font-size: 1.75rem;
  }
  .industry-modal-subtitle {
    font-size: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .industry-modal-container {
    padding: 2rem 1.25rem;
    border-radius: 24px;
  }
  .industry-modal-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .industry-modal-title {
    font-size: 1.5rem;
  }
  .industry-modal-subtitle {
    font-size: 0.875rem;
  }
}


