/* ========== ASGHINLABS ACADEMY (academy.html) ========== */

.academy-hero {
  padding-top: 150px;
  padding-bottom: 70px;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}
.academy-hero-text { text-align: left; }
.academy-hero .academy-cta { justify-content: flex-start; }

.academy-tag {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.academy-hero h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
.academy-hero h1 .accent { color: var(--brand-primary); }

.academy-hero p.bio {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
  max-width: 640px;
}

.academy-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.academy-cta a {
  padding: 14px 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(0);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35), 0 6px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease,
    background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.academy-cta a:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-4px);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.35), 0 14px 26px var(--brand-glow);
}
.academy-cta a:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35), 0 3px 10px rgba(0, 0, 0, 0.2);
}
.academy-cta a.primary {
  background: var(--brand-primary);
  color: #050816;
  border: none;
  box-shadow: 0 3px 0 rgba(0, 130, 160, 0.9), 0 6px 16px var(--brand-glow);
}
.academy-cta a.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 0 rgba(0, 130, 160, 0.9), 0 16px 28px var(--brand-glow);
}

/* ---- Tracks ---- */
.academy-tracks {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.academy-track {
  flex: 1 1 320px;
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
}

.academy-track h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.track-sub {
  color: var(--brand-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.track-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.track-list li {
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}
.track-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-primary);
  font-weight: 700;
}

/* ---- Empty states (Resources / Past Questions) ---- */
.academy-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
}
.academy-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}
.academy-empty-sub {
  font-size: 0.85rem;
  margin-top: 6px;
  opacity: 0.7;
}

/* ---- File cards (Notes / Past Questions, once populated) ---- */
/* ---- Level group headings (Notes / Past Questions) ---- */
.academy-level-group {
  max-width: 1000px;
  margin: 0 auto 40px;
}
.academy-level-group:last-child { margin-bottom: 0; }
.academy-level-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.academy-file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.academy-file-card {
  display: block;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  text-decoration: none;
  color: var(--text-light);
  transition: 0.25s;
}
.academy-file-card:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 0 25px var(--brand-glow);
  transform: translateY(-4px);
}
.academy-file-subject {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}
.academy-file-card h4 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  line-height: 1.4;
}
.academy-file-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary);
}

/* ---- Special program cards ---- */
.program-card {
  position: relative;
  border: 1px solid var(--brand-primary);
  box-shadow: 0 0 30px var(--brand-glow, rgba(0, 212, 255, 0.15));
}
.program-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--brand-primary);
  color: #050816;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.apply-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 11px 24px;
  border-radius: 14px;
  background: var(--brand-primary);
  color: #050816;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 3px 0 rgba(0, 130, 160, 0.9), 0 6px 16px var(--brand-glow);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}
.apply-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 rgba(0, 130, 160, 0.9), 0 14px 24px var(--brand-glow);
}

/* ---- Apply form ---- */
.apply-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.apply-form input,
.apply-form select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--card-bg);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.95rem;
}
.apply-form input::placeholder { color: var(--text-muted); }
.apply-form select { color: var(--text-muted); }
.apply-form select:valid { color: var(--text-light); }
.apply-form button {
  padding: 15px 20px;
  border-radius: 14px;
  border: none;
  background: var(--brand-primary);
  color: #050816;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(0, 130, 160, 0.9), 0 6px 16px var(--brand-glow);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.apply-form button:hover { transform: translateY(-3px); }
.apply-form button:active { transform: translateY(1px); }
#applyFeedback {
  text-align: center;
  font-size: 0.9rem;
  min-height: 1.2em;
}

/* ---- Featured Program (O Level / A Level CS) ---- */
.featured-badge {
  display: block;
  text-align: center;
  margin: 0 auto 18px;
  width: fit-content;
  padding: 7px 18px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ffb648, #ff8a3d);
  color: #2b1400;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
}

.academy-track.featured {
  border-color: rgba(255, 182, 72, 0.35);
  background: linear-gradient(160deg, rgba(255, 182, 72, 0.07), var(--card-bg));
  box-shadow: 0 0 30px rgba(255, 182, 72, 0.08);
}

.track-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 14px;
  background: var(--brand-primary);
  color: #050816;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 3px 0 rgba(0, 130, 160, 0.9), 0 6px 16px var(--brand-glow);
  transform: translateY(0);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}
.track-apply:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 rgba(0, 130, 160, 0.9), 0 14px 24px var(--brand-glow);
}
.track-apply:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(0, 130, 160, 0.9), 0 3px 10px var(--brand-glow);
}




