.foundation-page {
  --fl-purple: #6f42c1;
  --fl-purple-soft: #f4efff;
  --fl-gold: #f6c518;
  --fl-ink: #1f1635;
  --fl-muted: #5f5674;
  --fl-line: #ebe4f7;
  color: var(--fl-ink);
  background: #fff;
}

.fl-hero {
  padding: 48px 0 56px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 20%, rgba(111, 66, 193, .35), transparent 42%),
    linear-gradient(135deg, #1a1430 0%, #2a1b55 48%, #1e1740 100%);
}

.fl-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: .92rem;
  color: rgba(210, 198, 255, .85);
}

.fl-breadcrumb a {
  color: rgba(210, 198, 255, .85);
  text-decoration: none;
}

.fl-breadcrumb a:hover {
  color: #fff;
}

.fl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, .28);
  color: var(--fl-gold);
  border: 1px solid rgba(246, 197, 24, .75);
  font-weight: 600;
  font-size: .92rem;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.fl-hero h1 {
  margin: 0 auto 16px;
  max-width: 860px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.fl-hero__sub {
  margin: 0 auto 28px;
  max-width: 780px;
  color: rgba(255, 255, 255, .88);
  font-size: 1.05rem;
  line-height: 1.9;
}

.fl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}

.fl-hero .fl-btn--outline {
  background: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, .75);
}

.fl-hero .fl-btn--outline:hover {
  background: rgba(255, 255, 255, .08);
}

.fl-hero__features {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
}

.fl-hero__features li {
  position: relative;
  padding-inline-start: 16px;
  color: rgba(255, 255, 255, .86);
  font-size: .95rem;
  text-align: start;
}

.fl-hero__features li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fl-gold);
}

.fl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.fl-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.fl-btn--gold {
  background: var(--fl-gold);
  color: #1f1f1f !important;
  box-shadow: 0 8px 18px rgba(246, 197, 24, .28);
}

.fl-btn--purple {
  background: var(--fl-purple);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(111, 66, 193, .25);
}

.fl-btn--outline {
  background: transparent;
  color: var(--fl-purple) !important;
  border: 1.5px solid rgba(111, 66, 193, .45);
}

.fl-section {
  padding: 56px 0;
}

.fl-section--muted {
  background: #faf8ff;
}

.fl-section__title {
  text-align: center;
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
}

.fl-section__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.fl-section__subtitle {
  margin: 0;
  color: var(--fl-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.fl-tracks-section .container {
  max-width: 920px;
}

.fl-tracks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
}

.fl-track,
.fl-card,
.fl-quote {
  background: #fff;
  border: 1px solid var(--fl-line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(48, 24, 96, .05);
}

.fl-track {
  text-align: center;
}

.fl-track h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fl-ink);
}

.fl-track p {
  margin: 0;
  color: var(--fl-muted);
  line-height: 1.8;
}

.fl-tracks__note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 18px;
  background: #eaf7ef;
  border-radius: 14px;
  color: #1f5b38;
  line-height: 1.75;
  text-align: center;
}

.fl-tracks__check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2f9e5d;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  margin-top: 2px;
}

.fl-card h3,
.fl-quote h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

.fl-card p,
.fl-quote p {
  margin: 0;
  color: var(--fl-muted);
  line-height: 1.75;
}

.fl-grid {
  display: grid;
  gap: 16px;
}

.fl-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fl-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fl-card--soft {
  background: var(--fl-purple-soft);
  border-color: transparent;
}

.fl-accent {
  color: var(--fl-purple);
}

.fl-subjects-section .fl-section__header {
  max-width: 720px;
}

.fl-subject {
  background: #fff;
  border: 1px solid var(--fl-line);
  border-radius: 18px;
  padding: 22px 18px 18px;
  box-shadow: 0 10px 24px rgba(48, 24, 96, .06);
  position: relative;
  overflow: hidden;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.fl-subject::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.fl-subject--navy::before { background: #3b2f7a; }
.fl-subject--gold::before { background: #f0c419; }
.fl-subject--lilac::before { background: #9b8cff; }
.fl-subject--green::before { background: #2f9e5d; }

.fl-subject__icon {
  margin: 4px auto 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fl-subject h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fl-ink);
}

.fl-subject p {
  margin: 0 0 14px;
  color: var(--fl-muted);
  line-height: 1.75;
  font-size: .94rem;
  flex: 1;
}

.fl-subject__footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #ebe4f7;
  color: var(--fl-purple);
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.6;
}

.fl-audience-section .fl-section__header {
  max-width: 720px;
}

.fl-audience {
  background: #fff;
  border: 1px solid var(--fl-line);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: 0 10px 24px rgba(48, 24, 96, .06);
  text-align: center;
  height: 100%;
}

.fl-audience__badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #efe8ff;
  color: #5b3db8;
  font-size: .86rem;
  font-weight: 700;
}

.fl-audience h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--fl-ink);
}

.fl-audience p {
  margin: 0;
  color: var(--fl-muted);
  line-height: 1.8;
  font-size: .95rem;
}

.fl-why-section .fl-section__header {
  max-width: 720px;
}

