/* BRAIN BOOST BOOKS — Dream Packs section (3D scroll cards) */
.pk-sec { position: relative; padding: 90px 0 100px; background: linear-gradient(180deg, var(--cream) 0%, #F1EBE0 100%); overflow: hidden; }
.pk-stage { perspective: 1200px; }
.pk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; max-width: 1060px; margin: 0 auto; padding: 0 20px; transform-style: preserve-3d; }

.pk-card { transform-style: preserve-3d; }
.pk-tilt { position: relative; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(43, 34, 32, .35); transform-style: preserve-3d; will-change: transform; }
.pk-tilt::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 20%), rgba(255,255,255,.25), transparent 55%); }

.pk-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pk-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transform: translateZ(0); }
.pk-badge { position: absolute; top: 14px; left: 14px; background: var(--maroon); color: #fff; font: 800 14px/1 'Nunito', sans-serif; letter-spacing: .06em; padding: 9px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(142, 33, 37, .45); animation: pk-pulse 2.4s infinite; }
.pk-icon { position: absolute; right: 14px; bottom: -18px; width: 56px; height: 56px; display: grid; place-items: center; font-size: 26px; background: #fff; border-radius: 50%; box-shadow: 0 8px 22px rgba(43, 34, 32, .22); }
@keyframes pk-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }

.pk-body { padding: 26px 24px 26px; }
.pk-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--teal-dark); background: var(--teal-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 10px; }
.pk-doc .pk-tag { color: var(--maroon-dark); background: var(--maroon-soft); }
.pk-body h3 { font-family: 'Noto Sans Sinhala', sans-serif; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; color: var(--ink); margin: 0 0 2px; }
.pk-en { font: 700 13px/1.3 'Nunito', sans-serif; color: #8a7f7a; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.pk-lead { font-size: 14.5px; color: #5c524d; margin: 0 0 14px; }

.pk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pk-chip { font: 700 13px/1 'Noto Sans Sinhala', 'Nunito', sans-serif; color: var(--ink); background: #F3EFE8; border: 1.5px solid transparent; border-radius: 999px; padding: 9px 13px; cursor: pointer; transition: all .18s; }
.pk-chip.on { background: #fff; border-color: var(--maroon); color: var(--maroon); box-shadow: 0 3px 10px rgba(142, 33, 37, .18); }

.pk-books { list-style: none; margin: 0 0 16px; padding: 12px 14px; background: var(--cream); border-radius: 14px; font-size: 14px; color: #4c433e; display: grid; gap: 5px; }
.pk-books li.free { color: var(--maroon); font-weight: 700; }
.pk-books li.free b { font-size: 11px; background: var(--maroon); color: #fff; border-radius: 6px; padding: 2px 6px; margin-left: 4px; letter-spacing: .05em; }

.pk-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.pk-was { text-decoration: line-through; color: #a4988f; font: 700 15px 'Nunito', sans-serif; }
.pk-now { font: 800 28px/1 'Nunito', sans-serif; color: var(--maroon); }
.pk-save { font-size: 12.5px; font-weight: 700; color: var(--teal-dark); background: var(--teal-soft); border-radius: 8px; padding: 4px 9px; }

.pk-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.pk-btns .btn { flex: 1 1 auto; text-align: center; }

/* ================= long-form DR sections ================= */

/* §PAIN */
.pain-sec { padding: 84px 0 70px; background: #F1EBE0; }
.pain-card { border-top: 3px solid var(--maroon); }
.pain-close { text-align: center; max-width: 640px; margin: 34px auto 0; font-size: 17.5px; color: #4c433e; line-height: 1.75; }

/* scattered review / nudge bands */
.qb-sec { padding: 34px 0; background: var(--cream); }
.qb-in { max-width: 620px; margin: 0 auto; text-align: center; padding: 0 20px; }
.qb-stars { color: #E8A33D; font-size: 20px; letter-spacing: .2em; margin-bottom: 10px; }
.qb-card { margin: 0; }
.qb-card img { max-width: 100%; border-radius: 16px; box-shadow: 0 12px 34px rgba(43, 34, 32, .16); }
.qb-card figcaption { font: 700 13px 'Nunito', sans-serif; color: #8a7f7a; margin-top: 8px; }
.qb-fb { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14px; color: #1877F2; text-decoration: none; }
.qb-fb:hover { text-decoration: underline; }

/* §DREAM */
.dream-sec { padding: 84px 0 70px; background: var(--cream); }
.dream-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; max-width: 980px; margin: 0 auto; padding: 0 20px; }
.dream-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 44px -18px rgba(43, 34, 32, .28); }
.dream-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top center; }
.dream-body { padding: 20px 22px 24px; }
.dream-body h3 { font-family: 'Noto Sans Sinhala', sans-serif; font-size: 20px; color: var(--maroon); margin: 0 0 8px; }
.dream-body p { font-size: 14.5px; color: #5c524d; margin: 0; line-height: 1.7; }

/* §QA accordion */
.qa-sec { padding: 84px 0 80px; background: #F1EBE0; }
.qa-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.qa { background: #fff; border-radius: 16px; box-shadow: 0 8px 24px rgba(43, 34, 32, .08); overflow: hidden; }
.qa summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 22px; font-weight: 700; font-size: 16px; color: var(--ink); position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 800 22px 'Nunito', sans-serif; color: var(--maroon); transition: transform .25s; }
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa[open] summary { color: var(--maroon); }
.qa-a { padding: 0 22px 20px; font-size: 15px; color: #4c433e; line-height: 1.75; }
.qa-a a { color: var(--teal-dark); font-weight: 700; text-decoration: none; }
.qa-a a:hover { text-decoration: underline; }

/* Facebook button */
.btn-fb { background: #1877F2; color: #fff !important; }
.btn-fb:hover { background: #145FCC; }

/* §FINAL value stack */
.final-stack { display: grid; gap: 8px; max-width: 520px; margin: 22px auto 24px; text-align: left; }
.fs-item { background: rgba(255, 255, 255, .12); border-radius: 12px; padding: 11px 16px; font-size: 15px; font-weight: 600; }

/* scattered biography bands (passive STEM tie-ins) */
.fame-band { padding: 40px 0; background: var(--cream); }
.fame-band.alt { background: #F1EBE0; }
.fame-in { max-width: 760px; margin: 0 auto; padding: 0 20px; display: flex; gap: 20px; align-items: center; }
.fame-in img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; object-position: top center; border: 4px solid #fff; box-shadow: 0 10px 26px rgba(43, 34, 32, .25); flex: 0 0 auto; }
.fame-body h4 { font: 800 16px 'Nunito', sans-serif; color: var(--maroon); margin: 0 0 5px; }
.fame-body h4 small { font-weight: 700; color: #a4988f; font-size: 12px; margin-left: 6px; }
.fame-body p { font-size: 14px; color: #4c433e; line-height: 1.75; margin: 0; }
.fame-body .tie { display: block; margin-top: 6px; font-weight: 700; color: var(--teal-dark); font-size: 13.5px; }
.fame-body .tie a { color: var(--maroon); text-decoration: none; border-bottom: 1.5px solid var(--maroon); margin-left: 4px; }
/* dev mode on a phone: make editable text obvious and tappable */
[data-bbb-edit="1"] [contenteditable="true"] { outline: 1.5px dashed rgba(142, 33, 37, .45);
  outline-offset: 2px; border-radius: 4px; }
[data-bbb-edit="1"] [contenteditable="true"]:focus { outline: 2px solid #16a34a;
  background: rgba(22, 163, 74, .07); }
[data-bbb-edit="1"] { -webkit-user-select: text; user-select: text; }

/* ================= book catalogue (shop page) ================= */
.cat-sec { margin-top: 8px; }
.cat-bar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.cat-search { width: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: 14px;
  border: 2px solid var(--line); font-family: 'Noto Sans Sinhala', sans-serif; font-size: 15px;
  font-weight: 600; background: #fff; }
.cat-search:focus { outline: none; border-color: var(--teal); }
.cat-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-chip { font: 700 13px 'Noto Sans Sinhala', sans-serif; background: #fff; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer;
  transition: all .15s; }
.cat-chip:hover { border-color: var(--teal); }
.cat-chip.on { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.cat-count { font-size: 13px; font-weight: 700; color: #8a7f7a; margin-bottom: 12px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; }
.cat-card { background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 10px 26px -14px rgba(43, 34, 32, .25); transition: transform .18s, box-shadow .18s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -14px rgba(43, 34, 32, .32); }
.cat-img { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-lang { position: absolute; top: 8px; left: 8px; background: rgba(255,255,255,.94); color: var(--ink);
  font: 700 11px 'Noto Sans Sinhala', sans-serif; border-radius: 999px; padding: 4px 9px; }
.cat-body { padding: 12px 13px 13px; display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; }
.cat-title { font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.5; }
.cat-title:hover { color: var(--maroon); }
.cat-series { font-size: 11.5px; color: #8a7f7a; flex: 1 1 auto; }
.cat-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.cat-price { font: 800 15px 'Nunito', sans-serif; color: var(--maroon); }
.cat-add { background: var(--teal); color: #fff; border: none; border-radius: 999px; padding: 8px 14px;
  font: 800 12.5px 'Nunito', sans-serif; cursor: pointer; }
.cat-add.added { background: #16a34a; }
.cat-empty { text-align: center; padding: 40px 20px; color: #8a7f7a; font-weight: 700; }
/* already-in-cart state (catalogue, finder, packs) */
.cat-card.in-cart { box-shadow: 0 0 0 2.5px #16a34a, 0 10px 26px -14px rgba(43, 34, 32, .25); }
.cat-tick { position: absolute; bottom: 8px; left: 8px; right: 8px; background: rgba(22, 163, 74, .95);
  color: #fff; font: 800 11.5px 'Noto Sans Sinhala', sans-serif; border-radius: 8px; padding: 5px 8px;
  text-align: center; }
.add-btn.added, .fd-add.added { background: #16a34a !important; color: #fff !important; }
.fd-item.in-cart { box-shadow: 0 0 0 2.5px #16a34a, 0 8px 24px -14px rgba(43, 34, 32, .2); }
.fd-item.in-cart .fd-q::before { content: '✓ '; color: #16a34a; font-weight: 900; }
.pk-card.in-cart .pk-tilt { box-shadow: 0 0 0 3px #16a34a, 0 24px 60px -24px rgba(43, 34, 32, .35); }
@media (max-width: 520px) { .cat-grid { grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); gap: 12px; } }

/* value strip under the trust row */
.val-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  max-width: 860px; margin: 18px auto 0; padding: 0 20px; }
.val-i { background: #fff; border-radius: 14px; padding: 13px 15px; text-align: center;
  box-shadow: 0 8px 22px -12px rgba(43, 34, 32, .25); display: flex; flex-direction: column; gap: 3px; }
.val-i b { font: 800 20px 'Nunito', sans-serif; color: var(--maroon); }
.val-i span { font-size: 12.5px; color: #6b615c; line-height: 1.6; }
@media (max-width: 700px) { .val-strip { grid-template-columns: 1fr; max-width: 380px; } }

/* testimonial wall */
.tw-school { max-width: 720px; margin: 0 auto 26px; background: linear-gradient(135deg, #EAF6F3, #DCEFEA);
  border: 2px solid var(--teal); border-radius: 20px; padding: 22px 24px; text-align: center; }
.tw-badge { display: inline-block; background: var(--teal); color: #fff; font-weight: 800; font-size: 12.5px;
  border-radius: 999px; padding: 6px 14px; margin-bottom: 10px; }
.tw-quote { font-size: 15px; color: #2f4a45; line-height: 1.8; margin: 0 0 10px; font-style: italic; }
.tw-by { font: 800 14px 'Nunito', sans-serif; color: var(--teal-dark); }
.tw-by span { font-weight: 700; color: #7d9b95; font-size: 12.5px; }
.tw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1000px;
  margin: 0 auto 24px; padding: 0 20px; }
.tw-card { background: #fff; border-radius: 18px; padding: 20px; margin: 0;
  box-shadow: 0 12px 30px -14px rgba(43, 34, 32, .22); display: flex; flex-direction: column; gap: 8px; }
.tw-stars { color: #E8A33D; letter-spacing: .12em; font-size: 15px; }
.tw-card blockquote { margin: 0; font-size: 14px; color: #4c433e; line-height: 1.8; flex: 1 1 auto; }
.tw-card figcaption { font: 800 13px 'Nunito', sans-serif; color: #8a7f7a; }
.tw-photo { max-width: 460px; margin: 0 auto 22px; text-align: center; }
.tw-photo img { width: 100%; border-radius: 16px; border: 5px solid #fff;
  box-shadow: 0 14px 34px -14px rgba(43, 34, 32, .32); }
.tw-cap { margin-top: 10px; font-size: 13px; color: #6b615c; line-height: 1.7; }
.tw-cap small { color: #8a7f7a; }
@media (max-width: 860px) { .tw-grid { grid-template-columns: 1fr; max-width: 460px; } }

/* book finder — parent question -> book */
.fd-sec { padding: 78px 0 74px; background: #F1EBE0; }
.fd-lead { max-width: 640px; margin: 0 auto 24px; text-align: center; font-size: 15px;
  color: #4c433e; line-height: 1.85; }
.fd-chips { max-width: 800px; margin: 0 auto 10px; padding: 0 20px; justify-content: center; }
#fdCount { max-width: 800px; margin: 0 auto 14px; padding: 0 20px; text-align: center; }
.fd-grid { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; padding: 0 20px; }
.fd-item { background: #fff; border-radius: 16px; box-shadow: 0 8px 24px -14px rgba(43,34,32,.2);
  overflow: hidden; }
.fd-q { cursor: pointer; list-style: none; padding: 17px 48px 17px 20px; font-weight: 700;
  font-size: 15.5px; color: var(--ink); position: relative; line-height: 1.6; }
.fd-q::-webkit-details-marker { display: none; }
.fd-q::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font: 800 22px 'Nunito', sans-serif; color: var(--maroon); transition: transform .25s; }
.fd-item[open] .fd-q::after { transform: translateY(-50%) rotate(45deg); }
.fd-item[open] .fd-q { color: var(--maroon); background: var(--cream); }
.fd-body { display: flex; gap: 18px; padding: 18px 20px 20px; align-items: flex-start; }
.fd-cover { flex: 0 0 auto; width: 120px; }
.fd-cover img { width: 100%; border-radius: 10px; border: 3px solid #fff;
  box-shadow: 0 10px 24px -10px rgba(43,34,32,.35); }
.fd-txt { flex: 1 1 auto; display: grid; gap: 9px; }
.fd-pain, .fd-gives, .fd-book { font-size: 14px; line-height: 1.8; color: #4c433e; }
.fd-pain { background: #FFF3D6; border-radius: 10px; padding: 10px 12px; color: #6b5a2a; }
.fd-book a { color: var(--maroon); font-weight: 700; }
.fd-book small { color: #8a7f7a; font-weight: 600; }
.fd-gives { background: var(--teal-soft); border-radius: 10px; padding: 10px 12px; color: var(--teal-dark); }
.fd-buy { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.fd-buy .btn { font-size: 13.5px; padding: 11px 18px; }
@media (max-width: 620px) {
  .fd-body { flex-direction: column; align-items: center; text-align: left; }
  .fd-cover { width: 140px; }
}

/* giving back */
.give-sec { padding: 70px 0 66px; background: linear-gradient(180deg, #F5EFF6, #EFE7F2); }
.give-lead { max-width: 640px; margin: 0 auto 24px; text-align: center; font-size: 15px;
  color: #4c433e; line-height: 1.85; }
.give-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  max-width: 820px; margin: 0 auto; padding: 0 20px; }
.give-card { background: #fff; border-radius: 18px; padding: 20px 22px;
  border-left: 5px solid #8B5FA8; box-shadow: 0 10px 26px -14px rgba(43, 34, 32, .22); }
.give-q { font-size: 14.5px; color: #4c433e; line-height: 1.85; font-style: italic; margin-bottom: 10px; }
.give-by { font: 800 13.5px 'Nunito', sans-serif; color: #6b4685; }
.give-by span { font-weight: 700; color: #a08bb0; font-size: 12px; }
.give-note { text-align: center; margin: 22px auto 0; font-size: 15px; font-weight: 700; color: #6b4685; }
@media (max-width: 760px) { .give-grid { grid-template-columns: 1fr; max-width: 460px; } }

/* ================= live offer countdown ================= */
.oc-card { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(135deg, #FFF3D6, #FFE7AE); border: 2px solid #F0C64A;
  border-radius: 16px; padding: 14px 18px; max-width: 720px; margin: 0 auto;
  box-shadow: 0 10px 26px -12px rgba(142, 33, 37, .28); }
.oc-txt { font-size: 15px; font-weight: 700; color: #7a4700; line-height: 1.6; }
.oc-txt b { color: var(--maroon); }
.oc-clockwrap { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 0 0 auto; }
.oc-sub { font-size: 11px; font-weight: 700; color: #8a6a1f; }
.oc-clock { font: 800 24px/1 'Nunito', monospace; color: var(--maroon); letter-spacing: .06em;
  background: #fff; border-radius: 10px; padding: 6px 12px; box-shadow: 0 3px 10px rgba(142,33,37,.15); }
.oc-cta { flex: 0 0 auto; background: var(--maroon); color: #fff; text-decoration: none;
  font-weight: 800; font-size: 14px; border-radius: 999px; padding: 12px 20px; white-space: nowrap; }
.oc-slot { padding: 0 20px; margin: 26px auto 0; }

/* offer message + countdown, together, above the buttons in the sticky bar */
.sc-offer { display: flex; align-items: center; gap: 10px; width: 100%;
  background: linear-gradient(135deg, #FFF3D6, #FFE7AE); border: 2px solid #F0C64A;
  border-radius: 14px; padding: 9px 14px; }
.sco-tag { font-size: 19px; flex: 0 0 auto; }
.sco-msg { flex: 1 1 auto; font-size: 13px; font-weight: 700; color: #7a4700; line-height: 1.5; }
.sco-msg b { color: var(--maroon); }
.sco-clock { flex: 0 0 auto; font: 800 17px/1 'Nunito', monospace; color: var(--maroon);
  letter-spacing: .04em; background: #fff; border-radius: 9px; padding: 7px 11px;
  box-shadow: 0 3px 10px rgba(142,33,37,.16); }
.sc-btns { display: flex; gap: 10px; width: 100%; }
@media (max-width: 720px) {
  .oc-card { gap: 10px; padding: 12px 14px; }
  .oc-txt { font-size: 13.5px; width: 100%; text-align: center; }
  .sc-offer { padding: 8px 11px; gap: 8px; }
  .sco-msg { font-size: 11.5px; }
  .sco-tag { font-size: 16px; }
  .sco-clock { font-size: 14.5px; padding: 6px 8px; }
}

/* mobile: brand banner fills the empty space above the cover ring while scrolling */
.hero-banner { display: none; }
@media (max-width: 720px) {
  .hero-banner { display: block; position: absolute; left: 50%; top: 40%; z-index: 2;
    width: min(94%, 470px); transform: translateX(-50%);
    border-radius: 16px; box-shadow: 0 14px 34px -14px rgba(43, 34, 32, .3);
    transition: opacity .35s ease; }
  .hero-ring-stage { transform: translateY(32vh); }
}

/* lead variant — the anchor story (Einstein) */
.fame-band.lead { padding: 66px 0 60px; background: linear-gradient(180deg, var(--cream), #F1EBE0); }
.fame-band.lead .fame-in { max-width: 860px; gap: 28px; align-items: flex-start; }
.fame-band.lead .fame-in img { width: 150px; height: 150px; }
.fame-band.lead .fame-body h4 { font-size: 22px; margin-bottom: 8px; }
.fame-band.lead .fame-body p { font-size: 15px; margin-bottom: 10px; }
.fame-band.lead .fame-body p i { color: #6b5a2a; }
.fame-kicker { display: inline-block; background: var(--maroon); color: #fff; font-weight: 800;
  font-size: 12.5px; border-radius: 999px; padding: 6px 14px; margin-bottom: 10px; }
.fame-lesson { background: #FFF3D6; border: 1.5px solid #F0C64A; border-radius: 14px;
  padding: 13px 15px; font-size: 14px; color: #7a4700; line-height: 1.8; margin: 4px 0 10px; }
@media (max-width: 560px) { .fame-band.lead .fame-in img { width: 120px; height: 120px; } }

.fame-emo { width: 92px; height: 92px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  font-size: 42px; background: #fff; border: 4px solid #fff; box-shadow: 0 10px 26px rgba(43, 34, 32, .25); }
.fame-body .fam-src { display: inline-block; margin-top: 6px; }
@media (max-width: 560px) { .fame-in { flex-direction: column; text-align: center; } }

/* cart gift banner — pay-now bonus line */
.gift-pay { margin-top: 6px; background: #FFF3D6; border: 1.5px solid #F0C64A; border-radius: 12px;
  padding: 10px 12px; font-size: 13px; color: #7a4700; line-height: 1.7; }
.gift-pay small { display: block; font-size: 11.5px; opacity: .85; }

/* career paths per series */
.cp-wrap { max-width: 700px; margin: 22px auto 0; background: #fff; border-radius: 18px;
  padding: 20px 22px; box-shadow: 0 10px 28px -12px rgba(43, 34, 32, .2); }
.cp-h { font-family: 'Noto Sans Sinhala', sans-serif; font-weight: 700; font-size: 16px;
  color: var(--teal-dark); margin-bottom: 12px; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cp-chip { background: var(--cream); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 14px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.cp-chip b { color: var(--maroon); }
.cp-note { margin-top: 12px; font-size: 13px; color: #6b615c; line-height: 1.7; }

/* three ways to buy */
.w3-sec { padding: 74px 0 66px; background: var(--cream); }
.w3-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  max-width: 960px; margin: 0 auto; padding: 0 20px; }
.w3-card { background: #fff; border-radius: 18px; padding: 24px 20px; text-align: center;
  box-shadow: 0 12px 32px -14px rgba(43, 34, 32, .22); display: flex; flex-direction: column; gap: 8px; }
.w3-ico { font-size: 34px; }
.w3-card h3 { font-family: 'Noto Sans Sinhala', sans-serif; font-size: 17px; color: var(--maroon); margin: 0; }
.w3-card p { font-size: 13.5px; color: #5c524d; line-height: 1.7; margin: 0; flex: 1 1 auto; }
.w3-price { font: 800 19px 'Nunito', sans-serif; color: var(--ink); }
@media (max-width: 860px) { .w3-grid { grid-template-columns: 1fr; max-width: 420px; } }

/* checkout payment picker */
.pay-pick { margin: 4px 0 14px; display: grid; gap: 9px; }
.pp-h { font-weight: 800; font-size: 13px; color: var(--ink); margin-bottom: 2px; }
.pp-opt { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; transition: all .15s; }
.pp-opt.on { border-color: var(--maroon); background: var(--maroon-soft); box-shadow: 0 4px 14px rgba(142,33,37,.12); }
.pp-opt input { accent-color: var(--maroon); width: 18px; height: 18px; flex: 0 0 auto; }
.pp-ico { font-size: 22px; flex: 0 0 auto; }
.pp-tx { display: flex; flex-direction: column; gap: 2px; }
.pp-tx b { font-size: 14.5px; color: var(--ink); }
.pp-tx small { font-size: 12px; color: #6b615c; }

/* famous early-starters */
.fam-sec { padding: 80px 0 70px; background: var(--cream); }
.fam-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1020px; margin: 0 auto 8px; padding: 0 20px; }
.fam-card { position: relative; background: #fff; border-radius: 18px; padding: 26px 20px 20px; box-shadow: 0 14px 36px -14px rgba(43, 34, 32, .22); }
.fam-age { position: absolute; top: -13px; left: 18px; background: var(--maroon); color: #fff; font: 800 12.5px 'Noto Sans Sinhala', sans-serif; border-radius: 999px; padding: 6px 13px; }
.fam-card h3 { font: 800 18px 'Nunito', sans-serif; color: var(--ink); margin: 4px 0 8px; }
.fam-card p { font-size: 14px; color: #4c433e; line-height: 1.75; margin: 0 0 10px; }
.fam-src { font: 700 11px 'Nunito', sans-serif; color: #a4988f; text-decoration: none; }
.fam-src:hover { text-decoration: underline; }
@media (max-width: 860px) { .fam-grid { grid-template-columns: 1fr; max-width: 480px; } }

/* series deep-dive sections */
.ss-sec { padding: 84px 0 78px; background: var(--cream); }
.ss-alt { background: #F1EBE0; }
.ss-sec .wrap { max-width: 860px; text-align: center; }
.ss-badge { display: inline-block; background: var(--teal-soft); color: var(--teal-dark); font-weight: 800; font-size: 13.5px; border-radius: 999px; padding: 8px 18px; margin-bottom: 16px; }
.ss-h { font-family: 'Noto Sans Sinhala', sans-serif; font-size: clamp(21px, 3.4vw, 30px); font-weight: 700; color: var(--maroon); line-height: 1.5; margin: 0 0 16px; }
.ss-pain { font-size: 16px; color: #4c433e; line-height: 1.85; max-width: 700px; margin: 0 auto 26px; }
.ss-covers { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.ss-covers img { width: clamp(96px, 14vw, 150px); border-radius: 10px; border: 3px solid #fff; box-shadow: 0 12px 28px rgba(43, 34, 32, .22); transform: rotate(-2deg); }
.ss-covers img:nth-child(2n) { transform: rotate(2deg); }
.ss-points { display: grid; gap: 10px; max-width: 700px; margin: 0 auto 26px; text-align: left; }
.ss-pt { background: #fff; border-radius: 14px; padding: 13px 16px; font-size: 14.5px; color: #4c433e; line-height: 1.7; box-shadow: 0 6px 18px rgba(43, 34, 32, .07); }
.ss-research { max-width: 700px; margin: 0 auto 24px; background: #FFF8E7; border: 1.5px solid #F0DFAE; border-radius: 14px; padding: 13px 16px; font-size: 13.5px; color: #6b5a2a; line-height: 1.75; text-align: left; }
.ss-research a { color: #8a6d1f; font-weight: 700; }
.ss-buy { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.ss-price { font: 700 16px 'Noto Sans Sinhala', 'Nunito', sans-serif; color: var(--ink); }
.ss-price b { color: var(--maroon); font-size: 20px; }
.ss-price s { color: #a4988f; font-size: 13px; }

/* sticky bottom bar — always available (Purchase + WhatsApp) */
.sticky-cta { position: fixed; left: 50%; bottom: 12px; z-index: 60;
  display: flex; flex-direction: column; gap: 8px; align-items: stretch;
  width: min(640px, calc(100% - 20px));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-radius: 20px; padding: 10px; box-shadow: 0 18px 44px -16px rgba(43, 34, 32, .45);
  transform: translate(-50%, 190%); transition: transform .35s cubic-bezier(.2, .6, .2, 1); }
.sticky-cta.on { transform: translate(-50%, 0); }
.sticky-cta a { flex: 1 1 auto; text-align: center; padding: 14px 16px; border-radius: 999px;
  font-weight: 800; font-size: 15px; text-decoration: none; color: #fff;
  font-family: 'Noto Sans Sinhala', 'Nunito', sans-serif; white-space: nowrap; }
.sticky-cta .sc-buy { background: var(--maroon); box-shadow: 0 12px 30px rgba(142, 33, 37, .45); }
.sticky-cta .sc-wa { background: #25D366; box-shadow: 0 12px 30px rgba(37, 211, 102, .4); flex: 0 0 auto; }
body { padding-bottom: 150px; }
@media (max-width: 860px) {
  .dream-grid { grid-template-columns: 1fr; max-width: 480px; }
  .sticky-cta a { font-size: 13.5px; padding: 13px 12px; }
}

/* ---- 3D cover ring (hero) ---- */
.hero-ring-stage { position: absolute; inset: 0; perspective: 1200px; display: grid; place-items: center; z-index: 1; transform: translateY(26vh); }
@media (max-width: 720px) { .hero-ring-stage { transform: translateY(24vh); } }
.hero-sec .hero-overlay { background: radial-gradient(closest-side, rgba(247, 245, 241, .97), rgba(247, 245, 241, .9) 60%, rgba(247, 245, 241, 0)); }

/* ---- 3D cover ring showcase ---- */
.pk-showcase { position: relative; height: 300px; max-width: 1060px; margin: 4px auto 34px; }
.pk-ring-stage { position: absolute; inset: 0; perspective: 1100px; display: grid; place-items: center; overflow: visible; }
.pk-ring { position: relative; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.pk-cover { position: absolute; left: 0; top: 0; max-width: none; height: auto; border-radius: 10px;
  backface-visibility: hidden; box-shadow: 0 14px 30px rgba(43, 34, 32, .3); border: 3px solid #fff; background: #fff; }
.pk-ring-floor { position: absolute; left: 50%; bottom: -2px; width: min(560px, 80%); height: 46px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(43, 34, 32, .16), transparent 65%); }
@media (max-width: 720px) { .pk-showcase { height: 220px; margin-bottom: 22px; } }

/* floating decorative shapes (parallax layers) */
.pk-float { position: absolute; border-radius: 50%; opacity: .5; pointer-events: none; will-change: transform; }
.pk-f1 { width: 130px; height: 130px; left: -40px; top: 12%; background: var(--teal-soft); }
.pk-f2 { width: 90px; height: 90px; right: -20px; top: 30%; background: var(--maroon-soft); }
.pk-f3 { width: 60px; height: 60px; left: 8%; bottom: 10%; background: #FCF3DF; }

@media (max-width: 860px) {
  .pk-grid { grid-template-columns: 1fr; max-width: 520px; }
  .pk-sec { padding: 64px 0 70px; }
}
