@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&display=swap");

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  --ps-primary: #5046e6;
  --ps-green: #1eb0a3;
  --ps-text: #15161a;
  --ps-muted: #5e6472;
  --ps-surface: #ffffff;
  --ps-band: #f4f6f8;
  --ps-line: rgba(21, 22, 26, 0.12);
}

/* ── Header compact variant ──────────────────────────────────────── */
.site-header--compact {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
  background: transparent;
}

.site-header--compact .nav--compact {
  min-height: 36px;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.site-header--compact .brand img {
  height: 34px;
  width: auto;
}

/* Transparent on hero */
.site-header--compact.is-hero .nav-text-link,
.site-header--compact.is-hero .brand {
  color: var(--ps-text);
}

.site-header--compact.is-hero .nav-text-link:hover {
  background: rgba(80, 70, 230, 0.07);
  color: var(--ps-primary);
}

.site-header--compact.is-hero .nav-separator {
  background: rgba(21, 22, 26, 0.18);
}

/* Glass when scrolled */
.site-header--compact.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(21, 22, 26, 0.08);
  box-shadow: 0 4px 18px rgba(15, 24, 47, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Ghost text-only nav links */
.nav-text-link {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ps-text);
  text-decoration: none;
  border-radius: 7px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-text-link:hover {
  background: rgba(80, 70, 230, 0.07);
  color: var(--ps-primary);
}

/* Separator between nav links and CTA */
.nav-separator {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: rgba(21, 22, 26, 0.18);
  margin: 0 6px;
  vertical-align: middle;
}

/* Green CTA button */
.nav-btn--green {
  background: var(--ps-green) !important;
  border-color: var(--ps-green) !important;
  box-shadow: 0 8px 22px rgba(30, 176, 163, 0.28) !important;
}

.site-header--compact .nav-btn--green {
  min-height: 46px;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-btn--green:hover {
  background: #17907f !important;
  border-color: #17907f !important;
}

@media (max-width: 1024px) {
  .site-header--compact .nav-links,
  .site-header--compact .nav-actions {
    display: none;
  }
}

/* ── Hero stacked layout ─────────────────────────────────────────── */
.ps-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  justify-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.ps-hero__copy {
  width: min(100%, 900px);
  align-self: end;
  text-align: center;
}

.ps-hero__visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.ps-hero__visual-wrap {
  position: relative;
  width: min(86vw, 980px);
  margin-left: 0;
  border-radius: 26px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 30px 80px rgba(80, 70, 230, 0.08), 0 10px 30px rgba(30, 176, 163, 0.06);
  overflow: visible;
}

.ps-hero__dashboard {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 18px 42px rgba(15, 24, 47, 0.1);
}

.ps-hero__widget {
  position: absolute;
  right: -9%;
  bottom: -56px;
  width: min(44%, 420px);
  height: auto;
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 24px 64px rgba(15, 24, 47, 0.2), 0 8px 22px rgba(80, 70, 230, 0.1);
  border: 1px solid rgba(11, 15, 20, 0.06);
  background: rgba(255, 255, 255, 0.92);
}

/* ── Slide base ──────────────────────────────────────────────────── */
.ps-slide {
  padding: clamp(5rem, 8vw, 7rem) 24px;
}

.ps-slide--white { background: var(--ps-surface); }
.ps-slide--band  { background: var(--ps-band); }

.ps-slide--contact {
  background:
    radial-gradient(ellipse 80% 60% at 15% 30%, rgba(80,70,230,0.72), transparent 65%),
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(30,176,163,0.58), transparent 62%),
    radial-gradient(ellipse 60% 50% at 75% 85%, rgba(80,70,230,0.48), transparent 60%),
    linear-gradient(145deg, #0d0e1a 0%, #0e1620 50%, #0a1412 100%);
  color: #ffffff;
}

/* ── Hero slide ──────────────────────────────────────────────────── */
.ps-slide--hero {
  background:
    radial-gradient(720px circle at 17% 24%, rgba(80,70,230,0.14), rgba(80,70,230,0.045) 42%, rgba(80,70,230,0) 70%),
    radial-gradient(620px circle at 82% 22%, rgba(30,176,163,0.16), rgba(30,176,163,0.045) 40%, rgba(30,176,163,0) 68%),
    radial-gradient(560px circle at 78% 82%, rgba(80,70,230,0.10), rgba(80,70,230,0.028) 38%, rgba(80,70,230,0) 66%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 42%, #f7f9fc 100%);
  position: relative;
  overflow: visible;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 80px 0 clamp(5rem, 10vw, 8rem);
  box-sizing: border-box;
}

.ps-slide--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(80,70,230,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80,70,230,0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.52), transparent 74%);
  opacity: 0.36;
}

/* ── Content wrapper ─────────────────────────────────────────────── */
.ps-slide__content {
  position: relative;
  z-index: 1;
  width: min(100%, 960px);
  margin: 0 auto;
  text-align: center;
}

.ps-slide--where .ps-slide__content {
  width: min(100%, 1100px);
}

/* ── Logo ────────────────────────────────────────────────────────── */
.ps-inflo-logo {
  display: block;
  width: min(78vw, 300px);
  height: auto;
  margin: 0 0 12px;
}

/* ── Typography ──────────────────────────────────────────────────── */
.ps-slide__title {
  max-width: 820px;
  margin: 0 auto 18px;
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ps-text);
}

.ps-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-top: 0;
  text-align: center;
}

