/* ============================================================
   PathFinder Kenya — WordPress Plugin Styles v1.1
   Fixed: vivid colours, solid backgrounds, pathway clickability
   ============================================================ */

/* ── Reset scoped to plugin wrapper ── */
#pfk-app, #pfk-app * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
#pfk-app button { cursor: pointer; }
#pfk-app a { color: inherit; }

/* ── CSS Variables ── */
#pfk-app {
  --pfk-burnt:  #C94A2F;
  --pfk-amber:  #E8871A;
  --pfk-gold:   #F2C94C;
  --pfk-teal:   #1E7B6B;
  --pfk-sage:   #5A8A6A;
  --pfk-night:  #0F1A14;
  --pfk-ink:    #162012;
  --pfk-card:   #16251A;
  --pfk-card2:  #1C2E20;
  --pfk-mist:   #E8F0EC;
  --pfk-cream:  #FDFAF5;
  --pfk-dim:    rgba(253,250,245,0.65);
  --pfk-faint:  rgba(253,250,245,0.45);

  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  background: #0F1A14;
  color: #FDFAF5;
  overflow-x: hidden;
  min-height: 500px;
  position: relative;
  isolation: isolate;  /* creates stacking context, prevents theme leakage */
}

/* ── Noise texture ── */
#pfk-app::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ── Screens ── */
.pfk-screen { display: none; min-height: 100vh; position: relative; z-index: 1; }
.pfk-screen.pfk-active { display: block; }
.pfk-page-bg { background: #0F1A14; }
.pfk-page-bg::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse at 10% 10%, rgba(201,74,47,0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 90%, rgba(30,123,107,0.12) 0%, transparent 45%);
}

/* ══════════════════════════════════════════
   LANDING
══════════════════════════════════════════ */
#pfk-landing {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 100vh; text-align: center; padding: 2rem;
  overflow: hidden;
  background: #0F1A14;
}
.pfk-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(201,74,47,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(30,123,107,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(242,201,76,0.1) 0%, transparent 60%),
    #0F1A14;
}
.pfk-hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); animation: pfk-float 8s ease-in-out infinite;
}
.pfk-orb-1 { width:450px;height:450px;background:rgba(201,74,47,0.22);top:-120px;left:-120px; }
.pfk-orb-2 { width:350px;height:350px;background:rgba(30,123,107,0.25);bottom:-80px;right:-80px;animation-delay:3s; }
.pfk-orb-3 { width:250px;height:250px;background:rgba(242,201,76,0.12);top:45%;left:58%;animation-delay:5s; }
@keyframes pfk-float { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-28px) scale(1.04)} }

.pfk-hero-content { position: relative; z-index: 2; }

.pfk-hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(242,201,76,0.15); border: 1px solid rgba(242,201,76,0.4);
  border-radius: 100px; padding: .4rem 1.1rem;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: #F2C94C; margin-bottom: 1.5rem;
  animation: pfk-fadeUp .7s ease both;
}
.pfk-dot {
  width: 7px; height: 7px; background: #F2C94C; border-radius: 50%;
  animation: pfk-pulse 2s ease infinite;
}
@keyframes pfk-pulse  { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.6)} }

