/* Pricing Hero Styles - matches Figma node 45:6 */

.pricing-hero {
  position: relative;
  min-height: auto;
  isolation: isolate;
  overflow: visible;
  /* Soft mint background + subtle top glow */
  background: radial-gradient(800px 300px at 15% 0%, rgba(0, 240, 193, 0.12) 0%, rgba(0, 0, 0, 0) 70%),
    radial-gradient(280px 240px at 85% 80%, rgba(0, 240, 193, 0.18) 0%, rgba(0, 0, 0, 0) 60%);
}

.pricing-hero__frame {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 40px;
  padding-top: 100px;
  /* aligns headline like Figma */
  padding-bottom: 190px;
}

.pricing-hero__title {
  margin: 0;
  font-family: 'SF Pro Display', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 78px;
  letter-spacing: 0.66px;
  color: #020817;
  text-align: center;
}

.pricing-hero__accent {
  color: #00b894;
  position: relative;
}

/* Figma has an ellipse highlight under the word "Affordable"; approximate with a soft glow */
.pricing-hero__accent::before {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  top: 58%;
  transform: translateY(-50%);
  height: 100px;
  border-radius: 144px;
  background: url("../../images/pricing/ellipse-highlight.png") no-repeat center / contain;
  filter: blur(0.2px);
  z-index: -1;
}

.pricing-hero__subtitle {
  margin: 12px auto 0;
  width: 609px;
  max-width: calc(100% - 40px);
  text-align: center;
  font-family: 'SF Pro Display', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: rgba(0, 0, 0, 0.7);
}

/* Right floating badge card */
.pricing-hero__card {
  position: absolute;
  background: #ffffff;
  box-shadow: 13px 14px 40px 0px rgba(39, 98, 131, 0.15);
}

.pricing-hero__card--right {
  top: 185px;
  right: 90px;
  width: 128px;
  height: 77px;
  border-radius: 10px;
}

.pricing-hero__card--right .pricing-hero__card-icon {
  position: absolute;
  left: 50%;
  top: -20px;
  width: 32px;
  height: 32px;
  transform: translateX(-50%);
}

.pricing-hero__card--right .pricing-hero__card-text {
  text-align: center;
  font-family: 'SF Pro Display', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 25px;
  letter-spacing: 0.6px;
  color: #4b4d4c;
  padding-top: 15px;
}

/* Left small card */
.pricing-hero__card--left {
  top: 220px;
  left: 100px;
  width: 70px;
  height: 70px;
  border-radius: 15px;
  display: grid;
  place-items: center;
}

.pricing-hero__left-icon {
  width: 35px;
  height: 35px;
}

/* Decorative assets */
.pricing-hero__dots {
  position: absolute;
  left: 180px;
  top: 205px;
  width: 95px;
  height: auto;
}

.pricing-hero__arrow {
  position: absolute;
  right: 240px;
  bottom: 160px;
  width: 76px;
  height: 20px;
}

/* Responsive tweaks */
@media (max-width: 1280px) {
  .pricing-hero__card--right {
    right: 40px;
  }

  .pricing-hero__card--left {
    left: 24px;
  }

  .pricing-hero__arrow {
    right: 120px;
  }
}

@media (max-width: 768px) {
  .pricing-hero__title {
    font-size: 42px;
    line-height: 50px;
  }

  .pricing-hero__subtitle {
    width: auto;
    font-size: 16px;
    line-height: 24px;
  }

  /* 1) Compact hero paddings on mobile */
  .pricing-hero__frame {
    margin-top: 40px;
    padding-top: 60px;
    padding-bottom: 40px;
  }

  /* Hide hero accent ellipse on mobile */
  .pricing-hero__accent::before {
    content: none;
  }

  .pricing-hero__card--right {
    display: none;
  }

  .pricing-hero__card--left {
    display: none;
  }

  .pricing-hero__dots,
  .pricing-hero__arrow {
    display: none;
  }
}

/* Pricing Starter Section (Figma node 47:6) */
.pricing-starter {
  position: relative;
  padding: 48px 0 42px;
  margin-left: 25px;
}

.pricing-starter__container {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 40px;
  align-items: stretch;
}

.pricing-starter__left {
  position: relative;
  height: 100%;
  margin-top: -5px;
}

.pricing-starter__left,
.pricing-starter__right {
  height: 100%;
}