.ps-hero__copy .ps-slide__tagline {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.ps-hero__ctas {
  justify-content: center;
}

.ps-slide--contact .ps-slide__title {
  color: #ffffff;
}

.ps-slide__tagline,
.ps-slide__text {
  max-width: 680px;
  margin: 0 auto 24px;
  font-size: clamp(0.975rem, 1.6vw, 1.125rem);
  line-height: 1.65;
  color: var(--ps-muted);
}

.ps-slide--contact .ps-slide__text {
  color: rgba(255,255,255,0.72);
}

.ps-hero__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.ps-hero__trust {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ps-muted);
  opacity: 0.72;
}

/* ── Where grid ──────────────────────────────────────────────────── */
.ps-where-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  margin-top: 42px;
  text-align: left;
}

.ps-where-col {
  display: grid;
  grid-row: 1 / -1;
  grid-template-rows: 1fr 36px 0.78fr;
  gap: 0;
}

.ps-where-card {
  border: 1px solid var(--ps-line);
  border-radius: 14px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(15, 24, 47, 0.02);
}

.ps-where-card__title {
  margin: 0 0 10px;
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ps-text);
  line-height: 1.3;
}

.ps-where-card__problem {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ps-muted);
}

.ps-where-arrow {
  display: block;
  margin: 9px auto 7px;
  color: var(--ps-green);
  align-self: center;
  justify-self: center;
  width: 18px;
  height: 18px;
}

.ps-where-card__answer {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ps-text);
}

/* ── Widget section ──────────────────────────────────────────────── */
.ps-widget-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.ps-widget-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.ps-portal-lead {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ps-muted);
  margin: 0;
}

.ps-widget-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.ps-widget-screen {
  flex: 0 0 auto;
}

.ps-widget-crossfade {
  position: relative;
  height: 460px;
  width: calc(460px * 4 / 5);
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.07),
    0 24px 64px rgba(0,0,0,0.12),
    0 6px 18px rgba(0,0,0,0.07);
  overflow: hidden;
}

.ps-widget-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 600ms ease;
}

.ps-widget-screenshot.is-active {
  opacity: 1;
}

.ps-widget-points {
  flex: 0 0 300px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: center;
}

.ps-widget-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background 200ms ease;
  cursor: default;
}

.ps-widget-point.is-active {
  background: rgba(80, 70, 230, 0.06);
}

.ps-widget-point__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(245, 246, 248, 1);
  border: 1px solid rgba(40, 40, 40, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ps-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.ps-widget-point__title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ps-text);
  margin-bottom: 3px;
}

.ps-widget-point__text {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ps-muted);
  margin: 0;
}

/* ── Portal section ──────────────────────────────────────────────── */
.ps-portal-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.ps-portal-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.ps-portal-body {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
}

.ps-portal-screen {
  flex: 1 1 0;
  min-width: 0;
}

.ps-portal-screenshot {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.07),
    0 24px 64px rgba(0,0,0,0.14),
    0 6px 18px rgba(0,0,0,0.08);
}

.ps-portal-points {
  flex: 0 0 300px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: center;
}

