:root {
  --pp-ink: #071a42;
  --pp-text: #56708f;
  --pp-blue: #2482ff;
  --pp-cyan: #11bde9;
  --pp-purple: #7652ff;
  --pp-navy: #03172f;
  --pp-line: #d9e7f5;
  --pp-soft: #f6faff;
}

.plans-page {
  margin: 0;
  overflow-x: hidden;
  color: var(--pp-ink);
  background: #fff;
  font-family: "Poppins", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.plans-page *,
.plans-page *::before,
.plans-page *::after { box-sizing: border-box; }

.plans-page svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pp-shell {
  width: min(1480px, calc(100% - 64px));
  margin-inline: auto;
}

.pp-eyebrow {
  display: inline-block;
  color: #1677ed;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.pp-eyebrow-light { color: #51d7f3; }

.pp-small-label {
  display: block;
  margin-bottom: 8px;
  color: #1677ed;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pp-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.pp-btn-primary {
  color: #fff;
  background: linear-gradient(90deg, #4e5cff 0%, #13b4e6 100%);
  box-shadow: 0 14px 30px rgba(26,111,229,.24);
}

/* =========================================================
   HERO
   ========================================================= */
.pp-hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 76% 40%, rgba(19,94,210,.24), transparent 32%),
    linear-gradient(122deg,#02152d 0%,#031c3c 50%,#07326b 100%);
}

.pp-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -5;
  opacity: .14;
  background-image:
    linear-gradient(rgba(74,140,224,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,140,224,.16) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 46%, #000 100%);
}

.pp-hero-orbit {
  position: absolute;
  z-index: -4;
  border: 1px solid rgba(47,139,255,.20);
  border-radius: 50%;
  transform: rotate(-14deg);
}
.pp-hero-orbit-a { width: 790px; height: 360px; right: -160px; top: 62px; }
.pp-hero-orbit-b { width: 560px; height: 255px; right: 90px; top: 156px; }

.pp-hero-line {
  position: absolute;
  z-index: -3;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35,143,255,.78), transparent);
  box-shadow: 0 0 18px rgba(30,139,255,.52);
}
.pp-hero-line-a { width: 980px; right: -90px; top: 110px; transform: rotate(-18deg); }
.pp-hero-line-b { width: 900px; right: -30px; top: 430px; transform: rotate(-17deg); opacity: .45; }

.pp-hero-layout {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(650px,1.08fr);
  gap: 64px;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 20px;
}

.pp-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.pp-hero-copy h1 {
  margin: 14px 0 20px;
  color: #fff;
  font-size: clamp(48px,4vw,84px);
  line-height: .98;
  letter-spacing: -.055em;
}

.pp-hero-copy h1 span {
  display: block;
  margin-top: 8px;
  color: transparent;
  background: linear-gradient(90deg,#2bccec 0%,#1ca8f2 48%,#5571ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.pp-hero-copy > p {
  max-width: 620px;
  margin: 0 0 28px;
  color: #c7d9ec;
  font-size: 16px;
  line-height: 1.72;
}

.pp-hero-points {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  margin-top: 48px;
}

.pp-hero-point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  color: #d4e2f2;
  font-size: 11px;
  line-height: 1.45;
}

.pp-point-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #78ccff;
  background: rgba(21,105,198,.14);
  border: 1px solid rgba(74,164,255,.24);
}
.pp-point-icon svg { width: 22px; height: 22px; }

/* Hero product */
.pp-product {
  position: relative;
  min-height: 530px;
  align-self: center;
}

.pp-dashboard {
  position: absolute;
  left: 40px;
  top: 70px;
  width: 590px;
  height: 382px;
  overflow: hidden;
  border: 1px solid rgba(18,201,240,.86);
  border-radius: 22px;
  background: #031a38;
  box-shadow: 0 38px 78px rgba(0,0,0,.34), 0 0 60px rgba(24,131,255,.16);
  transform: perspective(1400px) rotateY(-4deg) rotateZ(1.4deg);
  transform-origin: center;
}

.pp-dashboard-top {
  height: 66px;
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(92,160,229,.13);
  background: #052344;
}

.pp-dashboard-logo {
  display: flex;
  align-items: center;
}

