/* ==========================================================================
   Plans Testing — new-UI pricing page (page 748004 / page-plans-testing.php)
   Layout ONLY. NO font-size / line-height / font-weight here — all typography
   comes from style.css (element defaults + utility classes .font-16/20/44,
   .display-*, .font-400/600/700, p.small, .text-black-light applied in markup).
   ========================================================================== */
html{scroll-behavior:smooth;}
#plans{scroll-margin-top:90px;} /* offset for the sticky site header when jumping to plans */
.pt-wrap{
  --pt-blue:#0f67ea; --pt-blue-hover:#0c54c0;
  --pt-text:#1b1c1e; --pt-muted:#56606e; --pt-faint:#8c949e;
  --pt-line:#e5e8ec; --pt-lightbg:#f4f9ff; --pt-green:#2bb656;
  color:var(--pt-text);
}
.pt-wrap *{box-sizing:border-box;}
.pt-container{max-width:1280px;margin:0 auto;padding:0 16px;}
.pt-section{padding:80px 0;}
.pt-lightband{background:var(--pt-lightbg);}

/* section titles — layout only (size from <h2>/utility classes) */
.pt-wrap .pt-h2{text-align:center;margin:0 0 8px;}
.pt-wrap .pt-sub{text-align:center;}
.pt-eyebrow{letter-spacing:.12em;text-transform:uppercase;margin:0 0 12px;}

