/* ========================================
   가격 비교 박스 (BTV POP vs 타사)
   - 단색만 사용 (그라데이션 X)
   - 챗봇 톤 (#3617ce 보라) 일관성
   - 모바일 우선 검수
   2026-05-16 신규
   ======================================== */

.price-truth-section {
  background: #ffffff;
  padding: 60px 16px;
  font-family: "Noto Sans KR", -apple-system, sans-serif;
  color: #1a1a2e;
}

.price-truth-container {
  max-width: 740px;
  margin: 0 auto;
}

/* 데스크탑에서 표 컴팩트하게 (모바일은 기존 유지) */
@media (min-width: 769px) {
  .price-truth-table {
    font-size: 0.76rem;
  }
  .price-truth-table thead th {
    padding: 6px 8px;
  }
  .price-truth-table tbody th {
    padding: 5px 8px;
    font-size: 0.72rem;
  }
  .price-truth-table tbody td {
    padding: 5px 8px;
  }
  .price-truth-row-real td {
    font-size: 0.82rem;
  }
  .price-truth-row-real td strong {
    font-size: 0.96rem;
  }
}

/* ── 메인 헤딩 ───────────────────────── */
.price-truth-title {
  font-size: var(--fs-section-title);
  font-weight: 800;
  text-align: center;
  line-height: 1.5;
  margin: 0 0 12px;
  color: #1a1a2e;
  word-break: keep-all;
}

.price-truth-old {
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 700;
}

.price-truth-arrow {
  display: inline-block;
  margin: 0 6px;
  color: #6b7280;
  font-weight: 400;
}

.price-truth-new {
  color: #3617ce;
  font-weight: 800;
}

.price-truth-subtitle {
  font-size: var(--fs-section-subtitle);
  font-weight: 500;
  text-align: center;
  color: #4b5563;
  margin: 0 0 36px;
  line-height: 1.6;
  word-break: keep-all;
}

.price-truth-subtitle strong {
  color: #3617ce;
  font-weight: 800;
}

/* ── 메인 비교 표 ────────────────────── */
.price-truth-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 24px;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.price-truth-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 0.95rem;
}

.price-truth-caption {
  caption-side: bottom;
  font-size: 0.78rem;
  color: #9ca3af;
  text-align: left;
  padding: 10px 14px;
  background: #fafafa;
  border-top: 1px solid #f3f4f6;
}

.price-truth-table thead th {
  background: #f5f3ff;
  font-weight: 700;
  padding: 14px 12px;
  text-align: center;
  color: #1a1a2e;
  border-bottom: 2px solid #e5e7eb;
}

.price-truth-table thead th:first-child {
  background: #f9fafb;
  text-align: left;
}

.price-truth-col-pop {
  color: #3617ce !important;
}

.price-truth-col-other {
  color: #6b7280 !important;
}

.price-truth-table tbody th {
  text-align: left;
  font-weight: 600;
  padding: 12px 14px;
  background: #fafafa;
  color: #4b5563;
  font-size: 0.9rem;
  border-bottom: 1px solid #f3f4f6;
}

.price-truth-table tbody td {
  text-align: center;
  padding: 12px 14px;
  border-bottom: 1px solid #f3f4f6;
  color: #1a1a2e;
}

.price-truth-table tbody tr:last-child th,
.price-truth-table tbody tr:last-child td {
  border-bottom: none;
}

.price-truth-row-price td,
.price-truth-row-price th {
  background: #fffaf0;
}

.price-truth-row-real td,
.price-truth-row-real th {
  background: #f5f3ff;
  font-size: 1rem;
}

.price-truth-row-real td strong {
  font-size: 1.2rem;
}

.price-truth-row-total td,
.price-truth-row-total th {
  background: #f9fafb;
  font-weight: 700;
}

.price-truth-highlight {
  color: #3617ce;
  font-weight: 800;
}

/* ── 핵심 요약 박스 ───────────────────── */
.price-truth-summary {
  display: flex;
  gap: 12px;
  margin: 0 0 28px;
  flex-wrap: wrap;
}

