/* ==========================================================================
   셀러 아카데미 SellerBee — 한국어판 추가 스타일 (kr.css)
   기존 styles.css 뒤에 로드되어 덮어쓰기/추가만 담당
   ========================================================================== */

/* ---------- 한국어 폰트 ---------- */
:root {
  --font-cn: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic",
             "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 赛蜂 로고 마크 (허니컴 이미지) ---------- */
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #0B1F3A;                      /* 로고 아트워크의 다크 배경과 동일 계열 */
  box-shadow: 0 2px 8px rgba(11, 31, 58, 0.22);
  flex-shrink: 0;
  overflow: hidden;
}
.logo-mark img {
  display: block;
  width: 26px;
  height: auto;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}
.logo-text strong {
  font-size: 16.5px;
  line-height: 1.15;
  color: var(--c-primary);
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.logo-text .logo-cn {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Malgun Gothic", sans-serif;
  font-weight: 900;
  font-size: 15.5px;
  letter-spacing: 0.5px;
  margin-right: 3px;
}
.logo-text .logo-cn i {
  font-style: normal;
  color: var(--c-primary);
}
.logo-text .logo-cn b {
  color: #D89B00;                            /* '蜂' 골드 */
}
.logo-text em {
  font-size: 10.5px;
  color: var(--c-text-muted);
  letter-spacing: 0.2px;
  margin-top: 2px;
}

/* ---------- 푸터(다크 배경)용 로고 ---------- */
.footer-logo {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-logo .logo-mark {
  width: 42px;
  height: 42px;
  background: #163866;                       /* 다크 배경 위에서 경계가 보이도록 */
  border: 1px solid rgba(245, 179, 1, 0.35);
  box-shadow: none;
}
.footer-logo .logo-text strong {
  font-size: 18px;
}
.footer-logo .logo-text em {
  font-size: 11px;
}
.footer-logo .logo-text .logo-cn i {
  color: #fff;
}
.footer-logo .logo-text .logo-cn b {
  color: #FFD700;
}
.footer-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.footer-logo .logo-text strong {
  display: block;
  font-size: 20px;
  color: #fff;
  letter-spacing: 1px;
}
.footer-logo .logo-text em {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-style: normal;
  letter-spacing: 1px;
}

/* 푸터 커뮤니티 버튼 */
.footer-community-btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(245, 179, 1, 0.4);
}

/* ---------- 성장 퍼널 ---------- */
.funnel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.funnel-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  transition: all var(--transition);
}
.funnel-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-gold);
}
.funnel-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-gold);
  font-weight: 800;
  font-size: 16px;
  z-index: 2;
}
.funnel-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-gold);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}
.funnel-step h4 {
  font-size: 15px;
  color: var(--c-primary);
  margin-bottom: 6px;
}
.funnel-step p {
  font-size: 13px;
  color: var(--c-text-soft);
  line-height: 1.55;
}
.funnel-step-vip {
  background: linear-gradient(135deg, #FFF8E1 0%, #FFFFFF 100%);
  border-color: var(--c-gold);
}

/* ---------- AI 도구 카드 ---------- */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.ai-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: center;
  transition: all var(--transition);
}
.ai-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-gold);
}
.ai-icon {
  font-size: 34px;
  display: block;
  margin-bottom: 12px;
}
.ai-card h3 {
  font-size: 17px;
  color: var(--c-primary);
  margin-bottom: 8px;
}
.ai-card p {
  font-size: 13.5px;
  color: var(--c-text-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}
.btn-sm {
  font-size: 13px;
  padding: 8px 18px;
}

/* ---------- 멤버십 카드 ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.tier-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.tier-card-hot {
  border: 2px solid var(--c-gold);
  box-shadow: var(--shadow-md);
}
.tier-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #F5B301 0%, #FFD700 100%);
  color: #0B1F3A;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 1px;
}
.tier-card h3 {
  font-size: 18px;
  color: var(--c-primary);
  margin-bottom: 10px;
}
.tier-price {
  font-size: 26px;
  font-weight: 900;
  color: var(--c-primary);
  margin-bottom: 18px;
}
.tier-price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-muted);
}
.tier-features {
  text-align: left;
  margin-bottom: 22px;
  flex: 1;
}
.tier-features li {
  font-size: 13.5px;
  color: var(--c-text-soft);
  padding: 5px 0;
  line-height: 1.5;
}
.tier-card .btn {
  text-decoration: none;
  width: 100%;
  display: inline-block;
}

/* ---------- 모달 select 스타일 (input과 통일) ---------- */
.modal select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  cursor: pointer;
}
.modal select:focus {
  outline: none;
  border-color: var(--c-gold);
}