.ps-portal-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ps-portal-point__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(245, 246, 248, 1);
  border: 1px solid rgba(40, 40, 40, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ps-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.ps-portal-point__title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ps-text);
  margin-bottom: 3px;
}

.ps-portal-point__text {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ps-muted);
  margin: 0;
}

/* ── Onboarding steps ────────────────────────────────────────────── */
.ps-onboarding-steps {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  list-style: none;
  margin: 44px auto 0;
  padding: 0;
  width: min(100%, 960px);
}

.ps-onboarding-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: calc(100% / 10);
  right: calc(100% / 10);
  height: 2px;
  background: rgba(40, 40, 40, 0.18);
  pointer-events: none;
}

.ps-onboarding-step {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
  gap: 14px;
}

.ps-onboarding-step__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #ffffff;
  border: 1.5px solid rgba(41, 41, 41, 0.22);
  color: var(--ps-primary);
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(80, 70, 230, 0.08);
}

.ps-onboarding-step__title {
  display: block;
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ps-text);
  line-height: 1.3;
  margin: 0;
}

.ps-onboarding-step__text {
  font-size: 0.8125rem;
  line-height: 1.58;
  color: var(--ps-muted);
  margin: 0;
  max-width: 160px;
}

/* ── Pricing grid ────────────────────────────────────────────────── */
.ps-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}

.ps-pricing-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--ps-line);
  border-radius: 20px;
  background: #ffffff;
  padding: 28px;
}

.ps-pricing-card--featured {
  border-color: var(--ps-green);
  box-shadow:
    0 0 0 1px var(--ps-green),
    0 12px 40px rgba(80, 70, 230, 0.12);
}

.ps-pricing-card__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ps-pricing-card__plan-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ps-pricing-card__badge {
  display: inline-block;
  background: var(--ps-green);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
}

.ps-pricing-card__plan {
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--ps-text);
  margin: 0;
  letter-spacing: -0.01em;
}

.ps-pricing-card__label {
  font-size: 0.8125rem;
  color: var(--ps-muted);
  margin: 0;
  line-height: 1.4;
}

.ps-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.ps-pricing-card__amount {
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 800;
  color: var(--ps-text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.ps-pricing-card__period {
  font-size: 0.8125rem;
  color: var(--ps-muted);
  line-height: 1;
}

.ps-pricing-card__features {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ps-pricing-card__features li {
  font-size: 0.875rem;
  color: var(--ps-muted);
  line-height: 1.4;
  padding-left: 18px;
  position: relative;
}

.ps-pricing-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ps-primary);
  font-weight: 700;
  font-size: 0.8rem;
}

.ps-pricing-footnote {
  margin: 28px 0 0;
  text-align: center;
}

.ps-pricing-footnote__link {
  font-size: 0.875rem;
  color: var(--ps-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(94, 100, 114, 0.4);
}

.ps-pricing-footnote__link:hover {
  color: var(--ps-green);
  text-decoration-color: var(--ps-green);
}

/* ── Section CTA buttons ─────────────────────────────────────────── */
.ps-slide .btn.btn-secondary {
  border: 1px solid rgba(21, 22, 26, 0.24);
  background: transparent;
  color: var(--ps-text);
  box-shadow: none;
}

.ps-slide .btn.btn-secondary:hover {
  border-color: rgba(21, 22, 26, 0.42);
  background: rgba(21, 22, 26, 0.04);
}

.ps-pricing-card .btn.btn-primary,
.ps-btn--contact-primary {
  border: 1px solid var(--ps-green);
  background: var(--ps-green);
  color: #ffffff;
}

.ps-pricing-card .btn.btn-primary:hover,
.ps-btn--contact-primary:hover {
  background: #17907f;
  border-color: #17907f;
}

.pricing-page-final [aria-labelledby="pf-plans-title"] > .container {
  width: min(100% - 2rem, 1280px);
  max-width: none;
}

.pricing-page-final .pf-plans-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
  padding-top: 0;
  text-align: left;
}

.pricing-page-final .pricing-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--ps-line);
  border-radius: 20px;
  background: #ffffff;
  padding: 24px;
  box-shadow: none;
  text-align: left;
  transform: none;
}

