/* ============================================================
   Pricing page - calculator, plans, comparison table, FAQ
   Reuses landing.css + landing-fx.css (nav, buttons, orbs, dividers).
   ============================================================ */

/* page hero */
.pr-hero { padding: 150px 0 36px; position: relative; z-index: 2; }
.pr-hero-head { max-width: 760px; margin: 0 auto; text-align: center; }
.pr-hero-head .lp-eyebrow { display: inline-block; margin-bottom: 14px; }
.pr-hero-head h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5vw, 60px); line-height: 1.06; letter-spacing: -.025em; color: var(--al-navy); margin: 0; }
.pr-hero-head h1 .al-hl { color: var(--al-blue); }
.pr-hero-head p { font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: var(--al-text-2); margin: 20px auto 0; max-width: 600px; }

/* ============================================================
   COMMITMENT CALCULATOR
   ============================================================ */
.pr-calc-sec { padding: 8px 0 56px; position: relative; z-index: 2; }
.pr-calc-sec .pr-calc { margin: 0 auto; }
.pr-calc { position: relative; z-index: 2; max-width: 1000px; margin: 44px auto 0; background: #fff; border: var(--card-border);
  border-radius: var(--radius-3xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.pr-calc-grid { display: grid; grid-template-columns: 1fr 1.05fr; }
.pr-calc-controls { padding: 30px 32px; border-right: 1px solid var(--al-line); display: flex; flex-direction: column; }
.pr-calc-title { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--al-navy); }
.pr-calc-title i { color: var(--al-blue); font-size: 22px; }
.pr-calc-sub { font-size: 13px; color: var(--al-text-2); margin: 6px 0 28px; line-height: 1.5; }
.pr-field { margin-bottom: 28px; }
.pr-field-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.pr-field-lbl { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; color: var(--al-navy); }
.pr-field-val { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--al-blue); letter-spacing: -.02em; }
.pr-field-val small { font-size: 13px; font-weight: 600; color: var(--al-text-3); margin-left: 3px; }
.pr-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: var(--radius-pill);
  background: var(--al-line); outline: none; cursor: pointer; }
.pr-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--al-blue); border: 4px solid #fff; box-shadow: var(--shadow-md); cursor: pointer; transition: transform .12s; }
.pr-range::-webkit-slider-thumb:active { transform: scale(1.12); }
.pr-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--al-blue); border: 4px solid #fff; box-shadow: var(--shadow-md); cursor: pointer; }
.pr-range-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: var(--al-text-3); font-weight: 600; }
.pr-calc-note { font-size: 11.5px; color: var(--al-text-3); line-height: 1.5; margin-top: 6px; display: flex; gap: 7px; }
.pr-calc-note i { color: var(--al-blue-400); font-size: 15px; flex: none; margin-top: 1px; }

