.pricing-block-v2 {
  background: #f7f5ff;
  padding: 80px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Euclid Circular B', Arial, sans-serif;
  height: 1020px;
}

.pricing-packages-section {
  width: 100%;
  max-width: 810px;
  margin: 0 auto;
}

.get-pricing {
  display: block;
  margin: 0 auto;
  margin-bottom: 25px;
  padding: 12px 40px;
}
.final-cta-row .get-pricing {
  margin: inherit;
  margin-top: 0;
}
.final-cta-row button img {
  top: -2px;
  position: relative;
  margin-left: 4px;
}
.rotate-180 {
  rotate: 180deg;
}

/* Title */
.pricing-block-v2 h1 {
  font-weight: 600;
  font-size: 60px;
  line-height: 76px;
  letter-spacing: -2.5px;
  text-align: center;
  margin: 0 0 24px;
}

/* Subtitle */
.pricing-block-v2 .subtitle {
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 2.5px;
  text-align: center;
  color: #674ced;
}

/* Packages */
.packages {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 56px 0 32px;
  width: 100%;
  max-width: 1000px;
}

.package {
  flex: 1;
  border: 2px solid #e6e6e6;
  border-radius: 5px;
  padding: 40px 35px;
  background: #fff;
  text-align: left;
  min-width: 50%;
  position: relative;
}

.package .active {
  color: #0ec76a;
}

.package.active {
  border: 3px solid #0ec76a;
}

.package h2 {
  font-weight: 600;
  font-size: 36px;
  line-height: 25.2px;
  vertical-align: middle;
  padding-bottom: 25px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ededed;
  display: flex;
  gap: 10px;
}

.package ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}

.package ul li {
  margin-bottom: 12px;
  font-size: 15px;
  display: flex;
  align-items: center;
  height: 33px;
  margin-bottom: 0;
  gap: 10px;
  line-height: 22px;
}

/* Description text */
.pricing-desc {
  font-weight: 300;
  font-size: 15px;
  line-height: 21px;
  letter-spacing: 0px;
  text-align: center;
  max-width: 542px;
  margin: 0 auto 24px;
  color: #333;
}

.final-pricing-desc {
  max-width: 810px;
  color: #666666;
}

/* Pricing form steps */
.pricing-steps-form {
  display: none;
}

.custom-select {
  width: 100%;
  user-select: none;
  margin-top: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.custom-select .selected {
  padding: 13px 23px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 10px;
  color: #70727b;
  box-sizing: border-box;
  border: 1px solid #a5a4a4;
  width: 100%;
  display: flex;
  justify-content: space-between;
  min-height: 50px;
  align-items: center;
}

.custom-select .options {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0;
  background: white;
  max-height: 0;
  overflow: auto;
  transition: max-height 0.3s ease;
  border-radius: 0 0 10px 10px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.08);
}

.custom-select.open .options {
  max-height: 300px;
}

.custom-select .options li {
  padding: 10px 23px;
  cursor: pointer;
  transition: background 0.2s;
  color: #a5a4a4;
  font-size: 14px;
}

.custom-select .options li:hover {
  background: #fbfbfb;
}

.step-box {
  border-radius: 5px;
  margin: 0 auto;
  min-height: 490px;
  display: flex;
  flex-direction: column;
}

.step-box-content,
.final-step,
.thank-you-step {
  background-color: #ffffff;
  width: 510px;
  border: 2px solid #eaeaea;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.final-step {
  background: none;
  border: none;
  max-width: 810px;
  width: 100%;
  padding-top: 0;
}

.final-step .packages {
  margin-top: 24px;
}

.final-step p {
  text-align: center;
  font-size: 16px;
  font-weight: 300;
  font-family: 'Euclid Circular B', Arial, sans-serif;
  margin: 38px auto;
}