.price-truth-summary-item {
  flex: 1;
  min-width: 140px;
  background: #3617ce;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(54, 23, 206, 0.18);
}

.price-truth-summary-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 2px;
}

.price-truth-summary-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* ── 정직성 안내 ──────────────────────── */
.price-truth-honest-note {
  font-size: 0.86rem;
  color: #6b7280;
  background: #f9fafb;
  border-left: 3px solid #d1d5db;
  padding: 14px 18px;
  margin: 0 0 28px;
  line-height: 1.7;
  border-radius: 0 8px 8px 0;
  word-break: keep-all;
}

.price-truth-honest-note strong {
  color: #1a1a2e;
  font-weight: 700;
}

/* ── 결합 옵션 박스 ───────────────────── */
.price-truth-combine-box {
  background: #f5f3ff;
  border: 1px solid #e9e5ff;
  border-radius: 14px;
  padding: 24px 22px;
  margin: 0 0 28px;
}

.price-truth-combine-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3617ce;
  margin: 0 0 14px;
}

.price-truth-combine-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.price-truth-combine-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 8px;
  border: 1px solid #efebff;
}

.price-truth-combine-list li:last-child {
  margin-bottom: 0;
}

.price-truth-combine-label {
  font-weight: 600;
  color: #1a1a2e;
  font-size: 0.92rem;
}

.price-truth-combine-value {
  font-size: 0.92rem;
  color: #4b5563;
}

.price-truth-combine-value strong {
  color: #3617ce;
  font-weight: 800;
  font-size: 1.05rem;
}

.price-truth-combine-note {
  font-size: 0.83rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
  word-break: keep-all;
}

.price-truth-combine-note strong {
  color: #3617ce;
  font-weight: 700;
}

/* ── 정책 차별 리스트 ─────────────────── */
.price-truth-policy-list {
  list-style: none;
  padding: 22px 24px;
  margin: 0 0 28px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 24px;
}

.price-truth-policy-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #1a1a2e;
  font-weight: 500;
}

.price-truth-policy-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── 500M·1G 간단 비교 ────────────────── */
.price-truth-speed-extra {
  background: #fafafa;
  border-radius: 14px;
  padding: 24px 22px;
  margin: 0 0 28px;
}

.price-truth-speed-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 14px;
  text-align: center;
}

.price-truth-speed-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.price-truth-speed-table thead th {
  background: #f3f4f6;
  font-weight: 700;
  color: #4b5563;
  padding: 10px 8px;
  text-align: center;
  font-size: 0.82rem;
}

.price-truth-speed-table tbody th,
.price-truth-speed-table tbody td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid #f3f4f6;
  color: #1a1a2e;
}

.price-truth-speed-table tbody th {
  text-align: left;
  font-weight: 600;
  background: #fafafa;
}

.price-truth-speed-table tbody tr:last-child td,
.price-truth-speed-table tbody tr:last-child th {
  border-bottom: none;
}

.price-truth-speed-main th,
.price-truth-speed-main td {
  background: #f5f3ff !important;
  color: #3617ce;
  font-weight: 700;
}

.price-truth-speed-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 12px 0 0;
  text-align: center;
  word-break: keep-all;
}

/* ── CTA 버튼 ─────────────────────────── */
.price-truth-cta {
  text-align: center;
  margin: 28px 0 0;
}