/* ---------- HERO ---------- */
.pt-hero{background:#fff;padding:80px 0;}
.pt-wrap .pt-hero h1{text-align:center;margin:0 0 32px;letter-spacing:-0.5px;}
.pt-controls{display:flex;align-items:center;justify-content:center;position:relative;margin-bottom:72px;}

/* billing toggle */
.pt-toggle{display:inline-flex;align-items:center;gap:4px;background:#fff;border:1px solid var(--pt-line);border-radius:8px;padding:5px;}
.pt-toggle button{border:0;background:transparent;cursor:pointer;color:var(--pt-muted);padding:8px 16px;border-radius:4px;display:inline-flex;align-items:center;gap:8px;}
.pt-toggle button.active{background:#111418;color:#fff;}
.pt-savepill{color:#2bb656;}

/* currency */
.pt-currency{position:absolute;right:0;top:50%;transform:translateY(-50%);}
.pt-currency select{appearance:none;-webkit-appearance:none;background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%2356606e' stroke-width='2' fill='none' stroke-linecap='round'/></svg>") no-repeat right 14px center;border:1px solid var(--pt-line);border-radius:8px;padding:11px 38px 11px 16px;cursor:pointer;color:var(--pt-text);}

/* flagStrap currency switcher — styled to match the old custom select */
.pt-currency{z-index:1;}
.pt-currency .flagstrap{position:relative;display:inline-block;}
.pt-currency .flagstrap>select{display:none;}
#flagstrap3 button{display:inline-flex;align-items:center;border:1px solid var(--pt-line) !important;border-radius:8px;background:#FFF !important;padding:8px 16px !important;height:54px;font-weight:400 !important;color:var(--pt-text);line-height:1;box-shadow:none;cursor:pointer;}
#flagstrap3 button:hover,#flagstrap3 button:focus,#flagstrap3 button:active{background:#FFF !important;color:var(--pt-text);border-color:var(--pt-line) !important;outline:none;box-shadow:none;}
#flagstrap3 button::after,#flagstrap3 button::before{display:none !important;}
#flagstrap3 button .flagstrap-icon{margin-right:8px !important;}
#flagstrap3 button .caret{width:12px;height:8px;border:0;margin-left:12px !important;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%2356606e' stroke-width='2' fill='none' stroke-linecap='round'/></svg>") no-repeat center;}
#flagstrap3 ul.dropdown-menu{top:23px;min-width:100%;padding:6px;border:1px solid var(--pt-line);border-radius:8px;box-shadow:0 8px 24px rgba(27,28,30,.12);background:#fff;list-style:none;right:0;left:auto;}
#flagstrap3 ul li a{display:flex;align-items:center;gap:8px;padding:0 !important;border-radius:6px;color:var(--pt-text);text-decoration:none;cursor:pointer;white-space:nowrap;font-weight:400;}
#flagstrap3 ul li a:hover,#flagstrap3 ul li a:focus{background:var(--web-lightblue,#f4f9ff);color:var(--pt-text);}

/* monthly/yearly show-hide via wrapper state */
.pt-wrap .p-month{display:none;}
.pt-wrap.is-monthly .p-month{display:inline;}
.pt-wrap.is-monthly .p-year{display:none;}

/* plans grid */
.pt-plans{align-items:stretch;} /* bootstrap .row handles layout; d-flex cols give equal-height cards */
.pt-card{position:relative;width:100%;background:#fff;border:1px solid var(--pt-line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;}
.pt-card--popular{border:2px solid var(--pt-blue);background:var(--pt-blue);overflow:visible;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 0 16px 0 rgba(15, 103, 234, 0.16);}
.pt-popular-head{background:var(--pt-blue);color:#fff;text-align:center;padding:9px;display:flex;align-items:center;justify-content:center;gap:7px;}
.pt-popular-head svg{margin-top:0;flex:0 0 auto;}
/* popular tag overhangs ABOVE the card so its body height matches the other cards */
.pt-card--popular .pt-popular-head{position:absolute;left:-2px;right:-2px;top:0;transform:translateY(-100%);border-radius:16px 16px 0 0;}
.pt-card--popular .pt-card-body{background:#fff;border-radius:12px;margin:0 2px 2px;}
/* mobile: cards stack, so the overhanging "Most Popular" head would overlap the card above — add top space */
@media(max-width:991.98px){.pt-card--popular{margin-top:48px;}}
.pt-card-body{display:flex;flex-direction:column;gap:24px;padding:24px;flex:1;}

.pt-card-header{display:flex;flex-direction:column;gap:4px;}
.pt-wrap .pt-plan-name{margin:0;letter-spacing:-0.11px;}
.pt-plan-desc{margin:0;min-height:42px;}

.pt-price-block{display:flex;flex-direction:column;gap:6px;margin-top:-16px;}
.pt-price .old{text-decoration:line-through;}
/* currency: show only active */
.pt-wrap .pt-cur{display:none;}
.pt-wrap[data-cur="usd"] .pt-cur-usd,
.pt-wrap[data-cur="eur"] .pt-cur-eur,
.pt-wrap[data-cur="gbp"] .pt-cur-gbp,
.pt-wrap[data-cur="aud"] .pt-cur-aud,
.pt-wrap[data-cur="inr"] .pt-cur-inr{display:inline;}
.pt-wrap[data-cur="usd"] .pt-price .pt-cur-usd,
.pt-wrap[data-cur="eur"] .pt-price .pt-cur-eur,
.pt-wrap[data-cur="gbp"] .pt-price .pt-cur-gbp,
.pt-wrap[data-cur="aud"] .pt-price .pt-cur-aud,
.pt-wrap[data-cur="inr"] .pt-price .pt-cur-inr{display:flex;align-items:baseline;gap:0;}
.pt-price .old{margin-left:8px;}
.pt-billed{margin:0;}
.pt-billed strong{color:var(--pt-green);}

.pt-cta-block{display:flex;flex-direction:column;gap:10px;align-items:center;}
.pt-nocc{text-align:center;margin:0;}

/* card CTA uses site btn-blue / btn-blue-outline (social-media-publishing style):
   full-width in card + border + hover fill + animated arrow */
.pt-cta-block .btn-blue,
.pt-cta-block .btn-blue-outline{width:100%;text-align:center;margin-left:0 !important;}
/* solid button gets same 1.5px border as outline so heights match everywhere */
.pt-cta-block .btn-blue,.pt-planhead .btn-blue{border:1.5px solid var(--pt-blue) !important;}
.pt-cta-block .btn-blue::after{margin-left:12px;}
/* outline: color-adaptive arrow (blue normally, white on hover) via mask=currentColor */
.pt-cta-arrow::after{content:"";display:inline-block;width:16px;height:12px;margin-left:12px;vertical-align:middle;background:currentColor;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'><path d='M1 6h12M9 1l5 5-5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'><path d='M1 6h12M9 1l5 5-5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;transform:rotate(0);transition:transform .35s ease;}
.pt-cta-arrow:hover::after{transform:rotate(-45deg);}

.pt-feat{list-style:none;margin:0;padding:24px 0 0;border-top:1px solid var(--pt-line);display:flex;flex-direction:column;gap:4px;flex:1;}
.pt-feat li{position:relative;padding-left:28px;}
.pt-feat li::before{content:"";position:absolute;left:0;top:2px;width:18px;height:18px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'><path d='M4 9.5l3.2 3.2L14 5.5' stroke='%231b1c1e' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;}
.pt-extra{margin-top:auto;padding-top:16px;border-top:1px solid var(--pt-line);min-height:69px;}
.pt-extra p{margin:0 0 4px;}
.pt-extra p:last-child{margin-bottom:0;}

/* enterprise strip */
.pt-enterprise{margin-top:24px;border:1px solid var(--pt-line);border-radius:16px;background:#fff;padding:24px;display:grid;grid-template-columns:1fr 1.1fr;gap:32px;align-items:center;}
.pt-wrap .pt-enterprise h3{margin:0 0 12px;}
.pt-enterprise p{margin:0 0 24px;max-width:440px;}
.pt-ent-feats{display:grid;grid-template-columns:1fr 1fr;gap:4px 32px;list-style:none;margin:0;padding:0;}
.pt-ent-feats li{position:relative;padding-left:28px;}
.pt-ent-feats li::before{content:"";position:absolute;left:0;top:2px;width:18px;height:18px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'><path d='M4 9.5l3.2 3.2L14 5.5' stroke='%231b1c1e' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;}
.pt-ai-link{text-align:center;margin-top:32px;}
.pt-ai-link a{color:var(--pt-blue);text-decoration:underline;}

/* ---------- PLATFORMS ---------- */
.pt-platforms{background:#fafafa;}
.pt-platforms .pt-container{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px;}
.pt-wrap .pt-platforms .pt-copy h2{margin:0;}
.pt-plat-tiles{display:grid;grid-template-columns:repeat(5,90px);gap:16px;justify-content:end;}
.pt-plat-tiles .tile{width:90px;height:90px;border-radius:24px;background:#fff;border:1px solid #e5e5e5;box-shadow:0 2px 6px 0 rgba(15,23,41,0.04);display:flex;align-items:center;justify-content:center;transition:transform .2s ease, box-shadow .2s ease;}
.pt-plat-tiles .tile:hover{transform:scale(1.1);background-color:#fff;box-shadow:0 0 16px 0 rgba(0,0,0,.10);}
.pt-plat-tiles .tile img{width:56px;height:56px;}

/* ---------- COMPARE FEATURES ---------- */
.pt-compare .pt-h2{margin-bottom:48px;}
.mb-lg-72{margin-bottom:72px;}
@media(max-width:991.98px){.mb-lg-72{margin-bottom:40px;}}

/* real <table> */
.pt-compare-scroll{position:relative;}
.pt-ftable{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid var(--pt-line);border-radius:16px;background:#fff;}
.pt-ftable thead{position:sticky;top:74px;z-index:5;}
.pt-ftable thead th{background:#fff;vertical-align:bottom;border-bottom:1px solid var(--pt-line);}
.pt-ftable thead th:first-child{width:33%;border-top-left-radius:16px;}
.pt-ftable thead th:last-child{border-top-right-radius:16px;}
.pt-feat-head{padding:24px 16px;text-align:left;}
.pt-feat-head .lbl{display:block;margin-bottom:14px;}
.pt-thead-toggle{display:inline-flex;align-items:center;gap:4px;background:#fff;border:1px solid var(--pt-line);border-radius:8px;padding:4px;width:max-content;}
.pt-thead-toggle button{border:0;background:transparent;cursor:pointer;color:var(--pt-muted);padding:7px 12px;border-radius:4px;display:inline-flex;align-items:center;gap:6px;}
.pt-thead-toggle button.active{background:#111418;color:#fff;}
.pt-planhead{padding:20px 12px;text-align:center;position:relative;vertical-align:bottom;}
.pt-planhead.popular{background:#f5f8ff;}
.pt-planhead .pop-tag{position:absolute;top:0;left:0;right:0;transform:translateY(-100%);background:#edf2fe;color:var(--pt-blue);padding:8px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:12px 12px 0 0;}
.pt-planhead .pop-tag svg{fill:var(--pt-blue);}
.pt-planhead .pname{display:block;margin:0 0 4px;}
.pt-planhead .pprice{display:block;margin:0 0 12px;}
.pt-planhead .pprice .per{color:var(--pt-muted);}
.pt-planhead .btn-blue,.pt-planhead .btn-blue-outline{display:inline-block;margin:0 !important;}
.pt-planhead .btn-blue::after{display:none !important;}
/* uniform features-table header CTA — solid & outline get identical box (layout only; font stays from global .btn-sm).
   High specificity so it beats global a.btn-blue{padding !important}. */
.pt-ftable .pt-planhead a.pt-ftbtn{display:inline-flex !important;align-items:center;justify-content:center;width:100% !important;max-width:190px;height:42px;padding:0 10px !important;margin:0 auto !important;border-width:1.5px !important;box-sizing:border-box !important;}
.pt-cat-head{background:#fafafa;padding:16px;text-align:left;}
.pt-cat-row .pt-cat-head{position:sticky;top:243px;z-index:4;}
.pt-cat-row .pt-cat-head.is-stuck{box-shadow:0 0.125rem 0.25rem rgba(0,0,0,0.075);}
.pt-ftable tbody .pt-cat-row:not(:first-child) .pt-cat-head{border-top:1px solid var(--pt-line);}
.pt-frow td{border-top:1px solid var(--pt-line);}
.pt-frow:hover td{background:#f5f8ff;}
.pt-frow-feat{padding:15px 16px;text-align:left;}
.pt-frow-feat .pt-feat-name{vertical-align:middle;}
.pt-info-i{display:inline-block;vertical-align:middle;width:15px;height:15px;margin-left:6px;cursor:pointer;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><circle cx='8' cy='8' r='8' fill='%23c9ced6'/><rect x='7.1' y='6.7' width='1.8' height='5' rx='.9' fill='%23fff'/><circle cx='8' cy='4.5' r='1.05' fill='%23fff'/></svg>") center/contain no-repeat;}
.pt-frow-val{padding:15px 12px;text-align:center;}
.pt-frow-val.col-premium{background:#f5f8ff;}
.pt-check{width:20px;height:20px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><path d='M4.5 10.5l3.5 3.5L15.5 6' stroke='%231b1c1e' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center;display:inline-block;vertical-align:middle;}
.pt-dash{color:var(--pt-faint);}
/* full-width feature rows (e.g. Supported Platforms / URL Shortener icon strips) */
.pt-frow-full{padding:15px 12px;text-align:center;border-top:1px solid var(--pt-line);}
.pt-frow-full .plan-icons{display:flex;flex-wrap:wrap;gap:10px 14px;justify-content:center;align-items:center;list-style:none;margin:0;padding:0;}
.pt-frow-full .plan-icons img{height:24px;width:24px;}

/* mobile plan-tabs + sticky CTA: hidden on desktop, shown in the mobile block below */
.pt-mtabs,.pt-mcta{display:none;}

/* mobile/tablet ≤991: single selected plan column, plan tabs on top, sticky Try-For-Free at bottom */
@media(max-width:991.98px){
  /* full-bleed compare section (no side padding, no rounded frame) */
  .pt-compare .pt-container{padding:0 !important;}
  .pt-compare-scroll{overflow-x:hidden;border:0;border-radius:0;}
  /* plan tabs (built by JS) */
  .pt-mtabs{display:flex;gap:8px;position:sticky;top:0;z-index:6;background:#fff;padding:8px 8px;box-shadow:0 0.125rem 0.25rem rgba(0,0,0,0.075);}
  .pt-mtabs button{flex:1;min-width:0;border:1px solid var(--pt-line);border-radius:10px;background:#fff;padding:8px 6px;cursor:pointer;display:flex;flex-direction:column;gap:2px;line-height:1.15;text-align:center;}
  .pt-mtabs .mtab-name{font-weight:600;color:var(--pt-ink,#1b1c1e);font-size:14px;}
  .pt-mtabs .mtab-price{font-size:12px;color:var(--pt-muted);}
  .pt-mtabs button.active{border-color:var(--pt-blue);background:#f5f8ff;}
  /* single-column table (only when JS has set .pt-mob) */
  .pt-ftable.pt-mob{min-width:0;width:100%;border:0;border-radius:0;table-layout:auto;}
  .pt-ftable.pt-mob thead{display:none;}
  .pt-ftable.pt-mob .pt-thead-toggle{display:none;}
  .pt-ftable.pt-mob .pt-frow-feat{width:50%;position:static;box-shadow:none;white-space:normal;word-break:normal;padding:15px 16px;}
  .pt-ftable.pt-mob .pt-frow-val{width:50%;text-align:center;}
  .pt-ftable.pt-mob .pt-frow-val.col-hide{display:none;}
  .pt-ftable.pt-mob .pt-cat-head{position:static;padding-left:16px;}
  /* Try-For-Free: docked in flow at the table's bottom by default; floats (fixed) only
     while the table still runs below the screen (.is-fixed toggled by JS) */
  .pt-mcta{display:block;background:#fff;padding:12px 16px;}
  .pt-mcta.is-fixed{position:fixed;left:0;right:0;bottom:0;z-index:20;box-shadow:0 -2px 10px rgba(0,0,0,0.08);}
  .pt-mcta a{display:flex;align-items:center;justify-content:center;width:100%;height:48px;border-radius:10px;margin:0;}
}

/* ---------- testimonials ("Loved by users like you") ---------- */
.pt-testimonials{background:#fafafa;}
.pt-testimonials .pt-container{position:relative;}
/* page-scoped: hide the shortcode's default subtitle + the "Highly Recommended on G2" block
   (matches local's g2="no" subtitle="-" without patching the shared testimonial part-file) */
.pt-testimonials .pg-title p{display:none;}
.pt-testimonials .col-md-12.mt-lg-80{display:none;}

/* ---------- trust + stats (redesigned) ---------- */
.pt-trust{background:#fafafa;}
.pt-trust .pt-sub{margin-bottom:0;}
.pt-stats{display:flex;border:1px solid #eaeaea;border-radius:16px;background:#fff;margin:64px auto 0;overflow:hidden;}
.pt-stat{flex:1;padding:24px 32px;border-left:1px solid #eaeaea;display:flex;flex-direction:column;}
.pt-stat:first-child{border-left:0;}
.pt-stat-eyebrow{letter-spacing:3px;text-transform:uppercase;margin:0 0 28px;}
.pt-stat-num{margin:0;color:var(--pt-text);}
.pt-stat-rating{display:flex;align-items:center;gap:16px;}
.pt-g2stars{display:flex;gap:3px;align-items:center;}
.pt-stat-cap{margin:0;}
.pt-logos{margin-top:64px;}
.pt-logos-label{text-align:center;margin:0 0 28px;color:#9ca1a9;}

/* ---------- RESPONSIVE (layout only) ---------- */
@media (max-width:991.98px){
  .pt-platforms .pt-container{grid-template-columns:1fr;}
  .pt-plat-tiles{justify-content:start;}
  .pt-enterprise{grid-template-columns:1fr;}
  .pt-stats{flex-direction:column;}
  .pt-stat{border-left:0;border-top:1px solid #eaeaea;}
  .pt-stat:first-child{border-top:0;}
}
@media (max-width:767.98px){
  .pt-section{padding:56px 0;}
  .pt-hero{padding:48px 0;}
  .pt-controls{flex-direction:column;gap:16px;margin-bottom:26px;}
  .pt-currency{position:static;transform:none;}
  .pt-ent-feats{grid-template-columns:1fr;}
  .pt-enterprise{padding:24px;}
  /* platforms: stack + fluid tiles */
  .pt-platforms .pt-container{gap:32px;}
  .pt-plat-tiles{grid-template-columns:repeat(5,1fr);gap:10px;width:100%;justify-content:stretch;}
  .pt-plat-tiles .tile{width:100%;height:auto;aspect-ratio:1/1;border-radius:16px;}
  .pt-plat-tiles .tile img{width:58%;height:58%;}
}
@media (max-width:479.98px){
  .pt-plat-tiles{grid-template-columns:repeat(5,1fr);gap:8px;}
  .pt-plat-tiles .tile{border-radius:12px;}
}