.pricing-page-final .pricing-card.plan-card.is-recommended {
  transform: none;
  border-color: var(--ps-green);
  box-shadow:
    0 0 0 1px var(--ps-green),
    0 12px 40px rgba(80, 70, 230, 0.12);
}

.pricing-page-final .pricing-card--featured:not(.is-recommended) {
  border-color: var(--ps-line);
  box-shadow: none;
}

.pricing-page-final .pricing-card__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pricing-page-final .pricing-card__header h3 {
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--ps-text);
  margin: 0;
  letter-spacing: -0.01em;
}

.pricing-page-final .pricing-card__tagline,
.pricing-page-final .pricing-card__trial {
  font-size: 0.8125rem;
  color: var(--ps-muted);
  margin: 0;
  line-height: 1.4;
}

.pricing-page-final .pricing-card__price {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
}

.pricing-page-final .pricing-card__price .price {
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 800;
  color: var(--ps-text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing-page-final .pricing-card__price .period {
  font-size: 0.8125rem;
  color: var(--ps-muted);
  line-height: 1;
}

.pricing-page-final .pricing-card__divider {
  display: none;
}

.pricing-page-final .pricing-card__features {
  flex: 1;
}

.pricing-page-final .pricing-card .plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pricing-page-final .pricing-card .plan-features li {
  display: block;
  grid-template-columns: none;
  gap: 0;
  font-size: 0.84rem;
  color: var(--ps-muted);
  font-weight: 400;
  line-height: 1.45;
  padding-left: 17px;
  position: relative;
}

.pricing-page-final .plan-card .plan-features li:nth-child(-n + 3) {
  color: var(--ps-muted);
  font-weight: 400;
}

.pricing-page-final .pricing-card .plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ps-primary);
  font-weight: 700;
  font-size: 0.8rem;
}

.pricing-page-final .pricing-card__cta .btn {
  width: 100%;
  justify-content: center;
}

.pricing-page-final .pricing-card .btn.btn-primary {
  border: 1px solid var(--ps-green);
  background: var(--ps-green);
  color: #ffffff;
}

.pricing-page-final .pricing-card .btn.btn-primary:hover {
  background: #17907f;
  border-color: #17907f;
}

.pricing-page-final .pricing-card .btn.btn-secondary {
  border: 1px solid rgba(21, 22, 26, 0.24);
  background: transparent;
  color: var(--ps-text);
  box-shadow: none;
}

.pricing-page-final .pricing-card .btn.btn-secondary:hover {
  border-color: rgba(21, 22, 26, 0.42);
  background: rgba(21, 22, 26, 0.04);
}

.pricing-page-final .pricing-card[data-plan="individual"] {
  border-color: var(--ps-line);
  background: #ffffff;
}

.pricing-page-final .pf-section-subtitle {
  max-width: 720px;
  margin: 0.6rem auto 1.75rem;
  color: var(--ps-muted);
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.pricing-page-final .pf-hero-calculator .pf-hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  justify-items: center;
  justify-content: center;
}

.pricing-page-final .pf-inline-calculator {
  width: min(100%, 980px);
  margin: 0 auto;
  text-align: center;
}

.pricing-page-final .pf-inline-calculator .pf-slider-input {
  margin-top: 4px;
}

.pricing-page-final .pf-inline-calculator .pf-slider-output {
  justify-content: center;
}

.pricing-page-final .pf-inline-calculator .roi {
  margin-top: 26px;
  text-align: left;
}

.pricing-page-final .pf-inline-calculator .roi__metric {
  background: rgba(255, 255, 255, 0.78);
}

.pricing-page-final .pf-budget-section {
  padding: 80px 0;
}

.pricing-page-final .pf-budget-section .ps-slide__content {
  max-width: 1120px;
}

.pricing-page-final .pf-budget-steps {
  width: min(100%, 920px);
}

.pricing-page-final .pf-budget-steps::before {
  left: calc(100% / 8);
  right: calc(100% / 8);
}