.price-truth-cta-btn {
  display: inline-block;
  background: #3617ce;
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(54, 23, 206, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.price-truth-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(54, 23, 206, 0.35);
}

/* ════════════════════════════════════════
   모바일 반응형 (메모: feedback_mobile_priority.md)
   ════════════════════════════════════════ */
@media (max-width: 768px) {
  .price-truth-section {
    padding: 40px 14px;
  }

  .price-truth-title {
    font-size: 1.05rem;
    line-height: 1.55;
    word-break: keep-all;
  }

  /* old/new는 라벨과 같은 줄 유지, arrow만 줄바꿈
     결과: "타사 매월 39,600원" / "→" / "BTV POP 매월 19,800원" */
  .price-truth-old,
  .price-truth-new {
    display: inline-block;
    white-space: nowrap;
  }

  .price-truth-arrow {
    display: block;
    margin: 4px 0;
  }

  .price-truth-subtitle {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  /* 비교표: 360px 이상에서 가로 스크롤 없이 들어가도록 */
  .price-truth-table {
    font-size: 0.82rem;
    min-width: 360px;
  }

  .price-truth-table thead th,
  .price-truth-table tbody th,
  .price-truth-table tbody td {
    padding: 8px 6px;
  }

  .price-truth-table thead th {
    font-size: 0.8rem;
  }

  .price-truth-table tbody th {
    font-size: 0.8rem;
  }

  .price-truth-row-real td {
    font-size: 0.88rem;
  }

  .price-truth-row-real td strong {
    font-size: 1rem;
  }

  /* 요약박스: 모바일에서도 2열 유지 (정보 카드, 버튼 아님) */
  .price-truth-summary {
    gap: 8px;
    flex-wrap: nowrap;
  }

  .price-truth-summary-item {
    padding: 12px 10px;
    min-width: 0;
    flex: 1 1 0;
  }

  .price-truth-summary-label {
    font-size: 0.78rem;
    margin-bottom: 4px;
  }

  .price-truth-summary-value {
    font-size: 1rem;
    letter-spacing: -0.3px;
    white-space: nowrap;
  }

  .price-truth-combine-box,
  .price-truth-speed-extra {
    padding: 20px 16px;
  }

  .price-truth-combine-title {
    font-size: 1rem;
  }

  .price-truth-combine-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 12px;
  }

  .price-truth-combine-label {
    font-size: 0.85rem;
    word-break: keep-all;
    margin-bottom: 4px;
  }

  .price-truth-combine-value {
    font-size: 0.82rem;
    word-break: keep-all;
    line-height: 1.6;
  }

  .price-truth-combine-value strong {
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .price-truth-combine-note {
    font-size: 0.78rem;
  }

  .price-truth-policy-list {
    padding: 18px 18px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .price-truth-policy-list li {
    font-size: 0.88rem;
    word-break: keep-all;
  }

  .price-truth-honest-note {
    font-size: 0.82rem;
    padding: 12px 14px;
  }

  /* 속도표(4열) 압축 */
  .price-truth-speed-table {
    font-size: 0.8rem;
  }

  .price-truth-speed-table thead th {
    padding: 8px 4px;
    font-size: 0.75rem;
  }

  .price-truth-speed-table tbody th,
  .price-truth-speed-table tbody td {
    padding: 8px 4px;
  }

  .price-truth-cta-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.95rem;
    padding: 14px 20px;
  }
}

@media (max-width: 380px) {
  .price-truth-section {
    padding: 36px 10px;
  }

  .price-truth-title {
    font-size: 0.98rem;
  }

  .price-truth-subtitle {
    font-size: 0.85rem;
  }

  .price-truth-table {
    font-size: 0.75rem;
    min-width: 300px;
  }

  .price-truth-table thead th,
  .price-truth-table tbody th,
  .price-truth-table tbody td {
    padding: 6px 3px;
  }

  .price-truth-table thead th,
  .price-truth-table tbody th {
    font-size: 0.72rem;
  }

  .price-truth-row-real td strong {
    font-size: 0.88rem;
  }

  .price-truth-summary-item {
    padding: 10px 8px;
  }

  .price-truth-summary-label {
    font-size: 0.72rem;
  }

  .price-truth-summary-value {
    font-size: 0.92rem;
  }

  .price-truth-combine-label {
    font-size: 0.8rem;
  }

  .price-truth-combine-value {
    font-size: 0.76rem;
  }

  .price-truth-combine-value strong {
    font-size: 0.86rem;
  }

  .price-truth-policy-list li {
    font-size: 0.82rem;
  }

  .price-truth-honest-note {
    font-size: 0.78rem;
    padding: 10px 12px;
  }

  .price-truth-speed-table {
    font-size: 0.72rem;
  }

  .price-truth-speed-table thead th {
    font-size: 0.68rem;
    padding: 7px 2px;
  }

  .price-truth-speed-table tbody th,
  .price-truth-speed-table tbody td {
    padding: 7px 2px;
  }
}