/* result side */
.pr-calc-out { padding: 30px 32px; background: linear-gradient(160deg, #F4F7FF, #E9EFFF); display: flex; flex-direction: column; }
.pr-out-lead { font-size: 13px; color: var(--al-text-2); line-height: 1.55; margin-bottom: 22px; }
.pr-out-lead b { color: var(--al-navy); font-weight: 800; }
.pr-out-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* H2: mini result cards - soft elevation + hover lift replaces the flat hairline, and the
   accent is a rounded INSET stroke (follows the radius) instead of a squared border-left. */
.pr-out-stat { background: #fff; border: 1px solid var(--al-line); border-radius: var(--radius-lg); padding: 16px 16px 15px; position: relative;
  box-shadow: var(--shadow-sm); transition: transform .18s var(--ease-out), box-shadow .18s; }
.pr-out-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pr-out-stat.span { grid-column: 1 / -1; box-shadow: var(--shadow-sm), inset 3px 0 0 var(--al-blue); }
.pr-out-stat.span:hover { box-shadow: var(--shadow-md), inset 3px 0 0 var(--al-blue); }
.pr-out-stat.warn { box-shadow: var(--shadow-sm), inset 3px 0 0 var(--al-warning); }
.pr-out-stat.warn:hover { box-shadow: var(--shadow-md), inset 3px 0 0 var(--al-warning); }
.pr-out-num { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--al-navy); letter-spacing: -.02em; line-height: 1; }
.pr-out-stat.warn .pr-out-num { color: var(--al-warning); }
.pr-out-stat.span .pr-out-num { color: var(--al-blue); }
.pr-out-lbl { font-size: 12.5px; color: var(--al-text-2); margin-top: 7px; line-height: 1.4; }
.pr-out-rec { margin-top: auto; padding-top: 22px; }
.pr-rec-card { display: flex; align-items: center; gap: 14px; background: var(--al-navy); border-radius: var(--radius-xl); padding: 16px 18px; }
.pr-rec-ic { width: 40px; height: 40px; border-radius: var(--radius-md); background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 21px; flex: none; }
.pr-rec-txt { flex: 1; }
.pr-rec-k { font-size: 11px; color: rgba(255,255,255,.7); }
.pr-rec-v { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: #fff; }
.pr-rec-v span { color: var(--al-blue-300); }
.pr-rec-card .lp-btn { flex: none; }
@media (max-width: 820px) {
  .pr-calc-grid { grid-template-columns: 1fr; }
  .pr-calc-controls { border-right: none; border-bottom: 1px solid var(--al-line); }
}

/* ============================================================
   PLANS
   ============================================================ */
.pr-plans-sec { padding: 80px 0 40px; position: relative; z-index: 2; }
.pr-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.pr-toggle { display: flex; justify-content: center; margin: 0 0 38px; }
.pr-toggle-track { display: inline-flex; background: #fff; border: var(--card-border); border-radius: var(--radius-pill); padding: 5px; gap: 4px; box-shadow: var(--shadow-xs); }
.pr-toggle-btn { border: none; background: none; font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--al-text-2); padding: 9px 18px; border-radius: var(--radius-pill); cursor: pointer; transition: background .18s, color .18s; display: inline-flex; align-items: center; gap: 8px; }
.pr-toggle-btn.on { background: var(--al-blue); color: #fff; }
.pr-toggle-save { font-size: 10.5px; font-weight: 700; color: var(--al-success); background: rgba(31,193,107,.14); padding: 3px 8px; border-radius: var(--radius-pill); letter-spacing: .01em; line-height: 1; white-space: nowrap; }
.pr-toggle-btn.on .pr-toggle-save { background: rgba(255,255,255,.22); color: #fff; }
/* Jira-style tier cards: flat and airy with a thin border and a COLOURED TOP-ACCENT bar per
   tier; the recommended plan is lifted (not just bordered) with its badge on the accent. */
.pr-plan { background: #fff; border: 1px solid var(--al-line); border-radius: 16px; padding: 34px 28px 28px;
  display: flex; flex-direction: column; position: relative;
  transition: transform .2s var(--ease-out), box-shadow .2s, border-color .2s; }
/* coloured top accent per tier (Free grey, Pro blue, Max navy) - rounded to match the card's
   top corners so the card needs no overflow:hidden (which would clip the badge). */
.pr-plan::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--al-line-2); border-radius: 16px 16px 0 0; }
.pr-plan[data-plan="Pro"]::before { background: var(--al-blue); }
.pr-plan[data-plan="Max"]::before { background: var(--al-navy); }
.pr-plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
/* recommended plan - lifted + blue ring; the badge rides the top accent */
.pr-plan.featured { border-color: var(--al-blue); box-shadow: var(--shadow-lg); }
@media (min-width: 861px) {
  .pr-plan.featured { transform: scale(1.035); z-index: 1; }
  .pr-plan.featured:hover { transform: scale(1.035) translateY(-5px); }
}
.pr-plan-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -46%);
  background: var(--al-blue); color: #fff; font-family: var(--font-display); font-size: 11px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: 6px 15px; border-radius: 999px;
  box-shadow: var(--shadow-sm); white-space: nowrap; }