/* ---------- 히어로 타이틀 (한국어 가독성 최적화) ---------- */
/* 한국어는 중국어보다 글자 폭이 넓어, 기존 clamp(2.5rem,6vw,4.5rem)는 과대.
   크기를 줄이고 어절 단위 줄바꿈(keep-all)으로 '성장하는'이 잘리지 않게 한다. */
.hero-title {
  font-size: clamp(1.25rem, 2.7vw, 2rem);
  line-height: 1.4;
  margin-bottom: 12px;
}
.hero-title-cn {
  display: block;
  max-width: 880px;
  margin: 0 auto;
  letter-spacing: -0.02em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero-title-en {
  font-size: 0.66em;
  letter-spacing: 2px;
  margin-top: 12px;
}
/* 어절 단위로만 줄바꿈되어 '성장하는'이 잘리지 않도록 */
@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(1.15rem, 4.8vw, 1.5rem);
    line-height: 1.45;
  }
  .hero-title-en {
    font-size: 0.72em;
    letter-spacing: 1px;
  }
}

/* ---------- 헤더 내비 : 노트북 해상도(1024~1440)에서도 한 줄 유지 ---------- */
/* 한국어 메뉴 라벨은 중국어보다 넓어 15px/14px 로는 한 줄에 안 들어가고
   '셀러 입/문' 처럼 어절 중간에서 줄바꿈된다.
   → 뷰포트 폭에 따라 폰트·패딩을 연속 스케일 + nowrap 으로 고정. */
.header-inner {
  gap: clamp(8px, 1.2vw, 16px);
}
.nav-main ul {
  gap: clamp(0px, 0.22vw, 4px);
}
.nav-main a {
  white-space: nowrap;                          /* 어절 중간 잘림 방지 */
  font-size: clamp(12px, 1vw, 15px);
  padding: 8px clamp(5px, 0.72vw, 14px);
  letter-spacing: -0.3px;
}
.header-actions {
  gap: clamp(4px, 0.55vw, 8px);
}
.header-actions .btn {
  font-size: clamp(12px, 0.9vw, 14px);
  padding: clamp(7px, 0.8vw, 11px) clamp(10px, 1.15vw, 20px);
  white-space: nowrap;
}
.header-actions .icon-btn {
  width: clamp(34px, 2.9vw, 40px);
  height: clamp(34px, 2.9vw, 40px);
}
.logo-mark {
  width: clamp(36px, 2.9vw, 40px);
  height: clamp(36px, 2.9vw, 40px);
}
.logo-mark img {
  width: clamp(22px, 1.85vw, 26px);
}
.logo-text strong {
  font-size: clamp(15px, 1.18vw, 16.5px);
}
.logo-text .logo-cn {
  font-size: clamp(14px, 1.1vw, 15.5px);
}

@media (max-width: 1180px) {
  .logo-text em { display: none; }              /* 로고 부제 숨겨 폭 확보 */
}
@media (max-width: 1000px) {
  .nav-main { display: none; }
  .menu-btn { display: flex; }
}

/* ---------- 반응형 ---------- */

@media (max-width: 900px) {
  .funnel-step:not(:last-child)::after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: -20px;
    transform: translateX(50%);
  }
  .funnel-grid {
    gap: 26px;
  }
}

