/* ==========================================================================
   PAGE / SIGN-IN (PLANS & PRICING) — FIGMA SPECIFIED
   ========================================================================== */

/* --- 1. Hero Section --- */
.plans-hero {
  max-width: 1772px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plans-breadcrumb {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 20px;
  line-height: 72px;
  color: #000080;
}

.plans-title {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 60px;
  line-height: 66px;
  color: #000080;
  margin: 0 0 12px 0;
}

.plans-subtitle {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  color: #000080;
  max-width: 680px;
  margin: 0 auto 24px;
}

.plans-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn-plan-hero-primary {
  width: 200px;
  height: 50px;
  border-radius: 999px;
  background: #CB6DA7;
  color: #FFFFFF;
  border: none;
  padding: 15px 32px;
  font-family: 'Fredoka', var(--font-main);
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-plan-hero-outline {
  width: 200px;
  height: 50px;
  border-radius: 999px;
  background: transparent;
  color: #000080;
  border: 1px solid #000080;
  padding: 14px 32px;
  font-family: 'Fredoka', var(--font-main);
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

/* --- 2. Pricing & Switcher --- */
.plans-section-heading {
  text-align: center;
  margin-bottom: 40px;
  margin-top: 100px;
}

.plans-section-title {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 32px;
  line-height: 60px;
  color: #000080;
  margin: 0;
}

.plans-section-subtitle {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  color: #000080;
  margin: 0 0 48px 0;
}

/* Switcher Toggle */
.billing-switcher {
  display: inline-flex;
  align-items: center;
  width: 312px;
  height: 60px;
  border-radius: 16px;
  background: #0196CE;
  padding: 6px;
  gap: 6px;
  box-sizing: border-box;
  margin-bottom: 16px;
}

.switcher-btn {
  width: 150px;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #FCF8F3;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.switcher-btn.is-active {
  background: #FFFFFF;
  color: #183B51;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
}

/* Pricing Grid & Cards */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1350px;
  margin: 0 auto 32px;
  direction: rtl;
}

.plan-card {
  position: relative;
  width: 100%;
  max-width: 431px;
  min-height: 528px;
  border-radius: 16px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  text-align: right;
  box-sizing: border-box;
}

/* Card Themes */
.plan-card--cyan { background: #BEE1DA; }
.plan-card--blue { background: #A1CEE1; }
.plan-card--grey { background: #F3F3F3; }

/* Inner Dashed Overlay for Pricing Cards */
.plan-card::after {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  border: 2px dashed #3A6A82;
  border-radius: 12px;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}

.plan-card > * {
  position: relative;
  z-index: 2;
  width: 100%;
}

.plan-name {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 600;
  font-size: 24px;
  line-height: 28px;
  color: #000080;
  text-align: center;
}

.plan-popular-badge {
  position: absolute;
  top: -17px;
  right: 24px;
  width: 103px;
  height: 34px;
  border-radius: 12px;
  padding: 4px 12px;
  background: var(--color-blue-25, #000080);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 15px;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  z-index: 3;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.plan-audience {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 22px;
  line-height: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #000080;
  width: 290px;
  max-width: 100%;
  margin: 0 auto;
}

.plan-price {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #000080;
  width: 290px;
  max-width: 100%;
  margin: 0 auto;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 290px;
  margin: 0 auto;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  color: #000080;
}

.plan-cta-btn {
  margin-top: auto;
  align-self: center;
  width: 177px;
  height: 50px;
  border: none;
  border-radius: 999px;
  padding: 15px 32px;
  background: #CB6DA7;
  color: #FFFFFF;
  font-family: 'Fredoka', var(--font-main);
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.already-registered-wrapper {
  text-align: center;
  margin-bottom: 80px;
}

.btn-already-registered {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 219px;
  border-radius: 9999px;
  border: 1px solid #000080;
  padding: 10px;
  font-family: 'Fredoka', var(--font-main);
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #000080;
  text-decoration: none;
  box-sizing: border-box;
}

/* --- 3. Trusted Logos Strip --- */
.logos-section {
  max-width: 1600px;
  margin: 0 auto 80px;
  text-align: center;
}

.logos-title {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 32px;
  line-height: 16px;
  text-transform: uppercase;
  color: #000080;
  margin-bottom: 32px;
}

.logos-container {
  width: 100%;
  height: 160px;
  border-radius: 32px;
  background: #FDFDFD;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  padding: 0 40px;
  box-sizing: border-box;
}

.logo-item {
  max-height: 60px;
  object-fit: contain;
}

/* --- 4. Founder Quote Section --- */
.founder-quote-section {
  max-width: 1362px;
  min-height: 436px;
  margin: 0 auto 100px;
  display: flex;
  direction: rtl;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-inline: 70px;
}

.quote-text-block {
  flex: 1;
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 42px;
  line-height: 54px;
  color: #000080;
  text-align: right;
}

.quote-text-block .highlight {
  color: #C22DAF;
}

.founder-card {
  width: 288px;
  height: 435px;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.06);
  padding: 21px 14px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  flex-shrink: 0;
}

.founder-img {
  width: 259px;
  height: 324px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 12px;
}

.founder-name {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 22px;
  line-height: 32px;
  color: #000080;
}

.founder-role {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  text-transform: uppercase;
  color: #183B51;
}

/* --- 5. Impact / Vision Section --- */
.impact-section {
  max-width: 1437px;
  margin: 0 auto 100px;
  display: flex;
  direction: rtl;
  align-items: center;
  gap: 54px;
}

.impact-content {
  flex: 1;
  text-align: right;
}

.impact-heading {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 32px;
  line-height: 48px;
  letter-spacing: -1.2px;
  color: #000080;
  margin-bottom: 16px;
}

.impact-paragraph {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 21px;
  line-height: 34px;
  color: #183B51;
  margin-bottom: 32px;
}

.impact-cards-row {
  display: flex;
  gap: 20px;
}

.impact-card {
  width: 274px;
  height: 148px;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.impact-card--1 { background: #E0EBE2; }
.impact-card--2 { background: #E3EEF3; }
.impact-card--3 { background: #EEEEFC; }

.impact-card-num {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 28px;
  line-height: 32px;
  color: #000080;
}

.impact-card-desc {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 18px;
  line-height: 20px;
  color: #000080;
}

.impact-wreath-img {
  width: 513px;
  height: 497px;
  object-fit: contain;
  flex-shrink: 0;
}

/* --- 6. Reviews Section --- */
.reviews-section {
  max-width: 1469px;
  margin: 0 auto 80px;
  direction: rtl;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.reviews-title-group h2 {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  color: #000080;
  margin: 0;
}

.reviews-rating-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.rating-score {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 600;
  font-size: 32px;
  line-height: 36px;
  color: #000080;
}

.rating-count {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #183B51;
}

.btn-write-review {
  width: 218px;
  /* height: 50px; */
  border-radius: 9999px;
  background: #CB6DA7;
  color: #FFFFFF;
  border: none;
  padding: 13px 40px;
  font-family: 'Fredoka', var(--font-main);
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  cursor: pointer;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  display: flex;
  justify-content: space-between;
}

.review-card {
  width: 100%;
  max-width: 441.67px;
  min-height: 325px;
  border-radius: 32px;
  padding: 40px;
  background: #FAF9F5;
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 23px;
  box-sizing: border-box;
}

.review-stars-row {
  display: flex;
  gap: 4px;
}

.review-text {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 400;
  font-size: 21px;
  line-height: 29.25px;
  color: #183B51;
  margin: 0;
}

.review-author-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.review-avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: rgba(190, 225, 218, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', var(--font-main);
  font-weight: 700;
  font-size: 16px;
  color: #67B8A8;
}

.author-name {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #000080;
}

.author-role {
  font-family: 'Fredoka', var(--font-main);
  font-weight: 500;
  font-size: 18px;
  line-height: 16px;
  color: #000080;
}

/* Responsive Media Queries */
@media (max-width: 1023px) {
  .plans-grid,
  .reviews-grid,
  .impact-cards-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .founder-quote-section,
  .impact-section {
    flex-direction: column;
    text-align: center;
  }

  .quote-text-block,
  .impact-paragraph {
    text-align: center;
  }

  .logos-container {
    height: auto;
    flex-wrap: wrap;
    padding: 20px;
  }
}