/* 프라이빗 코치 안내 페이지(/pay/premium.jsp) 2026-10-25 2판. 요금 카드 · 표 · FAQ 는 ps2-pay.css 그대로. 접두사 pq- */

/* ---------- 움직이는 시연 ---------- */
.pq-demo { position: relative; border-radius: 26px; padding: 18px 20px 24px; color: #0f172a; background: #fff; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); cursor: pointer; }
.pq-demo__bar { display: flex; align-items: center; gap: 7px; padding-bottom: 12px; border-bottom: 1px solid #e6e9ee; }
.pq-demo__bar span { width: 10px; height: 10px; border-radius: 50%; background: #e6e9ee; }
.pq-demo__bar span:nth-child(1) { background: #fca5a5; } .pq-demo__bar span:nth-child(2) { background: #fcd34d; } .pq-demo__bar span:nth-child(3) { background: #86efac; }
.pq-demo__bar b { margin-left: auto; font-size: 12.5px; letter-spacing: .06em; color: #64748b; font-weight: 700; }
.pq-demo__dots { position: absolute; right: 20px; bottom: 12px; margin: 0; padding: 0; list-style: none; display: flex; gap: 6px; }
.pq-demo__dots li { width: 7px; height: 7px; border-radius: 50%; background: #d3d8e0; transition: background .3s, transform .3s; }
.pq-demo__dots li.is-on { background: #0e8a43; transform: scale(1.25); }
.pq-demo__stage { position: relative; height: 352px; overflow: hidden; }
.pq-scene { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity .28s ease, transform .28s ease; pointer-events: none; }
.pq-scene.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .3s; }
.pq-scene h3 { margin: 14px 0 10px; font-size: 14px; letter-spacing: .02em; color: #475569; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.pq-scene h3 span { width: 22px; height: 22px; border-radius: 50%; background: #0b1b3a; color: #fff; display: grid; place-items: center; font-size: 12px; }
.pq-q { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; }
.pq-opts { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.pq-opts li { padding: 7px 12px; border: 1px solid #e6e9ee; border-radius: 10px; font-size: 14px; display: flex; justify-content: space-between; gap: 10px; }
.pq-opts li small { color: #64748b; font-size: 12px; }
.pq-opts li.is-pick { border-color: #e5484d; background: #fff1f2; }
.pq-scene.is-on .pq-opts li.is-pick { animation: pq-shake .5s .9s both; }
@keyframes pq-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.pq-coach { margin: 10px 0 0; padding: 8px 12px; border-left: 3px solid #0e8a43; background: #e8f7ee; border-radius: 0 10px 10px 0; font-size: 13.5px; line-height: 1.5; color: #1f2937; }
.pq-coach b { color: #0a6b34; margin-right: 6px; }
.pq-pass { margin: 0 0 8px; padding: 8px 11px; border-radius: 8px; background: #f5f7f9; font-size: 12.5px; line-height: 1.5; color: #334155; }
.pq-q--s { font-size: 14px; margin-bottom: 6px; }
.pq-opts--s li { font-size: 12.5px; padding: 6px 10px; line-height: 1.35; }
.pq-sent { margin: 0; padding: 12px 14px; border: 1px solid #e6e9ee; border-radius: 10px; font-size: 15.5px; font-weight: 700; line-height: 1.5; letter-spacing: -0.005em; }
.pq-sent small { display: block; font-weight: 500; font-size: 11.5px; color: #64748b; margin-bottom: 4px; letter-spacing: .04em; }
.pq-err { background: #fff1f2; color: #b91c1c; padding: 0 3px; border-radius: 4px; text-decoration: underline wavy #e5484d; text-underline-offset: 3px; }
.pq-scene.is-on .pq-err { animation: pq-in .4s .9s both; }
.pq-coach i { font-style: normal; font-weight: 700; }
.pq-scene.is-on .pq-coach { animation: pq-in .4s 1.4s both; }
@keyframes pq-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.pq-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; counter-reset: s; }
.pq-steps li { position: relative; padding: 9px 12px 9px 34px; border-radius: 10px; border: 1px solid #e6e9ee; font-size: 14px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.pq-steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 10px; top: 9px; width: 18px; height: 18px; border-radius: 50%; background: #e6e9ee; font-size: 11px; display: grid; place-items: center; color: #475569; }
.pq-steps li small { font-weight: 500; color: #64748b; font-size: 12.5px; }
.pq-steps li.is-done { color: #64748b; } .pq-steps li.is-done::before { background: #0e8a43; color: #fff; content: "✓"; }
.pq-steps li.is-now { border-color: #0e8a43; background: #e8f7ee; }
.pq-scene.is-on .pq-steps li { opacity: 0; animation: pq-in .35s both; }
.pq-scene.is-on .pq-steps li:nth-child(1) { animation-delay: .1s; } .pq-scene.is-on .pq-steps li:nth-child(2) { animation-delay: .5s; } .pq-scene.is-on .pq-steps li:nth-child(3) { animation-delay: .9s; } .pq-scene.is-on .pq-steps li:nth-child(4) { animation-delay: 1.3s; }
.pq-state { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: 14px; border-radius: 12px; background: #f5f7f9; }
.pq-state__name { grid-column: 1 / -1; font-weight: 700; font-size: 15px; }
.pq-state__from, .pq-state__to { padding: 8px 12px; border-radius: 999px; text-align: center; font-weight: 700; font-size: 14px; }
.pq-state__from { background: #fff; border: 1px solid #e6e9ee; color: #b45309; }
.pq-state__to { background: #0e8a43; color: #fff; opacity: 0; }
.pq-scene.is-on .pq-state__to { animation: pq-in .4s 1.4s both; }
.pq-state__arrow { color: #94a3b8; font-size: 18px; }
.pq-bar { height: 8px; border-radius: 999px; background: #e6e9ee; margin-top: 12px; overflow: hidden; }
.pq-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #22c55e, #0e8a43); border-radius: 999px; }
.pq-scene.is-on .pq-bar i { animation: pq-fill 1.4s .2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes pq-fill { from { width: 18%; } to { width: 78%; } }
.pq-demo.is-static { cursor: default; }
.pq-demo.is-static .pq-demo__stage { height: auto; overflow: visible; }
.pq-demo.is-static .pq-scene { position: static; opacity: 1; transform: none; pointer-events: auto; }
.pq-demo.is-static .pq-demo__dots { display: none; }
.pq-demo.is-static .pq-coach, .pq-demo.is-static .pq-steps li, .pq-demo.is-static .pq-state__to { opacity: 1; animation: none; }
.pq-demo.is-static .pq-bar i { width: 78%; animation: none; }

.pq-title { font-size: clamp(27px, 3.7vw, 44px); line-height: 1.16; }
.pq-relief { margin-top: 14px !important; font-weight: 800; color: #fff !important; }

/* ---------- 왜 과외인가 ---------- */
.pq-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1160px; margin: 0 auto; }
.pq-why > div { padding: 26px 26px 28px; border-radius: 22px; background: var(--ps-bg-soft, #f5f7f9); }
.pq-why > div.is-key { background: var(--ps-night, #0b1324); color: #fff; }
.pq-why b { display: block; font-size: 19px; letter-spacing: -0.02em; line-height: 1.3; }
.pq-why p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.75; color: var(--ps-ink-2, #3b4658); }
.pq-why .is-key p { color: rgba(255,255,255,.82); }
.pq-why cite { display: block; margin-top: 10px; font-style: normal; font-size: 12.5px; color: var(--ps-ink-3, #6b7686); }

/* ---------- 이용권 아래 한 줄 ---------- */
.pq-try { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin: 26px auto 0; max-width: 1080px; }
.pq-try p { margin: 0; font-size: 15px; color: var(--ps-ink-2, #3b4658); }

/* ---------- 코치는 이렇게 가르칩니다 ---------- */
.pq-teach { margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1000px; counter-reset: t; }
.pq-teach li { position: relative; padding: 24px 26px 26px 70px; border-radius: 22px; background: #fff; border: 1px solid var(--ps-line, #e6e9ee); }
.pq-teach li::before { counter-increment: t; content: counter(t); position: absolute; left: 24px; top: 24px; width: 30px; height: 30px; border-radius: 50%; background: var(--ps-brand-soft, #e8f7ee); color: var(--ps-brand-strong, #0a6b34); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.pq-teach b { display: block; font-size: 18px; letter-spacing: -0.02em; line-height: 1.35; }
.pq-teach p { margin: 10px 0 0; font-size: 15px; line-height: 1.75; color: var(--ps-ink-2, #3b4658); }
.pq-six { margin: 22px auto 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 1000px; }
.pq-six li { padding: 12px 14px; border-radius: 14px; background: var(--ps-bg-soft, #f5f7f9); font-size: 14px; line-height: 1.55; color: var(--ps-ink-2, #3b4658); }
.pq-six b { display: block; font-size: 13px; letter-spacing: .02em; color: var(--ps-brand-strong, #0a6b34); margin-bottom: 2px; }
.pq-more { max-width: 1000px; margin: 22px auto 0; font-size: 15.5px; line-height: 1.75; color: var(--ps-ink-2, #3b4658); }
.pq-honest { padding-left: 16px; border-left: 3px solid var(--ps-brand, #0e8a43); }
.pq-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1000px; margin: 26px auto 0; }
.pq-numbers > div { padding: 18px 20px; border-radius: 18px; background: var(--ps-bg-soft, #f5f7f9); }
.pq-numbers b { display: block; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.1; color: var(--ps-brand-strong, #0a6b34); }
.pq-numbers span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ps-ink-2, #3b4658); }
.pq-numbers p { grid-column: 1 / -1; margin: 2px 0 0; font-size: 12.5px; color: var(--ps-ink-3, #6b7686); }
.pq-fine { max-width: 880px; margin: 14px auto 0; font-size: 13px; line-height: 1.6; color: var(--ps-ink-3, #6b7686); }

/* ---------- 연구가 보인 효과 ---------- */
.pq-research { max-width: 880px; margin: 0 auto; padding: 0; list-style: none; display: grid; gap: 12px; }
.pq-research li { padding: 18px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--ps-line, #e6e9ee); font-size: 15px; line-height: 1.7; color: var(--ps-ink-2, #3b4658); }
.pq-research b { color: var(--ps-ink, #0b1324); }
.pq-research cite { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: var(--ps-ink-3, #6b7686); }

/* ---------- 누가 만들었나 ---------- */
.pq-who { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: start; }
.pq-who p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.75; color: var(--ps-ink-2, #3b4658); }
.pq-trust { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pq-trust li { padding: 16px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--ps-line, #e6e9ee); }
.pq-trust b { display: block; font-size: 15px; }
.pq-trust span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ps-ink-2, #3b4658); line-height: 1.55; }

/* ---------- 마지막 권유 ---------- */
.pq-last { padding: clamp(48px, 7vw, 84px) 0; color: #fff; text-align: center; background: radial-gradient(900px 400px at 50% -20%, #1e3a8a 0%, transparent 60%), linear-gradient(180deg, #0b1b3a 0%, #0f172a 100%); }
.pq-last h2 { margin: 0; font-size: clamp(24px, 3.4vw, 36px); letter-spacing: -0.03em; }
.pq-last p { margin: 12px auto 0; max-width: 56ch; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.8); }
.pq-last .pp-hero__cta { margin-top: 26px; }

/* ---------- 폭 ---------- */
@media (max-width: 1000px) {
    .pq-why { grid-template-columns: minmax(0, 1fr); }
    .pq-who { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
    .pq-teach { grid-template-columns: minmax(0, 1fr); }
    .pq-teach li { padding: 22px 20px 22px 62px; }
    .pq-teach li::before { left: 18px; top: 22px; }
    .pq-numbers { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .pq-demo { padding: 14px 16px 22px; }
    .pq-demo__stage { height: 392px; }
    .pq-six { grid-template-columns: minmax(0, 1fr); }
}
