/* Automate pricing - measured from www.transformify.ai/automate-pricing at 1440px */

/* ---------- Hero: vivid pastel gradient + dots ---------- */
.pr-hero {
  height: 415px; display: flex; align-items: center;
  background:
    url('/images/shared/dots.png') center / cover,
    radial-gradient(circle at 29.394% 55.0758%, rgba(255,197,89,.9) 0%, 14.5%, rgba(255,197,89,0) 29%),
    radial-gradient(circle at 71.5152% 55.0758%, rgba(110,216,255,.9) 0%, 15.75%, rgba(110,216,255,0) 35%),
    radial-gradient(circle at 94.3538% 89.6159%, rgba(139,75,191,.9) 0%, 24%, rgba(139,75,191,0) 48%),
    radial-gradient(circle at 6.50391% 88.0371%, rgba(255,77,103,.89) 0%, 25%, rgba(255,77,103,0) 50%),
    radial-gradient(circle at 6.16536% 12.6172%, rgba(232,81,232,.9) 0%, 42%, rgba(232,81,232,0) 70%),
    radial-gradient(circle at 93.6865% 11.4258%, rgba(2,168,181,.9) 0%, 42%, rgba(2,168,181,0) 70%),
    radial-gradient(circle at 48.9014% 49.5215%, rgba(255,255,255,.9) 0%, 100%, rgba(255,255,255,0) 100%);
}
.pr-hero__inner { display: flex; align-items: center; gap: 38px; width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px 0 37px; }
.pr-hero__badge { flex: none; width: 174px; height: 174px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.pr-hero__badge svg { width: 95px; height: 95px; fill: var(--cyan); }
.pr-hero__kicker { font-size: 17px; font-weight: 700; line-height: 20px; }
.pr-hero__title { margin-top: 25px; font-size: clamp(30px, 3.75vw, 54px); line-height: 1.2; }

/* ---------- Personal / Business switch + plan cards ---------- */
.pr-plans { padding: 50px 20px 100px; }
.pr-switch { display: flex; width: 317px; height: 55px; margin: 0 auto 50px; padding: 2px; border: 2px solid #e3e3e3; border-radius: 40px; }
.pr-switch [role='tab'] {
  flex: 1; border: 0; border-radius: 40px; background: transparent; cursor: pointer;
  font: 700 15px/1 var(--font); color: var(--text);
}
.pr-switch [aria-selected='true'] { color: #fff; background: linear-gradient(90deg, #f8b53d 0%, #ff4d67 100%); }
.pr-cards { display: grid; grid-template-columns: repeat(3, 361px); justify-content: center; column-gap: 34px; align-items: start; }
.pr-cards[hidden] { display: none; }
.pr-cards--single { grid-template-columns: 361px; }
.pr-card {
  position: relative; display: flex; flex-direction: column; min-height: 490px; margin-top: 30px;
  padding: 39px 27px 30px 36px; background: #fff; border-radius: 5px; box-shadow: 0 3px 5px 5px rgba(0,0,0,.05);
  font-size: 14.2px; line-height: 19.88px;
}
.pr-card--featured { border-radius: 0 0 5px 5px; }
.pr-card__flag {
  position: absolute; left: 0; right: 0; top: -30px; height: 30px; border-radius: 5px 5px 0 0;
  background: linear-gradient(90deg, #f8b53d 0%, #ff4d67 100%); color: #fff;
  font-size: 15px; font-weight: 700; line-height: 30px; text-align: center;
}
.pr-card__name { font-size: 34px; font-weight: 400; line-height: 41px; margin-bottom: 21px; }
.pr-card p:not(.pr-card__flag) { max-width: 290px; }
.pr-card__inc { margin-top: 19.88px; }
.pr-card ul { padding-left: 26px; }
.pr-card ul { margin-bottom: 30px; }
.pr-cards .pr-card__btn { margin: auto 0 0 -9px; background: linear-gradient(90deg, #f8b53d 0%, #ff4d67 100%); }
.pr-cards > .pr-card:first-child .pr-card__btn { background: linear-gradient(90deg, #ffc559 0%, #ff4d67 100%); }
/* Business use: same cards, rose -> violet colours (as on the original) */
.pr-switch #pr-tab-business[aria-selected='true'],
.pr-cards--business .pr-card__flag,
.pr-cards--business .pr-card__btn,
.pr-cards--business > .pr-card:first-child .pr-card__btn { background: linear-gradient(90deg, #ff4d67 0%, #8b4bbf 100%); }

/* ---------- Comprehensive feature breakdown ---------- */
.pr-compare { padding-bottom: 100px; }
.pr-compare__head { position: relative; isolation: isolate; padding: 70px 20px; text-align: center; background: rgba(149,161,181,.07); }
.pr-compare__head::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/images/shared/dots.png') center / cover; opacity: .2; }
.pr-compare__head h2 { line-height: 41px; }
.pr-compare__head p { margin-top: 25px; font-size: clamp(16px, 1.28vw, 18.4px); line-height: 22px; }

.pr-planbar { background: #fff; border-block: 1px solid rgba(149,161,181,.1); }
.pr-planbar__inner { display: grid; grid-template-columns: 533px 178px 177px 178px; width: 1066px; margin: 0 auto; padding: 10px 0 13px; }
.pr-planbar__plan { grid-column: auto; text-align: center; padding: 10px 18px 0; }
.pr-planbar__plan:first-child { grid-column: 2; }
.pr-planbar h3 { font-size: 24px; font-weight: 400; line-height: 29px; }
.pr-planbar p { margin-top: 7px; font-size: 14.2px; line-height: 22.72px; }
.pr-planbar .pr-planbar__btn { margin-top: 14px; height: 40px; width: 110px; padding: 0; gap: 10px; font-size: 12px; background: linear-gradient(90deg, #ffc559 0%, #ff4d67 100%); }
.pr-planbar__btn svg { width: 12px; height: 12px; }

.pr-table-wrap { width: 1066px; max-width: 100%; margin: 0 auto; }
.pr-table { width: 1066px; border-collapse: collapse; table-layout: fixed; font-size: 14.2px; line-height: 17px; }
.pr-col-label { width: 533px; }
.pr-table th, .pr-table td { padding: 20px 0; font-weight: 400; text-align: center; vertical-align: middle; }
.pr-table th[scope='row'] { padding-left: 27px; padding-right: 20px; text-align: left; }
.pr-table tr.is-alt { background: rgba(149,161,181,.07); }
.pr-table em { font-style: italic; }
.pr-table img { display: block; margin: -1px auto 0; width: 18px; height: 18px; }
.pr-no::before { content: ''; display: block; margin: 0 auto; width: 14px; height: 2px; background: #8a8a8a; }

.pr-group th { padding: 60px 0 15px 14px; text-align: left; font-size: 24px; line-height: 29px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pr-group--first th { padding-top: 50px; }
.pr-sub th[scope='row'] { padding: 35px 0 15px 14px; font-size: 24px; line-height: 29px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pr-sub td { padding: 35px 0 15px; vertical-align: top; }
.pr-sub--premium th[scope='row'], .pr-sub--premium td { padding-top: 50px; }
.pr-tall th[scope='row'] { line-height: 18px; }
.pr-core th, .pr-core td { padding-block: 19px; }

/* Support plans: violet-tinted box */
.pr-support tr.is-alt, .pr-group--support { background: rgba(139,75,191,.07); }
.pr-group--support th { border-top: 100px solid #fff; padding-top: 50px; }
.pr-helpdesk td { padding: 10px 0; }
.pr-helpdesk small { display: block; max-width: 142px; margin: 4px auto 0; font-size: 12.8px; line-height: 15px; }
.pr-note td { padding: 20px 0 20px 27px; text-align: left; font-size: 12.8px; line-height: 15px; font-style: italic; }

/* ---------- Divider ---------- */
.pr-divider { position: relative; height: 49px; }
.pr-divider::before, .pr-divider::after { content: ''; position: absolute; top: 24px; height: 2px; background: #ffb8c2; }
.pr-divider::before { left: 0; right: calc(50% + 44px); }
.pr-divider::after { left: calc(50% + 43px); right: 0; }
.pr-divider img { position: absolute; left: calc(50% - 24px); top: 0; width: 49px; height: 49px; }

/* ---------- FAQ ---------- */
.pr-faq { padding: 100px 20px 91px; }
.pr-faq__head { text-align: center; }
.pr-faq__head h2 { font-size: clamp(28px, 2.75vw, 39.6px); line-height: 48px; }
.pr-faq__head p { margin-top: 25px; font-size: clamp(16px, 1.28vw, 18.4px); line-height: 22px; }
.pr-faq__box { max-width: 1016px; margin: 0 auto; }
.pr-faq__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; }
.pr-faq__label { font-size: 22px; font-weight: 700; line-height: 26.4px; }
.pr-faq__search { position: relative; display: block; width: 280px; border-bottom: 1px solid var(--text); }
.pr-faq__search input { width: 100%; height: 42px; padding: 0 30px 0 0; border: 0; background: transparent; font: 16px var(--font); color: #000; outline-offset: 4px; }
.pr-faq__search input::placeholder { color: #000; opacity: 1; }
.pr-faq__search img { position: absolute; right: 0; top: 9px; width: 24px; height: 24px; pointer-events: none; }
.pr-faq__tab { margin-top: 38px; }
.pr-faq__tab span { display: inline-block; width: 232px; padding-bottom: 9px; border-bottom: 3px solid var(--purple); text-align: center; font-size: 22px; font-weight: 700; line-height: 33px; color: var(--purple); }
.pr-faq__list { margin-top: 24px; }
.pr-faq details { border: 1px solid var(--muted); background: #fff; }
.pr-faq details + details { margin-top: 11px; }
.pr-faq summary { position: relative; display: block; padding: 27px 70px 27px 24px; cursor: pointer; list-style: none; }
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary::after {
  content: ''; position: absolute; right: 24px; top: 50%; width: 26px; height: 26px; margin-top: -13px;
  background: url('/images/icons/automate-pricing-09.svg') center / contain no-repeat;
}
.pr-faq details[open] summary::after { transform: rotate(180deg); }
.pr-faq summary h3 { font-size: 17px; line-height: 23.8px; color: #000; }
.pr-faq__a { padding: 0 24px 30px; font-size: 14px; line-height: 21px; }
.pr-faq__a p + p { margin-top: 21px; }
.pr-faq__empty { padding: 20px 0; }

/* ---------- CTA band ---------- */
.pr-cta { position: relative; isolation: isolate; padding: 120px 0; text-align: center; }
.pr-cta::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    url('/images/shared/dots.png') center / cover,
    radial-gradient(circle at 29.394% 55.0758%, rgba(255,197,89,.15) 0%, 14.5%, rgba(255,197,89,0) 29%),
    radial-gradient(circle at 71.5152% 55.0758%, rgba(110,216,255,.15) 0%, 15.75%, rgba(110,216,255,0) 35%),
    radial-gradient(circle at 94.3538% 89.6159%, rgba(139,75,191,.15) 0%, 24%, rgba(139,75,191,0) 48%),
    radial-gradient(circle at 6.50391% 88.0371%, rgba(255,77,103,.15) 0%, 25%, rgba(255,77,103,0) 50%),
    radial-gradient(circle at 6.16536% 12.6172%, rgba(232,81,232,.15) 0%, 42%, rgba(232,81,232,0) 70%),
    radial-gradient(circle at 93.6865% 11.4258%, rgba(2,168,181,.15) 0%, 42%, rgba(2,168,181,0) 70%);
}
.pr-cta h2 { line-height: 61px; }
.pr-cta p { margin-top: 25px; }
.pr-cta .btn { margin-top: 25px; width: 159px; padding: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .pr-cards { grid-template-columns: repeat(3, minmax(0, 361px)); column-gap: 20px; }
}
@media (max-width: 1100px) {
  .pr-planbar__inner, .pr-table-wrap { width: auto; padding-inline: 20px; }
  .pr-planbar__inner { grid-template-columns: minmax(0, 1fr) repeat(3, 150px); }
  .pr-table-wrap { overflow-x: auto; }
  .pr-table { width: 100%; min-width: 720px; }
  .pr-col-label { width: auto; }
}
@media (max-width: 860px) {
  .pr-hero { height: auto; padding: 48px 0; }
  .pr-hero__inner { padding-inline: 20px; gap: 24px; }
  .pr-hero__badge { width: 110px; height: 110px; }
  .pr-hero__badge svg { width: 60px; height: 60px; }
  .pr-cards { grid-template-columns: minmax(0, 420px); row-gap: 30px; }
  .pr-cards--single { grid-template-columns: minmax(0, 420px); }
  .pr-card { min-height: 0; }
  .pr-card--featured { margin-top: 60px; }
  .pr-planbar__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-inline: 10px; }
  .pr-planbar__plan:first-child { grid-column: 1; }
  .pr-planbar__plan { padding-inline: 4px; }
  .pr-planbar h3 { font-size: 20px; }
  .pr-table th[scope='row'] { padding-left: 14px; }
  .pr-cta h2 { line-height: 1.2; }
  .pr-faq__bar { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .pr-table { min-width: 0; font-size: 13px; }
  .pr-col-label { width: 40%; }
  .pr-table th[scope='row'] { padding-left: 10px; padding-right: 8px; }
  .pr-group th, .pr-sub th[scope='row'] { padding-left: 10px; font-size: 20px; }
  .pr-sub th[scope='row'] { padding-right: 0; }
  .pr-note td { padding-left: 10px; }
  .pr-helpdesk small { font-size: 11.5px; }
}
@media (max-width: 600px) {
  .pr-hero__inner { flex-direction: column; align-items: flex-start; }
  .pr-switch { width: 100%; max-width: 317px; }
  .pr-faq summary { padding: 18px 56px 18px 16px; }
  .pr-faq summary::after { right: 16px; }
  .pr-faq__a { padding-inline: 16px; }
  .pr-faq__search { width: 100%; }
}
