/* StudyPulse-only exceptions for pricing, FAQ, and logo placement.
   Everything is scoped so original RLikes layout/classes continue to control the rest of the landing page. */
.sp-study-logo {
  width: 13.5vw;
  max-width: 190px;
  min-width: 118px;
  height: auto;
  object-fit: contain;
}

.image-280.sp-study-logo-footer {
  width: 13.5vw;
  max-width: 190px;
  min-width: 118px;
  height: auto;
  object-fit: contain;
}

.sp-pricing-shell,
.sp-faq-shell {
  position: relative;
  overflow: hidden;
  width: 100vw;
  padding: 9.2vw 7.6vw 7.6vw;
  background: #fff;
}

.sp-pricing-shell {
  padding-top: 10.2vw;
}

.sp-pricing-shell .image-265,
.sp-faq-shell .image-265 {
  position: absolute;
  right: 4vw;
  bottom: 1.5vw;
  z-index: 0;
  pointer-events: none;
}

.sp-pricing-shell .image-266,
.sp-faq-shell .image-266 {
  position: absolute;
  left: 4vw;
  top: 2vw;
  z-index: 0;
  pointer-events: none;
}

.sp-section-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.sp-section-heading {
  margin-top: 0;
  margin-bottom: 4.2vw;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #000;
  font-size: 44px;
  line-height: 51px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sp-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.sp-plan-card {
  position: relative;
  display: flex;
  min-height: 100%;
  padding: 34px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #c0bbff;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 70px rgba(62, 54, 143, 0.08);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.sp-plan-card::before {
  content: '';
  position: absolute;
  right: -32px;
  top: -32px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(197, 88, 77, 0.08);
}

.sp-plan-visual {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 72px;
  margin-left: auto;
  margin-bottom: 18px;
  color: #c5584d;
}

.sp-plan-visual svg {
  display: block;
  width: 100%;
  height: 100%;
}

.sp-plan-content {
  position: relative;
  z-index: 1;
}

.sp-plan-eyebrow,
.sp-faq-meta {
  display: block;
  margin-bottom: 8px;
  color: rgba(0, 0, 0, 0.58);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
}

.sp-plan-name,
.sp-faq-question {
  display: block;
  color: #000;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 23px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sp-plan-price {
  margin-top: 22px;
  margin-bottom: 18px;
  color: #000;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sp-plan-price span {
  display: inline-block;
  margin-left: 4px;
  color: rgba(0, 0, 0, 0.56);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

.sp-plan-desc,
.sp-faq-answer {
  color: rgba(0, 0, 0, 0.76);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

.sp-plan-desc {
  margin-bottom: 22px;
}

.sp-feature-list {
  display: grid;
  margin-top: 4px;
  margin-bottom: 28px;
  padding-left: 0;
  gap: 10px;
  list-style: none;
}

.sp-feature-list li {
  position: relative;
  padding-left: 22px;
  color: #000;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.sp-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5584d;
}

.sp-plan-card .button-8 {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: auto;
  padding: 12px 22px;
}

.sp-faq-accordion {
  display: grid;
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  gap: 18px;
}

.sp-faq-item {
  position: relative;
  overflow: hidden;
  border: 1px solid #c0bbff;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 70px rgba(62, 54, 143, 0.07);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.sp-faq-item::before {
  content: '';
  position: absolute;
  right: -28px;
  top: -52px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: rgba(197, 88, 77, 0.07);
  pointer-events: none;
}

.sp-faq-summary {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 92px;
  padding: 25px 30px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
}

.sp-faq-summary::-webkit-details-marker {
  display: none;
}

.sp-faq-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: #c5584d;
  box-shadow: 0 14px 30px rgba(197, 88, 77, 0.22);
}

.sp-faq-toggle::before,
.sp-faq-toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform 240ms ease;
}

.sp-faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.sp-faq-item[open] .sp-faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.sp-faq-answer {
  position: relative;
  z-index: 1;
  padding: 0 30px 30px;
  margin-top: -4px;
  max-width: 760px;
}

@media screen and (max-width: 991px) {
  .sp-pricing-shell,
  .sp-faq-shell {
    padding: 100px 6vw 80px;
  }

  .sp-section-heading {
    margin-bottom: 44px;
    font-size: 38px;
    line-height: 46px;
  }

  .sp-plans-grid {
    grid-template-columns: 1fr;
  }

  .sp-plan-card {
    padding: 30px;
  }
}

@media screen and (max-width: 767px) {
  .sp-study-logo {
    width: 26vw;
    min-width: 112px;
  }

  .image-280.sp-study-logo-footer {
    width: 30vw;
  }

  .sp-section-heading {
    font-size: 34px;
    line-height: 41px;
  }

  .sp-plan-price {
    font-size: 30px;
  }

  .sp-faq-summary {
    padding: 24px;
  }

  .sp-faq-answer {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media screen and (max-width: 479px) {
  .sp-study-logo {
    width: 38vw;
    min-width: 128px;
  }

  .sp-pricing-shell,
  .sp-faq-shell {
    padding: 78px 5.5vw 58px;
  }

  .sp-section-heading {
    margin-bottom: 32px;
    font-size: 30px;
    line-height: 37px;
  }

  .sp-plan-card,
  .sp-faq-item {
    border-radius: 22px;
  }

  .sp-plan-card {
    padding: 26px 22px;
  }

  .sp-plan-visual {
    width: 76px;
    height: 60px;
    margin-bottom: 14px;
  }

  .sp-plan-name,
  .sp-faq-question {
    font-size: 20px;
  }

  .sp-plan-desc,
  .sp-faq-answer {
    font-size: 16px;
    line-height: 1.65;
  }

  .sp-faq-summary {
    min-height: 82px;
    padding: 22px 20px;
    gap: 16px;
  }

  .sp-faq-toggle {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .sp-faq-answer {
    padding-right: 20px;
    padding-bottom: 24px;
    padding-left: 20px;
  }
}
