/* Existing Styles */
.home-container {
  text-align: center;
  position: relative;
}

.text-image-section {
  display: flex;
  justify-content: center;
  /* justify-content: flex-end; */
  align-items: center;
  flex-wrap: wrap;
}

.text-section {
  max-width: 667px;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
}

.text-section p {
  margin-bottom: 1.5rem;
}

.text-section p:first-child {
  color: #0f395c;
}

.text-section p:not(:first-child) {
  color: #1d6daf;
  font-size: 26px;
}

.boost-features-container {
  max-width: 1000px;
  margin: 3rem auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-family: Arial, sans-serif;
  padding: 0 1rem;
}

.boost-feature-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.boost-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: contain;
  position: absolute;
  left: -85px;
  z-index: 2;
}

.boost-feature {
  display: flex;
  align-items: center;
  background-color: #effbfb;
  padding: 1rem 1.5rem;
  border-radius: 5px 40px 40px 5px;
  border: 1px solid #1a629e;
  box-shadow: 0px 4px 4px 0px #00000040;
  margin-left: 30px; /* makes space for the floating icon */
  flex: 1;
}

.boost-feature p {
  margin: 0;
  font-size: 26px;
  color: #152850;
  line-height: 1.6;
}

.boost-feature p strong {
  color: #152850;
  font-size: 26px;
  margin-bottom: 0.25rem;
}

.pricing-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 2rem 0rem;
  flex-wrap: wrap;
  font-family: Arial, sans-serif;
}

