/* =================================================================
   Zoho PageSense â€” "VWO alternative" comparison page
     0. Tokens, shared type, utilities, buttons, sprite
     1. Banner
     2. Does VWO have all that you need?
     3. At a glance table
     4. Feature cards (Built for teams + Problems)
     5. Impact stats
     6. Feature comparison (enterprise banner + two tables)
     7. Workflow steps
     8. Pricing plans
     9. Compare more
    10. Final CTA
    11. Responsive â€” 1199 / 991 / 767
   ================================================================= */

/* ---------- 0. Tokens, shared type, utilities, buttons, sprite ---------- */
.zw-product-header {
    background-color: #fff2ed;
}
.zwc-pagewrapper {
  --zwc-ink: #000;
  --zwc-navy: #071a31;
  --zwc-stat-ink: #11172a;
  --zwc-muted: #2c3344;
  --zwc-section-gray: #f0ebeb;
  --zwc-dark: #150505;
  --zwc-line: #e3e3e3;
  --zwc-link: #0a55eb;
  --zwc-focus: #0a55eb;
  --zwc-sprite: url("/sites/zweb/images/pagesense/alternatives/pagesense-vwo-sprite.svg");
  /* Horizontal: solid red left edge â†’ yellow â†’ green â†’ solid blue right edge */
  --zwc-brand-border: linear-gradient(90deg, #f40014 0%, #f40014 30%, #f9b21d 45%, #089949 70%, #226db4 90%, #226db4 100%);
  --zwc-mint-gradient: linear-gradient(130deg, #baf0ec 8%, #f2f8de 42%, #c3dffe 92%);

  /* Type scale (desktop value = Figma at 1728px) */
  --zwc-fs-h1: clamp(36px, 3.7vw, 64px);
  --zwc-fs-h2: clamp(28px, 2.78vw, 48px);
  --zwc-fs-h3-lg: clamp(24px, 2.08vw, 36px);
  --zwc-fs-24: clamp(20px, 1.39vw, 24px);
  --zwc-fs-20: clamp(17px, 1.16vw, 20px);
  --zwc-fs-18: clamp(16px, 1.04vw, 18px);
  --zwc-fs-16: clamp(15px, 0.93vw, 16px);

  color: var(--zwc-ink);
  font-family: var(--primaryfont-regular);
  letter-spacing: -.02em;
  text-wrap: pretty;
}

.zwc-pagewrapper .content-wrap {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.zwc-pagewrapper .zwc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.zwc-pagewrapper .zwc-dblk {
  display: block;
}

.zwc-pagewrapper a:focus-visible,
.zwc-pagewrapper button:focus-visible,
.zwc-pagewrapper .zwc-table-scroll:focus-visible {
  outline: 2px solid var(--zwc-focus);
  outline-offset: 3px;
}

/* WCAG 2.4.11: the product header turns fixed (65px) on scroll, so keep
   anything scrolled into view by focus clear of it */
.zwc-pagewrapper a,
.zwc-pagewrapper button,
.zwc-pagewrapper .zwc-table-scroll {
  scroll-margin-top: 90px;
}

/* Section-level headings share one H2 style */
.zwc-section-head h2,
.zwc-overview-inner h2,
.zwc-glance h2,
.zwc-enterprise-content h3,
.zwc-final-cta h2 {
  font-family: var(--primaryfont-semibold);
  font-size: var(--zwc-fs-h2);
  line-height: 1.17;
}

/* Shared section heading block */
.zwc-section-head {
  max-width: 830px;
  margin: 0 auto 50px;
  text-align: center;
}

.zwc-section-head p {
  margin-top: 25px;
  font-size: var(--zwc-fs-20);
  line-height: 1.5;
}

/* White content panels that sit on a coloured section background */
.zwc-overview-card,
.zwc-impact-card,
.zwc-plans-card {
  border-radius: 20px;
  background: #fff;
}

/* Every sprite pseudo-element: one base, each rule below sets size + position */
.zwc-pill-link::after,
.zwc-btn-group .act-btn.cta-btn::after,

.zwc-today-badge::before,
.zwc-today-card li::before,
.zwc-icon-team-6::before,
.zwc-icon-prob-1::before,
.zwc-stat-icon::before,
.zwc-group-toggle::before,
.zwc-yes::before,
.zwc-no::before,
.zwc-plan-features li::before,
.zwc-know-more::after {
  content: "";
  display: inline-block;
  background: var(--zwc-sprite) no-repeat;
}

/* Buttons: page-level size; colours/icons per the design.
   Both get a 2px border (transparent on the red one) so they match in height. */
.zwc-pagewrapper .act-btn {
  padding: 16px 32px;
  border-width: 2px;
  border-radius: 4px;
  white-space: nowrap;
}

.zwc-pagewrapper .zwc-demo-btn {
  border: 2px solid #000;
  color: #000;
}

/* Buttons keep their natural size: no shrinking (which wrapped "Book a demo"
   onto two lines) and no stretching to the tallest sibling (which left the
   other label sitting at the top). When space runs out they wrap as a whole. */
.zwc-btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.zwc-btn-group > .act-btn {
  flex: 0 0 auto;
}

/* Button icons sit outside the label's layout: the right padding reserves
   their space and the icon is positioned absolutely. (Inline-flex here let
   Safari/WebKit size "Book a demo" too narrow and clip its play icon.)
     Start free trial: 25px edge + 24px chevron + ~10px gap = 60px
     Book a demo:      30px edge + 24px play icon + ~10px gap = 65px */
.zwc-btn-group .act-btn.cta-btn{
  position: relative;
  padding-right: 60px;
}



.zwc-btn-group .act-btn.cta-btn::after {
  position: absolute;
  top: 49%;
  right: 25px;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background-position: -300px -150px;
}


/* Shared white pill link with arrow ("See the number", "Visit the blog") */
.zwc-pill-link {
  display: inline-block;
  padding: 15px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(7, 26, 49, .04), 0 6px 9px rgba(7, 26, 49, .05);
  color: var(--zwc-navy);
  font-family: var(--zf-primary-medium);
  font-size: 15px;
  line-height: 1.6;
  white-space: nowrap;
}

.zwc-pill-link::after {
  width: 14px;
  height: 14px;
  margin-left: 10px;
  vertical-align: -2px;
  background-position: -150px 0;
}

.zwc-pill-link:hover {
  text-decoration: underline;
}

/* Horizontal scroll container for wide tables on small screens */
.zwc-table-scroll {
  overflow-x: auto;
}

/* ---------- 1. Banner ---------- */
.zwc-banner {
  padding: 135px 0 120px;
  background-color: #fff2ed;
}

.zwc-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.zwc-banner-content {
  max-width: 49%;
}

.zwc-banner h1 {
  /* max-width: 585px; */
  font-family: var(--primaryfont-semibold);
  font-size: var(--zwc-fs-h1);
  line-height: 1.125;
}

.zwc-banner-content > p {
  margin-top: 40px;
  font-size: var(--zwc-fs-18);
  line-height: 1.56;
}

.zwc-banner .zwc-btn-group {
  margin-top: 40px;
}

.zwc-banner-media {
  display: block;
  width: 43%;
}

.zwc-banner-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 2. Does VWO have all that you need? ---------- */
.zwc-vwo-overview {
  padding: 100px 0;
  background: linear-gradient(130deg, #ffa49c 0%, #ffbfa8 40%, #ffdfb5 80%, #fff8d6 100%);
}

.zwc-vwo-overview .content-wrap {
  max-width: 1515px;
}

.zwc-overview-card {
  padding: 80px 60px;
}

.zwc-overview-inner {
  max-width: 1007px;
  margin: 0 auto;
}

.zwc-overview-inner > p {
  margin-top: 20px;
  font-size: var(--zwc-fs-18);
  line-height: 1.56;
}

.zwc-today-compare {
  display: flex;
  gap: 30px;
  margin-top: 55px;
}

.zwc-today-card {
  flex: 1 1 0;
  padding: 40px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  background: #fff;
}

.zwc-today-pagesense {
  border-color: transparent;
  background:
    var(--zwc-mint-gradient) padding-box,
    var(--zwc-brand-border) border-box;
}

.zwc-today-card h3 {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  color: var(--zwc-navy);
  font-family: var(--zf-primary-medium);
  font-size: var(--zwc-fs-24);
  line-height: 1.33;
}

.zwc-today-badge {
  display: block;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 10px;
  border: 1px solid #ff0606;
  border-radius: 9px;
  background: #fff;
}

.zwc-today-badge::before {
  display: block;
  width: 16px;
  height: 16px;
  background-position: 0 0;
}

.zwc-today-pagesense .zwc-today-badge {
  border-color: #099e2b;
}

.zwc-today-pagesense .zwc-today-badge::before {
  background-position: -100px 0;
}

.zwc-today-card ul {
  margin-top: 20px;
}

.zwc-today-card li {
  position: relative;
  padding-left: 26px;
  font-size: var(--zwc-fs-18);
  line-height: 1.56;
}

.zwc-today-card li + li {
  margin-top: 20px;
}

.zwc-today-card li::before {
  position: absolute;
  top: 6px;
  left: 0;
  width: 16px;
  height: 16px;
  background-position: -50px 0;
}

.zwc-today-pagesense li::before {
  background-position: -100px 0;
}

.zwc-savings-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  padding: 35px;
  border-radius: 24px;
  background: #ebebec;
}

.zwc-savings-bar .zwc-savings-value {
  color: var(--zwc-navy);
  font-family: var(--zf-primary-medium);
  font-size: clamp(40px, 3.24vw, 56px);
  line-height: 1;
  letter-spacing: -.036em;
  white-space: nowrap;
  margin-bottom: 0;
}

.zwc-savings-text p {
  font-size: var(--zwc-fs-16);
  line-height: 1.63;
  margin-bottom: 0;
}

.zwc-savings-text strong {
  color: var(--zwc-navy);
  font-family: var(--primaryfont-semibold);
}

.zwc-savings-bar .zwc-pill-link {
  margin-left: auto;
}

/* ---------- 3. At a glance table ---------- */
.zwc-glance {
  padding: 135px 0 170px;
  background:
    radial-gradient(30% 45% at 12% 55%, rgba(253, 205, 160, .45), transparent 75%),
    radial-gradient(25% 40% at 15% 85%, rgba(255, 205, 200, .35), transparent 75%),
    radial-gradient(30% 45% at 88% 55%, rgba(190, 235, 220, .4), transparent 75%),
    #fff;
}

.zwc-glance h2 {
  margin-bottom: 50px;
  text-align: center;
}

/* The two product columns are drawn as floating cards behind the table:
   ::before = PageSense (highlighted), ::after = VWO. */
.zwc-glance-frame {
  position: relative;
  max-width: 1077px;
  margin: 0 auto;
}

.zwc-glance-frame::before,
.zwc-glance-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
}

.zwc-glance-frame::before {
  left: 30.5%;
  width: 34.6%;
  border: 2px solid transparent;
  border-radius: 10px;
  background:
    linear-gradient(#fff3ef, #fff3ef) padding-box,
    var(--zwc-brand-border) border-box;
  box-shadow: 0 -10px 20px rgba(0, 0, 0, .05);
}

.zwc-glance-frame::after {
  left: calc(65.1% + 15px);
  right: 0;
  border: 1px solid var(--zwc-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(10, 13, 18, .04);
}

/* Shared table base (glance + feature comparison) */
.zwc-glance-table,
.zwc-compare-table {
  position: relative;
  z-index: 1;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.zwc-glance-table .zwc-col-label {
  width: 30.5%;
}

.zwc-glance-table .zwc-col-pagesense {
  width: 34.6%;
}

.zwc-glance-table th,
.zwc-glance-table td {
  padding: 25px 30px;
  font-size: var(--zwc-fs-16);
  line-height: 1.63;
  text-align: left;
  vertical-align: middle;
}

/* Column headers (product names) */
.zwc-glance-table thead th {
  padding-top: 40px;
  padding-bottom: 40px;
  font-family: var(--zf-primary-medium);
  font-size: var(--zwc-fs-24);
  line-height: 1.33;
  text-align: center;
}

.zwc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.zwc-brand img {
  display: block;
  height: auto;
}

/* Label column = its own card that starts below the header row */
.zwc-glance-table tbody th {
  padding-left: 55px;
  border-left: 1px solid var(--zwc-line);
  border-bottom: 1px solid var(--zwc-line);
  background: #fff;
  font-family: var(--zf-primary-medium);
  font-size: var(--zwc-fs-18);
  line-height: 1.56;
}

.zwc-glance-table tbody tr:first-child th {
  border-top: 1px solid var(--zwc-line);
  border-top-left-radius: 12px;
}

.zwc-glance-table tbody tr:last-child th {
  border-bottom-left-radius: 12px;
}

/* Row dividers: pink inside the PageSense card; grey inside the VWO card,
   drawn as a background line so it starts after the 15px gap */
.zwc-glance-table thead th:nth-child(2),
.zwc-glance-table tbody td:nth-child(2) {
  border-bottom: 1px solid rgba(244, 0, 20, .12);
}

.zwc-glance-table thead th:last-child,
.zwc-glance-table tbody td:last-child {
  padding-left: 60px;
  background: linear-gradient(var(--zwc-line), var(--zwc-line)) 15px 100% / calc(100% - 15px) 1px no-repeat;
}

.zwc-glance-table thead th:last-child {
  padding-left: 45px;
}

.zwc-glance-table tbody tr:last-child td {
  border-bottom: 0;
  background: none;
}

/* ---------- 4. Feature cards (Built for teams + Problems) ---------- */
.zwc-teams,
.zwc-problems {
  padding: 110px 0 130px;
  background-color: var(--zwc-section-gray);
}

.zwc-problems {
  padding-bottom: 110px;
}

.zwc-feature-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1190px;
  margin: 0 auto;
}

.zwc-feature-cards > li {
  flex: 0 0 calc((100% - 40px) / 3);
  padding: 45px;
  border: 1px solid #e4e6e9;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .04);
}

.zwc-feature-cards h3 {
  margin-top: 15px;
  color: var(--zwc-navy);
  font-family: var(--zf-primary-medium);
  font-size: var(--zwc-fs-24);
  line-height: 1.33;
}

.zwc-feature-cards p {
  margin-top: 10px;
  font-size: var(--zwc-fs-16);
  line-height: 1.6;
}

/* 48px icon tiles straight from the sprite */
.zwc-card-icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--zwc-sprite) no-repeat;
}

.zwc-icon-team-1 { background-position: -200px 0; }
.zwc-icon-team-2 { background-position: -250px 0; }
.zwc-icon-team-3 { background-position: -300px 0; }
.zwc-icon-team-4 { background-position: -350px 0; }
.zwc-icon-team-5 { background-position: 0 -50px; }
.zwc-icon-prob-2 { background-position: -150px -100px; }
.zwc-icon-prob-3 { background-position: -200px -100px; }
.zwc-icon-prob-4 { background-position: -250px -100px; }
.zwc-icon-prob-5 { background-position: -300px -100px; }
.zwc-icon-prob-6 { background-position: -350px -100px; }

/* Glyph-only sprite icons sit on a CSS colour tile */
.zwc-icon-team-6 {
  padding-top: 11px;
  background: #d4e892;
}

.zwc-icon-prob-1 {
  padding-top: 13px;
  background: #ffc6bd;
}

.zwc-icon-team-6::before,
.zwc-icon-prob-1::before {
  display: block;
  width: 26px;
  height: 26px;
  margin: 0 auto;
  background-position: -50px -50px;
}

.zwc-icon-prob-1::before {
  width: 21px;
  height: 21px;
  background-position: -100px -100px;
}

/* ---------- 5. Impact stats ---------- */
.zwc-impact {
  padding: 120px 0;
  background: linear-gradient(124deg, #ffe5bd 8%, #ffc6bd 46%, #ffc2c2 92%);
}

.zwc-impact .content-wrap {
  max-width: 1420px;
}

.zwc-impact-card {
  padding: 120px 60px;
}

.zwc-impact .zwc-section-head {
  max-width: 760px;
  margin-bottom: 60px;
}

.zwc-stats {
  display: flex;
  /* gap: 25px; */
  max-width: 1112px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.zwc-stat {
  padding: 30px;
  border-radius: 28px;
  color: var(--zwc-stat-ink);
}

.zwc-stat-lift {
  display: flex;
  flex: 0 0 41.2%;
  flex-direction: column;
  justify-content: space-between;
  background: #ffeabb;
}

.zwc-stats-side {
  flex: 1 1 0;
}

.zwc-stats-row {
  display: flex;
  gap: 25px;
}

/* Every card in the row shares the width equally */
.zwc-stats-row > .zwc-stat {
  flex: 1 1 0;
  min-height: 285px;
}

.zwc-stat-insights {
  background: #fcd9bd;
}

.zwc-stat-lcp {
  background: #dcdcfc;
}

/* DOM order is heading â†’ value (for screen readers); row-reverse keeps
   the design's value-left / heading-right layout */
.zwc-stat-tag {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 20px;
  min-height: 198px;
  margin: 25px auto 0;
  padding: 30px 35px;
  background: #ddf7ed;
  width: 100%;
  align-items: center;
}

.zwc-stat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.zwc-stat h3 {
  padding-top: 15px;
  font-family: var(--primaryfont-semibold);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .135em;
  text-transform: uppercase;
}

.zwc-stat-icon {
  display: block;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding-top: 13px;
  border-radius: 12px;
  background: #ffdc45;
}

.zwc-stat-icon::before {
  display: block;
  width: 21px;
  height: 21px;
  margin: 0 auto;
  background-position: -100px -50px;
}

.zwc-stat-insights .zwc-stat-icon { background: #ffc183; }
.zwc-stat-insights .zwc-stat-icon::before { background-position: -150px -50px; }
.zwc-stat-lcp .zwc-stat-icon { background: #9e9eff; }
.zwc-stat-lcp .zwc-stat-icon::before { background-position: -200px -50px; }
.zwc-stat-tag .zwc-stat-icon { background: #97ffd7; }
.zwc-stat-tag .zwc-stat-icon::before { background-position: -250px -50px; }

.zwc-stat p {
  margin-top: 20px;
  color: var(--zwc-muted);
  font-size: var(--zwc-fs-16);
  line-height: 1.5;
}

.zwc-stat .zwc-stat-value {
  margin-top: 25px;
  color: var(--zwc-stat-ink);
  font-family: var(--zf-primary-medium);
  /* One size for every stat value, matching the 2.3Ã— card */
  font-size: clamp(46px, 5.56vw, 66px);
  line-height: .92;
  letter-spacing: -.045em;
}

.zwc-stat-lift p:not(.zwc-stat-value) {
  max-width: 346px;
}

.zwc-stat-tag .zwc-stat-body p{
  margin: 0px;
}

.zwc-stat-tag .zwc-stat-value {
  margin-top: 0;
}

.zwc-stat-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  text-align: right;
}

.zwc-impact-card .zwc-impact-note {
  margin-top: 60px;
  font-size: var(--zwc-fs-20);
  line-height: 1.5;
  text-align: center;
}

/* ---------- 6. Feature comparison ---------- */
.zwc-feature-comparison {
  padding: 95px 0 150px;
  background-color: var(--zwc-section-gray);
}

.zwc-feature-comparison .content-wrap {
  max-width: 1330px;
}

.zwc-feature-comparison .zwc-section-head {
  max-width: 760px;
  margin-bottom: 100px;
}

.zwc-feature-comparison .zwc-section-head h2 {
  max-width: 575px;
  margin: 0 auto;
}

/* 6a. Enterprise plan banner
   Desktop: the text sets the card's height; the illustration is placed on the
   bottom edge at its Figma size (793px of 1330px), so it rises above the top
   border. No clipping here, so the art can break out. */
.zwc-enterprise-banner {
  position: relative;
  border: 1.5px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(152deg, #baf0ec 8%, #f2f8de 42%, #c3dffe 92%) padding-box,
    var(--zwc-brand-border) border-box;
}

/* Text stays above the illustration */
.zwc-enterprise-content {
  position: relative;
  z-index: 1;
  padding: 45px 0 30px 75px;
}

/* margin-bottom reset: the global stylesheet adds 15px / 20px here */
.zwc-enterprise-content h3 {
  margin-bottom: 0;
  color: var(--zwc-navy);
}

.zwc-enterprise-content p {
  max-width: 675px;
  margin: 10px 0 0;
  font-size: var(--zwc-fs-18);
  line-height: 1.56;
}

.zwc-enterprise-content .zwc-pill-link {
  margin-top: 25px;
}

.zwc-enterprise-media {
  position: absolute;
  right: 2.2%;
  bottom: 0;
  width: 59.6%;
}

.zwc-enterprise-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* 6b / 6c. Table cards */
.zwc-table-card {
  margin-top: 85px;
  padding: 70px 55px 80px;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  background: #fbfbfb;
  box-shadow: 0 64px 80px rgba(10, 13, 18, .04);
}

.zwc-table-card > h3 {
  font-family: var(--zf-primary-medium);
  font-size: var(--zwc-fs-h3-lg);
  line-height: 1.11;
  text-align: center;
}

.zwc-table-card > .zwc-table-scroll {
  max-width: 1224px;
  margin: 35px auto 0;
}

/* Table 1: VWO pricing by module */
.zwc-module-table {
  width: 100%;
  min-width: 700px;
  overflow: hidden;
  border: 1px solid var(--zwc-line);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

.zwc-module-table th,
.zwc-module-table td {
  width: 33.33%;
  padding: 20px 35px;
  border-right: 1px solid var(--zwc-line);
  border-bottom: 1px solid var(--zwc-line);
  font-size: var(--zwc-fs-18);
  line-height: 1.56;
  text-align: left;
  vertical-align: middle;
}

.zwc-module-table tr > :last-child {
  border-right: 0;
}

.zwc-module-table tbody tr:last-child > * {
  border-bottom: 0;
}

.zwc-module-table thead th {
  padding-top: 25px;
  padding-bottom: 25px;
  border-color: #2a0a0a;
  background: #2a0a0a;
  color: #fff;
  text-align: center;
}

.zwc-module-table thead th,
.zwc-module-table tbody th {
  font-family: var(--zf-primary-medium);
}

/* Table 2: feature & pricing comparison */
.zwc-compare-card {
  margin-top: 35px;
  padding-top: 80px;
}

.zwc-compare-card > h3 {
  line-height: 1.5;
}

.zwc-compare-toolbar {
  max-width: 1224px;
  margin: 20px auto;
  text-align: right;
}

.zwc-expand-all {
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #ff6c3f, #226db4) border-box;
  /* Darker than the design's #ff6c3f so the label meets 4.5:1 (WCAG 1.4.3) */
  color: #c8461d;
  font-family: var(--primaryfont-regular);
  font-size: var(--zwc-fs-16);
  line-height: 1.63;
  cursor: pointer;
}

.zwc-expand-all:hover {
  text-decoration: underline;
}

/* The highlighted PageSense column frame rises 35px above the table card */
.zwc-compare-card > .zwc-table-scroll {
  margin-top: 0;
  padding-top: 35px;
}

.zwc-compare-frame {
  position: relative;
  min-width: 760px;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  background: #fbfbfb;
}

/* The PageSense column is split in two layers: ::before is the white fill
   behind the table, ::after is the orange outline drawn above it, so row
   borders and the grey group rows never cross the outline */
.zwc-compare-frame::before,
.zwc-compare-frame::after {
  content: "";
  position: absolute;
  top: -35px;
  left: 35.4%;
  width: 30.5%;
  /* Ends at the last open module group; script.js sets --zwc-frame-height */
  height: calc(var(--zwc-frame-height, 100%) + 35px);
  border: 2px solid transparent;
  border-radius: 10px;
}

.zwc-compare-frame::before {
  background: #fff padding-box;
}

.zwc-compare-frame::after {
  z-index: 2;
  border-color: #ff6c3f;
  pointer-events: none;
}

.zwc-compare-table .zwc-col-feature {
  width: 35.4%;
}

.zwc-compare-table .zwc-col-pagesense {
  width: 30.5%;
}

.zwc-compare-table th,
.zwc-compare-table td {
  padding: 25px 30px;
  border-bottom: 1px solid #e8e8e8;
  font-size: var(--zwc-fs-18);
  line-height: 1.56;
  text-align: left;
  vertical-align: middle;
}

.zwc-compare-table thead th {
  padding-top: 30px;
  padding-bottom: 30px;
  border-bottom-color: #d6d6d6;
  font-family: var(--zf-primary-medium);
  font-size: var(--zwc-fs-24);
  line-height: 1.33;
  text-align: center;
}

.zwc-compare-table thead th:first-child {
  font-family: var(--primaryfont-semibold);
}

.zwc-compare-table tbody th {
  padding-left: 50px;
  font-family: var(--zf-primary-medium);
}

.zwc-compare-table td:nth-child(2) {
  /* text-align: center; */
}

.zwc-compare-table td:last-child {
  padding-left: 45px;
}

.zwc-compare-table .zwc-group-body:last-child tr:last-child > * {
  border-bottom: 0;
}

/* Module group rows â€” translucent so the PageSense frame stays visible */
.zwc-compare-table .zwc-group-head th {
  padding: 0;
  background: rgba(0, 0, 0, .05);
}

.zwc-compare-table .zwc-group-head:nth-last-child(2):has(+ [hidden]) th {
  border-bottom: 0;
  border-radius: 0 0 11px 11px;
}

/* Full-width click target, but the label wraps inside the Feature column
   (right padding = PageSense + VWO column widths) so it never runs under
   the highlighted PageSense frame. */
.zwc-group-toggle {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 20px calc(64.6% + 20px) 20px 35px;
  border: 0;
  background: none;
  color: var(--zwc-ink);
  font-family: var(--zf-primary-medium);
  font-size: var(--zwc-fs-18);
  line-height: 1.56;
  letter-spacing: -.02em;
  text-align: left;
  cursor: pointer;
}

.zwc-group-toggle::before {
  flex: 0 0 26px;
  height: 26px;
  background-position: 0 -100px;
}

.zwc-group-toggle[aria-expanded="true"]::before {
  background-position: -50px -100px;
}

.zwc-group-toggle:focus-visible {
  outline-offset: -3px;
}

/* Yes / No markers: icon is decorative, the word carries the meaning */
.zwc-yes::before,
.zwc-no::before {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  vertical-align: -6px;
  background-position: -300px -50px;
}

.zwc-no::before {
  background-position: -350px -50px;
}

/* Disclaimer text is filled in by the global zcomp-disclaimer script */
.zwc-disclaimer-text.zcomp-disclaimer {
  margin: 60px auto 0;
  text-align: center;
}
.zwc-disclaimer-text a {
    color: #0a41eb;
    font-family: var(--primaryfont-semibold);
  }
/* ---------- 7. Workflow steps ---------- */
.zwc-workflow {
  padding: 125px 0 160px;
  background:
    radial-gradient(35% 55% at 0% 70%, rgba(255, 214, 190, .5), transparent 70%),
    #fff;
}

.zwc-workflow .zwc-section-head {
  max-width: 880px;
  margin-bottom: 65px;
}

.zwc-workflow .zwc-section-head p {
  margin-top: 30px;
}

.zwc-steps {
  display: flex;
  gap: 30px;
}

.zwc-steps > li {
  flex: 1 1 0;
}

.zwc-step-media {
  display: block;
  height: 261px;
  padding-top: 45px;
  border-radius: 20px;
  background: #fddf9e;
}

.zwc-step-media img {
  display: block;
  max-width: 75%;
  height: auto;
  margin: 0 auto;
}

.zwc-step-recordings .zwc-step-media {
  padding-top: 25px;
  background: #fba050;
}

.zwc-step-recordings .zwc-step-media img {
  max-width: 80%;
  border-radius: 20px;
}

.zwc-step-ab-test .zwc-step-media {
  padding-top: 15px;
  background: #c4c1fd;
}

.zwc-step-ab-test .zwc-step-media img {
  max-width: 85%;
}

.zwc-step-act .zwc-step-media {
  padding-top: 25px;
  background: #bdfbe9;
}

.zwc-step-act .zwc-step-media img {
  max-width: 77%;
}

.zwc-steps h3 {
  margin-top: 40px;
  font-family: var(--primaryfont-semibold);
  font-size: clamp(21px, 1.5vw, 26px);
  line-height: 1.33;
}

.zwc-steps p {
  margin-top: 10px;
  font-size: clamp(16px, 0.98vw, 17px);
  line-height: 1.63;
}

/* ---------- 8. Pricing plans ---------- */
.zwc-pricing-plans {
  padding: 120px 0 180px;
  background: var(--zwc-dark) url("/sites/zweb/images/pagesense/alternatives/plans-bg.svg") center / cover no-repeat;
}

.zwc-pricing-plans .content-wrap {
  max-width: 1400px;
}

.zwc-plans-card {
  padding: 120px 60px;
  border-radius: 30px;
}

.zwc-plans-card .zwc-section-head {
  max-width: 760px;
  margin-bottom: 50px;
}

.zwc-plans-card .zwc-section-head p {
  margin-top: 20px;
}

.zwc-plans-card .zwc-section-head h2,
.zwc-compare-more .zwc-section-head h2 {
  color: var(--zwc-navy);
}

.zwc-plans {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.zwc-plan {
  flex: 0 1 400px;
  padding: 60px 50px;
  border: 1px solid #c3dcea;
  border-radius: 20px;
  background: #e6f6ff;
  text-align: center;
}

.zwc-plan-professional {
  border-color: #ff6c3f;
  background: #ffefea;
}

.zwc-plan-enterprise {
  position: relative;
  border-color: #f7dc9a;
  background: #fff4db;
}

/* "Most popular" badge inside the Enterprise card's top padding, so the
   "Enterprise" title stays level with the other two plans */
.zwc-popular-badge {
  position: absolute;
  top: 15px;
  left: 50%;
  padding: 5px 15px;
  border-radius: 4px;
  transform: translateX(-50%);
  background: #fadf70;
  color: #000;
  font-family: var(--zf-primary-medium);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.zwc-plan h3 {
  font-family: var(--zf-primary-medium);
  font-size: var(--zwc-fs-20);
  line-height: 1.5;
}

.zwc-plan .zwc-plan-price {
  margin-top: 10px;
  font-family: var(--primaryfont-semibold);
  font-size: clamp(48px, 4.05vw, 70px);
  line-height: 1.03;
}

/* Price markup is injected by Zoho's zc-pricing.js into .zpricegroup-common:
   .zcurrency-symbol-common + .z-price-text-common (+ <em> for decimals) */
/* Design: 38px "$" raised beside the 70px price; both scale down with it */
.zwc-plan-price .zcurrency-symbol-common {
  margin-right: 10px;
  font-family: var(--primaryfont-regular);
  font-size: clamp(26px, 2.2vw, 38px);
  vertical-align: clamp(14px, 1.22vw, 21px);
}

.zwc-plan-price .z-price-text-common em {
  font-size: clamp(26px, 2.2vw, 38px);
  font-style: normal;
}

.zwc-plan-period {
  color: #333;
  font-family: var(--primaryfont-regular);
  font-size: 16px;
}

.zwc-plan .zwc-plan-desc {
  max-width: 300px;
  min-height: 3.12em;
  margin: 10px auto 0;
  font-size: var(--zwc-fs-18);
  line-height: 1.56;
}

/* Wraps to two lines as in the design, so its divider lines up with the other plans */
.zwc-plan-professional .zwc-plan-desc {
  max-width: 185px;
}

.zwc-plan-features {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, .12);
  text-align: left;
}

/* Hanging indent: the check sits in the left padding, so a wrapped
   feature lines up under its first line, not under the icon */
.zwc-plan-features li {
  position: relative;
  padding-left: 27px;
  color: #3a3a3a;
  font-size: var(--zwc-fs-18);
  line-height: 1.56;
}

.zwc-plan-features li + li {
  margin-top: 25px;
}

.zwc-plan-features li::before {
  position: absolute;
  top: .5em;
  left: 0;
  width: 12px;
  height: 9px;
  background-position: 0 -150px;
}

.zwc-plan-professional .zwc-plan-features li::before {
  background-position: -50px -150px;
}

/* ---------- 9. Compare more ---------- */
.zwc-compare-more {
  padding: 135px 0 160px;
  background-color: var(--zwc-section-gray);
}

.zwc-compare-more .zwc-section-head {
  margin-bottom: 60px;
}

.zwc-compare-cards {
  display: flex;
  gap: 15px;
}

.zwc-compare-cards > li {
  flex: 1 1 0;
}

/* The whole card is one link */
.zwc-compare-link {
  display: block;
  height: 100%;
  padding: 50px 40px;
  border-radius: 10px;
  background: #fff;
  color: var(--zwc-ink);
}

.zwc-compare-link:hover,
.zwc-compare-link:focus-visible {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(7, 26, 49, .08);
}

.zwc-vs-logos {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Brand-logo tiles; logos are supplied separately as images/*-logo.svg */
.zwc-vs-logo {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #eaeaea;
  line-height: 64px;
  text-align: center;
}

.zwc-vs-pagesense {
  background: #fff0e4;
}

.zwc-vs-logo img {
  vertical-align: middle;
}

.zwc-vs-arrow {
  display: block;
  width: 18px;
  height: 10px;
  background: var(--zwc-sprite) no-repeat -150px -150px;
}

.zwc-compare-cards h3 {
  margin-top: 20px;
  font-family: var(--primaryfont-semibold);
  font-size: var(--zwc-fs-24);
  line-height: 1.33;
}

.zwc-know-more {
  display: inline-block;
  margin-top: 15px;
  padding: 5px 5px 5px 0;
  color: var(--zwc-link);
  font-family: var(--primaryfont-semibold);
  font-size: 13px;
  line-height: 1.6;
  text-transform: uppercase;
}

.zwc-know-more::after {
  width: 20px;
  height: 20px;
  margin-left: 5px;
  vertical-align: -5px;
  background-position: -100px -150px;
}

.zwc-compare-link:hover .zwc-know-more,
.zwc-compare-link:focus-visible .zwc-know-more {
  text-decoration: underline;
}

/* Arrow nudges right on hover/focus and eases back on leave */
.zwc-compare-link:hover .zwc-know-more::after,
.zwc-compare-link:focus-visible .zwc-know-more::after {
  transform: translateX(5px);
}

@media (prefers-reduced-motion: no-preference) {
  .zwc-compare-link {
    transition: transform .3s ease, box-shadow .3s ease;
  }

  .zwc-know-more::after {
    transition: transform .3s ease;
  }
}

/* ---------- 10. Final CTA ---------- */
.zwc-final-cta {
  padding: 85px 0 90px;
  background: var(--zwc-dark) url("/sites/zweb/images/pagesense/alternatives/cta-bg.svg") center / cover no-repeat;
  color: #fff;
}

.zwc-final-cta-inner {
  max-width: 906px;
  margin: 0 auto;
  text-align: center;
}

.zwc-final-cta h2 {
  font-family: var(--zf-primary-medium);
}

.zwc-final-cta-inner > p {
  max-width: 786px;
  margin: 30px auto 0;
  font-size: var(--zwc-fs-20);
  line-height: 1.5;
}

.zwc-final-cta .zwc-btn-group {
  justify-content: center;
  margin-top: 40px;
}

/* Secondary button + play icon sit on a dark background here */
.zwc-final-cta .zwc-demo-btn {
  border-color: #fff;
  color: #fff;
}



.zwc-final-cta a:focus-visible {
  outline-color: #fff;
}

/* ---------- 11. Responsive ---------- */
@media screen and (max-width: 1199px) {
  .zwc-banner {
    padding-top: 100px;
  }

  .zwc-banner-media {
    width: 45%;
  }

  .zwc-overview-card {
    padding: 60px 40px;
  }

  .zwc-impact-card,
  .zwc-plans-card {
    padding: 90px 40px;
  }

  .zwc-feature-cards > li {
    padding: 35px;
  }

  .zwc-enterprise-content {
    padding: 45px 0 30px 50px;
  }

  .zwc-table-card {
    padding-left: 30px;
    padding-right: 30px;
  }

  .zwc-glance-table th,
  .zwc-glance-table td,
  .zwc-compare-table th,
  .zwc-compare-table td {
    padding-left: 25px;
    padding-right: 20px;
  }

  .zwc-glance-table thead th:last-child,
  .zwc-glance-table tbody td:last-child {
    padding-left: 40px;
  }

  .zwc-step-media {
    height: 220px;
  }

  /* Top padding kept at 60px so the badge has room above the title */
  .zwc-plan {
    padding: 60px 30px 45px;
  }
}

@media screen and (max-width: 991px) {
  .zwc-vwo-overview,
  .zwc-impact {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .zwc-glance,
  .zwc-teams,
  .zwc-problems,
  .zwc-feature-comparison,
  .zwc-workflow,
  .zwc-compare-more {
    padding-top: 80px;
    padding-bottom: 90px;
  }

  .zwc-pricing-plans {
    padding-top: 80px;
    padding-bottom: 100px;
  }

  /* Banner stacks and centres */
  .zwc-banner-inner {
    display: block;
  }

  .zwc-banner-content,
  .zwc-banner h1 {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .zwc-banner .zwc-btn-group {
    justify-content: center;
  }

  .zwc-banner-media {
    width: 100%;
    max-width: 600px;
    margin: 50px auto 0;
  }

  .zwc-feature-cards > li {
    flex-basis: calc((100% - 20px) / 2);
  }

  .zwc-stats {
    display: block;
  }

  .zwc-stat-lift {
    min-height: inherit;
  }

  .zwc-stats-side {
    margin-top: 25px;
  }

  .zwc-feature-comparison .zwc-section-head {
    margin-bottom: 60px;
  }

  /* Stacked layout: clip again so the art keeps to the rounded corners */
  .zwc-enterprise-banner {
    display: block;
    overflow: hidden;
  }

  .zwc-enterprise-content {
    padding: 50px 40px 30px;
    text-align: center;
  }

  /* Stacked: the art returns to the flow, below the text */
  .zwc-enterprise-media {
    position: static;
    width: 80%;
    margin: 0 0 0 auto;
  }

  .zwc-steps {
    flex-wrap: wrap;
    row-gap: 50px;
  }

  .zwc-steps > li {
    flex: 0 0 calc((100% - 30px) / 2);
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
  }

  .zwc-step-media {
    height: 260px;
  }

  /* .zwc-plans-card .zwc-section-head {
    margin-bottom: 60px;
  } */

  .zwc-plans {
    display: block;
  }

  .zwc-plan {
    max-width: 480px;
    margin: 0 auto;
  }

  .zwc-plan + .zwc-plan {
    margin-top: 20px;
  }
  .zwc-compare-cards > li {
    max-width: 350px;
    margin: 0 auto;
  }

  .zwc-compare-link {
    padding: 40px 25px;
  }
}

@media screen and (max-width: 767px) {
  .zwc-banner,
  .zwc-vwo-overview,
  .zwc-impact,
  .zwc-glance,
  .zwc-teams,
  .zwc-problems,
  .zwc-feature-comparison,
  .zwc-workflow,
  .zwc-pricing-plans,
  .zwc-compare-more,
  .zwc-final-cta {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .zwc-banner {
    padding-bottom: 70px;
  }

  .zwc-banner-content > p,
  .zwc-banner .zwc-btn-group {
    margin-top: 25px;
  }

  .zwc-section-head {
    margin-bottom: 35px;
  }

  .zwc-section-head p {
    margin-top: 15px;
  }

  .zwc-overview-card,
  .zwc-impact-card,
  .zwc-plans-card {
    padding: 40px 20px;
  }

  /* Overview: VWO / PageSense cards and savings bar stack */
  .zwc-today-compare {
    display: block;
    margin-top: 40px;
  }

  .zwc-today-card {
    padding: 25px;
  }

  .zwc-today-card + .zwc-today-card {
    margin-top: 25px;
  }

  .zwc-savings-bar {
    display: block;
    padding: 25px;
  }

  .zwc-savings-text {
    margin-top: 10px;
  }

  .zwc-savings-bar .zwc-pill-link {
    margin-top: 20px;
  }

  .zwc-glance h2 {
    margin-bottom: 35px;
  }

  .zwc-glance-frame {
    min-width: 720px;
  }

  .zwc-feature-cards,
  .zwc-steps,
  .zwc-compare-cards {
    display: block;
  }

  .zwc-feature-cards > li {
    padding: 30px 25px;
  }

  .zwc-feature-cards > li + li,
  .zwc-compare-cards > li + li {
    margin-top: 15px;
  }

  /* Impact stats stack */
  .zwc-stats-row,
  .zwc-stat-tag {
    display: block;
    margin-top: 25px;
  }

  .zwc-stat-insights,
  .zwc-stat-lcp {
    min-height: 0;
  }

  .zwc-stat-lift {
    /* min-height: 320px; */
    margin-bottom: 25px;
  }

  .zwc-stat-lcp,
  .zwc-stat-tag .zwc-stat-body {
    margin-top: 25px;
  }

  /* Label left, icon right â€” same header row as the other stat cards */
  .zwc-stat-tag .zwc-stat-aside {
    flex-direction: row-reverse;
    align-items: center;
    gap: 15px;
    text-align: left;
  }

  .zwc-stat-tag h3 {
    padding-top: 0;
  }

  .zwc-impact-card .zwc-impact-note {
    margin-top: 35px;
  }

  .zwc-enterprise-content {
    padding: 35px 25px 25px;
  }

  .zwc-enterprise-media {
    width: 100%;
  }

  .zwc-table-card {
    margin-top: 50px;
    padding: 40px 15px;
  }

  .zwc-compare-card {
    margin-top: 30px;
  }

  .zwc-disclaimer-text.zcomp-disclaimer {
    margin-top: 30px;
  }

  .zwc-steps > li + li {
    margin-top: 40px;
  }

  .zwc-step-media {
    max-width: 360px;
    margin: 0 auto;
  }

  .zwc-steps h3 {
    margin-top: 25px;
  }

  .zwc-plan {
    padding: 35px 25px;
  }

  .zwc-plan-enterprise {
    padding-top: 60px;
  }

  .zwc-plan-features {
    margin-top: 30px;
    padding-top: 30px;
  }

  .zwc-plan-features li + li {
    margin-top: 15px;
  }
}
@media screen and (max-width: 480px) {
  .zwc-pagewrapper .act-btn {
    padding: 16px 15px;
  }

  .zwc-btn-group .act-btn.cta-btn {
    padding-right: 45px;
  }

  .zwc-btn-group .act-btn.cta-btn::after{
    right: 10px;
  }
}
