.bnr-pricing .bn-membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  width: 100%;
  padding: 8px 2px 18px;
  align-items: stretch;
}

.bnr-pricing .bn-membership-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 430px;
  flex-direction: column;
  padding: 34px 28px 28px;
  border: 1px solid rgba(148, 163, 204, .2);
  border-radius: 8px;
  background: #151a34;
  box-shadow: none;
  overflow: hidden;
}

.bnr-pricing .bn-membership-card.bnr-featured-plan {
  padding-top: 48px;
  border-color: rgba(139, 92, 246, .8);
  background: linear-gradient(180deg, rgba(69, 43, 132, .25), rgba(21, 26, 52, .96));
  box-shadow: 0 18px 42px rgba(93, 53, 192, .2);
}

.bnr-pricing .bn-membership-card.bnr-featured-plan h3 {
  padding-right: 70px;
}

.bnr-pricing .bn-membership-card h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: 0;
}

.bnr-pricing .bn-membership-card .bnr-popular-ribbon {
  position: absolute;
  top: 16px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 14px;
  background: linear-gradient(90deg, #7c3aed, #25c9e8);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
}

#wrapper #main .bnr-pricing .bn-membership-card .bnr-popular-ribbon {
  top: 28px !important;
  right: -47px !important;
  left: auto !important;
  width: 190px !important;
  min-width: 0 !important;
  padding: 7px 0 !important;
  transform: rotate(45deg) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #5d78f0 !important;
  font-size: 9px !important;
  letter-spacing: 1.4px !important;
  line-height: 1 !important;
  text-align: center !important;
}

.bnr-pricing .bn-membership-card .bnr-price {
  display: flex;
  margin: 0 0 24px;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  color: #7f899f;
}

.bnr-pricing .bn-membership-card .bnr-price strong {
  color: #fff;
  font-size: 46px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
}

.bnr-pricing .bn-membership-card .bnr-price > span {
  font-size: 15px;
  font-weight: 700;
}

.bnr-pricing .bn-membership-card .bnr-price small {
  display: block;
  width: 100%;
  margin-top: 6px;
  color: #7f899f;
  font-size: 12px;
}

.bnr-pricing .bn-membership-features {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(148, 163, 204, .16);
  list-style: none;
}

.bnr-pricing .bn-membership-features li {
  position: relative;
  margin: 0;
  padding-left: 30px;
  color: #bec5d5;
  font-size: 14px;
  line-height: 1.4;
}

.bnr-pricing .bn-membership-features li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(85, 216, 167, .12);
  color: #55d8a7;
  content: "\2713";
  font-size: 12px;
  font-weight: 900;
}

.bnr-pricing .bn-membership-card .bnr-plan-button {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190, 201, 226, .24);
  border-radius: 8px;
  background: #20253f;
  color: #fff;
  text-align: center;
}

.bnr-pricing .bn-membership-card .bnr-featured-button {
  border-color: transparent;
  background: linear-gradient(90deg, #7c3aed, #25c9e8);
}

.bnr-pricing .bn-membership-card .bnr-plan-button:hover,
.bnr-pricing .bn-membership-card .bnr-plan-button:focus-visible {
  transform: translateY(-2px);
  border-color: #25c9e8;
  box-shadow: 0 12px 28px rgba(68, 91, 210, .3);
  color: #fff;
}

.bnr-pricing .bn-membership-card .bnr-plan-button:focus-visible {
  outline: 2px solid #67e8f9;
  outline-offset: 3px;
}

.bnr-pricing .bn-membership-empty {
  padding: 24px;
  border: 1px solid rgba(148, 163, 204, .2);
  border-radius: 8px;
  color: #bec5d5;
  text-align: center;
}

/* Connected-platform strip: native Avada columns and icon elements. */
#wrapper #main .bnr-connection-strip > .fusion-column-wrapper {
  position: relative;
  margin-top: 42px;
  padding: 28px 34px 24px !important;
  overflow: hidden;
  border: 1px solid rgba(197, 207, 230, .2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 38%, rgba(37, 201, 232, .06), transparent 32%),
    #141830;
  text-align: center;
}

#wrapper #main .bnr-connection-icons {
  position: relative;
  display: grid !important;
  width: min(780px, 88%);
  margin: 0 auto 20px !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
}

#wrapper #main .bnr-connection-icons::before {
  position: absolute;
  z-index: 0;
  display: block !important;
  top: 25px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, #25c9e8 0%, #5975e9 48%, #8b5cf6 100%);
  box-shadow: 0 0 12px rgba(89, 117, 233, .5);
  content: "";
}

