/* ============================================================
   pahang.co — Premium, Featured Boost and FAQ pages. Prefix pl-.
   Builds on about.css (tk- tokens, hero, buttons, steps, end band). Motion in assets/js/plans.js.
   ============================================================ */

/* ── offer strip + status ── */
.pl-offer { background: #0d2b5e; color: #fff; text-align: center; font-size: 13px; font-weight: 700; padding: 10px 16px; letter-spacing: .3px; }
.pl-offer b { color: #fbbf24; }
.pl-timer { display: inline-flex; gap: 6px; margin-top: 14px; }
.pl-timer span { min-width: 58px; text-align: center; background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 6px 4px; }
.pl-timer b { display: block; font: 900 22px/1 'Playfair Display', serif; color: var(--ink); font-feature-settings: 'lnum' 1; }
.pl-timer small { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #6b6352; }
.pl-status { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; background: #ecfdf3; border: 2px solid #15803d; border-radius: 16px; padding: 14px 16px; color: #14532d; font-size: 14px; }
.pl-status .tk-btn { min-height: 40px; border-color: #15803d; color: #14532d; }

/* ── the sample listing demo ── */
.pl-demo { padding-top: 46px; }
.pl-switch { display: inline-flex; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 4px; gap: 4px; margin: 6px 0 22px; }
.pl-switch button { border: 0; background: transparent; font: 700 14px 'DM Sans', sans-serif; color: var(--ink); padding: 10px 20px; border-radius: 999px; cursor: pointer; min-height: 44px; transition: background .25s, color .25s; }
.pl-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pl-switch button[data-set="prem"][aria-pressed="true"] { background: var(--gold); color: #1f1300; }
.pl-switch button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.pl-demo-in { display: grid; gap: 26px; align-items: start; }

.pl-phone { position: relative; width: 100%; max-width: 340px; margin: 0 auto; background: #fff; border: 3px solid var(--ink); border-radius: 34px; padding: 12px 10px 0; box-shadow: 10px 10px 0 var(--paper-2), 10px 10px 0 3px var(--ink); overflow: hidden; }
.pl-notch { width: 90px; height: 6px; border-radius: 6px; background: var(--ink); margin: 0 auto 10px; opacity: .8; }
.pl-scr { height: 560px; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; position: relative; border-radius: 18px 18px 0 0; background: #f8fafc; }
.pl-scroll { transition: transform .9s var(--ease); }
.pl-cover { height: 150px; position: relative; background: linear-gradient(160deg, #fde68a, #f59e0b 60%, #b45309); overflow: hidden; }
.pl-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pl-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; background: #fff; }
.pl-thumbs i { height: 38px; border-radius: 6px; }
.pl-thumbs i:nth-child(1) { background: linear-gradient(135deg, #fcd34d, #b45309); }
.pl-thumbs i:nth-child(2) { background: linear-gradient(135deg, #fecaca, #b91c1c); }
.pl-thumbs i:nth-child(3) { background: linear-gradient(135deg, #bbf7d0, #15803d); }
.pl-thumbs i:nth-child(4) { background: linear-gradient(135deg, #bfdbfe, #1d4ed8); position: relative; }
.pl-thumbs i:nth-child(4)::after { content: '+8'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 700 13px 'DM Sans', sans-serif; background: rgba(13,43,94,.45); border-radius: 6px; }
.pl-card { background: #fff; margin: 8px; border-radius: 12px; padding: 10px 12px; border: 1px solid #e2e8f0; position: relative; }
.pl-head b { font: 700 18px/1.2 'Playfair Display', serif; color: var(--ink); }
.pl-badge { display: inline-block; vertical-align: 3px; margin-left: 6px; background: var(--gold); color: #1f1300; font: 800 10px 'DM Sans', sans-serif; letter-spacing: .8px; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.pl-head small { display: block; font-size: 12px; color: #64748b; margin-top: 3px; }
.pl-desc { font-size: 12.5px; line-height: 1.55; color: #334155; margin-top: 8px; }
.pl-desc u { color: var(--blue); text-decoration: none; font-weight: 700; }
.pl-promo { background: #fff7e0; border-color: #f59e0b; }
.pl-promo span { font: 800 10px 'DM Sans', sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #b45309; }
.pl-promo b { display: block; font-size: 13px; color: #78350f; margin-top: 2px; }
.pl-menu h4, .pl-faq h4 { font: 700 13px 'DM Sans', sans-serif; color: var(--ink); margin-bottom: 4px; }
.pl-menu p { display: flex; justify-content: space-between; font-size: 12px; color: #334155; padding: 3px 0; border-bottom: 1px dashed #e2e8f0; }
.pl-menu p:last-child { border: 0; }
.pl-faq p { font-size: 12px; color: #334155; }
.pl-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.pl-stats b { display: block; font: 900 17px 'Playfair Display', serif; color: var(--ink); font-feature-settings: 'lnum' 1; }
.pl-stats span { font-size: 10px; color: #64748b; text-transform: uppercase; letter-spacing: .6px; }
.pl-wa-plain { display: block; text-align: center; margin: 8px; padding: 10px; border-radius: 10px; background: #e2e8f0; color: #475569; font-size: 13px; font-weight: 700; }
.pl-sticky { display: flex; gap: 6px; padding: 8px; background: var(--ink); }
.pl-sticky span { flex: 1; text-align: center; padding: 9px 4px; border-radius: 9px; background: #334155; color: #fff; font-size: 12px; font-weight: 700; }
.pl-sticky span:first-child { flex: 2; background: #25d366; }

/* numbered markers on premium parts */
.pl-p { position: relative; }
.pl-p[data-n]::before { content: attr(data-n); position: absolute; z-index: 2; top: -8px; left: -6px; width: 22px; height: 22px; border-radius: 50%; background: #ef4444; color: #fff;
  font: 800 12px/22px 'DM Sans', sans-serif; text-align: center; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.pl-sticky.pl-p[data-n]::before { top: -11px; left: 8px; }
.pl-badge.pl-p[data-n]::before { top: -14px; left: -12px; }

/* free / premium states */
.pl-demo[data-mode="free"] .pl-p { display: none; }
.pl-demo[data-mode="prem"] .pl-f { display: none; }
.pl-demo[data-mode="prem"] .pl-p { animation: pl-in .6s var(--ease) both; animation-delay: calc(var(--k, 0) * 90ms); }
.pl-demo[data-mode="prem"] .pl-sticky { animation-name: pl-up; }
.pl-badge.pl-p { display: inline-block; }

/* explanation list */
.pl-why { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pl-why li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: border-color .3s, opacity .3s; }
.pl-why li > span { width: 26px; height: 26px; border-radius: 50%; background: #cbd5e1; color: #fff; font: 800 13px/26px 'DM Sans', sans-serif; text-align: center; transition: background .3s; }
.pl-why b { display: block; font: 700 16px/1.3 'Playfair Display', serif; color: var(--ink); }
.pl-why p { font-size: 13.5px; line-height: 1.55; margin-top: 2px; }
.pl-why .pl-no { display: block; font-size: 12px; font-weight: 700; color: #b91c1c; margin-top: 4px; }
.pl-demo[data-mode="free"] .pl-why li { opacity: .75; }
.pl-demo[data-mode="prem"] .pl-why li { border-color: var(--ink); }
.pl-demo[data-mode="prem"] .pl-why li > span { background: #ef4444; }
.pl-demo[data-mode="prem"] .pl-why .pl-no { display: none; }
.pl-hint { font-size: 13px; color: #6b6352; margin-top: 12px; text-align: center; }

/* ── district list demo (Premium first / Boost above free) ── */
.pl-rank { padding-top: 56px; }
.pl-list { position: relative; max-width: 460px; margin: 18px auto 0; height: calc(5 * 64px); }
.pl-row { position: absolute; left: 0; right: 0; height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: #fff; border: 2px solid var(--line); border-radius: 14px;
  top: calc(var(--pos) * 64px); transition: top .9s var(--ease), border-color .4s, background .4s, box-shadow .4s; }
.pl-row i { width: 36px; height: 36px; border-radius: 10px; flex: none; background: #e2e8f0; }
.pl-row b { font-size: 14px; color: var(--ink); }
.pl-row small { display: block; font-size: 11px; color: #64748b; }
.pl-row em { margin-left: auto; font-style: normal; font: 800 10px 'DM Sans', sans-serif; letter-spacing: .8px; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.pl-row .is-prem { background: var(--gold); color: #1f1300; }
.pl-row .is-feat { background: #dbeafe; color: #1d4ed8; }
.pl-row.is-you { border-color: var(--ink); }
.pl-row.is-you i { background: linear-gradient(135deg, #fcd34d, #b45309); }
.pl-rank.is-up .pl-row { top: calc(var(--up) * 64px); }
.pl-rank.is-up .pl-row.is-you { background: #fff7e0; box-shadow: 6px 6px 0 var(--ink); z-index: 1; }
.pl-row.is-you em { opacity: 0; transition: opacity .4s .6s; }
.pl-rank.is-up .pl-row.is-you em { opacity: 1; }
.pl-rank-note { text-align: center; font-size: 13px; color: #6b6352; margin-top: 14px; }

/* ── packages ── */
.pl-pkgs { display: grid; gap: 22px; margin-top: 26px; }
.pl-pkg { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 22px; padding: 26px 20px 22px; transition: transform .25s var(--ease), box-shadow .25s; }
.pl-pkg:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--ink); }
.pl-pkg.is-best { background: #fff7e0; box-shadow: 8px 8px 0 var(--ink); }
.pl-pkg-flag { position: absolute; top: -14px; left: 20px; background: var(--gold); border: 2px solid var(--ink); color: #1f1300; font: 800 11px 'DM Sans', sans-serif; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.pl-pkg h3 { font: 900 24px/1.1 'Playfair Display', serif; color: var(--ink); }
.pl-pkg .pl-slots { font-size: 13px; font-weight: 700; color: var(--gold-d); margin-top: 4px; }
.pl-pkg .pl-was { font-size: 14px; color: #94a3b8; text-decoration: line-through; margin-top: 14px; min-height: 20px; }
.pl-pkg .pl-amt { font: 900 46px/1 'Playfair Display', serif; color: var(--ink); font-feature-settings: 'lnum' 1; }
.pl-pkg .pl-per { font-size: 13px; color: #6b6352; margin-top: 4px; }
.pl-pkg ul { list-style: none; padding: 0; margin: 16px 0 18px; display: grid; gap: 6px; }
.pl-pkg li { font-size: 14px; display: flex; gap: 8px; }
.pl-pkg li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230d2b5e' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/100%; }
.pl-pkg .tk-btn { width: 100%; justify-content: center; }
.pl-pay-note { text-align: center; font-size: 13px; color: #6b6352; margin-top: 18px; }

/* ── comparison table ── */
.pl-table-wrap { overflow-x: auto; margin-top: 18px; border: 2px solid var(--ink); border-radius: 18px; background: #fff; }
.pl-table { width: 100%; border-collapse: collapse; min-width: 420px; font-size: 14px; }
.pl-table th, .pl-table td { padding: 12px 14px; border-bottom: 1px dashed #e7dcc2; text-align: center; }
.pl-table thead th { font: 700 15px 'Playfair Display', serif; color: var(--ink); background: var(--paper); }
.pl-table thead th.is-prem { background: var(--gold); }
.pl-table tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.pl-table tr:last-child td, .pl-table tr:last-child th { border-bottom: 0; }
.pl-yes { color: #15803d; font-weight: 800; } .pl-nope { color: #cbd5e1; font-weight: 800; }

/* ── boost price toggle ── */
.pl-prices { display: grid; gap: 20px; margin-top: 8px; }
.pl-price { background: #fff; border: 2px solid var(--ink); border-radius: 22px; padding: 22px 20px; text-align: center; position: relative; }
.pl-price.is-best { background: #fff7e0; box-shadow: 8px 8px 0 var(--ink); }
.pl-price .pl-dur { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #6b6352; }
.pl-price .pl-amt { font: 900 52px/1 'Playfair Display', serif; color: var(--ink); margin: 8px 0 4px; font-feature-settings: 'lnum' 1; }
.pl-price .pl-save { font-size: 13px; font-weight: 700; color: #15803d; min-height: 20px; }
.pl-price .tk-btn { margin-top: 14px; }
.pl-elig { background: #fff; border: 2px dashed var(--ink); border-radius: 16px; padding: 16px 18px; margin-top: 22px; font-size: 14px; line-height: 1.6; }
.pl-elig b { color: var(--ink); }

/* ── FAQ ── */
.pl-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pl-jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--ink); text-decoration: none; font-size: 13px; font-weight: 700; color: var(--ink); background: #fff; transition: background .2s, transform .2s var(--ease); }
.pl-jump a:hover { background: #fde68a; transform: translateY(-2px); }
.pl-timeline { list-style: none; padding: 0; margin: 22px 0 0; position: relative; display: grid; gap: 14px; }
.pl-timeline::before { content: ''; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: var(--river); transform-origin: top; transform: scaleY(0); transition: transform 1.4s var(--ease); }
.pl-timeline.is-in::before { transform: scaleY(1); }
.pl-timeline li { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.pl-timeline li > span { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); display: grid; place-items: center; font: 900 18px 'Playfair Display', serif; color: var(--ink); z-index: 1; }
.pl-timeline li:last-child > span { background: #bbf7d0; }
.pl-timeline b { display: block; font: 700 17px 'Playfair Display', serif; color: var(--ink); padding-top: 4px; }
.pl-timeline p { font-size: 14px; line-height: 1.6; }
.pl-claimbox { margin-top: 24px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 16px; max-width: 420px; }
.pl-claimbox small { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #6b6352; }
.pl-claimbox b { display: block; font: 700 17px 'Playfair Display', serif; color: var(--ink); margin: 6px 0 2px; }
.pl-claimbox span { display: block; font-size: 12px; color: #64748b; }
.pl-claimbtn { display: block; margin-top: 12px; text-align: center; padding: 12px; border-radius: 12px; background: var(--gold); color: #1f1300; border: 2px solid var(--ink); font-weight: 700; font-size: 14px; animation: pl-pulse 2.4s ease-in-out infinite; }
.pl-qa { margin-top: 18px; border-top: 2px solid var(--ink); }
.pl-qa details { border-bottom: 1px dashed #cdbf9f; }
.pl-qa summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 18px 2px; font: 700 17px/1.35 'Playfair Display', serif; color: var(--ink); min-height: 44px; }
.pl-qa summary::-webkit-details-marker { display: none; }
.pl-qa summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font: 700 18px 'DM Sans', sans-serif; transition: transform .3s var(--ease), background .3s; }
.pl-qa details[open] summary::after { transform: rotate(45deg); background: var(--gold); }
.pl-qa summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.pl-qa details p { font-size: 15px; line-height: 1.75; padding: 0 2px 18px; max-width: 760px; }
.pl-qa details[open] p { animation: pl-in .4s var(--ease); }
.pl-qa a, .pl-link { color: var(--blue); font-weight: 700; }
.pl-sec { padding-top: 56px; scroll-margin-top: 80px; }
.pl-two { display: grid; gap: 18px; margin-top: 18px; }
.pl-box { background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 20px 18px; }
.pl-box h3 { font: 700 20px/1.25 'Playfair Display', serif; color: var(--ink); }
.pl-box p { font-size: 14px; line-height: 1.65; margin: 8px 0 14px; }

@keyframes pl-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pl-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes pl-pulse { 50% { box-shadow: 0 0 0 8px rgba(245,158,11,.3); } }

@media (min-width: 760px) {
  .pl-demo-in { grid-template-columns: 360px 1fr; gap: 40px; }
  .pl-phone { margin: 0; }
  .pl-pkgs { grid-template-columns: repeat(3, 1fr); }
  .pl-prices { grid-template-columns: 1fr 1fr; }
  .pl-two { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-demo *, .pl-row, .pl-timeline::before { animation: none !important; transition: none !important; }
  .pl-timeline::before { transform: none; }
}

/* premium hero drawing */
.pl-hero-star { fill: var(--gold); stroke: var(--ink); stroke-width: 2.4; transform-box: fill-box; transform-origin: center; animation: rc-pop 2.8s ease-in-out infinite; }
@keyframes rc-pop { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.15) rotate(12deg); } }
/* keep numbered dots off the text */
.pl-desc.pl-p[data-n]::before { top: -2px; left: -19px; width: 18px; height: 18px; line-height: 18px; font-size: 10px; }
.pl-badge.pl-p[data-n]::before { top: -12px; left: auto; right: -14px; }
.tk-ico circle { fill: none; stroke: var(--ink); stroke-width: 3; }
.tk nav.pl-jump { justify-content: flex-start; background: none; padding: 0; position: static; box-shadow: none; height: auto; }