.pricing-page-final .pf-budget-trust {
  margin: 28px auto 0;
  color: var(--ps-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 980px) {
  .pricing-page-final .pf-plans-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Contact CTA buttons ─────────────────────────────────────────── */
.ps-contact-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.ps-slide--contact .btn.btn-secondary,
.ps-btn--contact-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #ffffff;
}

.ps-slide--contact .btn.btn-secondary:hover,
.ps-btn--contact-secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

/* ── Mobile ──────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .ps-slide--hero {
    min-height: 100svh;
    padding-top: 70px;
    overflow: visible;
  }

  .ps-hero__inner {
    grid-template-columns: 1fr;
  }

  .ps-hero__visual {
    display: none;
  }

  .ps-hero__title,
  .ps-hero__copy .ps-slide__tagline {
    text-align: center;
  }

  .ps-inflo-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .ps-hero__ctas {
    justify-content: center;
  }

  .ps-slide {
    padding: 4rem 18px;
  }

  .ps-where-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 20px 0;
  }

  .ps-where-col {
    grid-row: auto;
    grid-template-rows: none;
  }

  .ps-widget-body {
    flex-direction: column;
    align-items: center;
  }

  .ps-widget-crossfade {
    height: 320px;
    width: calc(320px * 4 / 5);
  }

  .ps-widget-points {
    flex: none;
    width: 100%;
  }

  .ps-portal-body {
    flex-direction: column;
  }

  .ps-portal-points {
    flex: none;
    width: 100%;
  }

  .ps-onboarding-steps {
    flex-direction: column;
    gap: 0;
  }

  .ps-onboarding-steps::before {
    top: calc(100% / 10);
    bottom: calc(100% / 10);
    left: 24px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .pricing-page-final .pf-budget-steps::before {
    top: calc(100% / 8);
    bottom: calc(100% / 8);
    left: 24px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .ps-onboarding-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: 16px 0;
    gap: 16px;
  }

  .ps-onboarding-step__body {
    flex: 1 1 0;
    min-width: 0;
  }

  .ps-onboarding-step__text {
    max-width: none;
  }

  .ps-pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-page-final .pf-plans-grid {
    grid-template-columns: 1fr;
  }

  .ps-pricing-card--featured {
    order: -1;
  }
}

/* ── Pricing mobile refinements ─────────────────────────────────── */
@media (max-width: 760px) {
  .site-header--compact .mobile-header-login.nav-btn--green {
    min-height: 42px;
    padding: 0.62rem 0.82rem;
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .pricing-page-final .pf-matrix-mobile {
    margin-top: 6px;
  }

  .pricing-page-final .pf-matrix-toggle {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    margin: 0 0 12px;
    border-radius: 14px;
    overflow: visible;
    background: #f3f4f6;
  }

  .pricing-page-final .pf-matrix-toggle-btn {
    min-width: 0;
    padding: 10px 4px;
    border-radius: 10px;
    font-size: 0.82rem;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  .pricing-page-final .pf-matrix-toggle-btn.is-active {
    box-shadow: 0 6px 18px rgba(80, 70, 230, 0.2);
  }

  .pricing-page-final .pf-matrix-mobile-card {
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 24, 47, 0.06);
  }

  .pricing-page-final .pf-matrix-mobile-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .pricing-page-final .pf-mobile-limit {
    margin-bottom: 12px;
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .pricing-page-final .pf-matrix-mobile-card ul {
    gap: 0;
    font-size: 0.88rem;
  }

  .pricing-page-final .pf-matrix-mobile-card ul li {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.35;
  }

  .pricing-page-final .pf-matrix-mobile-card ul li:first-child {
    padding-top: 0;
  }

  .pricing-page-final .pf-matrix-mobile-card ul li::before {
    top: 10px;
  }

  .pricing-page-final .pf-matrix-mobile-card ul li:first-child::before {
    top: 0;
  }

  .pricing-page-final .pf-matrix-mobile-card ul li + li {
    padding-top: 10px;
  }

  .pricing-page-final .pf-matrix-mobile-card ul li + li::before {
    top: 10px;
  }

  .pricing-page-final .pf-budget-section .ps-slide__content {
    width: min(100%, 680px);
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .pricing-page-final .pf-budget-steps {
    width: 100%;
    margin-top: 22px;
    padding-left: 12px;
    box-sizing: border-box;
  }

  .pricing-page-final .pf-budget-steps::before {
    left: 36px;
  }

  .pricing-page-final .pf-budget-steps .ps-onboarding-step {
    padding: 16px 0;
  }
}

@media (max-width: 390px) {
  .pricing-page-final .pf-matrix-toggle-btn {
    font-size: 0.78rem;
  }
}