/* ---------- 셀러비 프로그램 다운로드 CTA (AI 셀러 도구 섹션 하단) ---------- */
.ai-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #0B1F3A 0%, #163866 60%, #1A3A6B 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.ai-download-txt {
  flex: 1;
  min-width: 260px;
}
.ai-download-txt strong {
  display: block;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.ai-download-txt span {
  display: block;
  font-size: 13.5px;
  line-height: 1.65;
  color: #c6d2e5;
}
.ai-download .btn {
  flex-shrink: 0;
  text-decoration: none;
}
.ai-download .btn-primary {
  background: linear-gradient(135deg, #F5B301 0%, #FFD700 100%);
  color: #0B1F3A;
  border-color: transparent;
  font-weight: 800;
}
.ai-download .btn-primary:hover {
  filter: brightness(1.06);
}

/* ---------- 푸터 하단 CTA 버튼 (프로그램 다운로드 + 셀러커뮤니티) ---------- */
.footer-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 8px;
}
.footer-cta-btn {
  font-size: 14.5px;
  padding: 12px 26px;
  text-decoration: none;
}
.btn-outline-gold {
  background: transparent;
  color: #FFD700;
  border: 2px solid rgba(245, 179, 1, 0.55);
}
.btn-outline-gold:hover {
  background: rgba(245, 179, 1, 0.12);
  border-color: #FFD700;
}

@media (max-width: 640px) {
  .ai-download {
    padding: 22px 20px;
  }
  .ai-download .btn {
    width: 100%;
  }
  .footer-cta-btn {
    width: 100%;
  }
}

/* ---------- 로그인 상태 표시 (헤더 회원 칩) ---------- */
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 4px 6px;
  border-radius: 999px;
  background: #eef2f8;
  border: 1px solid #e0e6ef;
  flex-shrink: 0;
}
.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0B1F3A;
  color: #FFD700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 800;
  flex-shrink: 0;
}
.user-name {
  font-size: 13px;
  font-weight: 700;
  color: #0B1F3A;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-logout {
  border: none;
  background: transparent;
  color: #C62828;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 5px 9px;
  border-radius: 999px;
  font-family: inherit;
  white-space: nowrap;
}
.user-logout:hover {
  background: #fdecea;
}
.user-chip-block {
  width: 100%;
  justify-content: center;
  padding: 8px 10px;
  display: flex;
}
@media (max-width: 1180px) {
  .user-chip .user-name { display: none; }
}

/* ---------- 진단 / 계산기 결과 카드 ---------- */
.diag-result {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md, 12px);
  background: linear-gradient(135deg, #f4f7fb 0%, #eaf0f8 100%);
  border: 1px solid #dbe3ef;
}
.diag-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0B1F3A;
  background: #FFD700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.diag-level {
  font-size: 21px;
  font-weight: 900;
  color: #0B1F3A;
  letter-spacing: -0.4px;
  margin-bottom: 4px;
}
.diag-level .diag-unit {
  font-size: 12px;
  font-weight: 600;
  color: #5b6b82;
  letter-spacing: 0;
}
.diag-goal {
  font-size: 13px;
  color: #163866;
  font-weight: 700;
  margin: 6px 0 8px;
}
.diag-todo {
  margin: 8px 0 0;
  padding-left: 18px;
}
.diag-todo li {
  font-size: 13px;
  line-height: 1.7;
  color: #33465f;
}
.diag-todo li b { color: #0B1F3A; }
.diag-warn { color: #C62828 !important; font-weight: 700; }
.diag-meta {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: #7c8ba1;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  margin-bottom: 12px;
}
.calc-grid label span {
  font-size: 12px;
}
.foot-note {
  margin: 8px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: #7c8ba1;
  text-align: center;
}
@media (max-width: 560px) {
  .calc-grid { grid-template-columns: 1fr; }
  .diag-level { font-size: 18px; }
}

/* ===================== 성장 로드맵 · 채널 실전 카드 = 클릭 가능 ===================== */
.step-card.is-clickable {
  cursor: pointer;
}
.step-card.is-clickable:focus-visible {
  outline: 3px solid rgba(11, 31, 58, 0.35);
  outline-offset: 2px;
}
.step-card.is-clickable::after {
  content: "강좌 보기 →";
  display: block;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #b8860b;
  transition: color var(--transition), transform var(--transition);
}
.step-card.is-clickable:hover::after {
  color: #8a6508;
  transform: translateX(3px);
}
.step-card.is-clickable:hover h3 {
  color: var(--c-blue);
}

/* ===================== 강좌 상세 모달 ===================== */
.modal-box.modal-lesson {
  max-width: 620px;
  padding: 30px 32px 26px;
}
.lesson-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.06);
  border: 1px solid rgba(11, 31, 58, 0.12);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--c-blue);
}
.modal-lesson .modal-title {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.6px;
  word-break: keep-all;
}
.modal-lesson .modal-subtitle {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-text-soft);
  word-break: keep-all;
}
.lesson-block-title {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--c-primary);
}

