/* ================================================================
   Brilliant Minds Microschool — WordPress Plugin Stylesheet
   ================================================================ */

/* ── Reset / Base ─────────────────────────────────────────────── */
#bm-root *, #bm-root *::before, #bm-root *::after {
  box-sizing: border-box;
}
#bm-root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: #1e293b;
  line-height: 1.6;
}
#bm-root img { display: block; max-width: 100%; }
#bm-root a   { text-decoration: none; }
#bm-root button { cursor: pointer; border: none; background: none; }

/* ── Scroll-reveal ────────────────────────────────────────────── */
#bm-root .bm-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
#bm-root .bm-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Layout helpers ───────────────────────────────────────────── */
#bm-root .bm-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
#bm-root .bm-container--narrow { max-width: 760px; }

#bm-root .bm-section {
  padding: 96px 0;
}
#bm-root .bm-section--no-top { padding-top: 0; }
#bm-root .bm-section--white  { background: #ffffff; }
#bm-root .bm-section--slate  { background: #f8fafc; }
#bm-root .bm-section--dark   {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1e1b4b 100%);
  position: relative;
  overflow: hidden;
}

#bm-root .bm-section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

/* ── Typography ───────────────────────────────────────────────── */
#bm-root .bm-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
#bm-root .bm-eyebrow--indigo { color: #4f46e5; }
#bm-root .bm-eyebrow--amber  { color: #d97706; }
#bm-root .bm-eyebrow--emerald{ color: #059669; }
#bm-root .bm-eyebrow--slate  { color: #64748b; }

#bm-root .bm-heading {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a;
  margin: 8px 0 24px;
}
#bm-root .bm-heading--white { color: #f1f5f9; }

#bm-root .bm-subtext {
  font-size: 18px;
  color: #64748b;
  line-height: 1.7;
  text-align: center;
}
#bm-root .bm-subtext--left  { text-align: left; }
#bm-root .bm-subtext--light { color: #94a3b8; }

#bm-root .bm-text--emerald { color: #059669; }

/* ── Buttons ──────────────────────────────────────────────────── */
#bm-root .bm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}
#bm-root .bm-btn--primary {
  background: #fbbf24;
  color: #0f172a;
  box-shadow: 0 4px 24px rgba(251,191,36,.25);
}
#bm-root .bm-btn--primary:hover {
  background: #f59e0b;
  box-shadow: 0 8px 32px rgba(251,191,36,.4);
  transform: translateY(-1px);
}
#bm-root .bm-btn--outline {
  border: 1.5px solid #475569;
  color: #e2e8f0;
}
#bm-root .bm-btn--outline:hover {
  background: rgba(71,85,105,.3);
}

/* ── Icons ────────────────────────────────────────────────────── */
#bm-root .bm-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Badge ────────────────────────────────────────────────────── */
#bm-root .bm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  margin-bottom: 32px;
}
#bm-root .bm-badge--amber {
  background: rgba(251,191,36,.12);
  border: 1px solid rgba(251,191,36,.25);
  color: #fcd34d;
}

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
#bm-root .bm-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1e1b4b 100%);
}
#bm-root .bm-hero__bg { position: absolute; inset: 0; }
#bm-root .bm-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
#bm-root .bm-blob--amber-top   { width:600px; height:600px; top:-160px; right:-160px; background:rgba(251,191,36,.08); }
#bm-root .bm-blob--indigo-bottom{ width:500px; height:500px; bottom:0; left:-80px;  background:rgba(99,102,241,.08); }
#bm-root .bm-blob--emerald-center{ width:800px; height:800px; top:50%; left:50%; transform:translate(-50%,-50%); background:rgba(52,211,153,.04); }
#bm-root .bm-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
#bm-root .bm-hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: 860px;
}
#bm-root .bm-hero__heading {
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 24px;
}
#bm-root .bm-gradient-text {
  background: linear-gradient(90deg, #fcd34d, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
#bm-root .bm-hero__subheading {
  font-size: clamp(16px, 2vw, 20px);
  color: #94a3b8;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 40px;
}
#bm-root .bm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}
#bm-root .bm-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
#bm-root .bm-stat__value {
  display: block;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
}
#bm-root .bm-stat__label {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  margin-top: 4px;
}
#bm-root .bm-hero__fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 96px;
  background: linear-gradient(to top, #fff, transparent);
  z-index: 3;
}