.period-tabs {
  display: flex;
  padding: 3px;
  background: #fff;
  width: fit-content;
  list-style: none;
  justify-content: center;
  border-radius: 5px;
  margin: auto;
}
.period-tabs li {
  padding: 10px 26px;
  font-size: 14px;
  font-family: 'Euclid Circular B', Arial, sans-serif;
  font-weight: 400;
  cursor: pointer;
}
.period-tabs li.active {
  background: #634de4;
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
}

/* Final step CTA row with back arrow next to button */
.final-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
  position: relative;
}
.final-cta-row .back-icon {
  width: auto; /* button will size by its padding like Next button */
  cursor: pointer;
  margin: 0; /* override default margin-bottom */
  background: transparent;
  color: #0ec76a !important;
}
.final-cta-row button {
  position: relative;
}
.final-cta-row button:after {
  content: '';
  position: absolute;
  width: 22px;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  height: 11px;
  display: block;
  pointer-events: none;
  background-image: url(../../images/green-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.step-box h3 {
  font-size: 23px;
  margin: 0 0 10px;
}

.back-icon {
  margin-bottom: 25px;
  cursor: pointer;
  width: 22px;
}

.step-box .box-description {
  color: #a5a4a4;
  text-align: left;
  font-size: 14px;
  margin: 0;
}

.step-box-bottom {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-box-bottom p {
  margin: 0;
  color: #a5a4a4;
  font-size: 14px;
}

.next-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.next-btn img {
  transition: transform 0.3s;
}

.next-btn:hover img {
  transform: translateX(2px);
}

.custom-select .options li.active {
  background-color: #fbfbfb;
}

.radio-group {
  margin-top: 20px;
}

.radio-group input[type='radio'] {
  display: none;
}

.radio-group label {
  display: inline-block;
  padding: 13px 23px;
  margin-bottom: 12px;
  border: 1px solid #a5a4a4;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  color: #70727b;
}

.radio-group label:hover {
  border-color: #999;
}

.radio-group input[type='radio']:checked + label,
.radio-group label.active {
  border-color: #2ecc71;
  font-weight: bold;
}

.slider-container {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
}

#budgetSlider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 5px;
  background: #e5e5e5;
  outline: none;
  margin: 25px 0 5px;
  background-image: linear-gradient(#0ec76a, #0ec76a);
  background-repeat: no-repeat;
}

#budgetSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0ec76a; /* green */
  cursor: pointer;
  border: none; /* remove the white border */
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

#budgetSlider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0ec76a;
  cursor: pointer;
  border: none; /* remove the white border */
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #a5a4a4;
  margin-top: 10px;
  font-size: 16px;
  font-family: 'euclidcircularb-light', Helvetica, Arial, sans-serif;
  font-weight: 300;
}

#budgetInput {
  margin-top: 24px;
  font-size: 16px;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  color: #a5a4a4;
  width: 100%;
  font-weight: 500;
  padding: 13px 40px 13px 23px; /* extra right padding for the symbol */
  box-sizing: border-box;
  font-family: 'euclidcircularb-light', Helvetica, Arial, sans-serif;
}

.budget-input-row {
  position: relative;
}
.currency-symbol {
  position: absolute;
  right: 16px;
  bottom: 13px;
  color: #a5a4a4;
  font-size: 14px;
  pointer-events: none;
}

#step5 div {
  display: flex;
  flex-direction: column;
}

#step5 .step-box-bottom {
  flex-direction: row;
}

#step5 div label {
  color: #a5a4a4;
  font-size: 16px;
  margin-bottom: 7px;
}

#step5 div input {
  border: 1px solid #a5a4a4;
  border-radius: 10px;
  height: 50px;
  margin-bottom: 15px;
  padding: 0 10px;
}

.step5-heading {
  margin-bottom: 30px;
}