/* 학습 목표 */
.lesson-goals {
  margin: 18px 0 0;
  padding: 16px 18px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
}
.lesson-goals ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.lesson-goals li {
  position: relative;
  padding-left: 22px;
  margin: 6px 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--c-text);
  word-break: keep-all;
}
.lesson-goals li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  color: var(--c-green);
}

/* 커리큘럼 */
.lesson-curriculum {
  margin: 20px 0 0;
}
.lesson-curriculum-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-primary);
}
.lesson-curriculum-head span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-text-muted);
}
.lesson-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 260px;
  overflow-y: auto;
}
.lesson-list > li {
  border-bottom: 1px solid var(--c-border);
}
.lesson-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 6px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  font-family: inherit;
}
.lesson-item:hover {
  background: rgba(21, 101, 192, 0.06);
}
.lesson-item:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: -2px;
}
.lesson-play {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary);
  color: #fff;
  font-size: 11px;
  padding-left: 2px;
}
.lesson-item:hover .lesson-play {
  background: var(--c-blue);
}
.lesson-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.45;
  word-break: keep-all;
}
.lesson-name em {
  display: inline-block;
  margin-right: 7px;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: var(--c-text-muted);
}
.lesson-meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  white-space: nowrap;
}
.lesson-meta em {
  font-style: normal;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.06);
  color: var(--c-text-soft);
  font-weight: 700;
}
.lesson-meta b {
  color: var(--c-text-muted);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* 하단 액션 */
.lesson-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.lesson-actions .btn {
  flex: 1 1 200px;
  justify-content: center;
}
.modal-lesson .modal-foot {
  margin-top: 14px;
}

@media (max-width: 560px) {
  .modal-box.modal-lesson { padding: 26px 20px 22px; }
  .modal-lesson .modal-title { font-size: 19px; }
  .lesson-list { max-height: 210px; }
  .lesson-meta em { display: none; }
  .lesson-actions .btn { flex: 1 1 100%; }
}

/* ===================== 실전 사례 카드 = 클릭 가능 ===================== */
.practice-card.is-clickable {
  cursor: pointer;
}
.practice-card.is-clickable:focus-visible {
  outline: 3px solid rgba(11, 31, 58, 0.35);
  outline-offset: 2px;
}
.practice-card.is-clickable .practice-meta {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--c-border);
}
.practice-card.is-clickable .practice-meta::after {
  content: " 전문 읽기 →";
  font-weight: 800;
  color: #b8860b;
}
.practice-card.is-clickable:hover .practice-meta::after {
  color: #8a6508;
}

/* ===================== 실전 사례 상세 모달 ===================== */
.modal-box.modal-case {
  max-width: 720px;
  padding: 30px 34px 24px;
}
.case-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(198, 40, 40, 0.08);
  color: var(--c-accent);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
}
.modal-case .modal-title {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -0.7px;
  word-break: keep-all;
}
.case-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text);
  word-break: keep-all;
}
.case-meta {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-text-muted);
}
.case-block-title {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--c-primary);
}

/* 핵심 포인트 */
.case-points {
  margin: 18px 0 0;
  padding: 15px 18px;
  background: #FFFDF3;
  border: 1px solid rgba(184, 134, 11, 0.28);
  border-radius: var(--radius-md);
}
.case-point-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.case-point-list li {
  position: relative;
  padding-left: 20px;
  margin: 7px 0;
  font-size: 13.2px;
  line-height: 1.6;
  color: var(--c-text);
  word-break: keep-all;
}
.case-point-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b8860b;
}

/* 본문 */
.case-body {
  margin-top: 20px;
  max-height: 46vh;
  overflow-y: auto;
  padding-right: 8px;
  border-top: 2px solid var(--c-primary);
}
.case-section {
  padding: 16px 0 4px;
  border-bottom: 1px solid var(--c-border);
}
.case-section:last-child {
  border-bottom: 0;
}
.case-h {
  margin: 0 0 10px;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--c-primary);
  word-break: keep-all;
}
.case-section p {
  margin: 0 0 10px;
  font-size: 13.6px;
  line-height: 1.85;
  color: #333;
  word-break: keep-all;
}