.pricing-redirection {
  cursor: pointer;
  text-decoration: underline;
  color: #0f395c;
  margin: 20px 0px 0px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.pricing-card {
  background: white;
  border-radius: 12px;
  box-shadow: 4px 4px 0px 0px #1a629e;
  width: 300px;
  padding: 1.5rem 1.25rem 2rem;
  position: relative;
  border: 1px solid #1a629e;
  display: flex;
  flex-direction: column;
  height: max-content;
}

.pricing-card.gold {
  background-color: #0f4f96;
  color: white;
  border: none;
}

.pricing-section {
  padding-bottom: 4rem;
}

.plan-label {
  position: absolute;
  top: 25px;
  right: 0px;
  padding: 0.5rem 1.25rem;
  border-radius: 20px 0px 0 20px;
  font-weight: bold;
  font-size: 1.1rem;
  color: white;
}

.silver .plan-label {
  background: rgba(205, 201, 194, 1);
  background-image: linear-gradient(
      339.03deg,
      rgba(255, 255, 255, 0) 52.79%,
      #ffffff 95.95%
    ),
    linear-gradient(
      76.82deg,
      rgba(87, 98, 101, 0.6) 11.6%,
      rgba(158, 161, 161, 0.6) 25.31%,
      rgba(132, 139, 138, 0.6) 48.06%,
      rgba(87, 98, 101, 0.6) 55.72%,
      rgba(87, 98, 101, 0.6) 77.23%,
      rgba(117, 122, 123, 0.6) 85.34%,
      rgba(87, 98, 101, 0.6) 91.31%
    );
  background-blend-mode: color, overlay;
}

.gold .plan-label {
  background: rgba(208, 151, 66, 0.9);
  background-image: linear-gradient(
      339.03deg,
      rgba(255, 255, 255, 0) 52.79%,
      #ffffff 95.95%
    ),
    linear-gradient(
      76.82deg,
      rgba(87, 98, 101, 0.7) 11.6%,
      rgba(158, 161, 161, 0.7) 25.31%,
      rgba(132, 139, 138, 0.7) 48.06%,
      rgba(87, 98, 101, 0.7) 55.72%,
      rgba(87, 98, 101, 0.7) 77.23%,
      rgba(117, 122, 123, 0.7) 85.34%,
      rgba(87, 98, 101, 0.7) 91.31%
    );
  background-blend-mode: color, overlay;
}

.bronze .plan-label {
  background: rgba(193, 168, 117, 0.7);
  background-image: linear-gradient(
      339.03deg,
      rgba(255, 255, 255, 0) 52.79%,
      #ffffff 95.95%
    ),
    linear-gradient(
      76.82deg,
      rgba(87, 98, 101, 0.7) 11.6%,
      rgba(158, 161, 161, 0.7) 25.31%,
      rgba(132, 139, 138, 0.7) 48.06%,
      rgba(87, 98, 101, 0.7) 55.72%,
      rgba(87, 98, 101, 0.7) 77.23%,
      rgba(117, 122, 123, 0.7) 85.34%,
      rgba(87, 98, 101, 0.7) 91.31%
    );
  background-blend-mode: color, overlay;
}

.plan-header {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f395c;
}

.plan-description {
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #0f395c;
}

.gold .plan-description {
  color: white;
  font-weight: 500;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.feature-list li {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  color: #1a1a1a;
}

.gold .feature-list li {
  color: white;
}

.feature-list li::before {
  content: url("/static/images/boost_page/checkmark-circle-outline.png");
  color: #3ac267;
  font-weight: bold;
  margin-right: 0.5rem;
  position: relative;
  top: 5px;
}

.pricing-card.gold .feature-list li::before {
  content: url("/static/images/boost_page/checkmark-circle-white-outline.png");
}

.boost-button {
  padding: 0.75rem;
  border: none;
  border-radius: 25px;
  background: linear-gradient(90deg, #caa76a, #987644);
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s ease;
}

.bronze .boost-button {
  background: rgba(193, 168, 117, 0.7);
  background-image: linear-gradient(
      339.03deg,
      rgba(255, 255, 255, 0) 52.79%,
      #ffffff 95.95%
    ),
    linear-gradient(
      76.82deg,
      rgba(87, 98, 101, 0.7) 11.6%,
      rgba(158, 161, 161, 0.7) 25.31%,
      rgba(132, 139, 138, 0.7) 48.06%,
      rgba(87, 98, 101, 0.7) 55.72%,
      rgba(87, 98, 101, 0.7) 77.23%,
      rgba(117, 122, 123, 0.7) 85.34%,
      rgba(87, 98, 101, 0.7) 91.31%
    );
  background-blend-mode: color, overlay;
}

.silver .boost-button {
  background: rgba(205, 201, 194, 1);
  background-image: linear-gradient(
      339.03deg,
      rgba(255, 255, 255, 0) 52.79%,
      #ffffff 95.95%
    ),
    linear-gradient(
      76.82deg,
      rgba(87, 98, 101, 0.6) 11.6%,
      rgba(158, 161, 161, 0.6) 25.31%,
      rgba(132, 139, 138, 0.6) 48.06%,
      rgba(87, 98, 101, 0.6) 55.72%,
      rgba(87, 98, 101, 0.6) 77.23%,
      rgba(117, 122, 123, 0.6) 85.34%,
      rgba(87, 98, 101, 0.6) 91.31%
    );
  background-blend-mode: color, overlay;
}

.gold .boost-button {
  background: rgba(208, 151, 66, 0.9);
  background-image: linear-gradient(
      339.03deg,
      rgba(255, 255, 255, 0) 52.79%,
      #ffffff 95.95%
    ),
    linear-gradient(
      76.82deg,
      rgba(87, 98, 101, 0.7) 11.6%,
      rgba(158, 161, 161, 0.7) 25.31%,
      rgba(132, 139, 138, 0.7) 48.06%,
      rgba(87, 98, 101, 0.7) 55.72%,
      rgba(87, 98, 101, 0.7) 77.23%,
      rgba(117, 122, 123, 0.7) 85.34%,
      rgba(87, 98, 101, 0.7) 91.31%
    );
  background-blend-mode: color, overlay;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.boost-button:hover {
  opacity: 0.9;
}

.new-pricing-section {
  padding: 0rem 1rem;
}

.campaign-pricing-title-wrapper {
  text-align: center;
  border-style: solid;
  border-color: #9fccf1;
  background: #eef6fc;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin: 0 auto 2rem auto;
  max-width: 1200px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.campaign-pricing-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0c4a6e;
}

.campaign-pricing-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.campaign-pricing-tier {
  background-color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* A wrapper to handle overflow on small screens */
.table-wrapper {
  overflow-x: auto;
}

.campaign-pricing-table {
  width: 100%;
  min-width: 1000px; /* Ensures table doesn't collapse on small screens */
  font-size: 0.875rem; /* 14px */
  text-align: center;
  color: #475569; /* slate-600 */
  border-collapse: collapse;
}

.campaign-pricing-table td {
  padding: 0.75rem;
  border: 1px solid #9fccf1;
  color: #044c4e;
}

.campaign-pricing-table .price-row {
  background-color: #dcecf9;
}

.campaign-pricing-table .quantity-row {
  background-color: #eef6fc;
  font-weight: 500;
}

.campaign-pricing-table .tier-name {
  width: 15%; /* This is the fix */
  font-weight: 700;
  padding: 1rem; /* 16px */
  vertical-align: middle;
}

.campaign-pricing-table .bronze-price {
  font-weight: 600;
  font-size: 1.25rem; /* 20px */
  padding: 1rem;
}

/* Custom gradients for metallic effect */
.gradient-bronze {
  background-image: linear-gradient(to right, #c9a47e, #e6c5a1, #c9a47e);
  color: white;
}
.gradient-silver {
  background-image: linear-gradient(to right, #c0c0c0, #e8e8e8, #c0c0c0);
  color: #334155;
}
.gradient-gold {
  background-image: linear-gradient(to right, #e6c15c, #f9f0a8, #e6c15c);
  color: #334155;
}

.pricing-footnote {
  color: #1a629e;
  text-align: center;
  margin: 2rem auto 0;
  font-size: 1.125rem;
  font-weight: 700;
  max-width: 1200px;
}

.backToDM {
  display: flex;
  justify-content: center;
  padding: 12px;
  color: #ffffff;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 20%;
  font-size: 20px;
  font-weight: bold;
  background: linear-gradient(270deg, #1d9097 0%, rgba(9, 47, 49, 0.8) 100%);
  margin: 30px auto 10px;
  border-color: unset;
}

.backToDM:hover {
  background: linear-gradient(270deg, #1d9097 0%, rgba(9, 47, 49, 1) 100%);
  transform: scale(1.05);
}

/* Responsive adjustments */
@media screen and (min-width: 768px) {
  .campaign-pricing-table {
    font-size: 1rem; /* 16px */
  }
  .campaign-pricing-title {
    font-size: 1.875rem; /* 30px */
  }
}

@media screen and (min-width: 1440px) {
  .text-image-section {
    justify-content: center;
    gap: 7rem;
  }
}