/* Tahnk you message */
.thank-you-step {
  background: none;
  border: none;
  max-width: 813px;
  width: 100%;
  box-sizing: border-box;
}
.thank-you-block {
  text-align: center;
  color: #000;
  font-family: 'Inter', Arial, sans-serif;
  width: 100%;
  max-width: 813px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.thank-you-block h2 {
  font-weight: 600;
  font-size: 60px;
  line-height: 76px;
  letter-spacing: -2.5px;
  text-align: center;
  margin: 0 0 33px;
}
.thank-you-block .schedule-call-message {
  font-weight: 400;
  font-size: 40px;
  letter-spacing: -2.5px;
  text-align: center;
  color: #000;
  margin-bottom: 40px;
}

.thank-you-block .schedule-call-message .strong {
  font-weight: 600;
}

.thank-you-message {
  background: #ffffff;
  border-radius: 5px;
  padding: 25px 30px;
  margin-bottom: 38px;
  box-sizing: border-box;
}

.thank-you-message p {
  font-family: 'Euclid Circular B', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #666;
  margin: 0;
  line-height: 28px;
}

.cta-button {
  display: inline-block;
  background-color: #00b86b;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.cta-button:hover {
  background-color: #009e5c;
}

/* Responsive */
@media (max-width: 600px) {
  .thank-you-block {
    padding: 40px 15px;
  }

  .final-cta-row {
    flex-direction: column;
  }
}

.images-wrapper {
  display: flex;
  gap: 15px;
  align-items: center;
}

.premium-plus.active h3,
.premium.active h3 {
  color: #0ec76a;
}

.package h3 {
  font-size: 18px;
}

@media (max-width: 1000px) {
  .packages.last-packages {
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
  }

  .pricing-block-v2 {
    height: auto;
    padding: 120px 0 80px;
  }

  .pricing-block-v2 .subtitle {
    margin-bottom: 20px;
  }

  .pricing-desc {
    margin-top: 20px;
  }

  .final-step {
    max-width: fit-content;
  }
}

@media (max-width: 828px) {
  .packages {
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
  }

  .step-box {
    width: 95%;
    margin: 0 auto;
  }

  .initial-step {
    width: 100%;
    box-sizing: border-box;
  }

  .packages {
    margin-bottom: 30px;
  }

  .package ul li {
    height: auto;
    margin-bottom: 13px;
  }
}

@media (max-width: 690px) {
  .pricing-block-v2 h1 {
    font-size: 50px;
  }

  .pricing-desc {
    width: 90%;
    margin: 20px auto;
  }

  .margin-top-pricing {
    margin-top: 0 !important;
  }
}
@media (max-width: 500px) {
  .pricing-block-v2 {
    align-items: normal;
  }
}
@media (max-width: 400px) {
  .step-box {
    width: 95%;
  }
  .period-tabs {
    width: 100%;
    justify-content: stretch;
  }
  .period-tabs li {
    padding: 10px 17px;
  }

  .initial-step {
    width: 100%;
  }

  .pricing-block-v2 h1 {
    font-size: 35px;
    margin-bottom: 0;
  }

  .package h2 {
    font-size: 25px;
  }

  .step-box-content {
    padding: 20px;
  }
}

.margin-top-pricing {
  margin-top: 52px;
}

p.plan-recommended-message {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #0ec76a;
  padding: 5px 15px;
  font-size: 12px;
  margin: 0;
  color: #fff;
  text-transform: uppercase;
  border-bottom-left-radius: 5px;
}

.error-message,
.business-email-erorr {
  color: red;
  font-size: 13px;
  margin: 15px 0 0;
  display: none;
}

/* Checkbox-like visuals for advertising channel options without changing layout */
.custom-select .options li {
  position: relative;
}
.custom-select .options li::before {
  content: '';
  position: absolute;
  right: 23px; /* keep spacing consistent with existing horizontal padding */
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 1.5px solid #a5a4a4;
  border-radius: 3px;
  background: #ffffff;
  box-sizing: border-box;
}
.custom-select .options li.active::before {
  background: #0ec76a; /* green when selected */
  border-color: #0ec76a;
}
.custom-select .options li.active::after {
  content: '\2713'; /* checkmark */
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-56%);
  font-size: 12px;
  line-height: 1;
  color: #ffffff;
  pointer-events: none;
}
