/* Tune Talk Epik+ — LP Meta V2: plan finder + recommended plans */
.pf-section, .pf-plans { --pf-red: #FF0000; --pf-ink: #201D1D; --pf-dark: #1D191A; --pf-muted: #6F6F75; --pf-line: #E7E7EF; --pf-soft: #F4F4FF; --pf-green: #68CCD3; --pf-teal: #2ea9aa; font-family: inherit; color: var(--pf-ink); }
.pf-section *, .pf-plans * { box-sizing: border-box; }
.pf-section button, .pf-plans button { position: static; display: inline-flex; width: auto; height: auto; font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; place-items: initial; border-radius: 0; transition: none; }
.pf-section { background: #FFFFFF !important; padding: 36px 0 40px !important; margin: 0 !important; scroll-margin-top: 76px; }
.pf-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.pf-headline { text-align: center; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.pf-headline h2 { margin: 0; font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -0.6px; color: var(--pf-ink); }
.pf-headline p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--pf-muted); }

/* form card */
.pf-form { background: #FFFFFF; border: 1px solid var(--pf-line); border-radius: 18px; box-shadow: 0 10px 26px rgba(18,18,25,0.08); padding: 18px 0 20px; display: flex; flex-direction: column; }
.pf-step { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px; border-top: 1px solid var(--pf-line); min-width: 0; }
.pf-step:first-child { padding-top: 0; border-top: 0; }
.pf-step-h { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.pf-num { width: 26px; height: 26px; border-radius: 50%; background: var(--pf-green); color: #FFFFFF; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.pf-q { font-size: 15px; line-height: 1.3; padding-top: 3px; font-weight: 700; }
.pf-hint { font-size: 12px; color: var(--pf-muted); margin: -6px 0 0 36px; }
.pf-err { font-size: 12.5px; font-weight: 500; color: #E00000; margin: -4px 0 0 36px; }
.pf-err[hidden] { display: none; }
.pf-shake { animation: pfShake .45s ease; }
@keyframes pfShake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }

.pf-chips { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: max-content; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; }
.pf-chips::-webkit-scrollbar { display: none; }
.pf-section .pf-chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--pf-line); background: #FFFFFF; color: var(--pf-ink); font-size: 12.5px; font-weight: 500; line-height: 1.2; text-align: left; }
.pf-section .pf-chip[aria-pressed="true"] { border: 1px solid var(--pf-red); padding: 0 14.5px; background: #FFF0F0; color: #C00000; font-weight: 700; }
.pf-chip .pf-br { display: none; }
.pf-ico { display: block; flex: none; width: 15px; height: 15px; color: var(--pf-red); }
.pf-li-teal .pf-ico { color: var(--pf-teal); margin-top: 2px; }

.pf-slider-wrap { position: relative; height: 31px; margin-top: 4px; }
.pf-bubble { position: absolute; top: 0; min-width: 64px; padding: 6px 8px; text-align: center; border-radius: 10px; background: var(--pf-red); color: #FFFFFF; font-size: 14px; font-weight: 700; }
input[type=range].pf-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 9px 0; border-radius: 3px; outline: none; cursor: pointer; background: #E7E7EF; }
input[type=range].pf-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--pf-red); border: 3px solid #FFFFFF; box-shadow: 0 4px 12px rgba(247,13,13,0.45); cursor: pointer; }
input[type=range].pf-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--pf-red); border: 3px solid #FFFFFF; box-shadow: 0 4px 12px rgba(247,13,13,0.45); cursor: pointer; }
input[type=range].pf-range:focus-visible { box-shadow: 0 0 0 3px rgba(255,0,0,0.25); }
.pf-scale { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--pf-muted); }
.pf-scale span { white-space: pre-line; }
.pf-scale span:last-child { text-align: right; }

.pf-budgets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pf-section .pf-budget { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 12px; border: 1.5px solid var(--pf-line); background: #FFFFFF; color: var(--pf-ink); font-size: 13.5px; font-weight: 500; }
.pf-section .pf-budget[aria-checked="true"] { border-color: var(--pf-red); background: #FFF0F0; color: #C00000; font-weight: 700; }

.pf-submit-row { display: flex; justify-content: center; padding: 6px 16px 0; }
.pf-section .pf-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; width: 100%; padding: 0 40px; border-radius: 999px; background: var(--pf-red); color: #FFFFFF; font-size: 16px; font-weight: 700; box-shadow: 0 6px 20px rgba(247,13,13,0.32); transition: transform .15s ease, box-shadow .15s ease; }
.pf-section .pf-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(247,13,13,0.38); }
.pf-section .pf-submit:active { transform: translateY(1px); }
.pf-spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,0.45); border-top-color: #FFFFFF; animation: pfSpin .7s linear infinite; }
.pf-loading .pf-spin { display: block; }
@keyframes pfSpin { to { transform: rotate(360deg); } }

/* promo countdown (V2 runs its own timer) */
#promo-countdown-v2 { font-variant-numeric: tabular-nums; }

/* ---------- plans ---------- */
.pf-plans { background: #F2F2F2 !important; padding: 40px 0 44px !important; margin: 0 !important; scroll-margin-top: 68px; overflow: hidden; }
.pf-plans[hidden] { display: none !important; }
.pf-plans-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 18px; }
.pf-toast { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--pf-green); color: #FFFFFF; font-size: 12px; font-weight: 700; letter-spacing: 0.2px; box-shadow: 0 6px 16px rgba(64,198,204,0.35); }
.pf-plans-head h2 { margin: 4px 0 0; font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -0.6px; color: var(--pf-ink); }
.pf-plans-head p { margin: 0; font-size: 13.5px; color: var(--pf-muted); }

.pf-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 10px; }
.pf-plans .pf-thumb { position: relative; display: block; padding: 0; border-radius: 14px; text-align: center; background: #FFFFFF; border: 3px solid transparent; box-shadow: 0 2px 8px rgba(18,18,25,0.10); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.pf-plans .pf-thumb.is-sel { border-color: var(--pf-red); box-shadow: 0 6px 16px rgba(247,13,13,0.25); }
.pf-thumb-in { display: block; border-radius: 11px; overflow: hidden; }
.pf-thumb-top { display: block; padding: 8px 4px 6px; background: #FFFFFF; color: var(--pf-ink); transition: background .2s ease, color .2s ease; }
.pf-thumb.is-sel .pf-thumb-top { background: var(--pf-red); color: #FFFFFF; }
.pf-thumb-top span { display: block; font-size: 11px; font-weight: 500; }
.pf-thumb-top strong { display: block; font-size: 18px; font-weight: 700; line-height: 1.15; }
.pf-thumb-bot { display: block; background: var(--pf-dark); color: #FFFFFF; padding: 6px 4px; font-size: 13px; font-weight: 700; }
.pf-thumb-chk { position: absolute; top: -10px; right: -9px; width: 26px; height: 26px; border-radius: 50%; background: var(--pf-green); color: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(64,198,204,0.45); z-index: 2; }
.pf-thumb-chk .pf-chk { margin: 0; color: #FFFFFF; }

.pf-cards { margin-top: 30px; touch-action: pan-y; }
.pf-card { position: relative; display: none; background: #FFFFFF; border-radius: 18px; box-shadow: 0 10px 26px rgba(18,18,25,0.12); }
.pf-card.is-sel { display: block; }
.pf-badge { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 16px; border-radius: 24px; border: 2px solid #FFFFFF; box-shadow: 0 4px 12px rgba(18,18,25,0.18); background: var(--pf-green); color: #FFFFFF; font-size: 11px; font-weight: 700; letter-spacing: 0.3px; white-space: nowrap; z-index: 2; }
.pf-badge .pf-chk { width: 13px; height: 13px; margin: 0; color: #FFFFFF; }
.pf-head { display: grid; grid-template-columns: 60.2% 39.8%; border-radius: 18px 18px 0 0; overflow: hidden; min-height: 82px; }
.pf-head-l { background: var(--pf-red); color: #FFFFFF; padding: 14px 16px 10px; display: flex; flex-direction: column; justify-content: center; }
.pf-head-l span { font-size: 15px; font-weight: 500; }
.pf-head-l strong { font-size: 34px; line-height: 1; font-weight: 700; }
.pf-head-r { background: var(--pf-dark); color: #FFFFFF; padding: 12px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pf-price { font-size: 26px; line-height: 1; font-weight: 700; }
.pf-price small { font-size: 13px; font-weight: 500; }
.pf-head-r em { font-style: normal; font-size: 11.5px; margin-top: 4px; opacity: 0.85; }
.pf-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.pf-li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; align-items: start; }
.pf-chk { flex: none; margin-top: 2px; color: var(--pf-red); }
.pf-diff { background: var(--pf-soft); border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.5; display: flex; flex-direction: column; gap: 4px; }
.pf-diff-t, .pf-note-t, .pf-more-t { font-weight: 700; }
.pf-plus { color: var(--pf-red); font-weight: 700; text-align: center; }
.pf-ticks { display: flex; flex-direction: column; gap: 9px; font-size: 13px; line-height: 1.4; }
.pf-match { background: #f4fbfc; border: 1px solid #62cbd5; border-radius: 12px; padding: 12px 14px; font-size: 12.5px; line-height: 1.5; color: var(--pf-teal); display: flex; flex-direction: column; gap: 4px; }
.pf-gap { background: #F5F5F7; border-radius: 12px; padding: 12px 14px; font-size: 12.5px; line-height: 1.5; color: #3A3A42; display: flex; flex-direction: column; gap: 4px; }
.pf-gap .pf-note-t { color: var(--pf-ink); }
.pf-dot { text-align: center; font-weight: 700; }
.pf-plans .pf-more { display: flex; justify-content: space-between; align-items: center; min-height: 44px; width: 100%; border-top: 1px solid var(--pf-line); padding: 12px 0 0; font-size: 14px; font-weight: 700; color: var(--pf-ink); }
.pf-chev { display: flex; width: 14px; height: 14px; color: var(--pf-muted); transition: transform .2s ease; }
.pf-chev.is-open { transform: rotate(180deg); }
.pf-more-body { display: flex; flex-direction: column; gap: 12px; font-size: 13px; line-height: 1.55; color: #3A3A42; }
.pf-more-body[hidden] { display: none; }
.pf-more-t { color: var(--pf-ink); }
.pf-sep { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--pf-green); margin: 0 7px; vertical-align: middle; }
.pf-how-ol { margin: 0; padding-left: 18px; }
.pf-faq-link { font-weight: 700; color: var(--pf-red); text-decoration: none; }

.pf-cta-row { display: flex; flex-direction: column; gap: 12px; }
.pf-plans .pf-buy { display: block; text-align: center; white-space: nowrap; line-height: 50px; padding: 0 12px; min-height: 50px; border-radius: 999px; background: var(--pf-red); color: #FFFFFF !important; font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgba(247,13,13,0.32); transition: transform .15s ease; }
.pf-plans .pf-buy:hover { transform: translateY(-1px); }
.pf-strip { list-style: none; margin: 0; padding: 10px 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; background: var(--pf-soft); border-radius: 12px; font-size: 11.5px; line-height: 1.35; color: #3A3A42; }
.pf-strip li { display: grid; grid-template-columns: 18px 1fr; gap: 6px; align-items: start; }
.pf-strip-n { width: 18px; height: 18px; border-radius: 50%; background: var(--pf-green); color: #FFFFFF; font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pf-plans .pf-up { align-self: center; justify-content: center; min-height: 30px; color: var(--pf-red); font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.pf-pay { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.pf-pay-t { font-size: 12px; font-weight: 400; color: var(--pf-ink); text-align: center; }
.pf-pay-logos { display: flex; flex-wrap: nowrap; gap: 5px; justify-content: center; align-items: center; }
.pf-pay-logos img { display: block; flex: none; width: 40px; height: 20px; }

.pf-dots { display: flex; gap: 4px; justify-content: center; margin-top: 10px; }
.pf-plans .pf-dotbtn { width: 32px; height: 32px; align-items: center; justify-content: center; }
.pf-dotbtn span { display: block; width: 7px; height: 7px; border-radius: 50%; background: #D5D5DA; transition: width .2s ease, background .2s ease; }
.pf-dotbtn[aria-selected="true"] span { width: 22px; border-radius: 4px; background: var(--pf-red); }

/* ---------- reveal animation ---------- */
.pf-reveal { animation: pfBg .6s ease both; }
.pf-reveal .pf-toast { animation: pfToast .7s cubic-bezier(.2,1.4,.4,1) .15s both; }
.pf-reveal .pf-plans-head h2, .pf-reveal .pf-plans-head p { animation: pfRise .55s ease .25s both; }
.pf-reveal .pf-thumb { animation: pfRise .5s ease both; }
.pf-reveal .pf-thumb:nth-child(1) { animation-delay: .35s; } .pf-reveal .pf-thumb:nth-child(2) { animation-delay: .45s; } .pf-reveal .pf-thumb:nth-child(3) { animation-delay: .55s; }
.pf-reveal .pf-thumb-chk { animation: pfPop .6s cubic-bezier(.2,1.6,.4,1) .9s both, pfPulse 1.2s ease 1.5s 2; }
.pf-reveal .pf-card { animation: pfRise .6s cubic-bezier(.2,.8,.2,1) both; }
.pf-reveal .pf-card:nth-child(1) { animation-delay: .45s; } .pf-reveal .pf-card:nth-child(2) { animation-delay: .6s; } .pf-reveal .pf-card:nth-child(3) { animation-delay: .75s; }
.pf-reveal .pf-card.is-rec { animation: pfRecIn .8s cubic-bezier(.2,1.2,.3,1) .5s both, pfRing 1.3s ease 1.3s 2; }
.pf-reveal .pf-badge { animation: pfDrop .7s cubic-bezier(.2,1.6,.4,1) 1.05s both; }
@keyframes pfBg { from { opacity: 0; } to { opacity: 1; } }
@keyframes pfToast { from { opacity: 0; transform: translateY(-12px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes pfRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pfRecIn { 0% { opacity: 0; transform: translateY(36px) scale(.94); } 70% { opacity: 1; transform: translateY(-4px) scale(1.03); } 100% { opacity: 1; transform: none; } }
@keyframes pfRing { 0% { box-shadow: 0 10px 26px rgba(18,18,25,0.12), 0 0 0 0 rgba(255,0,0,0.45); } 70% { box-shadow: 0 10px 26px rgba(18,18,25,0.12), 0 0 0 16px rgba(255,0,0,0); } 100% { box-shadow: 0 10px 26px rgba(18,18,25,0.12), 0 0 0 0 rgba(255,0,0,0); } }
@keyframes pfDrop { from { opacity: 0; transform: translate(-50%, -18px) scale(.7); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes pfPop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes pfPulse { 0%,100% { box-shadow: 0 3px 8px rgba(64,198,204,0.45), 0 0 0 0 rgba(104,204,211,0.6); } 60% { box-shadow: 0 3px 8px rgba(64,198,204,0.45), 0 0 0 10px rgba(104,204,211,0); } }

/* FAQ compression */
.pf-faq-collapsed .pf-faq-extra { display: none !important; }
.pf-faq-more { display: flex; justify-content: center; margin: 14px 0 4px; }
.pf-faq-more button { position: static !important; display: inline-flex !important; width: auto !important; height: auto !important; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--red, #FF0000); background: #FFFFFF; color: var(--red, #FF0000); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  .pf-section { padding: 64px 0 !important; }
  .pf-headline { margin-bottom: 26px; }
  .pf-headline h2, .pf-plans-head h2 { font-size: 42px; line-height: 1.05; letter-spacing: -0.7px; }
  .pf-headline p, .pf-plans-head p { font-size: 16px; }
  .pf-form { padding: 30px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
  .pf-step { padding: 0 28px; border-top: 0; border-left: 1px solid var(--pf-line); gap: 10px; }
  .pf-step:first-child { padding-left: 0; border-left: 0; }
  .pf-step:nth-child(3) { padding-right: 0; }
  .pf-step-h { min-height: 46px; }
  .pf-q { font-size: 16px; }
  .pf-hint { display: none; }
  .pf-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; cursor: default; }
  .pf-section .pf-chip { min-height: 42px; padding: 4px 10px; white-space: nowrap; }
  .pf-chip .pf-br { display: inline; }
  .pf-section .pf-chip-2l .pf-chip-label { text-align: left; }
  .pf-slider-wrap { margin-top: 4px; }
  .pf-scale { font-size: 12px; }
  .pf-submit-row { grid-column: 1 / -1; padding: 30px 0 0; }
  .pf-section .pf-submit { width: auto; min-height: 54px; padding: 0 46px; }

  .pf-plans { padding: 72px 0 !important; }
  .pf-plans-head { margin-bottom: 40px; }
  .pf-thumbs, .pf-dots { display: none; }
  .pf-cards { margin-top: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
  .pf-card { display: block; }
  .pf-card.is-rec { box-shadow: 0 0 0 3px var(--pf-red), 0 16px 36px rgba(247,13,13,0.18); }
  .pf-reveal .pf-card.is-rec { animation: pfRecIn .8s cubic-bezier(.2,1.2,.3,1) .5s both, pfRingD 1.3s ease 1.3s 2; }
  @keyframes pfRingD { 0% { box-shadow: 0 0 0 3px #FF0000, 0 16px 36px rgba(247,13,13,0.18), 0 0 0 3px rgba(255,0,0,0.45); } 70% { box-shadow: 0 0 0 3px #FF0000, 0 16px 36px rgba(247,13,13,0.18), 0 0 0 22px rgba(255,0,0,0); } 100% { box-shadow: 0 0 0 3px #FF0000, 0 16px 36px rgba(247,13,13,0.18), 0 0 0 3px rgba(255,0,0,0); } }
  .pf-head { min-height: 86px; }
  .pf-head-l { padding: 16px 18px 12px; }
  .pf-head-l span { font-size: 16px; }
  .pf-head-l strong { font-size: 38px; }
  .pf-price { font-size: 30px; }
  .pf-body { padding: 20px; gap: 16px; }
  .pf-diff { min-height: 140px; }
  .pf-ticks { font-size: 13.5px; }
  .pf-match, .pf-gap { font-size: 13px; }
  .pf-plans .pf-buy { min-height: 52px; line-height: 52px; }
  .pf-buy-plan { display: none; }
  .pf-plans .pf-up { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-reveal, .pf-reveal * { animation: none !important; }
  .pf-shake { animation: none; }
}

.pf-plans .pf-buy-plan { display: inline !important; width: auto !important; }

/* V2 section spacing */
.switch-compare-section { padding-bottom: 28px !important; margin-bottom: 0 !important; }
.feature-cards-section { padding-top: 0 !important; margin-top: 0 !important; }
@media (min-width: 900px) { .pf-plans .pf-buy-plan { display: none !important; } }
/* Buy button sits inside .rev-card-cta (so the existing GTM checkout_click trigger fires); keep the V2 look */
.pf-plans .pf-cta-row.rev-card-cta { width: auto; padding: 0; }
.pf-plans .rev-card-cta a.pf-buy { display: block; width: auto; min-height: 50px; line-height: 50px; padding: 0 12px; border-radius: 999px; background: #FF0000; color: #FFFFFF; font-size: 15px; font-weight: 700; text-align: center; white-space: nowrap; box-shadow: 0 6px 20px rgba(247,13,13,0.32); }
@media (min-width: 900px) { .pf-plans .rev-card-cta a.pf-buy { min-height: 52px; line-height: 52px; } }
/* GTM's click trigger needs the click target to be the <a> itself, not the inner plan-name span */
.pf-plans .pf-buy-plan { pointer-events: none; }

/* iPhone Safari "text autosizing" enlarges very wide no-wrap lines (the running trust bar), so its font size
   jumped between loads. Lock text sizing to the CSS values. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.trust-bar .trust-marquee-track, .trust-bar .trust-marquee-group, .trust-bar .trust-marquee-track span { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