.pr-plan-head { min-height: 66px; }
.pr-plan-name { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--al-navy); letter-spacing: -.01em; }
.pr-plan-desc { font-size: 13.5px; color: var(--al-text-2); margin-top: 6px; line-height: 1.45; }
/* price leads the card */
.pr-plan-price { margin-top: 18px; padding-bottom: 20px; }
.pr-plan-amt { font-family: var(--font-display); font-size: 52px; font-weight: 800; color: var(--al-navy); letter-spacing: -.035em; line-height: 1; }
.pr-plan-period { font-size: 15px; font-weight: 600; color: var(--al-text-3); letter-spacing: 0; }
.pr-plan-billnote { font-size: 12.5px; font-weight: 600; color: var(--al-text-3); margin-top: 10px; }
/* compact capacity row (meetings/month) */
/* Struck-through monthly price shown beside the discounted annual price. */
.pr-plan-was { color: var(--al-text-3); font-weight: 700; text-decoration: line-through; margin-right: 4px; opacity: .75; }
.pr-plan-cap { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--al-navy); margin: 0 0 12px; }
.pr-plan-cap i { color: var(--al-blue); font-size: 18px; flex: none; }
/* Per-plan "Integrations" row with the connected-tool logos, under the cap */
.pr-plan-ints-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 20px; }
.pr-plan-ints-lbl { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--al-text-3); }
.pr-ints { display: inline-flex; align-items: center; gap: 7px; }
.pr-ints img { width: 22px; height: 22px; object-fit: contain; display: block; }
.pr-ints-row .pr-ints { justify-content: flex-start; }
/* CTA sits under the price (Jira order); full-width */
.pr-plan .lp-btn { width: 100%; height: 46px; font-size: 15px; }
/* "Includes:" divider label above the feature list */
.pr-plan-listhead { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--al-text-3);
  margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--al-line); }
.pr-plan-list { display: flex; flex-direction: column; gap: 13px; margin: 16px 0 0; flex: 1; }
.pr-plan-li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--al-navy); line-height: 1.45; }
.pr-plan-li i { color: var(--al-success); font-size: 18px; flex: none; margin-top: 1px; }
.pr-plan.rec-hl { outline: 2.5px solid var(--al-blue); outline-offset: 4px; }

/* benefits row - title, icon, description, center-aligned */
.pr-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1080px; margin: 34px auto 0; }
.pr-benefit { background: #fff; border: 1px solid var(--al-line); border-radius: var(--radius-xl); padding: 26px 20px; box-shadow: var(--shadow-sm); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: transform .2s var(--ease-out), box-shadow .2s, border-color .2s; }
.pr-benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pr-benefit:hover .pr-benefit-ic { transform: scale(1.06); }
.pr-benefit-ic { transition: transform .2s var(--ease-out); }
.pr-benefit-title { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--al-navy); letter-spacing: -.01em; line-height: 1.2; }
.pr-benefit-ic { width: 54px; height: 54px; border-radius: var(--radius-lg); background: var(--al-blue-50); color: var(--al-blue); display: flex; align-items: center; justify-content: center; font-size: 27px; }
.pr-benefit-desc { font-size: 13px; color: var(--al-text-2); line-height: 1.5; }
@media (max-width: 860px) {
  /* C2: when the plans stack, the absolute "Most popular" badge (top:-12px) sat on top of
     the card above - widen the row gap and nudge the featured card down so nothing overlaps. */
  .pr-plans { grid-template-columns: 1fr; max-width: 440px; gap: 34px; }
  .pr-plan.featured { margin-top: 8px; }
  .pr-benefits { grid-template-columns: 1fr 1fr; max-width: 440px; }
}

/* ============================================================
   FEATURE COMPARISON TABLE
   ============================================================ */
.pr-cmp-sec { padding: 56px 0; position: relative; z-index: 2; }
.pr-table-wrap { max-width: 1000px; margin: 0 auto; background: #fff; border: var(--card-border); border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-md); }
.pr-table { width: 100%; border-collapse: collapse; }
.pr-table th, .pr-table td { padding: 16px 20px; text-align: left; }
.pr-table thead th { background: #fff; border-bottom: 1.5px solid var(--al-line); }
.pr-table thead .pr-th-name { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--al-navy); }
.pr-table thead .pr-th-price { font-size: 12.5px; font-weight: 600; color: var(--al-text-3); margin-top: 2px; }
.pr-table thead th:not(:first-child), .pr-table tbody td:not(:first-child) { text-align: center; width: 150px; }
.pr-table thead th.feat-col { width: auto; }
.pr-table tbody .pr-row-group td { background: var(--al-blue-50); font-family: var(--font-display); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--al-blue); padding: 10px 20px; }
.pr-table tbody tr.feat td { border-bottom: 1px solid var(--al-line); }
.pr-table tbody tr.feat:hover td { background: var(--al-paper); }
.pr-feat-name { font-size: 14.5px; font-weight: 600; color: var(--al-navy); }
.pr-feat-name small { display: block; font-size: 12px; font-weight: 400; color: var(--al-text-3); margin-top: 2px; }
.pr-yes { color: var(--al-success); font-size: 21px; }
.pr-no { color: var(--al-danger); font-size: 20px; }
.pr-val { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--al-navy); }
.pr-col-hl { background: rgba(51,92,255,.04); }