#wrapper #main .bnr-connection-node {
  position: relative;
  z-index: 1;
  width: auto !important;
  margin: 0 !important;
}

#wrapper #main .bnr-connection-node > .fusion-column-wrapper {
  display: flex;
  min-height: 52px;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
}

#wrapper #main .bnr-connection-icon {
  display: inline-flex !important;
  width: 50px !important;
  height: 50px !important;
  margin: 0 !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139, 92, 246, .58) !important;
  border-radius: 8px !important;
  background: linear-gradient(145deg, rgba(81, 45, 143, .85), rgba(28, 63, 94, .92)) !important;
  box-shadow: 0 8px 22px rgba(74, 45, 145, .24), inset 0 0 14px rgba(99, 102, 241, .12);
  line-height: 48px !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

#wrapper #main .bnr-connection-icon:hover {
  transform: translateY(-2px);
  border-color: #67e8f9 !important;
  box-shadow: 0 10px 26px rgba(37, 201, 232, .24), inset 0 0 16px rgba(99, 102, 241, .18);
}

#wrapper #main .bnr-connection-caption-row {
  margin: 0 !important;
}

#wrapper #main .bnr-connection-caption-column > .fusion-column-wrapper {
  display: flex;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

#wrapper #main .bnr-connection-code {
  margin: 0 !important;
  line-height: 1 !important;
}

#wrapper #main .bnr-connection-caption {
  margin: 0 !important;
  color: #8f99b3;
  font-size: 13px;
  line-height: 1.5;
}

#wrapper #main .bnr-connection-caption p {
  margin: 0 !important;
}

#wrapper #main .bnr-connection-caption strong {
  color: #fff;
  font-weight: 700;
}

/* Replace Avada's decorative tab track with a real, accessible switch. */
#wrapper #main .bn-membership-source-tabs > .nav > .nav-tabs {
  display: grid !important;
  grid-template-columns: max-content 58px max-content;
  gap: 14px !important;
  width: max-content !important;
  max-width: calc(100vw - 40px) !important;
  margin: 0 auto !important;
  padding: 14px 116px 14px 0 !important;
  align-items: center !important;
  overflow: visible !important;
}

#wrapper #main .bn-membership-source-tabs > .nav > .nav-tabs::before,
#wrapper #main .bn-membership-source-tabs > .nav > .nav-tabs::after {
  display: none !important;
}

#wrapper #main .bn-membership-source-tabs > .nav > .nav-tabs > li:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

#wrapper #main .bn-membership-source-tabs > .nav > .nav-tabs > li:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

#wrapper #main .bn-membership-source-tabs .fusion-tab-heading {
  font-size: 16px !important;
}

#wrapper #main .bn-membership-source-tabs .bn-membership-toggle-control {
  position: static !important;
  display: block !important;
  grid-column: 2;
  grid-row: 1;
  width: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bn-membership-toggle-button {
  position: relative;
  display: block;
  width: 58px;
  height: 31px;
  padding: 4px;
  border: 1px solid rgba(197, 207, 230, .42);
  border-radius: 16px;
  background: #20263f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  cursor: pointer;
}

.bn-membership-toggle-button span {
  display: block;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
  transition: transform .22s ease, background-color .22s ease;
}

.bn-membership-toggle-button.is-yearly span {
  transform: translateX(27px);
  background: #55d8a7;
}

.bn-membership-toggle-button:hover {
  border-color: #51d6e9;
}

.bn-membership-toggle-button:focus-visible {
  outline: 2px solid #51d6e9;
  outline-offset: 4px;
}

#wrapper #main .bn-membership-source-tabs > .nav > .nav-tabs > li:nth-child(2)::before {
  top: 50% !important;
  left: calc(100% + 14px) !important;
  min-width: 88px !important;
  padding: 6px 10px !important;
  transform: translateY(-50%) !important;
  font-size: 11px !important;
}

/* Restore the prototype's numbered member journey. */
#wrapper #main .bnr-pricing .bnr-journey > .fusion-column-wrapper {
  padding-left: 4% !important;
}

@media (min-width: 1101px) {
  #wrapper #main .bnr-pricing .bnr-pricing-main {
    width: calc(72% - 12px) !important;
    flex: 0 0 calc(72% - 12px) !important;
  }

  #wrapper #main .bnr-pricing .bnr-journey {
    width: calc(28% - 12px) !important;
    flex: 0 0 calc(28% - 12px) !important;
  }
}

