/* ============ showcase.css — 「아이디어 스튜디오」 하단 상업화 섹션 ============
 * 출처: biz-idea-studio.netlify.app (10.bz-idea) 의 commerce/launch/grid 섹션을
 *       BZ 스튜디오 팔레트로 이식(2026-07-30). 클래스 전부 bzsc- 접두사.
 */

.bzsc {
  --bzsc-ink: #17211d;
  --bzsc-muted: #65716c;
  --bzsc-brand: #0c6549;
  --bzsc-paper: #f7f6f1;
  --bzsc-tint: #e9f1ed;
  --bzsc-line: #dce5df;
  --bzsc-card: #ffffff;
  --bzsc-radius: 16px;

  max-width: 1280px;
  margin: 44px auto 0;
  padding: 0 20px;
  font-family: Inter, "Noto Sans KR", system-ui, -apple-system, sans-serif;
  color: var(--bzsc-ink);
  box-sizing: border-box;
}
.bzsc * { box-sizing: border-box; }

.bzsc-head { margin-bottom: 18px; }
.bzsc-eyebrow {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bzsc-brand);
}
.bzsc-head h2 {
  margin: 0 0 6px;
  font-size: clamp(21px, 2.6vw, 29px);
  line-height: 1.24;
  letter-spacing: -.02em;
  font-weight: 900;
}
.bzsc-head p {
  margin: 0;
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--bzsc-muted);
}
.bzsc-block { margin-bottom: 40px; }

/* ---------- 판매 패키지 ---------- */
.bzsc-packages {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}
.bzsc-pkg {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px 20px;
  border: 1px solid var(--bzsc-line);
  border-radius: var(--bzsc-radius);
  background: var(--bzsc-card);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.bzsc-pkg:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(23, 33, 29, .09); }