/* mobile: horizontal scroll with a sticky feature column */
.pr-swipe-hint { display: none; }
@media (max-width: 720px) {
  .pr-swipe-hint { display: flex; align-items: center; justify-content: center; gap: 7px; font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; color: var(--al-text-3); margin: 0 0 10px; }
  .pr-swipe-hint i { font-size: 15px; color: var(--al-blue); }
  .pr-table-wrap { position: relative; }
  .pr-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pr-table { min-width: 640px; }
  .pr-table th, .pr-table td { padding: 12px 12px; }
  .pr-table thead th:not(:first-child), .pr-table tbody td:not(:first-child) { width: 110px; }
  .pr-table thead .pr-th-name { font-size: 13px; }
  .pr-feat-name { font-size: 13px; }
  .pr-table thead th:first-child, .pr-table tbody tr.feat td:first-child { position: sticky; left: 0; background: #fff; z-index: 2; }
  .pr-table tbody tr.feat:hover td:first-child { background: #fff; }
  /* right-edge fade hint over the scroll area */
  .pr-table-wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 28px; pointer-events: none; z-index: 3;
    background: linear-gradient(to left, rgba(255,255,255,.92), rgba(255,255,255,0)); border-radius: 0 var(--radius-2xl) var(--radius-2xl) 0; }
}

/* ============================================================
   STICKY TRIAL CTA
   ============================================================ */
.pr-sticky { position: fixed; left: 0; right: 0; bottom: 18px; z-index: 60; display: flex; justify-content: center; padding: 0 16px;
  transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease-out), visibility .3s; pointer-events: none; }
.pr-sticky.show { transform: none; visibility: visible; pointer-events: auto; }
.pr-sticky-in { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 560px; background: #fff; border: var(--card-border);
  border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); padding: 10px 12px 10px 22px; }
.pr-sticky-txt { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; white-space: nowrap; overflow: hidden; }
.pr-sticky-plan { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--al-navy); }
.pr-sticky-meta { font-family: var(--font-ui); font-size: 13px; font-weight: 500; color: var(--al-text-2); overflow: hidden; text-overflow: ellipsis; }
.pr-sticky .lp-btn { flex: none; }
@media (max-width: 860px) {
  .pr-sticky { bottom: 0; padding: 0; }
  .pr-sticky-in { max-width: none; border-radius: 0; border-left: none; border-right: none; border-bottom: none;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); flex-wrap: nowrap; }
  .pr-sticky .lp-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .pr-sticky { transition: none; } }

/* ============================================================
   FAQ
   ============================================================ */
.pr-faq-sec { padding: 64px 0 96px; position: relative; z-index: 2; }
.pr-faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.pr-faq-item { background: #fff; border: 1px solid var(--al-line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, transform .2s; }
.pr-faq-item:hover { box-shadow: var(--shadow-md); }
.pr-faq-item.open { border-color: var(--al-line-2); box-shadow: var(--shadow-md); }
.pr-faq-q { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 22px; font-family: var(--font-display); font-size: 16.5px; font-weight: 700; color: var(--al-navy); }
.pr-faq-q i { margin-left: auto; font-size: 22px; color: var(--al-blue); transition: transform .25s var(--ease-out); flex: none; }
.pr-faq-item.open .pr-faq-q i { transform: rotate(45deg); }
.pr-faq-ic { width: 34px; height: 34px; border-radius: var(--radius-sm); background: var(--al-blue-50); color: var(--al-blue); display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.pr-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease-out); }
.pr-faq-item.open .pr-faq-a { max-height: 320px; }
.pr-faq-a p { padding: 0 22px 22px 22px; font-size: 15px; line-height: 1.6; color: var(--al-text-2); margin: 0; }
@media (max-width: 560px) { .pr-faq-a p { padding-left: 22px; } }