.pfk-hero-title {
  font-family: 'Syne', 'Georgia', serif;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 800; line-height: 1.0; letter-spacing: -.025em;
  margin-bottom: 1.5rem; color: #FDFAF5;
  animation: pfk-fadeUp .7s ease .18s both;
}
.pfk-line-accent {
  background: linear-gradient(90deg, #C94A2F, #E8871A, #F2C94C);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pfk-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(253,250,245,.7);
  max-width: 540px; line-height: 1.75; margin: 0 auto 2.5rem;
  animation: pfk-fadeUp .7s ease .34s both;
}
.pfk-hero-stats {
  display: flex; gap: 2.5rem; margin-top: 2.5rem; justify-content: center;
  animation: pfk-fadeUp .7s ease .7s both;
}
.pfk-stat-num   { font-family: 'Syne', serif; font-size: 1.7rem; font-weight: 800; color: #F2C94C; }
.pfk-stat-label { font-size: .72rem; color: rgba(253,250,245,.5); margin-top: .2rem; }
@keyframes pfk-fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.pfk-btn-primary {
  display: inline-flex; align-items: center; gap: .75rem;
  background: linear-gradient(135deg, #C94A2F 0%, #E8871A 100%);
  color: #fff; border: none; padding: 1rem 2.25rem; border-radius: 100px;
  font-family: 'Syne', serif; font-size: 1rem; font-weight: 700;
  box-shadow: 0 8px 28px rgba(201,74,47,.45);
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  animation: pfk-fadeUp .7s ease .52s both; position: relative; z-index: 2;
}
.pfk-btn-primary:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 16px 40px rgba(201,74,47,.55); }
.pfk-btn-primary:active { transform: translateY(0); }

.pfk-price {
  font-family: 'Syne', serif; font-size: 1.15rem; font-weight: 800; color: #F2C94C;
  background: none; -webkit-text-fill-color: #F2C94C;
}
.pfk-btn-secondary {
  padding: .75rem 1.5rem; border-radius: 100px;
  border: 1.5px solid rgba(253,250,245,0.3); background: transparent;
  color: #FDFAF5; font-family: 'Syne', serif; font-size: .9rem; font-weight: 600;
  width: 100%; transition: all .25s ease;
}
.pfk-btn-secondary:hover { background: rgba(253,250,245,.1); border-color: rgba(253,250,245,.5); }

.pfk-btn-back {
  padding: .5rem 1.1rem; border-radius: 100px;
  border: 1px solid rgba(253,250,245,0.25); background: transparent;
  color: rgba(253,250,245,.75); font-size: .82rem; transition: all .25s ease;
}
.pfk-btn-back:hover { background: rgba(253,250,245,.1); color: #FDFAF5; }

.pfk-btn-share {
  padding: .55rem 1.2rem; border-radius: 100px;
  border: 1px solid rgba(253,250,245,0.2); background: rgba(253,250,245,0.07);
  color: rgba(253,250,245,.9); font-size: .82rem; transition: all .25s ease;
}
.pfk-btn-share:hover { background: rgba(253,250,245,.15); border-color: rgba(253,250,245,.4); }
.pfk-btn-share-pdf {
  background: linear-gradient(135deg, rgba(201,74,47,.4), rgba(232,135,26,.3)) !important;
  border-color: rgba(201,74,47,.6) !important; color: #F2C94C !important; font-weight: 700;
}

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.pfk-nav {
  position: sticky; top: 0; z-index: 200;
  padding: .9rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(15,26,20,.92); backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(253,250,245,.08);
}
.pfk-logo {
  font-family: 'Syne', serif; font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; gap: .5rem; color: #FDFAF5;
}
.pfk-logo-dot {
  width: 9px; height: 9px;
  background: linear-gradient(135deg, #C94A2F, #F2C94C); border-radius: 50%;
}
.pfk-breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: rgba(253,250,245,.45); }
.pfk-bc-active  { color: #F2C94C; font-weight: 700; }

/* ══════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════ */
.pfk-section-header { text-align: center; padding: 3rem 2rem 2rem; position: relative; z-index: 2; }
.pfk-eyebrow {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: #F2C94C; margin-bottom: .7rem;
}
.pfk-section-title {
  font-family: 'Syne', serif; font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.1; color: #FDFAF5;
}
.pfk-section-subtitle {
  color: rgba(253,250,245,.62); margin-top: .75rem; font-size: 1rem;
  max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.65;
}

/* ══════════════════════════════════════════
   PATHWAY CARDS — vivid + clickable
══════════════════════════════════════════ */
.pfk-pathway-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; padding: 1rem 2rem 3rem; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2;
}
.pfk-pathway-card {
  position: relative;
  background: #16251A;
  border: 1.5px solid rgba(253,250,245,0.12);
  border-radius: 22px; padding: 2rem;
  cursor: pointer !important;  /* force clickable */
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease, border-color .25s ease;
  overflow: hidden;
  -webkit-user-select: none; user-select: none;
}
/* Gradient glow overlays per pathway */
.pfk-pathway-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 22px;
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.pfk-stem::before   { background: linear-gradient(135deg, rgba(201,74,47,.22), rgba(232,135,26,.14)); }
.pfk-social::before { background: linear-gradient(135deg, rgba(30,123,107,.22), rgba(90,138,106,.14)); }
.pfk-arts::before   { background: linear-gradient(135deg, rgba(242,201,76,.2), rgba(201,74,47,.1)); }

.pfk-pathway-card:hover::before { opacity: 1; }
.pfk-pathway-card:hover {
  transform: translateY(-8px);
  border-color: rgba(253,250,245,.28);
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
}
.pfk-pathway-card:active { transform: translateY(-3px); }

/* Coloured top accent bar per pathway */
.pfk-stem::after   { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,#C94A2F,#E8871A); border-radius:22px 22px 0 0; }
.pfk-social::after { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,#1E7B6B,#5A8A6A); border-radius:22px 22px 0 0; }
.pfk-arts::after   { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,#F2C94C,#E8871A); border-radius:22px 22px 0 0; }

.pfk-pathway-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.25rem; position: relative; z-index: 1;
}
.pfk-stem   .pfk-pathway-icon { background: rgba(201,74,47,.25); }
.pfk-social .pfk-pathway-icon { background: rgba(30,123,107,.25); }
.pfk-arts   .pfk-pathway-icon { background: rgba(242,201,76,.2); }

.pfk-pathway-card h3 {
  font-family: 'Syne', serif; font-size: 1.3rem; font-weight: 800;
  margin-bottom: .5rem; position: relative; z-index: 1; color: #FDFAF5;
}
.pfk-pathway-card p {
  font-size: .88rem; color: rgba(253,250,245,.65); line-height: 1.65;
  margin-bottom: 1.4rem; position: relative; z-index: 1;
}
.pfk-pathway-tracks { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.pfk-track-tag {
  font-size: .68rem; padding: .26rem .65rem; border-radius: 100px;
  background: rgba(253,250,245,.1); color: rgba(253,250,245,.75); letter-spacing: .04em;
}
.pfk-stem   .pfk-track-tag { background: rgba(201,74,47,.25); color: #ffb49a; }
.pfk-social .pfk-track-tag { background: rgba(30,123,107,.25); color: #80e0cc; }
.pfk-arts   .pfk-track-tag { background: rgba(242,201,76,.2);  color: #f7e090; }

.pfk-btn-select {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: .8rem 1.3rem; border-radius: 12px;
  border: 1.5px solid rgba(253,250,245,.2); background: rgba(253,250,245,.08);
  color: #FDFAF5; font-family: 'Syne', serif; font-size: .9rem; font-weight: 700;
  cursor: pointer !important; transition: all .25s ease; position: relative; z-index: 2;
  user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: rgba(201,74,47,.3);
}
.pfk-btn-select:hover { background: rgba(253,250,245,.16); border-color: rgba(253,250,245,.4); }
.pfk-stem   .pfk-btn-select { border-color: rgba(201,74,47,.5); color: #ffb49a; }
.pfk-social .pfk-btn-select { border-color: rgba(30,123,107,.5); color: #80e0cc; }
.pfk-arts   .pfk-btn-select { border-color: rgba(242,201,76,.45); color: #f7e090; }

/* ══════════════════════════════════════════
   TRACK GRID
══════════════════════════════════════════ */
.pfk-track-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1rem; }
.pfk-track-card {
  padding: 1.2rem; background: #16251A; border: 1.5px solid rgba(253,250,245,.1);
  border-radius: 14px; cursor: pointer; transition: all .25s ease; text-align: center;
}
.pfk-track-card h4 { font-family: 'Syne', serif; font-size: .92rem; color: #FDFAF5; margin-bottom: .3rem; }
.pfk-track-card p  { font-size: .78rem; color: rgba(253,250,245,.5); }
.pfk-track-card:hover, .pfk-track-card.pfk-selected {
  background: rgba(242,201,76,.12); border-color: #F2C94C; box-shadow: 0 0 0 2px rgba(242,201,76,.2);
}
.pfk-track-card.pfk-selected h4 { color: #F2C94C; }

/* ══════════════════════════════════════════
   SUBJECT GRID
══════════════════════════════════════════ */
.pfk-subject-section { max-width: 1100px; margin: 0 auto; padding: 1rem 2rem 3rem; position: relative; z-index: 2; }
.pfk-subject-counter {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; background: rgba(242,201,76,.08);
  border: 1.5px solid rgba(242,201,76,.3); border-radius: 14px; margin-bottom: 1.5rem;
}
.pfk-counter-text { font-family: 'Syne', serif; font-size: .88rem; color: #F2C94C; font-weight: 700; }
.pfk-counter-dots  { display: flex; gap: .5rem; }
.pfk-counter-dot   { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(242,201,76,.4); transition: all .3s ease; }
.pfk-counter-dot.pfk-filled { background: #F2C94C; border-color: #F2C94C; box-shadow: 0 0 8px rgba(242,201,76,.5); }

.pfk-subject-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: .75rem; }
.pfk-subject-card {
  padding: 1rem; background: #16251A; border: 1.5px solid rgba(253,250,245,.1);
  border-radius: 14px; cursor: pointer;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  text-align: center; position: relative; user-select: none;
}
.pfk-subject-card:hover { background: #1e3026; border-color: rgba(253,250,245,.25); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.pfk-subject-card.pfk-selected {
  background: rgba(201,74,47,.2); border-color: #C94A2F;
  transform: translateY(-3px); box-shadow: 0 8px 24px rgba(201,74,47,.25);
}
.pfk-subject-card.pfk-selected::after {
  content: '✓'; position: absolute; top: .4rem; right: .5rem;
  width: 20px; height: 20px; background: #C94A2F; border-radius: 50%;
  font-size: .65rem; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; line-height: 20px;
}
.pfk-subject-card.pfk-disabled { opacity: .35; cursor: not-allowed; transform: none !important; }
.pfk-subject-emoji { font-size: 1.6rem; margin-bottom: .45rem; }
.pfk-subject-name  { font-family: 'Syne', serif; font-size: .78rem; font-weight: 700; line-height: 1.35; color: #FDFAF5; }

.pfk-subject-actions { margin-top: 1.5rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.pfk-btn-error { font-size: .84rem; color: #ff8060; opacity: 0; transition: opacity .3s ease; font-weight: 600; }
.pfk-btn-error.pfk-visible { opacity: 1; }

/* ══════════════════════════════════════════
   CAREER RESULTS
══════════════════════════════════════════ */
.pfk-results-header { padding: 2rem; max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.pfk-selected-combo { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.pfk-combo-tag {
  padding: .38rem .9rem; background: rgba(201,74,47,.22); border: 1px solid rgba(201,74,47,.45);
  border-radius: 100px; font-size: .8rem; color: #ffb49a;
  display: flex; align-items: center; gap: .4rem;
}
.pfk-combo-tag-dot { width: 6px; height: 6px; background: #C94A2F; border-radius: 50%; }
.pfk-combo-code { font-size: .72rem; color: rgba(253,250,245,.38); margin-top: .5rem; font-family: monospace; }

.pfk-results-actions {
  display: flex; gap: .75rem; flex-wrap: wrap;
  padding: .5rem 2rem 1rem; max-width: 1100px; margin: 0 auto; position: relative; z-index: 2;
}
.pfk-careers-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem; padding: 0 2rem 3rem; max-width: 1100px; margin: 0 auto; position: relative; z-index: 2;
}
.pfk-career-card {
  background: #16251A; border: 1px solid rgba(253,250,245,.1);
  border-radius: 18px; padding: 1.5rem; transition: all .3s ease;
  position: relative; overflow: hidden;
}
.pfk-career-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2.5px;
  background: linear-gradient(90deg, #C94A2F, #E8871A, #F2C94C); opacity: 0; transition: opacity .3s;
}
.pfk-career-card:hover { transform: translateY(-5px); border-color: rgba(253,250,245,.2); box-shadow: 0 16px 44px rgba(0,0,0,.35); }
.pfk-career-card:hover::before { opacity: 1; }
.pfk-career-emoji { font-size: 2rem; margin-bottom: .9rem; }
.pfk-career-name  { font-family: 'Syne', serif; font-size: 1.05rem; font-weight: 800; margin-bottom: .45rem; color: #FDFAF5; }
.pfk-career-desc  { font-size: .84rem; color: rgba(253,250,245,.65); line-height: 1.65; margin-bottom: .9rem; }
.pfk-career-tags  { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .9rem; }
.pfk-career-tag   { font-size: .68rem; padding: .22rem .62rem; border-radius: 100px; background: rgba(30,123,107,.25); color: #80e0cc; }
.pfk-career-expand {
  font-size: .8rem; color: #F2C94C; background: none; border: none;
  display: flex; align-items: center; gap: .3rem; transition: gap .25s ease; padding: 0;
}
.pfk-career-expand:hover { gap: .6rem; }
.pfk-career-details {
  display: none; margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(253,250,245,.1);
  font-size: .82rem; color: rgba(253,250,245,.72); line-height: 1.7;
}
.pfk-career-details.pfk-open { display: block; }

/* ══════════════════════════════════════════
   PDF BANNER
══════════════════════════════════════════ */
.pfk-pdf-banner {
  margin: 1.5rem 2rem; max-width: calc(1100px - 4rem);
  margin-left: auto; margin-right: auto;
  background: linear-gradient(135deg, rgba(201,74,47,.2) 0%, rgba(30,123,107,.15) 100%);
  border: 1.5px solid rgba(201,74,47,.4);
  border-radius: 20px; padding: 1.5rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  position: relative; z-index: 2;
}
.pfk-pdf-banner-gold {
  border-color: rgba(242,201,76,.5) !important;
  background: linear-gradient(135deg, rgba(242,201,76,.14), rgba(201,74,47,.1)) !important;
}
.pfk-pdf-banner-content h3 { font-family: 'Syne', serif; font-size: 1.08rem; font-weight: 800; margin-bottom: .3rem; color: #FDFAF5; }
.pfk-pdf-banner-content p  { font-size: .84rem; color: rgba(253,250,245,.62); }

/* ══════════════════════════════════════════
   PAYMENT MODAL
══════════════════════════════════════════ */
.pfk-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.75); backdrop-filter: blur(12px);
  z-index: 99999; align-items: center; justify-content: center; padding: 1rem;
}
.pfk-modal-overlay.pfk-open { display: flex; }
.pfk-modal {
  background: #0F1A14; border: 1.5px solid rgba(253,250,245,.12);
  border-radius: 24px; padding: 2rem; width: 100%; max-width: 440px;
  animation: pfk-modalIn .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes pfk-modalIn { from{opacity:0;transform:scale(.88) translateY(24px)} to{opacity:1;transform:scale(1) translateY(0)} }
.pfk-modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.pfk-modal-header h3 { font-family: 'Syne', serif; font-size: 1.2rem; font-weight: 800; color: #FDFAF5; }
.pfk-modal-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(253,250,245,.1); border: none; color: #FDFAF5;
  font-size: 1.2rem; transition: background .2s;
}
.pfk-modal-close:hover { background: rgba(253,250,245,.2); }
.pfk-mpesa-badge {
  display: flex; align-items: center; gap: .75rem;
  background: rgba(0,160,0,.12); border: 1px solid rgba(0,180,0,.35);
  border-radius: 12px; padding: .75rem 1rem; margin-bottom: 1.5rem;
  font-size: .84rem; color: rgba(253,250,245,.85);
}
.pfk-mpesa-badge strong { color: #4CAF50; }
.pfk-mpesa-logo  { font-size: 1.6rem; }
.pfk-form-group  { margin-bottom: 1.2rem; }
.pfk-form-label  { display: block; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(253,250,245,.5); margin-bottom: .45rem; }
.pfk-form-input  {
  width: 100%; padding: .8rem 1rem;
  background: rgba(253,250,245,.07); border: 1.5px solid rgba(253,250,245,.14);
  border-radius: 10px; color: #FDFAF5; font-size: .95rem; outline: none; transition: border-color .25s;
}
.pfk-form-input:focus { border-color: #F2C94C; background: rgba(253,250,245,.1); }
.pfk-form-input::placeholder { color: rgba(253,250,245,.32); }
.pfk-payment-amount {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem; background: rgba(242,201,76,.08); border: 1px solid rgba(242,201,76,.3);
  border-radius: 12px; margin-bottom: 1.2rem;
}
.pfk-payment-amount span:first-child { font-size: .84rem; color: rgba(253,250,245,.6); }
.pfk-payment-amount span:last-child  { font-family: 'Syne', serif; font-weight: 800; color: #F2C94C; font-size: 1.1rem; }
.pfk-btn-pay {
  width: 100%; padding: 1rem; border: none; border-radius: 12px;
  background: linear-gradient(135deg, #0D8B1A, #1AAD2A);
  color: #fff; font-family: 'Syne', serif; font-size: 1rem; font-weight: 700;
  transition: all .3s ease;
}
.pfk-btn-pay:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,160,0,.35); }
.pfk-btn-teal { background: linear-gradient(135deg, #1E7B6B, #0D5A4A) !important; }
.pfk-till-info { font-size: .73rem; color: rgba(253,250,245,.38); text-align: center; margin-top: .75rem; line-height: 1.6; }

/* ── Payment Status ── */
.pfk-payment-status { display: none; text-align: center; padding: 2rem 0 1rem; }
.pfk-payment-status.pfk-showing { display: block; }
.pfk-status-icon    { font-size: 3.2rem; margin-bottom: .9rem; }
.pfk-status-spinner {
  width: 52px; height: 52px; border: 3px solid rgba(253,250,245,.1);
  border-top-color: #4CAF50; border-radius: 50%;
  margin: 0 auto 1rem; animation: pfk-spin 1s linear infinite;
}
@keyframes pfk-spin { to { transform: rotate(360deg) } }
.pfk-status-message { font-family: 'Syne', serif; font-weight: 700; font-size: 1.05rem; margin-bottom: .5rem; color: #FDFAF5; }
.pfk-status-sub     { font-size: .84rem; color: rgba(253,250,245,.58); line-height: 1.5; }

/* ── Loading overlay ── */
.pfk-loading-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(15,26,20,.92); backdrop-filter: blur(16px);
  z-index: 99998; align-items: center; justify-content: center; flex-direction: column; gap: 1.2rem;
}
.pfk-loading-overlay.pfk-showing { display: flex; }
.pfk-loading-text { font-family: 'Syne', serif; font-size: 1rem; color: #F2C94C; font-weight: 600; letter-spacing: .04em; }

/* ── Card appear animation ── */
.pfk-card-appear { animation: pfk-cardIn .5s ease both; }
@keyframes pfk-cardIn { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 640px) {
  .pfk-nav { padding: .75rem 1rem; }
  .pfk-nav .pfk-breadcrumb { display: none; }
  .pfk-pathway-grid, .pfk-careers-grid { grid-template-columns: 1fr; padding: 1rem; }
  /* Always exactly 2 subject cards per row on mobile */
  .pfk-subject-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .pfk-subject-card { padding: .85rem .6rem; }
  .pfk-subject-emoji { font-size: 1.4rem; margin-bottom: .35rem; }
  .pfk-subject-name  { font-size: .73rem; }
  .pfk-pdf-banner { flex-direction: column; text-align: center; }
  .pfk-results-actions { flex-direction: column; align-items: stretch; }
  .pfk-hero-stats { gap: 1.5rem; }
  .pfk-hero-title { font-size: 2.4rem; }
}
@media (max-width: 380px) {
  .pfk-subject-grid { gap: .45rem; }
  .pfk-subject-card { padding: .7rem .45rem; }
  .pfk-subject-name  { font-size: .68rem; }
}

/* ── PDF Banner: success / unlocked state ── */
.pfk-pdf-banner-success {
  background: linear-gradient(135deg, rgba(30,123,107,.25) 0%, rgba(30,123,107,.12) 100%) !important;
  border-color: rgba(30,123,107,.6) !important;
  animation: pfk-fadeUp .5s ease both;
}
.pfk-pdf-banner-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; flex-shrink: 0;
}
.pfk-lock-note {
  font-size: .75rem; color: rgba(253,250,245,.5);
  letter-spacing: .04em; text-align: right;
}
.pfk-btn-teal {
  background: linear-gradient(135deg, #1E7B6B, #0D5A4A) !important;
  box-shadow: 0 8px 28px rgba(30,123,107,.4) !important;
}
.pfk-btn-teal:hover {
  box-shadow: 0 16px 40px rgba(30,123,107,.55) !important;
}

/* ── Theme Integration Patch ──
   When running inside the PathFinder Kenya theme, screens should
   not force 100vh individually (the page itself scrolls naturally).
   Also ensures zero gap between header and plugin landing hero. */

/* Remove minimum viewport height on inner screens — page scrolls naturally */
.pfk-screen { min-height: unset; }

/* Landing hero: allow full viewport height on its own screen */
#pfk-landing { min-height: calc(100vh - 64px); }

/* Sticky nav inside plugin — offset for theme sticky header */
.pfk-nav { top: 64px; }

/* WordPress admin bar offset (32px WP admin bar) */
.admin-bar .pfk-nav { top: calc(64px + 32px); }
.admin-bar #pfk-landing { min-height: calc(100vh - 64px - 32px); }

/* Ensure plugin fills full column width — no extra side padding */
#pfk-app {
  width: 100%;
  max-width: 100%;
}

/* On mobile, collapse the plugin nav top offset */
@media (max-width: 480px) {
  #pfk-landing { min-height: calc(100vh - 56px); }
  .pfk-nav { top: 56px; }
  .admin-bar .pfk-nav { top: calc(56px + 46px); }
}