.bzsc-pkg.is-featured {
  border-color: var(--bzsc-brand);
  background: linear-gradient(160deg, #ffffff 0%, var(--bzsc-tint) 100%);
  box-shadow: 0 16px 30px rgba(12, 101, 73, .12);
}
.bzsc-pkg-label {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bzsc-tint);
  font-size: 11.5px;
  font-weight: 900;
  color: var(--bzsc-brand);
}
.bzsc-pkg.is-featured .bzsc-pkg-label { background: var(--bzsc-brand); color: #fff; }
.bzsc-pkg h3 { margin: 0; font-size: 18px; line-height: 1.32; font-weight: 900; }
.bzsc-price { font-size: 21px; font-weight: 900; letter-spacing: -.02em; color: var(--bzsc-brand); }
.bzsc-pkg > p { margin: 0; font-size: 13.5px; line-height: 1.62; color: #3f4b46; }

/* ---------- 2026-07-31 판매 준비 중 표시(PG사 심사 리젝 대응) — 가격은 유지, 결제 아님을 명시 ---------- */
.bzsc-pkg-status {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fdf1e6;
  border: 1px solid #f0d9bd;
  font-size: 11px;
  font-weight: 900;
  color: #9a5b12;
}
html[data-onae-theme="contrast"] .bzsc-pkg-status {
  background: #2a2115; border-color: #4a3a1e; color: #f0c27a;
}
.bzsc-pkg-note {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #8a5a2a;
}
html[data-onae-theme="contrast"] .bzsc-pkg-note { color: #d9a86a; }
.bzsc-pkg ul {
  margin: 4px 0 0;
  padding: 0 0 0 2px;
  list-style: none;
  display: grid;
  gap: 5px;
}
.bzsc-pkg li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: #3f4b46;
}
.bzsc-pkg li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  color: var(--bzsc-brand);
}
.bzsc-pkg-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--bzsc-tint);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--bzsc-ink);
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease;
}
.bzsc-pkg-cta:hover { background: var(--bzsc-brand); color: #fff; }
.bzsc-pkg.is-featured .bzsc-pkg-cta { background: var(--bzsc-brand); color: #fff; }
.bzsc-pkg.is-featured .bzsc-pkg-cta:hover { background: #094f39; }

/* ---------- 전환 흐름 ---------- */
.bzsc-path {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  counter-reset: bzsc;
}
.bzsc-path article {
  padding: 20px 18px;
  border: 1px solid var(--bzsc-line);
  border-radius: var(--bzsc-radius);
  background: var(--bzsc-paper);
}
.bzsc-path-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 9px;
  background: var(--bzsc-brand);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.bzsc-path h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 900; }
.bzsc-path p { margin: 0; font-size: 13px; line-height: 1.6; color: #3f4b46; }

/* ---------- 두 칼럼 목록 ---------- */
.bzsc-cols {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.bzsc-cols article {
  padding: 22px 20px;
  border: 1px solid var(--bzsc-line);
  border-radius: var(--bzsc-radius);
  background: var(--bzsc-card);
}
.bzsc-cols h3 { margin: 0 0 12px; font-size: 16px; font-weight: 900; }
.bzsc-cols ol,
.bzsc-cols ul { margin: 0; padding-left: 20px; display: grid; gap: 7px; }
.bzsc-cols li { font-size: 13.5px; line-height: 1.58; color: #3f4b46; }

/* ---------- 상담 문의 ---------- */
.bzsc-contact {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1fr);
  padding: 26px 24px;
  border: 1px solid var(--bzsc-line);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, var(--bzsc-tint) 100%);
}
.bzsc-contact h2 { margin: 0 0 8px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.26; font-weight: 900; }
.bzsc-contact p { margin: 0 0 8px; font-size: 14px; line-height: 1.65; color: #3f4b46; }
.bzsc-form { display: grid; gap: 10px; }
.bzsc-row { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.bzsc-field { display: grid; gap: 5px; }
.bzsc-field label { font-size: 12.5px; font-weight: 800; color: var(--bzsc-muted); }
.bzsc-field input,
.bzsc-field select,
.bzsc-field textarea {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--bzsc-line);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--bzsc-ink);
}
.bzsc-field textarea { min-height: 92px; resize: vertical; }
.bzsc-field input:focus-visible,
.bzsc-field select:focus-visible,
.bzsc-field textarea:focus-visible { outline: 2px solid var(--bzsc-brand); outline-offset: 1px; }
.bzsc-submit {
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  background: var(--bzsc-brand);
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 140ms ease;
}
.bzsc-submit:hover { transform: translateY(-1px); }
.bzsc-hidden { position: absolute; left: -9999px; }
.bzsc-consent { font-size: 12px; line-height: 1.55; color: var(--bzsc-muted); }
.bzsc-consent a { color: var(--bzsc-brand); }

@media (max-width: 760px) {
  .bzsc { padding: 0 14px; margin-top: 32px; }
  .bzsc-block { margin-bottom: 30px; }
  .bzsc-contact { grid-template-columns: 1fr; padding: 20px 16px; }
  .bzsc-row { grid-template-columns: 1fr; }
}

/* ---------- 테마 위젯 대응 ---------- */
html[data-onae-theme="contrast"] .bzsc {
  --bzsc-ink: #eef4f2;
  --bzsc-muted: #a8b6bd;
  --bzsc-brand: #3fd9c0;
  --bzsc-paper: #131c28;
  --bzsc-tint: #1a2634;
  --bzsc-line: rgba(255, 255, 255, .14);
  --bzsc-card: #101827;
}
html[data-onae-theme="contrast"] .bzsc-pkg.is-featured,
html[data-onae-theme="contrast"] .bzsc-contact {
  background: linear-gradient(135deg, #101827 0%, #172333 100%);
}
html[data-onae-theme="contrast"] .bzsc-pkg > p,
html[data-onae-theme="contrast"] .bzsc-pkg li,
html[data-onae-theme="contrast"] .bzsc-path p,
html[data-onae-theme="contrast"] .bzsc-cols li,
html[data-onae-theme="contrast"] .bzsc-contact p { color: #c8d4d9; }
html[data-onae-theme="contrast"] .bzsc-path-num { color: #0d1420; }
html[data-onae-theme="contrast"] .bzsc-field input,
html[data-onae-theme="contrast"] .bzsc-field select,
html[data-onae-theme="contrast"] .bzsc-field textarea { background: #16202e; color: #eef4f2; }
html[data-onae-theme="contrast"] .bzsc-submit { color: #0d1420; }
html[data-onae-theme="contrast"] .bzsc-pkg.is-featured .bzsc-pkg-label,
html[data-onae-theme="contrast"] .bzsc-pkg.is-featured .bzsc-pkg-cta { color: #0d1420; }

html[data-onae-theme="cute"] .bzsc {
  --bzsc-brand: #8b6fd4;
  --bzsc-paper: #fff7fb;
  --bzsc-tint: #f7ecfa;
  --bzsc-line: #f0dbe8;
  --bzsc-radius: 22px;
}