.fl-why {
  background: #fff;
  border: 1px solid var(--fl-line);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: 0 10px 24px rgba(48, 24, 96, .06);
  text-align: center;
  height: 100%;
}

.fl-why__icon {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 12px;
}

.fl-why h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fl-ink);
  line-height: 1.45;
}

.fl-why p {
  margin: 0;
  color: var(--fl-muted);
  line-height: 1.75;
  font-size: .92rem;
}

.fl-journey {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.fl-journey-section .fl-section__header {
  max-width: 760px;
}

.fl-journey li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--fl-line);
  border-radius: 18px;
  padding: 20px 14px 18px;
  box-shadow: 0 10px 24px rgba(48, 24, 96, .05);
  height: 100%;
}

.fl-journey__num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fl-purple);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  margin-bottom: 12px;
}

.fl-journey h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--fl-ink);
  line-height: 1.45;
}

.fl-journey p {
  margin: 0;
  color: var(--fl-muted);
  line-height: 1.7;
  font-size: .9rem;
}

.fl-pricing {
  text-align: center;
  background: linear-gradient(145deg, #3b2a8f 0%, #2a1c6a 100%);
  border-radius: 24px;
  padding: 40px 28px 32px;
  color: #fff;
  max-width: 920px;
  margin: 0 auto;
  box-shadow: 0 18px 40px rgba(42, 28, 106, .28);
}

.fl-pricing h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 800;
  color: #fff;
}

.fl-pricing p {
  margin: 0 auto 20px;
  max-width: 640px;
  color: rgba(255, 255, 255, .9);
  line-height: 1.8;
}

.fl-pricing__note {
  display: inline-block;
  margin: 0 auto 22px;
  max-width: 100%;
  background: rgba(0, 0, 0, .22);
  border: 1.5px dashed rgba(255, 255, 255, .7);
  border-radius: 12px;
  padding: 12px 18px;
  color: #fff;
  font-weight: 700;
  line-height: 1.7;
}

.fl-pricing .fl-btn--gold {
  margin-bottom: 16px;
}

.fl-pricing__payment {
  color: rgba(255, 255, 255, .78);
  font-size: .92rem;
  line-height: 1.7;
}

.fl-quote {
  text-align: start;
  background: #fff;
  border: 1px solid var(--fl-line);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 10px 24px rgba(48, 24, 96, .06);
  height: 100%;
}

.fl-testimonials-section .fl-section__header {
  max-width: 760px;
}

.fl-quote__stars {
  color: #f5b400;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 1rem;
}

.fl-quote p {
  margin: 0 0 16px;
  color: #4b5563;
  line-height: 1.85;
  font-size: .95rem;
}

.fl-quote h3 {
  margin: 0 0 4px;
  color: var(--fl-ink);
  font-size: 1rem;
  font-weight: 800;
}

.fl-quote span {
  color: var(--fl-muted);
  font-size: .88rem;
}

.fl-faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.fl-faq-section .fl-section__header {
  max-width: 720px;
}

.fl-faq__item {
  background: #fff;
  border: 1px solid var(--fl-line);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(48, 24, 96, .04);
}

.fl-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--fl-ink);
  line-height: 1.55;
}

.fl-faq__item summary::-webkit-details-marker {
  display: none;
}

.fl-faq__q {
  flex: 1;
  text-align: start;
}

.fl-faq__icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  position: relative;
}

.fl-faq__icon::before,
.fl-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #5b4bb5;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.fl-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity .15s ease, transform .15s ease;
}

.fl-faq__item[open] .fl-faq__icon::after {
  opacity: 0;
}

.fl-faq__answer {
  padding: 0 18px 16px;
  color: var(--fl-muted);
  line-height: 1.85;
  text-align: start;
}

.fl-faq__note {
  display: inline;
  background: #fff8db;
  border: 1px dashed #e4c65a;
  border-radius: 6px;
  padding: 1px 6px;
  color: #6b5a1e;
}

.fl-final-section {
  padding-bottom: 72px;
}

.fl-final {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 28px;
  background: #fff;
  border: 1px solid var(--fl-line);
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(48, 24, 96, .06);
  color: var(--fl-ink);
}

.fl-final h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--fl-ink);
}

.fl-final p {
  margin: 0 auto 24px;
  max-width: 680px;
  color: var(--fl-muted);
  line-height: 1.85;
}

.fl-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 991px) {
  .fl-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fl-tracks,
  .fl-grid--3 {
    grid-template-columns: 1fr;
  }

  .fl-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .fl-hero {
    padding: 40px 0 36px;
  }

  .fl-section {
    padding: 40px 0;
  }

  .fl-grid--4 {
    grid-template-columns: 1fr;
  }

  .fl-journey {
    grid-template-columns: 1fr;
  }

  .fl-hero__actions {
    flex-direction: column;
  }

  .fl-btn {
    width: 100%;
  }

  .fl-hero__features {
    flex-direction: column;
    gap: 10px;
  }

  .fl-final__actions {
    flex-direction: column;
  }

  .fl-final__actions .fl-btn {
    width: 100%;
  }
}
