/* ASTROLEX7 Plus & Pro membership — official shared presentation */
.ax7-membership {
  position: relative;
  padding: 120px 0;
  background:
    radial-gradient(circle at 12% 0, rgba(216, 180, 105, 0.11), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(128, 100, 232, 0.12), transparent 32%);
  font-family: "ASTROLEX Persian", Vazirmatn, Arial, sans-serif;
  color: #f5f1e8;
}
.ax7-membership-inner {
  width: min(1240px, calc(100% - 40px));
  margin: auto;
}
.ax7-membership-heading {
  max-width: 850px;
  margin: 0 auto 54px;
  text-align: center;
}
.ax7-membership-heading > p {
  margin: 0 0 16px;
  color: #d8b469;
  font:
    600 11px "ASTROLEX Persian",
    Inter,
    Arial,
    sans-serif;
  letter-spacing: 0.25em;
}
.ax7-membership-heading h2 {
  margin: 0;
  color: #fff3cf;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.35;
}
.ax7-membership-heading span {
  display: block;
  margin: 20px auto 0;
  color: #a9adbd;
  font-size: 15px;
  line-height: 2;
}
.ax7-plan-groups {
  display: grid;
  gap: 58px;
}
.ax7-group-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.ax7-group-title b {
  color: #efd17f;
  font:
    600 clamp(26px, 3vw, 38px) "ASTROLEX Persian",
    "Cormorant Garamond",
    Georgia,
    serif;
  letter-spacing: 0.06em;
}
.ax7-group-title span {
  color: #969bad;
  font-size: 13px;
}
.ax7-plan-grid {
  display: grid;
  gap: 18px;
  align-items: start;
}
.ax7-plus-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ax7-pro-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin: auto;
}
.ax7-plan-card {
  position: relative;
  overflow: hidden;
  padding: 25px;
  border: 1px solid rgba(152, 200, 255, 0.17);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(22, 28, 57, 0.84), rgba(7, 10, 26, 0.94));
  box-shadow:
    0 24px 65px rgba(0, 0, 0, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
}
.ax7-plan-card:before {
  content: "";
  position: absolute;
  inset: -90px -90px auto auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #d8b469;
  filter: blur(75px);
  opacity: 0.08;
}
.ax7-plan-pro {
  border-color: rgba(156, 124, 255, 0.28);
}
.ax7-plan-pro:before {
  background: #9c7cff;
  opacity: 0.13;
}
.ax7-plan-card.recommended {
  border-color: rgba(216, 180, 105, 0.55);
}
.ax7-plan-badge {
  position: absolute;
  top: 15px;
  left: 18px;
  padding: 6px 10px;
  border-radius: 99px;
  background: #d8b469;
  color: #17130b;
  font-size: 10px;
  font-weight: 700;
}
.ax7-plan-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: start;
}
.ax7-plan-head small {
  color: #d8b469;
  font:
    600 9px "ASTROLEX Persian",
    Inter,
    Arial,
    sans-serif;
  letter-spacing: 0.2em;
}
.ax7-plan-pro .ax7-plan-head small {
  color: #bcaaff;
}
.ax7-plan-head h3 {
  margin: 5px 0 0;
  color: #fff3cf;
  font:
    600 clamp(25px, 2.8vw, 37px) "ASTROLEX Persian",
    "Cormorant Garamond",
    Georgia,
    serif;
}
.ax7-plan-head > span {
  max-width: 120px;
  color: #8f96aa;
  font-size: 11px;
  line-height: 1.7;
  text-align: left;
}
.ax7-plan-price {
  margin: 24px 0 0;
  color: #f0d486;
  font-size: clamp(23px, 2.8vw, 34px);
  font-weight: 600;
}
.ax7-plan-price small {
  display: block;
  margin-top: 7px;
  color: #8f96aa;
  font-size: 11px;
  font-weight: 400;
}
.ax7-plan-audience {
  margin: 13px 0;
  color: #bbb6aa;
  font-size: 13px;
  line-height: 1.8;
}
.ax7-plan-personal {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(216, 180, 105, 0.18);
  border-radius: 13px;
  background: rgba(216, 180, 105, 0.045);
  color: #d7c8a3;
  font-size: 12px;
  line-height: 1.9;
}
.ax7-plan-features {
  display: grid;
  gap: 8px;
}
.ax7-plan-feature {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 12px;
}
.ax7-plan-feature summary {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  color: #f4eedf;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
  list-style: none;
}
.ax7-plan-feature summary::-webkit-details-marker {
  display: none;
}
.ax7-plan-feature summary:before {
  content: "◆";
  margin-top: 2px;
  color: #d8b469;
  font-size: 8px;
}
.ax7-plan-pro .ax7-plan-feature summary:before {
  color: #9c7cff;
}
.ax7-plan-feature summary:after {
  content: "＋";
  margin-right: auto;
  color: #8f96aa;
}
.ax7-plan-feature[open] summary:after {
  transform: rotate(45deg);
}
.ax7-plan-feature p {
  margin: 9px 18px 0 0;
  padding-right: 11px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: #a7adbd;
  font-size: 12px;
  line-height: 2;
}
.ax7-plan-disclaimer {
  padding: 12px;
  border: 1px solid rgba(216, 180, 105, 0.18);
  border-radius: 13px;
  color: #c8ba97;
  font-size: 11px;
  line-height: 1.9;
}
.ax7-plan-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 18px;
  border-radius: 13px;
  background: linear-gradient(105deg, #b58c37, #f4dc91);
  color: #131006 !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.ax7-plan-pro .ax7-plan-action {
  background: linear-gradient(105deg, #8064e8, #c5b7ff);
}
.ax7-payment-note {
  max-width: 820px;
  margin: 32px auto 0;
  color: #8f96aa;
  text-align: center;
  font-size: 12px;
  line-height: 2;
}
.ax7-ip-record {
  max-width: 980px;
  margin: 18px auto 0;
  padding: 24px;
  border: 1px solid rgba(156, 124, 255, 0.25);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(156, 124, 255, 0.07), rgba(216, 180, 105, 0.035));
}
.ax7-ip-record > p:first-child {
  margin: 0;
  color: #bcaaff;
  font:
    600 9px "ASTROLEX Persian",
    Inter,
    Arial,
    sans-serif;
  letter-spacing: 0.2em;
}
.ax7-ip-record h3 {
  margin: 9px 0;
  color: #fff3cf;
  font-size: 21px;
}
.ax7-ip-record dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.ax7-ip-record dl div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}
.ax7-ip-record dt {
  color: #8f96aa;
  font-size: 10px;
}
.ax7-ip-record dd {
  margin: 5px 0 0;
  color: #f4eedf;
  font-size: 12px;
  line-height: 1.8;
}
.ax7-ip-record > p:not(:first-child),
.ax7-ip-record small {
  display: block;
  color: #aaa59b;
  font-size: 11px;
  line-height: 2;
}
.ax7-ip-record > p:not(:first-child) {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ax7-membership-account {
  padding: 0;
  background: none;
}
.ax7-membership-account .ax7-membership-inner {
  width: 100%;
}
.ax7-membership-account .ax7-membership-heading {
  text-align: right;
  margin-right: 0;
}
@media (max-width: 1040px) {
  .ax7-plus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .ax7-membership {
    padding: 86px 0;
  }
  .ax7-membership-inner {
    width: min(100% - 26px, 1240px);
  }
  .ax7-plus-grid,
  .ax7-pro-grid {
    grid-template-columns: 1fr;
  }
  .ax7-group-title {
    align-items: start;
    flex-direction: column;
  }
  .ax7-ip-record dl {
    grid-template-columns: 1fr;
  }
  .ax7-plan-head {
    flex-direction: column;
  }
  .ax7-plan-head > span {
    text-align: right;
  }
  .ax7-membership-heading h2 {
    font-size: 34px;
  }
  .ax7-membership-account {
    padding: 0;
  }
  .ax7-membership-account .ax7-membership-inner {
    width: 100%;
  }
}

/* 2026-09-26 formal grouped membership refresh */
.ax7-membership {
  font-family: "ASTROLEX Persian", Vazirmatn, "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  direction: rtl;
}
.ax7-membership-inner {
  width: min(1160px, calc(100% - 48px));
}
.ax7-membership-heading {
  max-width: 780px;
  margin-bottom: 46px;
}
.ax7-membership-heading > p {
  font-family: "ASTROLEX Persian", Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
}
.ax7-membership-heading h2 {
  font-family: "ASTROLEX Persian", Vazirmatn, "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.025em;
}
.ax7-membership-heading span {
  max-width: 720px;
  font-size: 15px;
  font-weight: 400;
  line-height: 2.1;
}
.ax7-plan-groups {
  gap: 42px;
}
.ax7-plan-group {
  padding: 24px;
  border: 1px solid rgba(146, 194, 255, 0.14);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(18, 29, 65, 0.52), rgba(6, 11, 29, 0.58));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.04);
}
.ax7-plan-group:last-child {
  border-color: rgba(156, 124, 255, 0.2);
}
.ax7-group-title {
  align-items: center;
  margin: 0 4px 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.ax7-group-title b {
  font-family: "ASTROLEX Persian", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.045em;
  direction: ltr;
}
.ax7-group-title span {
  font-family: "ASTROLEX Persian", Vazirmatn, Tahoma, sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.ax7-plan-grid {
  gap: 16px;
  align-items: stretch;
}
.ax7-plan-card {
  display: flex;
  min-width: 0;
  min-height: 720px;
  padding: 22px;
  flex-direction: column;
  border-radius: 22px;
  text-align: right;
}
.ax7-plan-head {
  min-height: 76px;
  align-items: flex-start;
}
.ax7-plan-head small {
  font-family: "ASTROLEX Persian", Inter, Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.ax7-plan-head h3 {
  margin-top: 7px;
  font-family: "ASTROLEX Persian", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.ax7-plan-head > span {
  font-family: "ASTROLEX Persian", Vazirmatn, Tahoma, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
  text-align: left;
}
.ax7-plan-price {
  min-height: 78px;
  margin-top: 14px;
  font-family: "ASTROLEX Persian", Vazirmatn, Tahoma, Arial, sans-serif;
  font-size: clamp(27px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
  font-variant-numeric: lining-nums tabular-nums;
}
.ax7-plan-price small {
  font-family: "ASTROLEX Persian", Vazirmatn, Tahoma, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
}
.ax7-plan-audience {
  min-height: 50px;
  margin: 8px 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.9;
}
.ax7-plan-personal {
  min-height: 112px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 400;
  line-height: 2;
}
.ax7-plan-features {
  height: 342px;
  padding-left: 5px;
  overflow-y: auto;
  overscroll-behavior: contain;
  align-content: start;
  scrollbar-width: thin;
  scrollbar-color: rgba(216, 180, 105, 0.5) rgba(255, 255, 255, 0.04);
}
.ax7-plan-features::-webkit-scrollbar {
  width: 5px;
}
.ax7-plan-features::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 99px;
}
.ax7-plan-features::-webkit-scrollbar-thumb {
  background: rgba(216, 180, 105, 0.5);
  border-radius: 99px;
}
.ax7-plan-feature {
  padding: 9px 11px;
}
.ax7-plan-feature summary {
  font-family: "ASTROLEX Persian", Vazirmatn, Tahoma, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.85;
}
.ax7-plan-feature p {
  font-family: "ASTROLEX Persian", Vazirmatn, Tahoma, Arial, sans-serif;
  font-size: 12px;
  line-height: 2;
}
.ax7-plan-action {
  margin-top: auto;
  padding-top: 14px;
  padding-bottom: 14px;
  font-family: "ASTROLEX Persian", Vazirmatn, Tahoma, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.ax7-plan-badge {
  font-family: "ASTROLEX Persian", Vazirmatn, Tahoma, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}
.ax7-payment-note,
.ax7-ip-record {
  font-family: "ASTROLEX Persian", Vazirmatn, Tahoma, Arial, sans-serif;
}
@media (max-width: 1040px) {
  .ax7-plan-group {
    padding: 20px;
  }
  .ax7-plan-card {
    min-height: 700px;
  }
  .ax7-plan-head h3 {
    white-space: normal;
  }
}
@media (max-width: 760px) {
  .ax7-membership-inner {
    width: min(100% - 22px, 1160px);
  }
  .ax7-membership-heading {
    margin-bottom: 32px;
  }
  .ax7-membership-heading h2 {
    font-size: 31px;
    line-height: 1.6;
  }
  .ax7-plan-group {
    padding: 14px;
    border-radius: 22px;
  }
  .ax7-group-title {
    align-items: flex-start;
    margin: 0 2px 18px;
  }
  .ax7-plan-card {
    min-height: 0;
    padding: 20px;
  }
  .ax7-plan-head {
    min-height: 0;
  }
  .ax7-plan-price,
  .ax7-plan-audience,
  .ax7-plan-personal {
    min-height: 0;
  }
  .ax7-plan-features {
    height: 330px;
  }
  .ax7-plan-head > span {
    text-align: right;
  }
}

/* 2026-09-26 split formal membership title */
.ax7-membership-heading h2 {
  margin: 0;
  letter-spacing: normal;
}
.ax7-membership-heading h2 .ax7-title-fa {
  display: block;
  max-width: none;
  margin: 0;
  color: #fff3cf;
  font-family: "ASTROLEX Persian", Vazirmatn, "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.02em;
}
.ax7-membership-heading h2 .ax7-title-brand {
  display: block;
  max-width: none;
  margin: 6px 0 0;
  color: #fff3cf;
  font-family: "ASTROLEX Persian", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .ax7-membership-heading h2 .ax7-title-fa {
    font-size: 30px;
    line-height: 1.55;
  }
  .ax7-membership-heading h2 .ax7-title-brand {
    margin-top: 8px;
    font-size: 38px;
    line-height: 1.05;
  }
}

/* 2026-09-26 official Persian heading and price numerals */
.ax7-membership-heading h2 .ax7-title-fa {
  font-family: "ASTROLEX Persian", Vazirmatn, "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: clamp(31px, 3.8vw, 48px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.012em;
  text-rendering: optimizeLegibility;
}
.ax7-plan-price {
  font-family: "ASTROLEX Persian", Vazirmatn, Tahoma, Arial, sans-serif;
  font-size: clamp(28px, 2.25vw, 32px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.018em;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings:
    "lnum" 1,
    "tnum" 1;
  text-rendering: optimizeLegibility;
}
.ax7-plan-price small {
  font-weight: 400;
  letter-spacing: 0;
}
@media (max-width: 760px) {
  .ax7-membership-heading h2 .ax7-title-fa {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.7;
  }
  .ax7-plan-price {
    font-size: 30px;
    font-weight: 500;
  }
}
/* Stable, readable blue glass over the existing animated cosmic scene. */
#membership-plans .ax7-membership-inner {
  opacity: 1;
  filter: none;
}
#membership-plans .ax7-plan-group {
  background: linear-gradient(145deg, rgba(29, 39, 87, 0.38), rgba(17, 23, 60, 0.46));
  border-color: rgba(167, 186, 238, 0.25);
}
#membership-plans .ax7-plan-card {
  background:
    radial-gradient(ellipse at 15% 0, rgba(88, 126, 201, 0.12), transparent 60%),
    linear-gradient(145deg, rgba(32, 39, 89, 0.86), rgba(16, 22, 58, 0.92));
  border-color: rgba(174, 192, 239, 0.3);
  box-shadow:
    0 20px 55px rgba(3, 7, 26, 0.26),
    inset 0 1px rgba(222, 232, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
#membership-plans .ax7-plan-card.recommended {
  border-color: rgba(235, 204, 127, 0.78);
}
#membership-plans .ax7-plan-pro {
  border-color: rgba(181, 163, 243, 0.46);
}
#membership-plans .ax7-plan-head > span,
#membership-plans .ax7-plan-price small,
#membership-plans .ax7-group-title span,
#membership-plans .ax7-membership-heading > span,
#membership-plans .ax7-plan-feature p {
  color: #d0d7e9;
}
#membership-plans .ax7-plan-audience {
  color: #e3e6ef;
}
#membership-plans .ax7-plan-personal {
  background: rgba(12, 19, 51, 0.32);
  border-color: rgba(223, 201, 148, 0.25);
  color: #f0e5ca;
}
#membership-plans .ax7-plan-feature {
  background: rgba(9, 16, 44, 0.38);
  border-color: rgba(189, 206, 245, 0.17);
}
#membership-plans .ax7-plan-feature summary {
  color: #f6f3eb;
}
#membership-plans .ax7-plan-feature summary:after {
  color: #d0d7e9;
}