/* =====================================================================
   ACADEMY v2 — hero books, trust, shop, notes reader, FAQ
   ===================================================================== */
.academy-page section.compact { padding-top: 70px; padding-bottom: 70px; }

.trust-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.trust-points span { color: #2ee68b; font-weight: 800; margin-right: 4px; }

.academy-hero-books {
  position: relative;
  height: 420px;
}
.academy-hero-books .hb {
  position: absolute;
  width: 210px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.hb-1 { left: 0; top: 50px; transform: rotate(-9deg); }
.hb-2 { right: 0; top: 50px; transform: rotate(9deg); }
.hb-3 { left: 50%; top: 0; transform: translateX(-50%); z-index: 2; width: 230px !important; }
.academy-hero-books:hover .hb-1 { transform: rotate(-13deg) translateX(-12px); }
.academy-hero-books:hover .hb-2 { transform: rotate(13deg) translateX(12px); }

.academy-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1000px;
  margin: 0 auto 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: var(--card-bg);
  overflow: hidden;
}
.academy-strip a {
  padding: 22px 12px;
  text-align: center;
  text-decoration: none;
  color: var(--text-light);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.25s;
}
.academy-strip a:last-child { border-right: none; }
.academy-strip a:hover { background: rgba(255, 255, 255, 0.05); }
.academy-strip strong { display: block; font-size: 1.6rem; color: var(--brand-primary); }
.academy-strip span { font-size: 0.85rem; color: var(--text-muted); }

/* ---- Workbook shop ---- */
.wb-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}
.wb-filter {
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--text-light);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
}
.wb-filter:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.wb-filter.active { background: var(--brand-primary); color: #050816; border-color: var(--brand-primary); }

.wb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}
.wb-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.wb-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.wb-card.in-cart { border-color: #2ee68b; box-shadow: 0 0 0 1px #2ee68b inset; }
.wb-cover { position: relative; background: #0b1024; padding: 18px 18px 0; }
.wb-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.4);
}
.wb-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: linear-gradient(135deg, #ffb648, #ff8a3d);
  color: #2b1400;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}
/* 2-year pack cards stand out */
.wb-badge.pack { top: auto; bottom: 10px; left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; }
.wb-card.is-pack { border-color: rgba(255, 182, 72, 0.45); }
.wb-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.wb-subject { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--brand-primary); }
.wb-body h4 { font-size: 1.08rem; margin: 6px 0 2px; }
.wb-stage { font-size: 0.82rem; color: var(--text-muted); }
.wb-price { font-size: 1.15rem; font-weight: 800; margin: 12px 0 14px; }
.wb-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.wb-add, .wb-buy {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}
.wb-add { background: var(--brand-primary); color: #050816; border: none; }
.wb-add:hover { transform: translateY(-2px); }
.wb-buy { background: transparent; color: var(--text-light); border: 1px solid rgba(255,255,255,0.18); }
.wb-buy:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.wb-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #2ee68b;
  border-radius: 12px;
  overflow: hidden;
}
.wb-stepper button {
  width: 42px; height: 40px;
  border: none;
  background: rgba(46, 230, 139, 0.12);
  color: #2ee68b;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
}
.wb-stepper span { font-weight: 700; font-size: 0.88rem; }
.wb-stepper.small { width: 116px; flex-shrink: 0; }
.wb-stepper.small button { width: 34px; height: 34px; }

.wb-bulk {
  max-width: 1000px;
  margin: 44px auto 0;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(0,212,255,0.06), rgba(181,106,255,0.06));
}
.wb-bulk h3 { font-size: 1.2rem; margin-bottom: 4px; }
.wb-bulk p { color: var(--text-muted); font-size: 0.92rem; }