/* ── Hero fade-up animation ───────────────────────────────────── */
#bm-root .bm-fade-up {
  animation: bmFadeUp .8s ease both;
}
@keyframes bmFadeUp {
  from { opacity:0; transform:translateY(32px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ════════════════════════════════════════════════════════════════
   PHILOSOPHY — Pillar Cards
   ════════════════════════════════════════════════════════════════ */
#bm-root .bm-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
#bm-root .bm-pillar-card {
  padding: 32px;
  border-radius: 20px;
  border: 1.5px solid;
  transition: all .3s ease;
}
#bm-root .bm-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
#bm-root .bm-pillar-card--indigo { background:#eef2ff; border-color:#c7d2fe; }
#bm-root .bm-pillar-card--amber  { background:#fffbeb; border-color:#fde68a; }
#bm-root .bm-pillar-card--emerald{ background:#ecfdf5; border-color:#a7f3d0; }
#bm-root .bm-pillar-card--rose   { background:#fff1f2; border-color:#fecdd3; }

#bm-root .bm-pillar-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
#bm-root .bm-pillar-card__icon svg { width:24px; height:24px; }
#bm-root .bm-pillar-card__icon--indigo { background:#c7d2fe; color:#4338ca; }
#bm-root .bm-pillar-card__icon--amber  { background:#fde68a; color:#b45309; }
#bm-root .bm-pillar-card__icon--emerald{ background:#a7f3d0; color:#065f46; }
#bm-root .bm-pillar-card__icon--rose   { background:#fecdd3; color:#9f1239; }

#bm-root .bm-pillar-card__title { font-size:17px; font-weight:700; color:#0f172a; margin:0 0 12px; }
#bm-root .bm-pillar-card__desc  { font-size:14px; color:#475569; line-height:1.6; margin:0; }

/* ════════════════════════════════════════════════════════════════
   DIFFERENCES — Comparison Table
   ════════════════════════════════════════════════════════════════ */
#bm-root .bm-compare { max-width: 800px; margin: 0 auto; }
#bm-root .bm-compare__labels {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 12px; text-align: center;
}
#bm-root .bm-compare__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
#bm-root .bm-compare__label--traditional { color: #94a3b8; }
#bm-root .bm-compare__label--ours        { color: #d97706; }

#bm-root .bm-compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
#bm-root .bm-compare__cell {
  padding: 18px 20px;
  border-radius: 12px;
  font-size: 15px;
}
#bm-root .bm-compare__cell--trad {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
}
#bm-root .bm-compare__cell--ours {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #1e293b;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
#bm-root .bm-check {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: #f59e0b;
  margin-top: 2px;
}

/* ════════════════════════════════════════════════════════════════
   CURRICULUM
   ════════════════════════════════════════════════════════════════ */
#bm-root .bm-curriculum {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  #bm-root .bm-curriculum { grid-template-columns: 1fr; }
}
#bm-root .bm-curriculum__left { position: sticky; top: 120px; }
#bm-root .bm-curriculum__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#bm-root .bm-quote-card {
  margin-top: 32px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
#bm-root .bm-quote-card__text {
  font-style: italic;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 12px;
}
#bm-root .bm-quote-card__attr {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0;
}

#bm-root .bm-feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,.04);
  transition: all .3s ease;
}
#bm-root .bm-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
#bm-root .bm-feature-card__icon {
  width: 40px; height: 40px;
  background: #0f172a;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
#bm-root .bm-feature-card__icon svg { width:20px; height:20px; stroke:#fbbf24; }
#bm-root .bm-feature-card__title { font-size:15px; font-weight:700; color:#0f172a; margin:0 0 8px; }
#bm-root .bm-feature-card__desc  { font-size:13px; color:#64748b; line-height:1.6; margin:0; }

/* ════════════════════════════════════════════════════════════════
   CAMPUS
   ════════════════════════════════════════════════════════════════ */
#bm-root .bm-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
#bm-root .bm-campus-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: all .4s ease;
}
#bm-root .bm-campus-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
#bm-root .bm-campus-card__img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
#bm-root .bm-campus-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
#bm-root .bm-campus-card:hover .bm-campus-card__img-wrap img {
  transform: scale(1.05);
}
#bm-root .bm-campus-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.6), transparent);
}
#bm-root .bm-campus-card__name {
  position: absolute;
  bottom: 16px; left: 16px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