/* Keep native disclosure controls out of cinematic 3D hit-testing planes. */
main#top > #membership-plans {
  transform-style: flat;
  isolation: isolate;
}
#membership-plans .ax7-membership-inner {
  position: relative;
  z-index: 1;
  transform: none !important;
  transform-style: flat;
  will-change: auto;
}
#membership-plans .ax7-plan-features {
  height: auto;
  max-height: 540px;
  overflow-y: auto;
  scroll-padding-block: 12px;
}
#membership-plans .ax7-plan-feature {
  position: relative;
  padding: 0;
}
#membership-plans .ax7-plan-feature summary {
  position: relative;
  min-height: 48px;
  align-items: center;
  padding: 11px 13px;
  touch-action: manipulation;
  cursor: pointer;
}
#membership-plans .ax7-plan-feature summary:after {
  flex-shrink: 0;
  font-size: 19px;
  line-height: 1;
}
#membership-plans .ax7-plan-feature summary:focus-visible {
  outline: 2px solid #efd17f;
  outline-offset: -3px;
  border-radius: 12px;
}
#membership-plans .ax7-plan-feature[open] {
  background: rgba(12, 22, 58, 0.7);
  border-color: rgba(235, 204, 127, 0.48);
}
#membership-plans .ax7-plan-feature[open] summary {
  color: #fff1c4;
  border-bottom: 1px solid rgba(222, 207, 169, 0.18);
}
#membership-plans .ax7-plan-feature p {
  margin: 12px 14px;
  padding: 0;
  border: 0;
  font-size: 15px;
  line-height: 2;
  color: #e1e6f2;
  overflow-wrap: anywhere;
}
#membership-plans .ax7-plan-feature p:last-child {
  margin-bottom: 18px;
}
#membership-plans .ax7-plan-feature p strong {
  color: #f2dca0;
  font-weight: 700;
}
#membership-plans .ax7-plan-guide {
  margin: -20px 0 24px;
  text-align: center;
  color: #d0d7e9;
  font-size: 15px;
  line-height: 1.9;
}