#wrapper #main .bnr-pricing .bnr-journey h3 {
  margin: 0 0 42px !important;
  font-size: 32px !important;
  line-height: 1.2 !important;
}

#wrapper #main .bnr-pricing .bnr-journey-list {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#wrapper #main .bnr-pricing .bnr-journey-list::before {
  position: absolute;
  top: 28px;
  bottom: 40px;
  left: 26px;
  width: 2px;
  background: linear-gradient(180deg, #694ce7, #25bfe1);
  content: "";
}

#wrapper #main .bnr-pricing .bnr-journey-list li {
  position: relative;
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 0 40px !important;
}

#wrapper #main .bnr-pricing .bnr-journey-list li > span {
  position: relative;
  z-index: 1;
  display: grid !important;
  width: 54px !important;
  height: 54px !important;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #7657f3, #25c8e8) !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  box-shadow: 0 0 24px rgba(88, 110, 238, .34);
}

#wrapper #main .bnr-pricing .bnr-journey-list strong {
  display: block;
  color: #fff !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
}

#wrapper #main .bnr-pricing .bnr-journey-list p {
  margin: 7px 0 0 !important;
  color: #929cb2 !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

@media (max-width: 1180px) {
  .bnr-pricing .bn-membership-card {
    min-height: 400px;
    padding: 30px 22px 24px;
  }

  .bnr-pricing .bn-membership-card .bnr-price strong {
    font-size: 38px;
  }
}

@media (max-width: 1100px) {
  #wrapper #main .bnr-pricing .bnr-pricing-main,
  #wrapper #main .bnr-pricing .bnr-journey {
    width: 100% !important;
    flex: 0 0 100% !important;
  }

  #wrapper #main .bnr-pricing .bnr-journey > .fusion-column-wrapper {
    width: min(720px, 100%);
    margin: 58px auto 0;
    padding-left: 0 !important;
  }
}

@media (max-width: 800px) {
  #wrapper #main .bnr-connection-strip > .fusion-column-wrapper {
    padding: 26px 22px 22px !important;
  }

  #wrapper #main .bnr-connection-icons {
    width: 100%;
  }

  .bnr-pricing .bn-membership-grid {
    grid-template-columns: 1fr;
  }

  .bnr-pricing .bn-membership-card {
    min-height: 0;
  }

  #wrapper #main .bnr-pricing .bnr-journey > .fusion-column-wrapper {
    width: min(620px, 100%);
    margin: 28px auto 0;
    padding-left: 0 !important;
  }
}

@media (max-width: 520px) {
  #wrapper #main .bnr-connection-strip > .fusion-column-wrapper {
    margin-top: 30px;
    padding: 22px 14px 20px !important;
  }

  #wrapper #main .bnr-connection-icons {
    margin-bottom: 17px !important;
  }

  #wrapper #main .bnr-connection-icons::before {
    top: 21px;
    right: 7%;
    left: 7%;
  }

  #wrapper #main .bnr-connection-node > .fusion-column-wrapper {
    min-height: 44px;
  }

  #wrapper #main .bnr-connection-icon {
    width: 42px !important;
    height: 42px !important;
    font-size: 17px !important;
    line-height: 40px !important;
  }

  #wrapper #main .bnr-connection-caption-column > .fusion-column-wrapper {
    gap: 7px;
  }

  #wrapper #main .bnr-connection-caption {
    font-size: 11px;
  }

  #wrapper #main .bn-membership-source-tabs > .nav > .nav-tabs {
    grid-template-columns: max-content 54px max-content;
    gap: 10px !important;
    padding: 12px 0 54px !important;
  }

  #wrapper #main .bn-membership-source-tabs .bn-membership-toggle-control,
  .bn-membership-toggle-button {
    width: 54px !important;
  }

  .bn-membership-toggle-button {
    height: 29px;
    padding: 3px;
  }

  .bn-membership-toggle-button span {
    width: 21px;
    height: 21px;
  }

  .bn-membership-toggle-button.is-yearly span {
    transform: translateX(25px);
  }

  #wrapper #main .bn-membership-source-tabs > .nav > .nav-tabs > li:nth-child(2)::before {
    top: calc(100% + 22px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  #wrapper #main .bnr-pricing .bnr-journey h3 {
    margin-bottom: 34px !important;
    font-size: 28px !important;
  }

  #wrapper #main .bnr-pricing .bnr-journey-list::before {
    left: 23px;
  }

  #wrapper #main .bnr-pricing .bnr-journey-list li {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  #wrapper #main .bnr-pricing .bnr-journey-list li > span {
    width: 46px !important;
    height: 46px !important;
  }
}
