/* =============================================
   MEMBERSHIP PRICE TABLE - Custom Styles
   Uses: Bootstrap 4, Font Awesome 4.7, Animate.css
   ============================================= */

/* ---------- Section Wrapper ---------- */
.membership-section {
  /* background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); */
  background: linear-gradient(336deg, #0000fd 0%, #43568a 50%, #000000 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.membership-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* ---------- Section Heading ---------- */
.membership-heading {
  text-align: center;
  margin-bottom: 15px;
}

.membership-heading h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.membership-heading h2 span {
  color: #e94560;
}

.membership-heading .subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}

/* ---------- Limited Badge ---------- */
.limited-badge {
  display: inline-block;
  background: linear-gradient(90deg, #e94560, #c0392b);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 50px;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.45);
  animation: pulseTwo 2s infinite;
}

@keyframes pulseTwo {
  0%   { box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(233, 69, 96, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 69, 96, 0); }
}

/* ---------- Price Card ---------- */
.price-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); */

  backdrop-filter: blur(150px);
  -webkit-backdrop-filter: blur(150px);
  position: relative;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(255,255,255,0.18);
}

/* ---------- Featured / Popular Card ---------- */
.price-card.featured {
  background: linear-gradient(160deg, #1a73e8 0%, #0d47a1 100%);
  border: 2px solid #4fc3f7;
  box-shadow: 0 20px 50px rgba(26, 115, 232, 0.35);
  transform: translateY(-8px);
  z-index: 2;
}

.price-card.featured:hover {
  transform: translateY(-18px);
  box-shadow: 0 30px 70px rgba(26, 115, 232, 0.5);
}

.popular-ribbon {
  position: absolute;
  top: 18px;
  right: -28px;
  background: linear-gradient(90deg, #ffd700, #ffa500);
  color: #1a1a2e;
  font-family: 'Roboto', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 40px;
  transform: rotate(45deg);
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

/* ---------- Card Header ---------- */
.price-card-header {
  padding: 35px 25px 25px;
  text-align: center;
  position: relative;
}

.price-card-header .type-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.2);
  transition: background 0.3s;
}

.price-card:hover .type-icon,
.price-card.featured .type-icon {
  background: rgba(255,255,255,0.2);
}

.price-card-header .plan-name {
  font-family: 'Roboto', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}

.price-card.featured .plan-name {
  color: rgba(255,255,255,0.8);
}

.price-card-header .plan-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

/* ---------- Price Display ---------- */
.price-display {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 5px;
}

.price-display .currency {
  font-family: 'Roboto', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-top: 10px;
  line-height: 1;
}

.price-display .amount {
  font-family: 'Roboto', sans-serif;
  font-size: 3.8rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -2px;
}

.price-display .period {
  font-family: 'Roboto', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  align-self: flex-end;
  margin-bottom: 8px;
  margin-left: 4px;
}

.price-card.featured .price-display .currency,
.price-card.featured .price-display .amount {
  color: #ffffff;
}

/* ---------- Divider ---------- */
.price-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  margin: 0 25px;
}

/* ---------- Card Body / Features ---------- */
.price-card-body {
  padding: 28px 30px 35px;
  display: flex;        /* ← added */
  flex-direction: column; /* ← added */
  flex: 1;              /* ← added */
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  flex: 1;  /* ← added — pushes button to bottom */
}

.feature-list li {
  font-family: 'Roboto', sans-serif;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  padding: 9px 0;
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  line-height: 1.5;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li .fa {
  margin-right: 12px;
  margin-top: 2px;
  font-size: 0.85rem;
  flex-shrink: 0;
  color: #4fc3f7;
}

.price-card.featured .feature-list li .fa {
  color: #ffd700;
}

.feature-list li.highlight-feature {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
}

.feature-list li .feature-value {
  font-weight: 700;
  color: #ffffff;
}

/* ---------- CTA Button ---------- */
.btn-price {
  display: block;
  width: 100%;
  padding: 14px 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-price:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.btn-price-featured {
  display: block;
  width: 100%;
  padding: 14px 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  border: none;
  background: linear-gradient(90deg, #ffd700, #ffa500);
  color: #1a1a2e;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

.btn-price-featured:hover {
  background: linear-gradient(90deg, #ffe033, #ffb700);
  color: #1a1a2e;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 165, 0, 0.55);
}

/* Ensure CTA buttons sit at the bottom of the card and don't wrap */
.btn-price,
.btn-price-featured {
  margin-top: auto;
  white-space: nowrap;
}
/* */

.keep-bottom {
  margin-top: auto;
}
p.featured-list{
    font-family: 'Roboto', sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    padding: 9px 0;
    display: flex;
    align-items: flex-start;
    align-content: center;
    /* border-bottom: 1px solid rgba(255,255,255,0.06); */
    border-top: 1px solid rgba(255,255,255,0.06);
    line-height: 1.5;
}
p span.feature-value {
  font-weight: 700;
  color: #ffffff;
}

/* ---------- Footer Note ---------- */
.price-footnote {
  text-align: center;
  margin-top: 50px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.price-footnote a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
}

/* ---------- Responsive Adjustments ---------- */
/* Tablet-specific: ensure columns are equal height so CTAs align horizontally */
@media (min-width: 768px) and (max-width: 991.98px) {
  .row.align-items-stretch > [class*='col-'] {
    display: flex;
  }
  .row.align-items-stretch > [class*='col-'] .price-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 991.98px) {
  .price-card.featured {
    transform: translateY(0);
  }
  .price-card.featured:hover {
    transform: translateY(-10px);
  }
  .membership-heading h2 {
    font-size: 2rem;
  }
  .price-display .amount {
    font-size: 3rem;
  }
}

@media (max-width: 767.98px) {
  .membership-section {
    padding: 60px 0 80px;
  }
  .membership-heading h2 {
    font-size: 1.7rem;
  }
  .price-card {
    margin-bottom: 25px;
  }
}

@media (max-width: 575.98px) {
  .membership-heading h2 {
    font-size: 1.45rem;
    letter-spacing: 0.5px;
  }
  .price-card-body {
    padding: 24px 22px 28px;
  }
}