/* 표 */
.case-table-wrap {
  margin: 6px 0 14px;
  overflow-x: auto;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
}
.case-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.8px;
  min-width: 380px;
}
.case-table th {
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 9px 12px;
  white-space: nowrap;
}
.case-table td {
  padding: 9px 12px;
  border-top: 1px solid var(--c-border);
  color: var(--c-text);
  line-height: 1.55;
  word-break: keep-all;
}
.case-table tbody tr:nth-child(even) td {
  background: var(--c-bg-soft);
}
.case-table tbody tr:last-child td {
  font-weight: 800;
  color: var(--c-primary);
}

/* 하단 액션 */
.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.case-actions .btn {
  flex: 1 1 220px;
  justify-content: center;
}
.modal-case .modal-foot {
  margin-top: 14px;
}

@media (max-width: 560px) {
  .modal-box.modal-case { padding: 26px 20px 22px; }
  .modal-case .modal-title { font-size: 19.5px; }
  .case-body { max-height: 52vh; }
  .case-actions .btn { flex: 1 1 100%; }
}

/* ---------- AI 카드 5개 균등 배치 ---------- */
.ai-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1180px) { .ai-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .ai-grid { grid-template-columns: 1fr; } }

/* ---------- AI 체험 탭 모달 ---------- */
.modal-box-wide { max-width: 640px; width: calc(100% - 32px); max-height: 86vh; overflow-y: auto; }
.ai-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 16px; }
.ai-tab {
  border: 1px solid #e2e6ef; background: #fff; color: #4a5568;
  font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: 18px;
  cursor: pointer; font-family: inherit; transition: all .15s; white-space: nowrap;
}
.ai-tab:hover { border-color: #3b6cf6; color: #3b6cf6; }
.ai-tab.on { background: #3b6cf6; border-color: #3b6cf6; color: #fff; }
.ai-pane { animation: aiFade .2s ease; }
@keyframes aiFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ai-out {
  margin-top: 12px; padding: 14px 16px;
  background: #fafbfe; border: 1px solid #eef0f6; border-radius: 10px;
  font-size: 12.5px; line-height: 1.8; color: #3a4358; word-break: keep-all;
}
.ai-out h4 { font-size: 12.5px; font-weight: 800; color: #17223b; margin: 12px 0 4px; }
.ai-out h4:first-child { margin-top: 0; }
.ai-out ul, .ai-out ol { margin: 4px 0 4px 16px; }
.ai-out li { margin-bottom: 6px; }
.ai-hl { font-size: 15px; font-weight: 800; color: #3b6cf6; margin: 4px 0 6px; }
.ai-note { font-size: 11px; color: #8a93a6; line-height: 1.7; margin: 6px 0 0; }
.ai-mt { margin-top: 10px; }
.ai-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.ai-table th, .ai-table td { padding: 7px 6px; border-bottom: 1px solid #eef0f6; text-align: left; }
.ai-table th { font-weight: 700; color: #6b7280; font-size: 11px; }
.ai-good { color: #0f9d58; font-weight: 700; }
.ai-mid { color: #d98e04; font-weight: 700; }
.ai-bad { color: #e0356b; font-weight: 700; }
.ai-steps { margin: 0 0 12px 18px; font-size: 12.5px; line-height: 1.85; color: #3a4358; }
.ai-steps li { margin-bottom: 8px; word-break: keep-all; }
.ai-list { margin-left: 16px; }
.ai-list > li { margin-bottom: 10px; }

/* ---------- 1000만 셀러 프로젝트 섹션 ---------- */
.p100-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 0 0 44px;
}
.p100-stats > div {
  background: #fff; border: 1px solid var(--c-border, #e5e8f0);
  border-radius: 16px; padding: 22px 18px; text-align: center;
}
.p100-stats b {
  display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 800;
  color: #3b6cf6; line-height: 1.15; letter-spacing: -1px;
}
.p100-stats b small { font-size: 15px; font-weight: 700; margin-left: 1px; }
.p100-stats span { display: block; margin-top: 7px; font-size: 12.5px; color: #6b7280; word-break: keep-all; }

.p100-h3 {
  font-size: 15px; font-weight: 800; color: #17223b;
  margin: 0 0 14px; text-align: center;
}

.p100-flow {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  margin-bottom: 40px;
}
.p100-step {
  background: #fff; border: 1px solid var(--c-border, #e5e8f0);
  border-radius: 14px; padding: 18px 16px; position: relative;
}
.p100-step-goal { background: linear-gradient(135deg, #f2f6ff, #eaf1ff); border-color: #cfe0ff; }
.p100-num {
  display: inline-block; font-size: 11px; font-weight: 800; color: #3b6cf6;
  background: #eef2ff; padding: 3px 8px; border-radius: 8px; margin-bottom: 10px;
}
.p100-step h4 { font-size: 13.5px; font-weight: 800; color: #17223b; margin: 0 0 7px; }
.p100-step p { font-size: 12px; line-height: 1.7; color: #6b7280; margin: 0; word-break: keep-all; }

.p100-kpi {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--c-border, #e5e8f0); border-radius: 14px;
  overflow: hidden; background: #fff;
}
.p100-kpi > div { padding: 18px 12px; text-align: center; border-right: 1px solid #eef0f6; }
.p100-kpi > div:last-child { border-right: none; background: #f7faff; }
.p100-kpi b { display: block; font-size: 15px; font-weight: 800; color: #17223b; }
.p100-kpi span { display: block; margin-top: 4px; font-size: 12px; color: #6b7280; }
.p100-caution {
  margin: 12px 0 44px; font-size: 11.5px; line-height: 1.7;
  color: #9aa1b0; text-align: center; word-break: keep-all;
}

/* 신청 폼 */
.p100-apply {
  max-width: 720px; margin: 0 auto; background: #fff;
  border: 1px solid var(--c-border, #e5e8f0); border-radius: 18px;
  padding: 30px 28px; box-shadow: 0 4px 18px rgba(23,34,59,.04);
}
.p100-apply-head { text-align: center; margin-bottom: 22px; }
.p100-apply-head h3 { font-size: 19px; font-weight: 800; color: #17223b; margin: 0 0 7px; }
.p100-apply-head p { font-size: 12.5px; color: #6b7280; margin: 0; }
.p100-apply-head strong { color: #3b6cf6; }

.p100-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.p100-field { display: flex; flex-direction: column; gap: 6px; }
.p100-field-full { grid-column: 1 / -1; }
.p100-field label { font-size: 12.5px; font-weight: 700; color: #3a4358; }
.p100-field label em { color: #e0356b; font-style: normal; }
.p100-field label span { font-weight: 400; color: #9aa1b0; font-size: 11px; }
.p100-field input, .p100-field select, .p100-field textarea {
  border: 1px solid #e2e6ef; border-radius: 10px; padding: 10px 12px;
  font-size: 13.5px; font-family: inherit; color: #17223b; background: #fff;
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
.p100-field input:focus, .p100-field select:focus, .p100-field textarea:focus {
  outline: none; border-color: #3b6cf6; box-shadow: 0 0 0 3px rgba(59,108,246,.12);
}
.p100-field textarea { resize: vertical; line-height: 1.6; }
.p100-hp { position: absolute; left: -9999px; }
.p100-agree {
  grid-column: 1 / -1; display: flex; gap: 8px; align-items: flex-start;
  font-size: 11.5px; line-height: 1.6; color: #6b7280; word-break: keep-all;
}
.p100-agree input { margin-top: 2px; flex: 0 0 auto; }
.p100-submit { grid-column: 1 / -1; margin-top: 2px; }
.p100-result {
  margin-top: 16px; padding: 18px; border-radius: 12px;
  font-size: 13px; line-height: 1.8; text-align: center; word-break: keep-all;
}
.p100-result.ok { background: #eefbf3; border: 1px solid #c9efd8; color: #0d7a45; }
.p100-result.err { background: #fff2f6; border: 1px solid #ffd3e0; color: #c22a5c; }
.p100-small { font-size: 11.5px; color: #7c8ba1; }
.p100-meta { margin: 14px 0 0; font-size: 11px; color: #9aa1b0; text-align: center; word-break: keep-all; }

@media (max-width: 900px) {
  .p100-flow { grid-template-columns: repeat(2, 1fr); }
  .p100-stats { grid-template-columns: repeat(2, 1fr); }
  .p100-kpi { grid-template-columns: repeat(2, 1fr); }
  .p100-kpi > div:nth-child(2) { border-right: none; }
  .p100-kpi > div:nth-child(-n+2) { border-bottom: 1px solid #eef0f6; }
}
@media (max-width: 560px) {
  .p100-flow { grid-template-columns: 1fr; }
  .p100-form { grid-template-columns: 1fr; }
  .p100-apply { padding: 22px 18px; }
}
