/* GO CBT JAMB PRO — Subscription Plans Website Patch
   Load this file after assets/styles.css.
*/

.plans-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(212, 175, 55, .13), transparent 23rem),
    radial-gradient(circle at 8% 88%, rgba(25, 164, 99, .09), transparent 24rem),
    linear-gradient(180deg, #f7fbf8 0%, #ffffff 100%);
}

.plans-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(6, 28, 79, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 28, 79, .025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

.plans-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .75fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 38px;
}

.plans-heading h2 {
  color: var(--navy);
  font-size: clamp(2.05rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin: 9px 0 0;
}

.plans-heading p {
  margin: 0;
  color: var(--muted);
}

.plans-heading p strong {
  color: #087f56;
}

.plans-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, .65fr);
  gap: 25px;
  align-items: stretch;
}

.plans-image-frame {
  position: relative;
  min-width: 0;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(9, 79, 55, .13);
  box-shadow: 0 25px 65px rgba(4, 57, 39, .12);
}

.plans-image-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 19px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

.plans-image-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  border-radius: 19px;
  background: #edf5f0;
}

.plans-image-label {
  position: absolute;
  left: 35px;
  top: 35px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(3, 22, 62, .88);
  box-shadow: 0 10px 25px rgba(3, 22, 62, .18);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.plans-summary {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(212,175,55,.36), transparent 16rem),
    linear-gradient(145deg, #032f24 0%, #07543e 58%, #087f56 100%);
  box-shadow: 0 25px 65px rgba(3, 61, 43, .22);
}

.plans-summary::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -125px;
  bottom: -125px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
}

.plans-kicker {
  color: #f8d666;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.plans-starting-price {
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 10px 0 18px;
}

.plans-starting-price strong {
  color: #fff1a8;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.plans-starting-price span {
  padding-bottom: 7px;
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  font-weight: 800;
}

.plans-summary > p {
  margin: 0 0 20px;
  color: rgba(255,255,255,.78);
  font-size: .91rem;
}

.plan-pill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 22px;
}

.plan-pill-grid span {
  display: grid;
  padding: 10px 11px;
  border-radius: 11px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  color: #f3f7f5;
  font-size: .75rem;
  line-height: 1.3;
}

.plan-pill-grid strong {
  color: #fff;
  font-size: .79rem;
}

.plans-cta {
  position: relative;
  z-index: 1;
  margin-top: auto;
  background: linear-gradient(135deg, #f8dc73, #d4af37);
  color: #2b2105;
  box-shadow: 0 16px 35px rgba(212,175,55,.25);
}

.plans-summary small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 14px;
  text-align: center;
  color: rgba(255,255,255,.58);
  font-size: .7rem;
  line-height: 1.45;
}

/* Keep the new price clear inside the existing final download panel. */
.download-panel .price-line {
  gap: 18px;
}

.download-panel .price-line strong {
  max-width: 220px;
  text-align: right;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.08;
}

@media (max-width: 1000px) {
  .plans-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .plans-showcase {
    grid-template-columns: 1fr;
  }

  .plans-image-frame img {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .plans-image-frame {
    padding: 10px;
    border-radius: 18px;
  }

  .plans-image-frame img {
    border-radius: 13px;
  }

  .plans-image-label {
    position: static;
    display: block;
    width: fit-content;
    margin: 0 0 10px;
  }

  .plans-summary {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .plan-pill-grid {
    grid-template-columns: 1fr;
  }

  .download-panel .price-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-panel .price-line strong {
    max-width: none;
    text-align: left;
  }
}
