/* ============ pricing subpage ============ */

/* ---- page hero (간결한 페이지 헤더) ---- */
.pricing-page-hero {
  padding: 10rem 0 5rem;
  text-align: center;
}
.pricing-page-hero .page-title {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--c-ink);
  line-height: 1.2;
}
.pricing-page-hero .page-sub {
  margin-top: 1.5rem;
  font-size: var(--fs-regular);
  line-height: 1.7;
  opacity: .6;
  font-weight: 500;
}

/* ---- 가치 비교 섹션 ---- */
.value-compare-section {
  padding: 5rem 0;
}
.value-compare-header {
  text-align: center;
  margin-bottom: 4rem;
}
.value-compare-header h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.3;
}
.value-compare-header p {
  margin-top: 1.25rem;
  font-size: var(--fs-regular);
  opacity: .6;
  line-height: 1.6;
}
.value-compare-table {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(44,45,47,.08);
}
.value-compare-table th,
.value-compare-table td {
  padding: 1.35rem 1.6rem;
  text-align: left;
  font-size: var(--fs-small);
  line-height: 1.55;
  border-bottom: 1px solid rgba(44,45,47,.06);
  vertical-align: middle;
}
.value-compare-table thead th {
  background: var(--c-off-white);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .55;
  color: var(--c-ink);
}
.value-compare-table tbody tr {
  transition: background-color 0.25s ease;
}
.value-compare-table tbody tr:hover {
  background-color: rgba(44,45,47,.015);
}
.value-compare-table tbody tr:last-child td {
  border-bottom: none;
}
.value-compare-table .compare-price {
  font-weight: 700;
  white-space: nowrap;
}
.value-compare-table .compare-result {
  font-weight: 500;
}
.value-compare-table .compare-result.negative {
  color: #c53030;
  opacity: .7;
}
.value-compare-table .compare-result.positive {
  color: #276749;
  font-weight: 700;
}
.value-compare-table tr.is-highlight {
  background: linear-gradient(135deg, rgba(44,45,47,.02) 0%, rgba(44,45,47,.04) 100%);
}
.value-compare-table tr.is-highlight td {
  font-weight: 700;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}
.value-compare-table tr.is-highlight .compare-method {
  font-weight: 800;
  color: var(--c-ink);
}

/* ---- 시간 프리미엄 매트릭스 ---- */
.time-matrix-section {
  padding: 5rem 0;
}
.time-matrix-header {
  text-align: center;
  margin-bottom: 4rem;
}
.time-matrix-header h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.3;
}
.time-matrix-header p {
  margin-top: 1.25rem;
  font-size: var(--fs-regular);
  opacity: .6;
  line-height: 1.6;
}
.time-matrix-wrap {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.time-matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  border: 1px solid rgba(44,45,47,.08);
  overflow: hidden;
  min-width: 600px;
}
.time-matrix th,
.time-matrix td {
  padding: 1.2rem 1.4rem;
  text-align: center;
  font-size: var(--fs-small);
  line-height: 1.5;
  border-bottom: 1px solid rgba(44,45,47,.06);
  border-right: 1px solid rgba(44,45,47,.06);
}
.time-matrix th:last-child,
.time-matrix td:last-child {
  border-right: none;
}
.time-matrix tbody tr:last-child td {
  border-bottom: none;
}
.time-matrix thead th {
  background: var(--c-off-white);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--c-ink);
}
.time-matrix thead th:first-child {
  text-align: left;
}
.time-matrix tbody th {
  text-align: left;
  font-weight: 700;
  background: rgba(44,45,47,.015);
}
.time-matrix tbody td {
  font-weight: 600;
  transition: background-color 0.25s ease;
}
.time-matrix tbody tr:hover td {
  background-color: rgba(44,45,47,.02);
}
.time-matrix .tm-base {
  color: var(--c-ink);
}
.time-matrix .tm-fast {
  color: #5b4f9e;
}
.time-matrix .tm-urgent {
  color: #8b3a3a;
}
.time-matrix .tm-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: .15rem .45rem;
  border-radius: 4px;
  margin-left: .4rem;
  vertical-align: middle;
  letter-spacing: .02em;
}
.tm-badge.fast { background: rgba(91,79,158,.1); color: #5b4f9e; }
.tm-badge.urgent { background: rgba(139,58,58,.1); color: #8b3a3a; }

/* ---- 번들 패키지 ---- */
.bundle-section {
  padding: 5rem 0;
}
.bundle-header {
  text-align: center;
  margin-bottom: 4rem;
}
.bundle-header h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.3;
}
.bundle-header p {
  margin-top: 1.25rem;
  font-size: var(--fs-regular);
  opacity: .6;
  line-height: 1.6;
}
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}
.bundle-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  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;
}
.bundle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(44, 45, 47, 0.08);
  border-color: rgba(44, 45, 47, 0.2);
}
.bundle-card-name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.bundle-card-includes {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(44,45,47,.08);
}
.bundle-card-includes span {
  font-size: var(--fs-small);
  line-height: 1.5;
  opacity: .7;
}
.bundle-card-includes span::before {
  content: "＋";
  margin-right: .4rem;
  font-weight: 700;
  opacity: .5;
}
.bundle-card-prices {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.bundle-original {
  font-size: var(--fs-small);
  text-decoration: line-through;
  opacity: .4;
}
.bundle-price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.bundle-save {
  display: inline-block;
  padding: .2rem .6rem;
  background: rgba(39, 103, 73, .08);
  color: #276749;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 4px;
  width: fit-content;
}
.bundle-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;
  margin-top: auto;
}
.bundle-card:hover .bundle-cta {
  background-color: var(--c-ink);
  color: var(--c-white);
  border-color: var(--c-ink);
}

/* ---- 포함 사항 ---- */
.included-section {
  padding: 5rem 0;
}
.included-header {
  text-align: center;
  margin-bottom: 4rem;
}
.included-header h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.3;
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
}
.included-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .8rem;
  padding: 2.25rem 1.5rem;
  background: var(--c-white);
  border-radius: 12px;
  border: 1px solid rgba(44,45,47,.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.included-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(44,45,47,.06);
}
.included-icon {
  font-size: 1.6rem;
  line-height: 1;
}
.included-title {
  font-size: 1.05rem;
  font-weight: 700;
}
.included-desc {
  font-size: var(--fs-small);
  line-height: 1.55;
  opacity: .55;
}

/* ---- pricing page CTA ---- */
.pricing-cta-section {
  padding: 5rem 0 7rem;
  text-align: center;
}
.pricing-cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}
.pricing-cta-section p {
  font-size: var(--fs-regular);
  opacity: .6;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ---- responsive ---- */
@media screen and (max-width: 991px) {
  .pricing-page-hero { padding: 8rem 0 3.5rem; }
  .bundle-grid { grid-template-columns: 1fr; max-width: 28rem; }
  .included-grid { grid-template-columns: 1fr 1fr; }
}
@media screen and (max-width: 767px) {
  .value-compare-table th,
  .value-compare-table td {
    padding: 1rem 1rem;
    font-size: .88rem;
  }
}
@media screen and (max-width: 479px) {
  .pricing-page-hero { padding: 7rem 0 2.5rem; }
  .included-grid { grid-template-columns: 1fr; }
  .value-compare-table .compare-method { min-width: 8rem; }
}