.pp-dashboard-logo-img {
  display: block;
  width: 112px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.pp-search {
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 10px;
  color: #7897ba;
  background: #0b305d;
  font-size: 10px;
}

.pp-dashboard-body {
  height: calc(100% - 66px);
  display: grid;
  grid-template-columns: 136px 1fr;
}

.pp-dashboard-side {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 21px 14px;
  border-right: 1px solid rgba(88,155,223,.12);
  color: #88a8ca;
  font-size: 10px;
}

.pp-dashboard-side span { padding: 0 8px; }
.pp-dashboard-side .active {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(90deg,#0d73ff,#168ef3);
}

.pp-dashboard-main { padding: 25px 24px; }
.pp-dashboard-kicker { color: #7595b9; font-size: 9px; }
.pp-dashboard-main h3 { margin: 4px 0 0; color: #fff; font-size: 23px; }

.pp-dashboard-content {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  margin-top: 24px;
}

.pp-score-panel {
  min-height: 176px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(83,150,219,.16);
  border-radius: 16px;
  background: rgba(8,44,83,.72);
}

.pp-score-ring {
  position: relative;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#17c8ea 0 78%, #1856b3 78% 100%);
}
.pp-score-ring::after {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: #072347;
}
.pp-score-ring strong { position: relative; z-index: 1; color: #fff; font-size: 29px; }

.pp-metric-stack { display: grid; gap: 8px; }
.pp-metric-stack > div {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(7,39,75,.78);
}
.pp-metric-stack small { color: #819dbd; font-size: 8px; }
.pp-metric-stack strong { grid-column: 2; grid-row: 1 / 3; color: #fff; font-size: 15px; }
.pp-metric-stack span { color: #5f85ad; font-size: 7px; }

.pp-float {
  position: absolute;
  z-index: 4;
  color: #fff;
  border: 1px solid rgba(42,160,255,.62);
  border-radius: 18px;
  background: rgba(4,32,66,.96);
  box-shadow: 0 22px 46px rgba(0,0,0,.30), inset 0 0 26px rgba(17,116,223,.06);
  backdrop-filter: blur(10px);
}

.pp-frameworks-card {
  right: 0;
  top: 36px;
  width: 230px;
  padding: 20px;
  transform: rotate(2.7deg);
}
.pp-frameworks-card > strong { display: block; margin-bottom: 12px; font-size: 14px; }
.pp-frameworks-card > div {
  display: grid;
  grid-template-columns: 72px 1fr 36px;
  gap: 8px;
  align-items: center;
  margin: 11px 0;
  font-size: 9px;
}
.pp-frameworks-card i { height: 7px; overflow: hidden; border-radius: 999px; background: #183a67; }
.pp-frameworks-card i b { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg,#1fc6e7,#3f76ff); }
.pp-frameworks-card em { font-style: normal; font-weight: 700; }

.pp-risk-card {
  left: 220px;
  bottom: 5px;
  width: 245px;
  min-height: 150px;
  padding: 20px;
  transform: rotate(1.8deg);
}
.pp-risk-card small,
.pp-vendor-card small { color: #afc5df; font-size: 10px; }
.pp-risk-card > strong,
.pp-vendor-card > strong { display: block; margin-top: 4px; font-size: 28px; }
.pp-risk-card svg { width: 100%; height: 45px; margin-top: 0; color: #596dff; }
.pp-risk-card svg path { fill: none; stroke: currentColor; stroke-width: 2.5; }

.pp-vendor-card {
  right: 5px;
  bottom: 12px;
  width: 176px;
  min-height: 142px;
  padding: 20px;
  transform: rotate(3deg);
}
.pp-bars { position: absolute; right: 16px; bottom: 18px; height: 52px; display: flex; align-items: flex-end; gap: 5px; }
.pp-bars i { width: 9px; height: 24px; border-radius: 3px 3px 0 0; background: #36baf0; }
.pp-bars i:nth-child(2) { height: 39px; background: #4288ff; }
.pp-bars i:nth-child(3) { height: 30px; background: #5a6cff; }
.pp-bars i:nth-child(4) { height: 48px; background: #8058ff; }

/* =========================================================
   COMPARE
   ========================================================= */
.pp-compare {
  position: relative;
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at 6% 64%, rgba(48,145,244,.05), transparent 18%),
    linear-gradient(180deg,#fff 0%,#f7fbff 55%,#edf6ff 100%);
}

.pp-compare-heading {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px,420px);
  gap: 60px;
  align-items: start;
  margin-bottom: 44px;
}

.pp-compare-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(42px,3.8vw,60px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.pp-compare-heading > p {
  margin: 24px 0 0;
  color: #5b7392;
  font-size: 14px;
  line-height: 1.7;
}

.pp-table-wrap {
  position: relative;
  overflow: visible;
  border: 1px solid #d6e5f3;
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 26px 70px rgba(26,72,125,.10);
}

.pp-plans-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.pp-feature-col { width: 16%; }

.pp-plans-table th,
.pp-plans-table td {
  border-right: 1px solid #dce8f4;
  border-bottom: 1px solid #dce8f4;
  padding: 15px 18px;
  text-align: left;
  vertical-align: middle;
}
.pp-plans-table th:last-child,
.pp-plans-table td:last-child { border-right: 0; }
.pp-plans-table tbody tr:last-child th,
.pp-plans-table tbody tr:last-child td { border-bottom: 0; }

.pp-feature-heading {
  vertical-align: bottom !important;
  padding-bottom: 26px !important;
  color: #17385f;
  background: #fbfdff;
  border-radius: 23px 0 0 0;
  font-size: 13px;
  font-weight: 800;
}

.pp-plan-heading {
  position: relative;
  height: 194px;
  padding: 30px 18px 24px !important;
  text-align: center !important;
  background: linear-gradient(180deg,#eef8ff 0%,#f9fcff 100%);
}
.pp-plan-heading:last-child { border-radius: 0 23px 0 0; }
.pp-plan-heading strong { display: block; margin-top: 11px; font-size: 24px; line-height: 1.1; }
.pp-plan-heading small { display: block; max-width: 220px; margin: 9px auto 0; color: #667e9d; font-size: 11px; line-height: 1.45; font-weight: 500; }

.pp-plan-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto;
}
.pp-plan-icon svg { width: 38px; height: 38px; }
.pp-icon-blue { color: #1c81ff; }
.pp-icon-cyan { color: #0aa3eb; }
.pp-icon-purple { color: #7652ff; }
.pp-icon-navy { color: #153765; }

.pp-scale-heading {
  background: linear-gradient(180deg,#faf7ff 0%,#f4efff 100%) !important;
  box-shadow: inset 1px 0 #c2b0ff, inset -1px 0 #c2b0ff;
}

.pp-popular {
  position: absolute;
  left: -1px;
  right: -1px;
  top: 0;
  min-height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(90deg,#5c54ff,#9a4eef);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .02em;
}
.pp-scale-heading .pp-plan-icon { margin-top: 15px; }

.pp-plans-table tbody th {
  color: #17385f;
  background: #f8fbff;
  font-size: 12px;
  font-weight: 750;
}

.pp-plans-table tbody td {
  color: #536e90;
  background: rgba(255,255,255,.92);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.pp-plans-table tbody td strong { color: #183962; font-size: 13px; }

.pp-plans-table tbody td:nth-child(4) {
  background: rgba(247,243,255,.86);
  box-shadow: inset 1px 0 #c8b7ff, inset -1px 0 #c8b7ff;
}

.pp-included {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  color: #2d6dde;
  background: #edf4ff;
  font-size: 10px;
  font-weight: 750;
}

.pp-actions-row th,
.pp-actions-row td { padding: 14px 16px 18px !important; }

.pp-table-btn {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}
.pp-table-blue,
.pp-table-cyan { background: linear-gradient(90deg,#0b79ff,#0bb7e9); }
.pp-table-purple { background: linear-gradient(90deg,#6551ff,#9750ef); }
.pp-table-navy { background: linear-gradient(90deg,#06284e,#073a70); }

/* =========================================================
   REASSURANCE
   ========================================================= */
.pp-reassurance {
  padding: 20px 0 72px;
  background: linear-gradient(180deg,#edf6ff 0%,#f7fbff 100%);
}

.pp-reassurance-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  overflow: hidden;
  border: 1px solid #dce8f5;
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 46px rgba(35,75,125,.06);
}

.pp-reassurance-card {
  min-height: 245px;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 38px;
}
.pp-reassurance-card + .pp-reassurance-card { border-left: 1px solid #dce8f5; }

.pp-reassurance-icon,
.pp-help-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #1c80ff;
  background: linear-gradient(145deg,#e8f4ff,#f5f9ff);
}
.pp-reassurance-icon svg,
.pp-help-icon svg { width: 30px; height: 30px; }
.pp-reassurance-icon-purple { color: #6756ff; background: linear-gradient(145deg,#f0edff,#f7f5ff); }

.pp-reassurance-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -.03em;
}
.pp-reassurance-card p {
  margin: 0;
  color: #5d7492;
  font-size: 13px;
  line-height: 1.72;
}

/* =========================================================
   HELP
   ========================================================= */
.pp-help {
  padding: 22px 0 82px;
  background: #f7fbff;
}

.pp-help-card {
  min-height: 170px;
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px 34px;
  border: 1px solid #dbe8f5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(35,75,125,.08);
}

.pp-help-card h3 {
  margin: 0 0 7px;
  font-size: 25px;
  letter-spacing: -.03em;
}
.pp-help-card p {
  max-width: 790px;
  margin: 0;
  color: #5d7492;
  font-size: 13px;
  line-height: 1.65;
}

/* reveal */
.pp-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s ease, transform .65s ease;
}
.pp-reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1500px) {
  .pp-shell { width: min(1180px, calc(100% - 48px)); }
  .pp-hero-layout { grid-template-columns: minmax(0,.9fr) minmax(580px,1.1fr); gap: 36px; }
  .pp-dashboard { width: 540px; height: 360px; }
  .pp-frameworks-card { width: 205px; }
}

@media (max-width: 1180px) {
  .pp-shell { width: min(100% - 40px, 1120px); }
  .pp-hero { min-height: auto; }
  .pp-hero-layout { min-height: 0; grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 54px; }
  .pp-hero-copy { max-width: 780px; }
  .pp-product { width: min(760px,100%); min-height: 520px; margin: 0 auto; }
  .pp-dashboard { left: 50%; transform: translateX(-50%) perspective(1400px) rotateY(-3deg) rotateZ(1deg); }
  .pp-frameworks-card { right: 2%; }
  .pp-risk-card { left: 13%; }
  .pp-vendor-card { right: 5%; }

  .pp-table-wrap { overflow-x: auto; overflow-y: hidden; }
  .pp-plans-table { min-width: 1080px; }
}

@media (max-width: 900px) {
  .pp-shell { width: calc(100% - 30px); }
  .pp-hero-copy h1 { font-size: clamp(50px,9vw,70px); }
  .pp-hero-points { grid-template-columns: 1fr; max-width: 420px; }
  .pp-product { transform: scale(.88); transform-origin: top center; margin-bottom: -50px; }
  .pp-compare { padding-top: 72px; }
  .pp-compare-heading { grid-template-columns: 1fr; gap: 8px; }
  .pp-compare-heading > p { margin-top: 0; }
  .pp-reassurance-grid { grid-template-columns: 1fr; }
  .pp-reassurance-card + .pp-reassurance-card { border-left: 0; border-top: 1px solid #dce8f5; }
  .pp-help-card { grid-template-columns: 64px 1fr; }
  .pp-help-card .pp-btn { grid-column: 2; justify-self: start; }
}

@media (max-width: 620px) {
  .pp-shell { width: calc(100% - 24px); }
  .pp-hero-layout { padding-top: 54px; }
  .pp-hero-copy h1 { font-size: 44px; }
  .pp-hero-copy > p { font-size: 14px; }
  .pp-btn { width: 100%; }

  .pp-product { min-height: 420px; transform: scale(.68); transform-origin: top left; width: 760px; margin-right: -250px; margin-bottom: -145px; }

  .pp-compare-heading h2 { font-size: 37px; }
  .pp-reassurance-card { grid-template-columns: 1fr; padding: 28px 24px; }
  .pp-help-card { grid-template-columns: 1fr; padding: 26px 22px; }
  .pp-help-card .pp-btn { grid-column: auto; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .pp-reveal { opacity: 1; transform: none; transition: none; }
}


/* =========================================================
   UNIFIED PLAN CTA
   Replaces the four duplicate buttons at the bottom of the
   comparison table with one shared action.
   ========================================================= */

.pp-unified-action-row th,
.pp-unified-action-row td {
  padding: 18px 20px 22px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.pp-unified-action-row th {
  background: #f8fbff !important;
}

.pp-unified-action-row td {
  text-align: center;
}

.pp-unified-plan-action {
  width: 100%;
  display: flex;
  justify-content: center;
}

.pp-table-unified {
  width: auto;
  min-width: 320px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 11px;
  background: linear-gradient(90deg, #4e5cff 0%, #13b4e6 100%);
  box-shadow: 0 14px 28px rgba(26,111,229,.18);
  font-size: 12px;
}

.pp-table-unified:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(26,111,229,.24);
}

@media (max-width: 620px) {
  .pp-table-unified {
    width: 100%;
    min-width: 0;
  }
}