#bm-root .bm-campus-card__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
#bm-root .bm-campus-card__meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: #64748b;
}
#bm-root .bm-campus-card__meta svg { width:16px; height:16px; color:#94a3b8; flex-shrink:0; }

/* ════════════════════════════════════════════════════════════════
   ENROLLMENT (dark)
   ════════════════════════════════════════════════════════════════ */
#bm-root .bm-dark-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
#bm-root .bm-dark-blob--tr { width:400px; height:400px; top:40px; right:40px;  background:rgba(251,191,36,.04); }
#bm-root .bm-dark-blob--bl { width:500px; height:500px; bottom:40px; left:40px; background:rgba(99,102,241,.04); }

#bm-root .bm-grid-4--enrollment {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 56px;
}
#bm-root .bm-step-card {
  padding: 28px;
  border-radius: 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
}
#bm-root .bm-step-card__num   { font-size: 40px; font-weight: 900; color: rgba(255,255,255,.1); display: block; }
#bm-root .bm-step-card__title { font-size: 16px; font-weight: 700; color: #f1f5f9; margin: 8px 0 8px; }
#bm-root .bm-step-card__desc  { font-size: 13px; color: #94a3b8; line-height: 1.6; margin: 0; }

#bm-root .bm-enroll-cta       { text-align: center; }
#bm-root .bm-enroll-cta__note { margin-top: 16px; font-size: 13px; color: #64748b; }

/* ════════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════════ */
#bm-root .bm-faq {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 0 28px;
}
#bm-root .bm-faq__item {
  border-bottom: 1px solid #e2e8f0;
}
#bm-root .bm-faq__item:last-child { border-bottom: none; }

#bm-root .bm-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  gap: 32px;
  transition: color .2s;
}
#bm-root .bm-faq__trigger:hover,
#bm-root .bm-faq__trigger--open { color: #4f46e5; }

#bm-root .bm-faq__chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: #94a3b8;
  transition: transform .3s ease;
}
#bm-root .bm-faq__trigger--open .bm-faq__chevron {
  transform: rotate(180deg);
}

#bm-root .bm-faq__answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .35s ease, opacity .3s ease;
}
#bm-root .bm-faq__answer p {
  padding-bottom: 24px;
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
#bm-root .bm-footer {
  background: #0f172a;
  border-top: 1px solid #1e293b;
}
#bm-root .bm-footer .bm-container { padding: 64px 24px; }

#bm-root .bm-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}
#bm-root .bm-footer__brand {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
#bm-root .bm-footer__logo {
  width: 40px; height: 40px;
  background: #fbbf24;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px; color: #0f172a;
}
#bm-root .bm-footer__brand-name { font-size: 20px; font-weight: 700; color: #f1f5f9; }
#bm-root .bm-footer__tagline    { font-size: 14px; color: #64748b; line-height: 1.6; max-width: 260px; margin: 0; }

#bm-root .bm-footer__heading {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #f1f5f9;
  margin: 0 0 16px;
}
#bm-root .bm-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
#bm-root .bm-footer__link  { font-size: 14px; color: #64748b; transition: color .2s; }
#bm-root .bm-footer__link:hover { color: #fbbf24; }

#bm-root .bm-footer__contact { display: flex; flex-direction: column; gap: 12px; }
#bm-root .bm-footer__contact-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: #64748b;
  transition: color .2s;
}
#bm-root .bm-footer__contact-link:hover { color: #fbbf24; }
#bm-root .bm-footer__contact-link svg   { width: 16px; height: 16px; flex-shrink: 0; }

#bm-root .bm-footer__bottom {
  border-top: 1px solid #1e293b;
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #475569;
}
#bm-root .bm-footer__heart {
  display: flex; align-items: center; gap: 4px;
}
#bm-root .bm-footer__heart svg { width: 14px; height: 14px; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 640px) {
  #bm-root .bm-section { padding: 64px 0; }
  #bm-root .bm-hero    { min-height: auto; padding: 48px 0; }
  #bm-root .bm-curriculum__right { grid-template-columns: 1fr; }
  #bm-root .bm-compare__row { grid-template-columns: 1fr; }
  #bm-root .bm-compare__labels { grid-template-columns: 1fr; }
  #bm-root .bm-compare__label--traditional { display: none; }
}
