.navbar {
  background: white;
}

/* Pricing Section Background */
.pricing-section {
  background: linear-gradient(135deg, #ffffff 0%, #ffeef1 100%);
}

.pricing-header {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-bottom: 50px;
}

.pricing-header p {
  max-width: 805px;
  width: 100%;
}

/* --- GRID LAYOUT --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch; /* Ensures cards are same height */
}

/* --- STANDARD CARD STYLING --- */
.pricing-card {
  background: #ffe7eb;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.21);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-8px); /* Lifts up */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* deeper shadow */
  z-index: 5; /* Ensures it sits on top of siblings */
}

/* Card Header (Pill) */
.plan-header {
  padding: 14px 22px;
  text-align: center;
  font-weight: 600;
  font-size: 24px;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: left;
}

.bg-pink-pill {
  background-color: #ffc4d9;
  color: #000;
}

.plan-body {
  display: flex;
  flex-direction: column;
  flex: 1; /* Fills remaining space */
  padding: 0 10px;
}

/* Card Typography */
.perfect-label {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
  color: #000;
}

.perfect-desc {
  font-size: 18px;
  line-height: 1.7;
  color: #000;
  padding-bottom: 20px;
  border-bottom: 1px solid #fc607a;
}

.price-tag h2 {
  margin: 38px 0;
  font-size: 48px;
}

.price-tag .period {
  font-size: 20px;
  font-weight: 500;
  color: #263238;
}

/* Feature List */
.feature-list {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 38px;
  padding: 16px;
  border-radius: 8px;
  height: 100%;
}

.feature-list li {
  background: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border-radius: 0;
}

.feature-list li:hover {
  background-color: transparent; /* Slightly lighter than the original #283634 */
  transform: translateX(0px); /* Slides the card to the right */
  border-color: transparent;
  box-shadow: none
}

.feature-list li img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* Button utility */
.btn-block {
  width: 100%;
  border-radius: 10px;
  padding: 10px 22px;
  gap: 10px;
  display: flex;
  justify-content: center;
}

.btn-block div {
  width: 25px;
  height: 25px;
  background-color: transparent;
  border-radius: 50%;
}

.btn-pill-white div {
  background-color: #fa1239;
}

.arrow-icon {
  width: 24px;
  height: 24px;

  background-color: #ffffff; /* must contrast with button bg */

  -webkit-mask-image: url("../assets/icons/arrow-up-right.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-image: url("../assets/icons/arrow-up-right.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;

  display: inline-block;
  flex-shrink: 0;
}

.btn-block:hover .arrow-icon {
  background-color: #fa1239;
}

.btn-pill-white {
  font-weight: 700;
}

.btn-pill-white:hover div {
  background-color: #fff;
}

.mt-auto {
  margin-top: auto; /* Pushes button to bottom */
}

/* --- FEATURED CARD STYLING (RED) --- */
.featured-card {
  background-color: var(--primary-500);
  border: none;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 18px rgba(250, 18, 57, 0.2);
}

/* Featured Typography */
.text-white {
  color: white !important;
}

.featured-card .price-tag h2 {
  color: white;
}
.featured-card .price-tag .period {
  color: #fff;
}

/* Inner White Box for Features */
.features-box {
  background: #ffe7eb;
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */

/* Tablet (Max 1200px) */
@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: 1fr; /* Stack cards vertically */
    max-width: 800px;
    margin: 0 auto;
    gap: 32px;
  }

  .featured-card {
    transform: none; /* Remove scale effect on mobile/tablet */
  }

  .pricing-header {
    gap: 18px;
    margin-bottom: 24px;
  }

  .pricing-header h2 {
    font-size: 32px;
    max-width: 70%;
  }

  .pricing-header p {
    max-width: 96%;
  }

  .plan-header {
    text-align: center;
  }

  .plan-body {
    text-align: center;
  }

  .price-tag h2 {
    margin: 24px 0;
  }

  .feature-list {
    width: 90%;
    margin: 0 auto 24px;
  }

  .btn-block {
    max-width: 100%;
  }
}

/* Mobile (Max 768px) */
@media (max-width: 767px) {
  .pricing-header h2 {
    max-width: 90%;
    font-size: 28px;
  }

  .pricing-header p {
    font-size: 16px;
  }

  .pricing-grid {
    gap: 26px;
  }

  .pricing-card {
    padding: 25px 10px;
  }

  .plan-body {
    text-align: left;
  }

  .feature-list {
    width: 100%;
    margin: 0 auto 38px;
    gap: 24px;
  }

  .pricing-header {
    gap: 26px;
    margin-bottom: 50px;
  }

  .plan-header {
    margin-bottom: 24px;
  }
}