/* ---- Steps ---- */
.steps-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
.step {
  padding: 26px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.step span {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #050816;
  font-weight: 800;
  margin-bottom: 14px;
}
.step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* ---- Sticky order bar ---- */
.order-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 900;
  transform: translate(-50%, 140%);
  width: min(560px, calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 22px;
  border-radius: 18px;
  background: rgba(10, 16, 36, 0.96);
  border: 1px solid rgba(46, 230, 139, 0.5);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.order-bar { visibility: hidden; }
.order-bar.show { transform: translate(-50%, 0); visibility: visible; }
.order-bar-info strong { display: block; font-size: 0.95rem; }
.order-bar-info span { font-size: 0.85rem; color: #2ee68b; font-weight: 700; }
.order-bar-btn {
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  background: #2ee68b;
  color: #04241a;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
body.has-order-bar .whatsapp-float { bottom: 96px; }

/* ---- Order panel ---- */
.order-panel {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(2, 4, 12, 0.75);
  backdrop-filter: blur(4px);
}
.order-panel.open { display: flex; }
.order-sheet {
  width: min(520px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #0a1024;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px 24px 0 0;
  padding: 22px 22px 26px;
  animation: sheetUp 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 700px) {
  .order-panel { align-items: center; }
  .order-sheet { border-radius: 24px; }
}
.order-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.order-head h3 { font-size: 1.25rem; }
.order-close, .pdf-reader-close {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--text-light);
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
}
.order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.order-item img { width: 44px; height: auto; aspect-ratio: 3/4; border-radius: 4px; }
.order-item-info { flex: 1; min-width: 0; }
.order-item-info strong { display: block; font-size: 0.9rem; }
.order-item-info span { font-size: 0.82rem; color: var(--text-muted); }
.order-empty { color: var(--text-muted); padding: 10px 0; }
.order-total { display: flex; justify-content: space-between; padding: 14px 0 6px; font-size: 1.05rem; }
.order-total strong { color: #2ee68b; }
.order-form { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.order-form label { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }
.order-form input[type="text"], .order-form input[type="tel"], .order-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text-light);
  font: inherit;
  font-size: 0.95rem;
}
.order-delivery { border: none; display: flex; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.order-delivery legend { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 6px; }
.order-delivery label { color: var(--text-light); font-size: 0.92rem; display: flex; align-items: center; gap: 6px; margin: 0; }
.order-send {
  margin-top: 14px;
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: #25d366;
  color: #04241a;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
}
.order-feedback { font-size: 0.88rem; text-align: center; min-height: 1.2em; }
.order-small { font-size: 0.78rem; color: var(--text-muted); text-align: center; }

/* ---- Notes cards ---- */
.note-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 22px;
}
.note-card {
  display: flex;
  gap: 20px;
  padding: 18px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.note-card:hover { border-color: var(--brand-primary); box-shadow: 0 0 25px var(--brand-glow); }
.note-cover {
  position: relative;
  flex: 0 0 130px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  align-self: flex-start;
}
.note-cover img { display: block; width: 100%; height: auto; border-radius: 8px; }
.note-cover-hint {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(5, 8, 22, 0.65);
  color: #fff; font-weight: 700; font-size: 0.85rem;
  opacity: 0; transition: opacity 0.25s;
}
.note-cover:hover .note-cover-hint, .note-cover:focus-visible .note-cover-hint { opacity: 1; }
.note-cover-fallback {
  aspect-ratio: 3/4;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(160deg, #0a1a3f, #050a1c);
  color: #fff; border-radius: 8px; padding: 10px; text-align: center;
}
.note-cover-fallback span { font-size: 2rem; }
.note-cover-fallback em { font-size: 0.8rem; color: var(--text-muted); }
.note-body { display: flex; flex-direction: column; min-width: 0; }
.note-body h4 { font-size: 1.1rem; line-height: 1.4; margin-bottom: 6px; }
.note-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.note-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.note-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: var(--text-light);
  font: inherit; font-weight: 700; font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
}
.note-btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.note-btn.primary { background: var(--brand-primary); border-color: var(--brand-primary); color: #050816; }
.note-btn.primary:hover { color: #050816; transform: translateY(-2px); }

/* ---- PDF reader ---- */
.pdf-reader {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  flex-direction: column;
  background: #1b1f2b;
}
.pdf-reader.open { display: flex; }
.pdf-reader-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #0a1024;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pdf-reader-title { flex: 1; min-width: 0; font-weight: 700; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdf-reader-page { font-size: 0.82rem; color: var(--text-muted); white-space: nowrap; }
.pdf-reader-actions { display: flex; gap: 8px; align-items: center; }
.pdf-zoom {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: #fff; font-size: 1.1rem; font-weight: 700; cursor: pointer;
}
.pdf-reader-download {
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--brand-primary);
  color: #050816;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}
.pdf-reader-body { flex: 1; overflow: auto; padding: 16px 12px 40px; -webkit-overflow-scrolling: touch; }
.pdf-reader-pages { margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.pdf-page {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
  overflow: hidden;
}
.pdf-page canvas { display: block; width: 100%; height: 100%; }
.pdf-page-num { position: absolute; inset: 0; display: grid; place-items: center; color: #aaa; font-size: 0.9rem; }
.pdf-reader-status { text-align: center; color: var(--text-muted); padding: 60px 20px; line-height: 2; }
.pdf-reader-status .note-btn { margin: 14px 6px 0; }
.pdf-spinner {
  width: 34px; height: 34px; margin: 0 auto 12px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Teacher ---- */
.teacher-card {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 36px;
  align-items: center;
  padding: 34px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(0,212,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
}
.teacher-card img {
  width: 200px; height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--brand-primary);
  flex-shrink: 0;
}
.teacher-card h3 { font-size: 1.5rem; margin: 6px 0 10px; }
.teacher-card p { color: var(--text-muted); line-height: 1.7; }
.teacher-creds { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.teacher-creds li {
  font-size: 0.85rem; padding: 7px 12px; border-radius: 20px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
}
.teacher-link { color: var(--brand-primary); font-weight: 700; text-decoration: none; }

.center-note { text-align: center; color: var(--text-muted); margin-top: 30px; line-height: 1.7; }
.center-note a { color: var(--brand-primary); font-weight: 700; text-decoration: none; }

/* ---- FAQ (shared look, also used on index) ---- */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

/* ---- CTA band ---- */
.cta-band {
  text-align: center;
  margin: 40px auto 80px;
  max-width: 1000px;
  border-radius: 30px;
  background: radial-gradient(circle at 30% 20%, rgba(0,212,255,0.18), transparent 60%), rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 70px 30px !important;
}
.cta-band h2 { font-size: 2.4rem; margin-bottom: 10px; }
.cta-band p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.cta-band .academy-cta { justify-content: center; }

@media (max-width: 900px) {
  .academy-hero { grid-template-columns: 1fr; padding-top: 120px; gap: 20px; text-align: center; }
  .academy-hero-text { text-align: center; }
  .academy-hero .academy-cta { justify-content: center; }
  .academy-hero p.bio { margin: 0 auto; }
  .trust-points { justify-content: center; }
  .academy-hero-books { height: 300px; max-width: 380px; width: 100%; margin: 0 auto; }
  .academy-hero-books .hb { width: 150px; }
  .hb-3 { width: 165px !important; }
  .steps-3 { grid-template-columns: 1fr; }
  .teacher-card { flex-direction: column; text-align: center; }
  .teacher-creds { justify-content: center; }
}
@media (max-width: 700px) {
  .academy-hero h1 { font-size: 2rem; }
  .academy-tracks { gap: 20px; }
  .academy-strip { grid-template-columns: repeat(2, 1fr); margin: 0 16px 10px; }
  .academy-strip a:nth-child(2) { border-right: none; }
  .academy-strip a:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .wb-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .wb-cover { padding: 10px 10px 0; }
  .wb-body { padding: 12px; }
  .wb-body h4 { font-size: 0.95rem; }
  .wb-price { font-size: 1rem; margin: 8px 0 10px; }
  .wb-add, .wb-buy { font-size: 0.8rem; padding: 10px 6px; }
  .note-grid { grid-template-columns: 1fr; }
  .note-card { flex-direction: column; }
  .note-cover { flex: none; width: 160px; align-self: center; }
  .note-body { text-align: center; }
  .note-actions { justify-content: center; }
  .note-btn { flex: 1; justify-content: center; }
  .pdf-reader-page { display: none; }
  .pdf-reader-download span { display: none; }
  .wb-bulk { text-align: center; justify-content: center; }
  .cta-band { margin: 20px 16px 60px; }
  .cta-band h2 { font-size: 1.8rem; }
}

/* Icon buttons: undo the site-wide button padding/radius */
.order-close, .pdf-reader-close, .pdf-zoom, .wb-stepper button {
  padding: 0;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}
.order-close, .pdf-reader-close { border-radius: 50%; }
.pdf-zoom { border-radius: 10px; }
.wb-stepper button { border-radius: 0; }
.wb-filter, .wb-add, .wb-buy, .note-btn, .note-cover, .order-send, .order-bar-btn { line-height: 1.2; }
.wb-filter { padding: 10px 20px; border-radius: 30px; }
.wb-add, .wb-buy { padding: 11px 12px; border-radius: 12px; }
.note-btn { padding: 11px 18px; border-radius: 12px; }
.note-cover { padding: 0; border-radius: 8px; }
.order-send { padding: 15px; border-radius: 14px; }
.order-bar-btn { padding: 12px 20px; border-radius: 12px; }
@media (max-width: 700px) {
  .wb-add, .wb-buy { padding: 10px 6px; }
}