.pricing-starter__img {
  position: relative;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.pricing-starter__img img {
  width: 100%;
  height: auto;
  display: block;
}

.pricing-starter__top {
  margin-right: 100px;
}

.pricing-starter__bottom {
  margin-left: 100px;
}

.pricing-starter__img--top {
  margin-bottom: 24px;
  height: 280px;
}

.pricing-starter__img--bottom {
  height: 300px;
}

/* Stat card (120+ Happy Patients) */
.pricing-starter__stat-card {
  position: absolute;
  top: 18%;
  right: -20px;
  width: 150px;
  height: 80px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 13px 14px 40px 0 rgba(39, 98, 131, 0.15);
  text-align: center;
  z-index: 1;
}

.pricing-starter__stat-icon {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 45px;
  overflow: hidden;
}

.pricing-starter__stat-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.pricing-starter__stat-num {
  margin-top: 18px;
  font-family: 'SF Pro Display', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: #020817;
}

.pricing-starter__stat-label {
  margin-top: 2px;
  font-family: 'SF Pro Display', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: .6px;
  color: #4b4d4c;
}

/* Support card (15k+ Customer support) */
.pricing-starter__support-card {
  position: absolute;
  left: 0px;
  bottom: 110px;
  width: 155px;
  height: 75px;
  border-radius: 10px;
  box-shadow: 13px 14px 40px 0 rgba(39, 98, 131, 0.15);
  background: linear-gradient(137.99deg, #00b894 2.07%, #0fd2ab 96.29%);
  color: #1a1919;
  display: grid;
  align-content: center;
  text-align: center;
  z-index: 1;
}

.pricing-starter__support-icon {
  position: absolute;
  top: -36px;
  left: 30%;
  width: 52px;
  height: 52px;
}

.pricing-starter__support-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.pricing-starter__support-num {
  margin-top: 6px;
  font-family: 'SF Pro Display', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
}

.pricing-starter__support-label {
  font-family: 'SF Pro Display', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
}

/* Right column */
.pricing-starter__right {
  position: relative;
}

.pricing-starter__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: 9999px;
  background: rgba(0, 173, 139, 0.10);
  color: #00b894;
  font-family: 'SF Pro Display', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
}

.pricing-starter__pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #00b894;
  display: inline-block;
}

.pricing-starter__title {
  margin: 18px 0 10px;
  font-family: 'SF Pro Display', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 52px;
  line-height: 70px;
  letter-spacing: 0.52px;
  color: #020817;
}

.pricing-starter__title-accent {
  color: #00b894;
  position: relative;
  display: inline-block;
}

.pricing-starter__title-underline {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 10px;
}

.pricing-starter__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 30px 0 18px;
}

.pricing-starter__price-value {
  color: #00b894;
  font-family: 'SF Pro Display', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 40px;
}

.pricing-starter__price-per {
  font-family: 'SF Pro Display', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: #64748b;
}

.pricing-starter__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.pricing-starter__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'SF Pro Display', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #020817;
  margin: 10px 0;
}

.pricing-starter__list img {
  width: 20px;
  height: 20px;
}

.pricing-starter__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 100px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-family: 'SF Pro Display', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  background-image: linear-gradient(137.99deg, #00b894 2.07%, #0fd2ab 96.29%);
}

.pricing-starter__curve {
  position: absolute;
  width: 154px;
  left: -10px;
  bottom: -115px;
  transform: rotate(180deg) scaleY(-1);
  z-index: -1;
}

@media (max-width: 1024px) {
  .pricing-starter__container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pricing-starter__curve {
    display: none;
  }
}

/* 2) Center left images and 3) center right content on mobile */
@media (max-width: 768px) {
  .pricing-starter__left {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0;
  }

  .pricing-starter__top,
  .pricing-starter__bottom {
    margin: 0;
    width: 100%;
  }

  /* 10px vertical gap between images */
  .pricing-starter__top {
    margin-bottom: 10px;
  }

  .pricing-starter__bottom {
    margin-top: 10px;
  }

  .pricing-starter__img {
    margin: 0 auto;
    max-width: 520px;
    width: 100%;
  }

  .pricing-starter__img--top,
  .pricing-starter__img--bottom {
    height: auto;
  }

  .pricing-starter__right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Hide overlay cards on mobile */
  .pricing-starter__stat-card,
  .pricing-starter__support-card {
    display: none !important;
  }

  /* Hide title underline on mobile */
  .pricing-starter__title-underline {
    display: none;
  }

  .pricing-starter__title {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: 0.52px;

  }
}