/* =====================================================================
   Panch-Mahavidya™ Cohort IV — redesigned landing page
   (resources/views/funnel-pmv4/page.blade.php + redesign/*, sections/navbar,
   footer, top-marquee, mobile-cta)

   Built to the client's full-page design reference, using the client's own
   cosmic asset pack (public/funnel/img/pm4/pack/) plus three decorative
   photographs (public/funnel/img/pm4/bg/, credited in CREDITS.txt).

   Loaded ONLY by that page (via @push('funnel-styles')). Every rule is scoped
   to .pm4 or to one of the page's own chrome blocks (.pm4-nav, .pm4-footer,
   .pm4-mcta, .pm4-topline), so the shared funnel.css / pmv4-theme.css and the
   other funnels are untouched. Page-level overrides use :has(#pm4) for the
   same reason — they only match a body that contains this page.

   NOTHING IS HIDDEN HERE FOR THE SAKE OF AN ANIMATION. Entrance states are set
   by pmv4-redesign.js (GSAP) at runtime, so if the script or the CDN fails
   every section is simply visible.
   ===================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────── */
.pm4, .pm4-nav, .pm4-footer, .pm4-mcta, .pm4-topline, .pm4-marq {
    --bg:       #080B24;
    --navy:     #0A1035;
    --navy-2:   #111850;
    --purple:   #4B1E83;
    --violet:   #8B5CF6;
    --gold:     #FFD36A;
    --orange:   #FFAB32;
    --emerald:  #00C896;
    --ink:      #F8F5FF;
    --ink-2:    #DCD6F4;
    --ink-3:    #ABA3D2;
    --line:     rgba(255, 255, 255, .1);
    --grad-gold: linear-gradient(180deg, #FFE7A0 0%, #FFD36A 45%, #FFAB32 100%);
    --grad-text: linear-gradient(180deg, #FFF3C8 0%, #FFD36A 48%, #E39A26 100%);
    --radius:   18px;
    --maxw:     1240px;
    --f-display: 'Cinzel', 'Fraunces', Georgia, serif;
    --f-title:  'Playfair Display', 'Fraunces', Georgia, serif;
    --f-script: 'Great Vibes', 'Playfair Display', cursive;
    --f-body:   'Manrope', system-ui, -apple-system, 'Segoe UI', 'Mukta', sans-serif;
    --f-hindi:  'Mukta', 'Rozha One', 'Noto Sans Devanagari', sans-serif;
    --ease:     cubic-bezier(.22, .8, .24, 1);
}

/* ── Page-level overrides (only on a body that contains this page) ──── */
body.fn.fn--pmv4:has(#pm4) { background: #080B24; color: #F8F5FF; }
body.fn:has(#pm4) .fn-stars { display: none; }
/* No WhatsApp anywhere on this page (client request) — including the
   layout's floating button, which renders whenever a number is configured. */
body.fn:has(#pm4) .fn-wa { display: none !important; }
html.fn-html:has(#pm4) section[id],
html.fn-html:has(#pm4) .fn-formcard[id] { scroll-margin-top: 92px; }

/* ── Base ───────────────────────────────────────────────────────────── */
.pm4 {
    position: relative; background: var(--bg); color: var(--ink);
    font-family: var(--f-body); font-size: 16px; line-height: 1.6;
    overflow-x: clip;                 /* decorative layers never widen the page */
    -webkit-font-smoothing: antialiased;
}
.pm4 *, .pm4 *::before, .pm4 *::after { box-sizing: border-box; }
:where(.pm4) img { max-width: 100%; height: auto; display: block; }
/* Zero-specificity resets, so every component rule below wins over them. */
:where(.pm4) :where(h1, h2, h3, p, ul, ol, figure, blockquote) { margin: 0; padding: 0; }
:where(.pm4) :where(ul, ol) { list-style: none; }
:where(.pm4) a { color: inherit; }
.pm4 :focus-visible, .pm4-nav :focus-visible, .pm4-footer :focus-visible, .pm4-mcta :focus-visible {
    outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px;
}
.pm4-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.pm4-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pm4-ic { width: 1.25em; height: 1.25em; flex: none; }
.pm4-pk { display: block; width: 100%; height: 100%; }

/* ── Type ───────────────────────────────────────────────────────────── */
.pm4-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--f-display); font-weight: 600; font-size: .74rem;
    letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.pm4-head .pm4-eyebrow::before, .pm4-head .pm4-eyebrow::after,
.pm4-eyebrow--lined::before, .pm4-eyebrow--lined::after {
    content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, currentColor);
}
.pm4-head .pm4-eyebrow::after, .pm4-eyebrow--lined::after { transform: scaleX(-1); }
.pm4-eyebrow--dark { color: #A0670E; }
.pm4-h2 {
    font-family: var(--f-title); font-weight: 700;
    font-size: clamp(1.8rem, 1.15rem + 2.2vw, 2.7rem); line-height: 1.15;
    color: var(--ink); margin-top: 8px;
}
.pm4-h2--dark, .pm4-h2--dark span { color: #1A1446; }
.pm4-h2--dark span { display: block; }
.pm4-gold {
    background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--gold);
}
.pm4-lead { color: var(--ink-2); font-size: 1rem; max-width: 680px; margin: 12px auto 0; }
.pm4-lead--dark { color: #4B4672; }
.pm4-head { text-align: center; margin-bottom: 30px; }
.pm4 .pm4-head p { text-align: center; }
.pm4-stars { color: var(--gold); letter-spacing: .25em; margin-top: 6px; font-size: 1.05rem; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.pm4-btn {
    --h: 50px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: var(--h); padding: 0 24px; border-radius: 999px;
    font-family: var(--f-body); font-weight: 800; font-size: .96rem; letter-spacing: .01em;
    text-decoration: none; cursor: pointer; border: 0; position: relative; isolation: isolate;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
    white-space: nowrap;
}
.pm4-btn--rect { border-radius: 10px; }
.pm4-btn .pm4-ic { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.pm4-btn:hover .pm4-ic { transform: translateX(3px); }
.pm4-btn--gold, :is(.pm4, .pm4-nav, .pm4-mcta) .pm4-btn--gold {
    background: var(--grad-gold); color: #1B1240;
    box-shadow: 0 10px 28px -10px rgba(255, 171, 50, .7), inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(160, 90, 0, .25);
}
.pm4-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(255, 171, 50, .85), inset 0 1px 0 rgba(255, 255, 255, .6); }
:is(.pm4) .pm4-btn--navy { color: var(--ink); background: rgba(10, 16, 53, .75); box-shadow: inset 0 0 0 1.5px rgba(139, 92, 246, .7), 0 8px 24px -14px #000; }
:is(.pm4) .pm4-btn--navy:hover { background: rgba(75, 30, 131, .55); transform: translateY(-2px); }
:is(.pm4) .pm4-btn--wa { background: linear-gradient(180deg, #19D98F, #00A86B); color: #fff; box-shadow: 0 10px 28px -10px rgba(0, 200, 150, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
:is(.pm4) .pm4-btn--wa svg { width: 1.25em; height: 1.25em; }
:is(.pm4) .pm4-btn--wa:hover { transform: translateY(-2px); }
.pm4-btn--sm { --h: 42px; padding: 0 18px; font-size: .88rem; }
.pm4-btn--lg { --h: 56px; padding: 0 30px; font-size: 1.02rem; }
.pm4-btn--block { width: 100%; }
.pm4-btn:disabled { opacity: .75; cursor: progress; transform: none; }
/* Animated golden glow: a soft halo that breathes behind the button. */
.pm4-glow::before {
    content: ""; position: absolute; inset: -6px; border-radius: inherit; z-index: -1;
    background: radial-gradient(60% 80% at 50% 50%, rgba(255, 196, 80, .55), transparent 70%);
    filter: blur(10px); opacity: .5; animation: pm4-breathe 3.2s ease-in-out infinite; will-change: opacity;
}
.pm4-pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(255, 220, 130, .55); pointer-events: none; animation: pm4-pulse 2.6s ease-out infinite; will-change: transform, opacity; }

/* ── Top strip + navigation ─────────────────────────────────────────── */
.pm4-topline {
    height: 3px;
    background: linear-gradient(90deg, #B37A12, #FFD36A, #FFF1C4, #FFD36A, #B37A12);
    background-size: 200% 100%; animation: pm4-shimmer 6s linear infinite;
}
.pm4-nav {
    position: sticky; top: 0; z-index: 60;
    background: linear-gradient(180deg, rgba(10, 12, 44, .98), rgba(10, 12, 44, .94));
    
    border-bottom: 1px solid rgba(255, 211, 106, .16);
    font-family: var(--f-body); color: var(--ink); transition: background .3s, box-shadow .3s;
}
.pm4-nav.is-scrolled { background: rgba(8, 11, 36, .96); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
.pm4-nav__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.pm4-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.pm4-brand__logo {
    width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none;
    box-shadow: 0 0 0 2px rgba(255, 211, 106, .85), 0 0 22px -4px rgba(255, 211, 106, .7);
}
.pm4-brand__logo img { width: 36px; height: auto; }
.pm4-brand__txt { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.pm4-brand__txt b { font-family: var(--f-display); font-size: 1.32rem; font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pm4-brand__txt small { margin-top: 2px; font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm4-nav__links { display: flex; gap: 4px; margin: 0 auto; }
.pm4-nav__links a {
    position: relative; padding: 8px 14px; color: var(--ink-2); font-size: .92rem; font-weight: 600; text-decoration: none; transition: color .25s;
}
.pm4-nav__links a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px;
    background: var(--grad-gold); transform: scaleX(0); transition: transform .35s var(--ease);
}
.pm4-nav__links a:hover, .pm4-nav__links a[aria-current="true"] { color: var(--gold); }
.pm4-nav__links a:hover::after, .pm4-nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.pm4-nav__cta { flex: none; border-radius: 10px; }
.pm4-burger {
    display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 211, 106, .35);
    background: rgba(255, 255, 255, .04); cursor: pointer; padding: 0; place-items: center; align-content: center; gap: 5px; flex: none;
}
.pm4-burger span { display: block; width: 20px; height: 2px; margin: 0 auto; border-radius: 2px; background: var(--gold); transition: transform .3s, opacity .3s; }
.pm4-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pm4-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pm4-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.pm4-drawer { border-top: 1px solid var(--line); background: rgba(8, 11, 36, .97); padding: 14px 20px 22px; }
.pm4-drawer[hidden] { display: none; }
.pm4-drawer nav { display: grid; gap: 2px; margin-bottom: 14px; }
.pm4-drawer nav a { padding: 13px 6px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.pm4-drawer nav a[aria-current="true"] { color: var(--gold); }

/* ── Shared decorative layers ───────────────────────────────────────── */
/* Palace arches at a section's edge (a photograph, masked toward centre). */
/* The element carries the mask and the parallax transform; the photo sits on
   ::before so the right-hand copy can be mirrored without the two
   transforms fighting. */
.pm4-arch {
    position: absolute; top: 0; bottom: 0; width: 30%; pointer-events: none; opacity: .5;
}
.pm4-arch::before {
    content: ""; position: absolute; inset: 0;
    background: url("../img/pm4/bg/palace-1600.webp") 0% 50% / cover no-repeat;
    filter: saturate(1.15) brightness(.85);
}
.pm4-arch--l { left: 0; -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%); }
.pm4-arch--r { right: 0; -webkit-mask-image: linear-gradient(270deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%); mask-image: linear-gradient(270deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%); }
.pm4-arch--r::before { transform: scaleX(-1); }
.pm4-arch--soft { opacity: .32; }
.pm4-foliage {
    position: absolute; bottom: -40px; width: 34%; height: 46%; pointer-events: none;
    background: url("../img/pm4/bg/foliage-1000.webp") center / cover no-repeat; opacity: .55;
    -webkit-mask-image: radial-gradient(ellipse at bottom, #000 25%, transparent 70%); mask-image: radial-gradient(ellipse at bottom, #000 25%, transparent 70%);
}
.pm4-foliage--l { left: -6%; -webkit-mask-image: radial-gradient(ellipse at 0% 100%, #000 20%, transparent 68%); mask-image: radial-gradient(ellipse at 0% 100%, #000 20%, transparent 68%); }
.pm4-foliage--r { right: -6%; transform: scaleX(-1); -webkit-mask-image: radial-gradient(ellipse at 0% 100%, #000 20%, transparent 68%); mask-image: radial-gradient(ellipse at 0% 100%, #000 20%, transparent 68%); }
.pm4-particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.pm4-spin { animation: pm4-spin 120s linear infinite; transform-origin: 50% 50%; will-change: transform; }
.pm4-spin--slow { animation-duration: 200s; }
.pm4-float { animation: pm4-float 6s ease-in-out infinite; animation-delay: var(--d, 0s); will-change: transform; }
.pm4-orb { position: absolute; border-radius: 50%; }
.pm4-orb--1 { width: 22px; height: 22px; left: 30%; top: 82%; background: radial-gradient(circle at 35% 30%, #FFF1C4, #E8A93A 60%, #7A4E10); box-shadow: 0 0 24px rgba(255, 196, 80, .65); animation: pm4-float 7s ease-in-out infinite; }
.pm4-orb--2 { width: 9px; height: 9px; right: 30%; top: 12%; background: #FFE59A; box-shadow: 0 0 16px #FFD36A; animation: pm4-float 9s ease-in-out infinite -2s; }
.pm4-orb--3 { width: 26px; height: 26px; right: 2%; top: 56%; background: radial-gradient(circle at 35% 30%, #D9C8FF, #8B5CF6 55%, #3A1A73); box-shadow: 0 0 30px rgba(139, 92, 246, .6); animation: pm4-float 11s ease-in-out infinite -4s; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.pm4-hero { position: relative; padding: 34px 0 26px; isolation: isolate; overflow: hidden; }
.pm4-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pm4-hero__field { will-change: transform;
    position: absolute; inset: -8% 0;
    background:
        radial-gradient(38% 52% at 50% 30%, rgba(255, 186, 70, .26), transparent 70%),
        radial-gradient(40% 50% at 82% 30%, rgba(139, 92, 246, .35), transparent 70%),
        linear-gradient(180deg, rgba(8, 11, 36, .2), rgba(8, 11, 36, .65)),
        url("../img/pm4/pack/bg/hero_cosmic_navy_purple.webp") center / cover no-repeat,
        #0A0E33;
}
.pm4-hero__grid {
    display: grid; align-items: center; column-gap: 22px; row-gap: 14px;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .86fr) minmax(310px, .78fr);
    grid-template-areas: "copy portrait form";
}
.pm4-hero__copy { grid-area: copy; position: relative; z-index: 2; }
.pm4-hero__eyebrow { font-family: var(--f-display); font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.pm4-hero__title { font-family: var(--f-display); font-weight: 800; line-height: .98; margin: 0; }
.pm4-hero__brand {
    display: block; font-size: clamp(2.4rem, 1rem + 3.4vw, 4.2rem); letter-spacing: .01em; text-transform: uppercase;
    background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 18px rgba(255, 171, 50, .35)) drop-shadow(0 2px 0 rgba(90, 50, 0, .45));
}
.pm4-hero__line { display: block; white-space: nowrap; background: inherit; -webkit-background-clip: text; background-clip: text; }
.pm4-hero__line--1 { font-size: .9em; }
.pm4-hero__brand sup { font-size: .3em; vertical-align: super; -webkit-text-fill-color: var(--gold); }
.pm4-hero__brand .pm4-char { display: inline-block; background: inherit; -webkit-background-clip: text; background-clip: text; }
.pm4-hero__cohort {
    display: flex; align-items: center; gap: 14px; margin-top: 10px; max-width: 470px;
    font-family: var(--f-display); font-size: clamp(.95rem, .8rem + .45vw, 1.2rem); letter-spacing: .42em; font-weight: 700; color: var(--ink);
}
.pm4-hero__cohort::before, .pm4-hero__cohort::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.pm4-hero__cohort::after { transform: scaleX(-1); }
.pm4-hero__hindi { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); }
.pm4-hero__hindi [lang="hi"] { font-family: var(--f-hindi); font-weight: 700; color: var(--gold); }
.pm4-hero__sep { color: var(--orange); }
.pm4-hero__hindi-en { font-family: var(--f-title); font-weight: 600; color: #FFE59A; }
.pm4-hero__lead { margin-top: 14px; color: var(--ink-2); font-size: .98rem; max-width: 470px; }
.pm4-hero__lead strong { color: var(--gold); font-weight: 700; }
.pm4-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.pm4-hero__ctas .pm4-btn { padding: 0 20px; }
.pm4-hero__mentorchip { display: none; align-items: center; gap: 12px; margin-top: 20px; }
.pm4-hero__mentorchip img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 2px var(--gold); }
.pm4-hero__mentorchip span { display: flex; flex-direction: column; font-size: .8rem; color: var(--ink-3); }
.pm4-hero__mentorchip b { color: var(--ink); font-size: .98rem; }

.pm4-hero__portrait { grid-area: portrait; position: relative; align-self: stretch; margin: -20px -70px 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.pm4-hero__mandala { position: absolute; left: 50%; top: -4%; width: 92%; max-width: 440px; translate: -50% 0; opacity: .75; filter: drop-shadow(0 0 18px rgba(255, 196, 80, .35)); }
.pm4-hero__halo { position: absolute; left: 50%; top: 16%; width: 64%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 80, .42), rgba(255, 171, 50, .08) 55%, transparent 72%); filter: blur(10px); animation: pm4-breathe 6s ease-in-out infinite; will-change: opacity; }
.pm4-hero__img {
    position: relative; width: 100%; aspect-ratio: 1 / 1.04; height: auto; object-fit: cover; object-position: 56% 18%;
    -webkit-mask-image: radial-gradient(closest-side ellipse at 50% 42%, #000 66%, rgba(0, 0, 0, .55) 84%, transparent 100%), linear-gradient(180deg, #000 72%, transparent 100%);
    -webkit-mask-composite: source-in; mask-image: radial-gradient(closest-side ellipse at 50% 42%, #000 66%, rgba(0, 0, 0, .55) 84%, transparent 100%), linear-gradient(180deg, #000 72%, transparent 100%);
    mask-composite: intersect;
}
.pm4-namecard { position: relative; margin-top: -86px; display: grid; justify-items: center; gap: 0; text-align: center; padding-bottom: 6px; }
.pm4-namecard__sig { font-family: var(--f-script); font-size: clamp(1.9rem, 1.2rem + 1.4vw, 2.6rem); line-height: 1.1; color: #FFE7A6; text-shadow: 0 2px 14px rgba(0, 0, 0, .8), 0 0 18px rgba(255, 196, 80, .35); transform: rotate(-4deg); }
.pm4-namecard__role { margin-top: 2px; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); font-weight: 800; text-shadow: 0 2px 8px #000; }
.pm4-namecard__tags { font-size: .7rem; color: var(--ink-2); text-shadow: 0 2px 8px #000; }

/* The form card: deep violet glass with a glowing violet border. */
.pm4-formwrap { grid-area: form; position: relative; z-index: 3; align-self: center; padding-top: 14px; }
.pm4-form {
    position: relative; border-radius: 18px; padding: 22px 18px 14px;
    background: linear-gradient(180deg, rgba(46, 24, 112, .9), rgba(20, 14, 66, .94));
    
    box-shadow: 0 0 0 1.5px rgba(167, 120, 255, .95), 0 0 36px -4px rgba(139, 92, 246, .75), 0 30px 60px -30px rgba(0, 0, 0, .9);
}
@property --pm4-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
/* Stated at .pm4 .pm4-form.fn-formcard specificity: pmv4-theme.css turns
   .fn-formcard::before into a 1px gold rule across the top (height 1px,
   opacity .5), which otherwise wins and shows as a stray line behind the tag. */
.pm4 .pm4-form.fn-formcard::before {
    content: ""; position: absolute; inset: -1.5px; height: auto; opacity: 1; border-radius: inherit; padding: 1.5px; pointer-events: none;
    background: conic-gradient(from var(--pm4-a), transparent 0 70%, #FFD36A 82%, transparent 94%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: pm4-border 6s linear infinite;
}
.pm4 .pm4-form.fn-formcard { overflow: visible; }   /* the theme clips .fn-formcard; the tag sits on its edge */
.pm4-form__tag {
    position: absolute; top: 0; left: 50%; translate: -50% -50%; white-space: nowrap;
    padding: 4px 14px; border-radius: 999px; background: var(--grad-gold); color: #1B1240;
    font-size: .64rem; font-weight: 800; letter-spacing: .04em; box-shadow: 0 6px 18px -6px rgba(255, 171, 50, .8);
}
.pm4-form__head { text-align: center; margin-bottom: 10px; }
.pm4-form__title { font-family: var(--f-title); font-weight: 700; font-size: 1.45rem; line-height: 1.15; color: var(--ink); }
.pm4-form__sub { color: var(--ink-3); font-size: .74rem; margin-top: 2px; letter-spacing: .01em; }

/* The session as a ticket stub: three tiles, perforated edge underneath. */
.pm4-ticket {
    position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 14px;
    border-radius: 12px; background: rgba(8, 6, 32, .55); box-shadow: inset 0 0 0 1px rgba(255, 211, 106, .3);
}
.pm4-ticket::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -8px; border-bottom: 1.5px dashed rgba(255, 211, 106, .28); }
.pm4-ticket__cell { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 5px; padding: 7px 4px; text-align: left; font-size: .66rem; font-weight: 700; line-height: 1.25; color: #FFE9B0; }
.pm4-ticket__cell + .pm4-ticket__cell { box-shadow: -1px 0 0 rgba(255, 211, 106, .2); }
.pm4-ticket__cell .pm4-ic { width: 14px; height: 14px; color: var(--gold); }

/* Dark glass fields with gold icons and a gold focus glow. */
.pm4-field { position: relative; margin-bottom: 7px; }
.pm4-field__ic { position: absolute; left: 12px; top: 0; height: 40px; display: grid; place-items: center; color: var(--gold); opacity: .85; pointer-events: none; z-index: 1; transition: opacity .2s; }
.pm4-field__ic .pm4-ic { width: 16px; height: 16px; }
.pm4-field:focus-within .pm4-field__ic { opacity: 1; }
.pm4 .pm4-form .pm4-input {
    width: 100%; height: 40px; border-radius: 10px; border: 1px solid rgba(167, 120, 255, .38);
    background: rgba(255, 255, 255, .06); color: var(--ink); font-family: var(--f-body); font-size: .86rem; font-weight: 600;
    padding: 0 12px 0 38px; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
.pm4 .pm4-form .pm4-input::placeholder { color: rgba(220, 214, 244, .62); font-weight: 500; }
.pm4 .pm4-form .pm4-input:hover { border-color: rgba(167, 120, 255, .6); }
.pm4 .pm4-form .pm4-input:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 4px rgba(255, 211, 106, .16), 0 0 22px -6px rgba(255, 196, 80, .6); }
.pm4 .pm4-form .pm4-input[aria-invalid="true"] { border-color: #FF6B81; box-shadow: 0 0 0 4px rgba(255, 107, 129, .18); }
/* Browser autofill would otherwise paint the dark field pale yellow. */
.pm4 .pm4-form .pm4-input:-webkit-autofill { -webkit-text-fill-color: #F8F5FF; box-shadow: 0 0 0 40px #24145E inset; caret-color: #F8F5FF; }
.pm4 .pm4-form select.pm4-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD36A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; cursor: pointer;
}
.pm4 .pm4-form select.pm4-select option { background: #1B1150; color: #F8F5FF; }
.pm4-field--phone .iti { width: 100%; display: block; }
.pm4 .pm4-field--phone .iti--separate-dial-code .pm4-input { padding-left: 92px !important; }
.pm4 .pm4-field--phone .iti__selected-flag { border-radius: 10px 0 0 10px; background: rgba(255, 211, 106, .1); border-right: 1px solid rgba(167, 120, 255, .3); }
.pm4 .pm4-field--phone .iti__selected-dial-code { color: var(--ink); font-weight: 700; }
.pm4 .pm4-field--phone .iti__arrow { border-top-color: var(--gold); }
.pm4 .pm4-field--phone .iti__arrow--up { border-bottom-color: var(--gold); border-top-color: transparent; }
.pm4 .pm4-field--phone .iti__country-list { color: #1B1440; background: #fff; border-radius: 10px; }
.pm4-err { display: block; font-size: .75rem; color: #FF9AAB; margin: 4px 4px 0; }
.pm4-err:empty { display: none; }
.pm4-alert { border-radius: 10px; font-size: .88rem; margin-bottom: 12px; }

/* The button, with a light sweeping across it every few seconds. */
.pm4-form .fn-submit { margin-top: 4px; min-height: 44px; font-size: .95rem; overflow: hidden; }
.pm4-form .fn-submit::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: translateX(-160%) skewX(-20deg); animation: pm4-sweep 3.6s ease-in-out infinite; will-change: transform;
}
.pm4-form__pay { margin-top: 10px; text-align: center; font-size: .76rem; color: var(--ink-2); }
.pm4-form__trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, .08); }
.pm4-form__trust li { display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 600; color: var(--ink-3); }
.pm4-form__trust .pm4-ic { width: 14px; height: 14px; color: var(--emerald); }

/* ── Stats band ─────────────────────────────────────────────────────── */
.pm4-stats { position: relative; z-index: 2; background: linear-gradient(180deg, #0C1238, #0A0F30); border-block: 1px solid rgba(255, 211, 106, .3); box-shadow: 0 -10px 30px -20px rgba(255, 196, 80, .4); }
.pm4-stats__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.pm4-stat { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 20px 12px; position: relative; }
.pm4-stat + .pm4-stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(180deg, transparent, rgba(255, 211, 106, .5), transparent); }
.pm4-stat__ic { width: 52px; height: 52px; flex: none; filter: drop-shadow(0 0 12px rgba(255, 196, 80, .55)); }
.pm4-stat__txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.pm4-stat__txt b { font-family: var(--f-title); font-size: 1.18rem; color: var(--ink); }
.pm4-stat__txt small { color: var(--ink-3); font-size: .74rem; }

/* ── Sections ───────────────────────────────────────────────────────── */
.pm4-section { position: relative; padding: 58px 0; isolation: isolate; }
.pm4-section__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.pm4-section__bg--temple {
    background:
        radial-gradient(45% 55% at 50% 0%, rgba(139, 92, 246, .3), transparent 70%),
        linear-gradient(180deg, rgba(8, 11, 36, .3), rgba(8, 11, 36, .7)),
        url("../img/pm4/pack/bg/section_midnight_blue.webp") center / cover no-repeat, #0A0E33;
}

/* Pointer-following glow on cards. */
[data-pm4-glow] { --mx: 50%; --my: 50%; }
[data-pm4-glow]::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(240px circle at var(--mx) var(--my), rgba(255, 255, 255, .14), transparent 60%);
    transition: opacity .35s;
}
[data-pm4-glow]:hover::after { opacity: 1; }

/* ── Five Vidyas ────────────────────────────────────────────────────── */
.pm4-vidyas { padding-bottom: 96px; }   /* room under the cards for their glow before the next band */
.pm4-vidyas__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.pm4-vidya {
    --tone: #FFB43A; --tone-2: #FFE6A8; --deep: #4A2306;
    position: relative; border-radius: 18px; padding: 16px 16px 24px; text-align: center; overflow: hidden; min-height: 340px;
    background:
        radial-gradient(90% 55% at 50% 28%, color-mix(in srgb, var(--tone) 55%, transparent), transparent 72%),
        linear-gradient(180deg, color-mix(in srgb, var(--deep) 92%, var(--tone)) 0%, #0B0A26 100%);
    box-shadow: inset 0 0 0 2px var(--tone), inset 0 0 26px -4px var(--tone), 0 0 30px -8px var(--tone), 0 24px 50px -26px #000;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pm4-vidya:hover {
    transform: translateY(-10px);
    box-shadow: inset 0 0 0 2px var(--tone-2), inset 0 0 34px -2px var(--tone), 0 0 50px -6px var(--tone), 0 30px 60px -24px #000;
}
.pm4-vidya__art { display: block; width: 168px; height: 168px; margin: 0 auto 8px; filter: drop-shadow(0 0 16px color-mix(in srgb, var(--tone) 70%, transparent)); }
.pm4-vidya__img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.pm4-vidya:hover .pm4-vidya__img { transform: scale(1.05) rotate(-2deg); }
.pm4-vidya__title { position: relative; font-family: var(--f-title); font-size: 1.32rem; font-weight: 700; line-height: 1.15; color: var(--tone-2); text-shadow: 0 0 18px color-mix(in srgb, var(--tone) 70%, transparent); }
.pm4-vidya__text { position: relative; margin-top: 10px; font-size: .85rem; color: #F2EEFF; line-height: 1.5; }
.pm4-tone--gold   { --tone: #FFB43A; --tone-2: #FFE6A8; --deep: #5A2A06; }
.pm4-tone--blue   { --tone: #2FA8FF; --tone-2: #CDEBFF; --deep: #062A5E; }
.pm4-tone--violet { --tone: #A866FF; --tone-2: #E9D7FF; --deep: #2E0B66; }
.pm4-tone--green  { --tone: #1FD69B; --tone-2: #C4F7E4; --deep: #053D2E; }
.pm4-tone--red    { --tone: #FF4664; --tone-2: #FFD0D7; --deep: #5E0A1A; }

/* ── Highlights ─────────────────────────────────────────────────────── */
.pm4-highlights { background: radial-gradient(60% 60% at 50% 0%, rgba(75, 30, 131, .4), transparent 70%), linear-gradient(180deg, #0A0E33, #080B24); padding-top: 50px; padding-bottom: 84px; }
.pm4-hl__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pm4-hl {
    position: relative; display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 16px;
    background: linear-gradient(160deg, rgba(30, 26, 96, .75), rgba(12, 14, 48, .85));
    box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .45), 0 16px 40px -28px #000;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pm4-hl:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(255, 211, 106, .6), 0 22px 46px -26px rgba(139, 92, 246, .8); }
.pm4-hl__ic {
    width: 60px; height: 60px; border-radius: 50%; flex: none; display: grid; place-items: center; padding: 14px;
    background: radial-gradient(circle, rgba(255, 211, 106, .14), rgba(10, 12, 44, .9) 70%);
    box-shadow: inset 0 0 0 1.5px rgba(255, 211, 106, .7), 0 0 22px -6px rgba(255, 196, 80, .8);
}
.pm4-hl__title { font-weight: 800; font-size: 1rem; color: var(--ink); }
.pm4-hl__text { margin-top: 4px; font-size: .86rem; color: var(--ink-2); line-height: 1.5; }

/* ── Also in this course (specialised modules) ──────────────────────── */
.pm4-spec {
    padding-top: 64px; padding-bottom: 88px;
    background:
        radial-gradient(55% 45% at 50% 55%, rgba(255, 180, 58, .09), transparent 70%),
        radial-gradient(70% 60% at 50% 0%, rgba(75, 30, 131, .45), transparent 72%),
        linear-gradient(180deg, #0B0F33, #080B24);
}
.pm4-spec::before {   /* a gold hairline where the band starts */
    content: ""; position: absolute; top: 0; left: 50%; width: min(720px, 80%); height: 1px; translate: -50% 0;
    background: linear-gradient(90deg, transparent, rgba(255, 211, 106, .7), transparent);
}
.pm4-spec__wheel {
    position: absolute; left: 50%; top: 58%; width: min(920px, 120vw); aspect-ratio: 1; translate: -50% -50%;
    opacity: .07;
}
.pm4-spec__count {
    display: inline-flex; align-items: center; gap: 8px; margin: 14px auto 0; padding: 7px 18px; border-radius: 999px;
    font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
    background: rgba(255, 211, 106, .08); box-shadow: inset 0 0 0 1px rgba(255, 211, 106, .45);
}
.pm4-spec__count b { font-family: var(--f-display); font-size: 1.05rem; letter-spacing: 0; color: var(--gold); }
/* Flex, not grid, so a short last row sits centred under the others. */
.pm4-spec__grid {
    --cols: 3; --gap: 16px;
    display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap);
    list-style: none; margin: 0; padding: 0;
}
.pm4-spec__item {
    position: relative; overflow: hidden; flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
    display: flex; align-items: center; gap: 16px; min-height: 96px; padding: 18px 20px 18px 18px; border-radius: 16px;
    background: linear-gradient(150deg, rgba(36, 24, 104, .78), rgba(12, 14, 48, .9) 70%);
    box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .42), 0 16px 40px -28px #000;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pm4-spec__item::before {   /* gold edge on the left, brightening on hover */
    content: ""; position: absolute; left: 0; top: 16%; bottom: 16%; width: 3px; border-radius: 0 3px 3px 0;
    background: var(--grad-gold); opacity: .55; transition: opacity .4s, top .4s var(--ease), bottom .4s var(--ease);
}
.pm4-spec__item:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(255, 211, 106, .6), 0 22px 46px -26px rgba(139, 92, 246, .85); }
.pm4-spec__item:hover::before { opacity: 1; top: 0; bottom: 0; }
.pm4-spec__num {
    position: absolute; right: 14px; top: 8px; font-family: var(--f-display); font-size: 1.9rem; font-weight: 800; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 211, 106, .35); pointer-events: none;
}
.pm4-spec__ic {
    width: 54px; height: 54px; flex: none; display: grid; place-items: center; padding: 12px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 211, 106, .16), rgba(10, 12, 44, .9) 70%);
    box-shadow: inset 0 0 0 1.5px rgba(255, 211, 106, .7), 0 0 20px -6px rgba(255, 196, 80, .8);
}
.pm4-spec__body { min-width: 0; padding-right: 34px; }
.pm4-spec__title { font-weight: 800; font-size: .98rem; line-height: 1.3; color: var(--ink); }
.pm4-spec__text { margin-top: 4px; font-size: .84rem; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 1024px) { .pm4-spec__grid { --cols: 2; } }
@media (max-width: 640px) {
    .pm4-spec { padding-top: 52px; padding-bottom: 64px; }
    .pm4-spec__grid { --cols: 1; --gap: 12px; }
    .pm4-spec__item { min-height: 0; padding: 14px 16px; }
    .pm4-spec__ic { width: 46px; height: 46px; padding: 10px; }
    .pm4-spec__num { font-size: 1.5rem; }
}
/* ── Everything you get (bento grid) ────────────────────────────────── */
.pm4-incl {
    padding-top: 34px;
    background:
        radial-gradient(50% 40% at 50% 62%, rgba(139, 92, 246, .16), transparent 72%),
        linear-gradient(180deg, #080B24, #0B0F33);
}
.pm4-incl__grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
    list-style: none; margin: 0; padding: 0;
}
.pm4-incl__card {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; gap: 16px; min-height: 196px; padding: 22px 22px 20px; border-radius: 20px;
    background:
        radial-gradient(120% 70% at 0% 0%, rgba(139, 92, 246, .28), transparent 60%),
        linear-gradient(160deg, rgba(30, 22, 92, .85), rgba(11, 13, 44, .94));
    box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .4), 0 18px 44px -30px #000;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pm4-incl__card::before {   /* gold hairline across the top, lit on hover */
    content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 211, 106, .75), transparent); opacity: .45; transition: opacity .4s;
}
.pm4-incl__card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255, 211, 106, .55), 0 26px 50px -28px rgba(139, 92, 246, .9); }
.pm4-incl__card:hover::before { opacity: 1; }
.pm4-incl__num {
    position: absolute; right: 16px; top: 10px; z-index: -1;
    font-family: var(--f-display); font-size: 3.2rem; font-weight: 800; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 211, 106, .22);
}
.pm4-incl__ic {
    width: 58px; height: 58px; flex: none; display: grid; place-items: center; padding: 13px; border-radius: 16px;
    background: radial-gradient(circle at 50% 30%, #6A2FC0, #2A1170 62%, #160B4A);
    box-shadow: inset 0 0 0 1.5px rgba(255, 211, 106, .7), 0 10px 26px -10px rgba(168, 102, 255, .9);
    transition: transform .4s var(--ease);
}
.pm4-incl__card:hover .pm4-incl__ic { transform: rotate(-6deg) scale(1.06); }
.pm4-incl__ic .pm4-pk { width: 100%; height: 100%; }
.pm4-incl__body { display: flex; flex-direction: column; flex: 1; }
.pm4-incl__title { font-weight: 800; font-size: 1.04rem; line-height: 1.25; color: var(--ink); }
.pm4-incl__sub { margin-top: 5px; font-size: .86rem; line-height: 1.45; color: var(--ink-2); }
.pm4-incl__tag {
    display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; align-self: flex-start;
    font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #7FE3C0;
}
.pm4-incl__tag svg { width: 13px; height: 13px; }

/* The feature card: two columns wide, gold-edged, seal-sized icon, mandala behind. */
.pm4-incl__card--feature {
    grid-column: span 2; flex-direction: row; align-items: center; gap: 26px; padding: 28px 30px;
    background:
        radial-gradient(70% 90% at 100% 50%, rgba(255, 180, 58, .18), transparent 65%),
        radial-gradient(120% 80% at 0% 0%, rgba(139, 92, 246, .32), transparent 60%),
        linear-gradient(150deg, #2A1676, #120F45 60%, #0D0D38);
    box-shadow: inset 0 0 0 1.5px rgba(255, 211, 106, .55), 0 0 40px -14px rgba(255, 180, 58, .5), 0 22px 50px -30px #000;
}
.pm4-incl__card--feature::before { opacity: .9; }
.pm4-incl__mandala {
    position: absolute; right: -70px; top: 50%; width: 300px; height: 300px; translate: 0 -50%; z-index: -1;
    opacity: .22; pointer-events: none;
}
.pm4-incl__card--feature .pm4-incl__ic {
    width: 104px; height: 104px; padding: 24px; border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, #3A1C8C, #170C4C 70%);
    box-shadow: inset 0 0 0 2px #FFD36A, 0 0 0 6px rgba(255, 211, 106, .16), 0 0 34px -4px rgba(255, 180, 58, .75);
}
.pm4-incl__card--feature .pm4-incl__title { font-family: var(--f-title); font-size: 1.7rem; font-weight: 700; color: #FFE7A0; }
.pm4-incl__card--feature .pm4-incl__sub { font-size: .98rem; }
.pm4-incl__card--feature .pm4-incl__num { font-size: 4.4rem; -webkit-text-stroke-color: rgba(255, 211, 106, .3); }

/* ── Mentor ─────────────────────────────────────────────────────────── */
.pm4-mentor { background: radial-gradient(45% 60% at 62% 45%, rgba(255, 171, 50, .18), transparent 70%), radial-gradient(40% 50% at 10% 80%, rgba(75, 30, 131, .5), transparent 70%), url("../img/pm4/pack/bg/hero_cosmic_navy_purple.webp") center / cover no-repeat, #090C2A; overflow: hidden; padding: 56px 0 40px; }
.pm4-mentor__bg { position: absolute; inset: 0; pointer-events: none; }
.pm4-mentor__grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr) minmax(200px, .5fr); gap: 28px; align-items: center; }
.pm4-mentor__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, .9rem + 2.2vw, 2.85rem); line-height: 1.05; margin-top: 8px; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; filter: drop-shadow(0 3px 12px rgba(255, 171, 50, .3)); }
.pm4-mentor__role { margin-top: 6px; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); font-weight: 700; }
.pm4-mentor__bio { margin-top: 14px; color: var(--ink-2); font-size: .94rem; }
.pm4-mentor__bio strong { color: #FFE59A; font-weight: 700; }
/* Gold first-in-India banner between the bio and the point tiles. */
.pm4-pioneer {
    position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 16px 20px 16px 16px; border-radius: 16px;
    background: radial-gradient(80% 140% at 0% 50%, rgba(255, 180, 58, .26), transparent 60%), linear-gradient(120deg, rgba(74, 40, 10, .55), rgba(30, 20, 80, .7) 55%, rgba(14, 14, 50, .8));
    box-shadow: inset 0 0 0 1.5px rgba(255, 211, 106, .7), 0 0 34px -12px rgba(255, 180, 58, .7);
}
.pm4-pioneer::after {   /* one soft sheen across the banner, on hover only */
    content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-120%) skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 236, 180, .18), transparent);
}
.pm4-pioneer:hover::after { transition: transform .9s ease; transform: translateX(120%) skewX(-18deg); }
.pm4-pioneer__ic {
    width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #1B1240;
    background: radial-gradient(circle at 50% 32%, #FFE7A0, #FFB43A 60%, #B8740F);
    box-shadow: 0 0 0 5px rgba(255, 211, 106, .15), 0 10px 26px -8px rgba(255, 171, 50, .8);
}
.pm4-pioneer__ic svg { width: 28px; height: 28px; }
.pm4-pioneer__txt { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.pm4-pioneer__badge {
    padding: 3px 10px; margin-bottom: 6px; border-radius: 999px; font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
    color: #1B1240; background: var(--grad-gold);
}
.pm4-pioneer__txt b { font-family: var(--f-title); font-size: 1.18rem; font-weight: 700; line-height: 1.25; color: #FFE7A0; }
.pm4-pioneer__txt small { margin-top: 3px; font-size: .86rem; line-height: 1.45; color: var(--ink-2); }
/* Mentor points: four glass tiles, two by two. */
.pm4-mpoints { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.pm4-mpoint {
    position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
    background: linear-gradient(150deg, rgba(46, 26, 112, .62), rgba(14, 12, 50, .78));
    box-shadow: inset 0 0 0 1px rgba(255, 211, 106, .26), 0 12px 28px -20px #000;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pm4-mpoint:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255, 211, 106, .6), 0 16px 34px -20px rgba(139, 92, 246, .8); }
.pm4-mpoint__ic {
    width: 44px; height: 44px; flex: none; border-radius: 50%; padding: 9px;
    background: radial-gradient(circle, rgba(255, 211, 106, .18), rgba(10, 12, 44, .9) 72%);
    box-shadow: inset 0 0 0 1.5px rgba(255, 211, 106, .65), 0 0 18px -5px rgba(255, 196, 80, .8);
}
.pm4-mpoint__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.pm4-mpoint__txt b { font-size: .9rem; font-weight: 800; color: var(--ink); }
.pm4-mpoint__txt small { margin-top: 2px; font-size: .74rem; color: var(--ink-3); }
/* Secondary button: gold outline on dark glass, fills gold on hover. */
:is(.pm4) .pm4-btn--outline {
    color: var(--gold); background: rgba(10, 12, 44, .55);
    box-shadow: inset 0 0 0 1.5px rgba(255, 211, 106, .75), 0 0 22px -8px rgba(255, 196, 80, .6);
}
:is(.pm4) .pm4-btn--outline:hover { color: #1B1240; background: var(--grad-gold); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(255, 171, 50, .75); }
.pm4-mentor__cta { margin-top: 22px; }
.pm4-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--gold); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255, 211, 106, .4); padding-bottom: 2px; }
.pm4-link .pm4-ic { transition: transform .3s var(--ease); }
.pm4-link:hover .pm4-ic { transform: translateX(3px); }
.pm4-mentor__photo { position: relative; align-self: end; margin-bottom: -70px; }
.pm4-mentor__mandala { position: absolute; left: 50%; top: -6%; width: 104%; translate: -50% 0; opacity: .7; filter: drop-shadow(0 0 18px rgba(255, 196, 80, .3)); }
.pm4-mentor__img {
    position: relative; width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; object-position: 55% 18%;
    -webkit-mask-image: radial-gradient(closest-side ellipse at 50% 42%, #000 68%, rgba(0, 0, 0, .5) 86%, transparent 100%), linear-gradient(180deg, #000 74%, transparent 100%);
    -webkit-mask-composite: source-in; mask-image: radial-gradient(closest-side ellipse at 50% 42%, #000 68%, rgba(0, 0, 0, .5) 86%, transparent 100%), linear-gradient(180deg, #000 74%, transparent 100%);
    mask-composite: intersect;
}
.pm4-mentor__plate { position: relative; margin: -64px auto 80px; width: max-content; max-width: 92%; text-align: center; padding: 10px 22px; border-radius: 10px; background: linear-gradient(180deg, #16207A, #0A1035); box-shadow: inset 0 0 0 1.5px rgba(255, 211, 106, .6), 0 14px 30px -14px #000; }
.pm4-mentor__plate b { display: block; font-family: var(--f-display); color: var(--gold); letter-spacing: .14em; font-size: .9rem; text-transform: uppercase; }
.pm4-mentor__plate span { font-size: .72rem; color: var(--ink-2); }
.pm4-mentor__traits { display: grid; gap: 22px; }
.pm4-mentor__traits li { display: flex; align-items: center; gap: 14px; }
.pm4-trait__ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex: none; padding: 12px; background: radial-gradient(circle, rgba(255, 211, 106, .16), rgba(10, 12, 44, .9) 70%); box-shadow: inset 0 0 0 1.5px rgba(255, 211, 106, .7), 0 0 22px -4px rgba(255, 196, 80, .75); transition: transform .35s var(--ease); }
.pm4-mentor__traits li:hover .pm4-trait__ic { transform: scale(1.08) rotate(-6deg); }
.pm4-mentor__traits b { display: block; font-size: .9rem; color: var(--ink); }
.pm4-mentor__traits small { color: var(--ink-3); font-size: .76rem; }

/* ── Credibility (light band) ───────────────────────────────────────── */
.pm4-cred { background: linear-gradient(180deg, #FFFDF8, #F6F0E2); color: #1A1446; padding: 56px 0; }
.pm4-cred::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 15% 50%, rgba(255, 196, 80, .2), transparent 70%); pointer-events: none; }
.pm4-cred__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.pm4-cred__cert { position: relative; max-width: 440px; margin: 0 auto; transform: rotate(-2.5deg); transition: transform .6s var(--ease); }
.pm4-cred__cert:hover { transform: rotate(0deg) scale(1.02); }
.pm4-cred__cert::before { content: ""; position: absolute; inset: 6% -6% -6% 6%; border-radius: 10px; background: linear-gradient(135deg, #0A1035, #24306E); z-index: -1; transform: rotate(5deg); }
.pm4-cred__cert img { border-radius: 8px; box-shadow: 0 34px 70px -30px rgba(10, 16, 53, .55); }
.pm4-cred__text { margin-top: 14px; color: #3F3A66; font-size: .98rem; max-width: 560px; }
.pm4-cred__badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.pm4-cred__badges li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: #fff; box-shadow: 0 10px 26px -18px rgba(10, 16, 53, .45), inset 0 0 0 1px rgba(160, 103, 14, .2); }
.pm4-cred__ic { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #0A1035; color: var(--gold); box-shadow: 0 0 0 2px rgba(255, 211, 106, .55); }
.pm4-cred__badges b { display: block; font-size: .84rem; color: #1A1446; }
.pm4-cred__badges small { font-size: .72rem; color: #5A5580; }

/* ── Acharyas carousel ──────────────────────────────────────────────── */
.pm4-alumni { background: radial-gradient(50% 50% at 50% 0%, rgba(139, 92, 246, .32), transparent 70%), url("../img/pm4/pack/bg/section_midnight_blue.webp") center / cover no-repeat, #080B24; padding: 56px 0; }
.pm4-carousel { position: relative; display: flex; align-items: center; gap: 14px; }
.pm4-carousel__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 22px) / 3); gap: 22px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
    padding: 14px 4px 20px; flex: 1; min-width: 0; scrollbar-width: none;
}
.pm4-carousel__track::-webkit-scrollbar { display: none; }
.pm4-acharya {
    scroll-snap-align: start; border-radius: 16px; padding: 22px 22px 20px;
    background: linear-gradient(160deg, rgba(48, 26, 120, .75), rgba(16, 14, 58, .9));
    box-shadow: inset 0 0 0 1.5px rgba(168, 102, 255, .7), 0 0 26px -10px rgba(139, 92, 246, .9);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pm4-acharya:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1.5px rgba(255, 211, 106, .7), 0 0 34px -8px rgba(139, 92, 246, 1); }
.pm4-acharya__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pm4-acharya__photo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 2px var(--gold), 0 0 18px -4px rgba(255, 196, 80, .8); background: #111850; }
.pm4-acharya__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.pm4-acharya__stars { color: var(--gold); letter-spacing: .18em; font-size: .95rem; }
.pm4-acharya__name { display: block; font-size: 1rem; color: var(--ink); }
.pm4-acharya small { color: var(--ink-3); font-size: .78rem; }
.pm4-carousel__btn {
    width: 46px; height: 46px; border-radius: 50%; flex: none; cursor: pointer; display: grid; place-items: center;
    background: rgba(10, 12, 44, .7); color: var(--gold); border: 1px solid rgba(255, 211, 106, .5); transition: background .25s, transform .25s;
}
.pm4-carousel__btn:hover { background: rgba(255, 211, 106, .14); transform: scale(1.06); }
.pm4-carousel__btn .pm4-ic { width: 20px; height: 20px; }
.pm4-carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.pm4-carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .25); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.pm4-carousel__dots button[aria-current="true"] { width: 26px; background: var(--gold); }

/* ── Video reviews (redesign/reviews.blade.php) ─────────────────────────
   Row layout (four across, three under 1000px, a swipe slider under 760px)
   still comes from pmv4-theme.css, because pmv4-theme.js walks that slider;
   only the look is restated here. */
.pm4-reviews { background: radial-gradient(55% 60% at 50% 0%, rgba(139, 92, 246, .3), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgba(255, 171, 50, .1), transparent 70%), linear-gradient(180deg, #080B24, #0B0F33); padding: 60px 0 70px; }
.pm4 .pm4-reviews__vp { margin-top: 0; }
.pm4 .pm4-reviews__track { gap: 22px 20px; padding: 6px 2px 10px; }
.pm4 .pm4-review { flex-basis: calc((100% - 60px) / 4); margin: 0; }
.pm4 .pm4-review__play {
    position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; overflow: hidden; cursor: pointer;
    border: 0; border-radius: 18px; background: #111850;
    box-shadow: inset 0 0 0 1.5px rgba(168, 102, 255, .7), 0 0 26px -10px rgba(139, 92, 246, .9), 0 22px 44px -26px #000;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pm4 .pm4-review__play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease), filter .5s; filter: saturate(1.05); }
.pm4 .pm4-review__play::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px rgba(168, 102, 255, .7); pointer-events: none; z-index: 3; transition: box-shadow .45s; }
.pm4 .pm4-review__play:hover, .pm4 .pm4-review__play:focus-visible { transform: translateY(-6px); outline: none; box-shadow: 0 0 34px -8px rgba(139, 92, 246, 1), 0 26px 50px -24px #000; }
.pm4 .pm4-review__play:hover::after, .pm4 .pm4-review__play:focus-visible::after { box-shadow: inset 0 0 0 1.5px rgba(255, 211, 106, .9); }
.pm4 .pm4-review__play:hover img { transform: scale(1.06); }
.pm4-review__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 11, 36, 0) 45%, rgba(8, 11, 36, .78) 100%), radial-gradient(circle at 50% 50%, rgba(8, 11, 36, 0) 30%, rgba(8, 11, 36, .25) 100%); }
/* Gold play button with a breathing ring, in place of the red YouTube badge. */
.pm4 .pm4-review__btn {
    position: absolute; top: 50%; left: 50%; z-index: 2; width: 62px; height: 62px; border-radius: 50%;
    transform: translate(-50%, -50%); display: grid; place-items: center; color: #1B1240;
    background: linear-gradient(180deg, #FFE7A0, #FFD36A 45%, #FFAB32);
    box-shadow: 0 0 0 6px rgba(255, 211, 106, .22), 0 10px 26px -6px rgba(0, 0, 0, .7);
    transition: transform .35s var(--ease), box-shadow .35s;
}
.pm4 .pm4-review__btn::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 211, 106, .6); animation: pm4-ring 2.4s ease-out infinite; }
.pm4 .pm4-review__btn svg { width: 24px; height: 24px; margin-left: 3px; }
.pm4 .pm4-review__play:hover .pm4-review__btn, .pm4 .pm4-review__play:focus-visible .pm4-review__btn { background: linear-gradient(180deg, #FFF1C4, #FFD36A 45%, #FFAB32); transform: translate(-50%, -50%) scale(1.1); }
.pm4-review__chip { position: absolute; left: 50%; bottom: 14px; z-index: 2; translate: -50% 0; padding: 4px 12px; border-radius: 999px; white-space: nowrap; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #FFE9B0; background: rgba(8, 6, 32, .6); box-shadow: inset 0 0 0 1px rgba(255, 211, 106, .45);  }
.pm4 .pm4-review__play iframe { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; border: 0; }
.pm4 .pm4-review__cap { margin-top: 12px; text-align: center; }
.pm4-review__stars { display: block; color: var(--gold); letter-spacing: .18em; font-size: .78rem; }
.pm4 .pm4-review__t { display: block; margin-top: 4px; font-size: .86rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.pm4 .pm4-review__a { display: block; margin-top: 2px; font-size: .74rem; color: var(--ink-3); }
@keyframes pm4-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 1000px) { .pm4 .pm4-review { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 760px) { .pm4 .pm4-review { flex-basis: 62%; } .pm4 .pm4-reviews__track { padding-right: 38%; } }
@media (prefers-reduced-motion: reduce) { .pm4 .pm4-review__btn::before { animation: none; } }

/* ── FAQ (light band) ───────────────────────────────────────────────── */
.pm4-faq { background: linear-gradient(180deg, #FFFDF7, #F5EFE2); overflow: hidden; padding: 56px 0; }
.pm4-faq__deco { position: absolute; top: 50%; width: 340px; height: auto; translate: 0 -50%; opacity: .5; pointer-events: none; z-index: 0; filter: sepia(.5) saturate(1.6) brightness(.85); }
.pm4-faq__deco--l { left: -60px; }
.pm4-faq__deco--r { right: -60px; }
.pm4-faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; align-items: start; max-width: 1040px; margin: 0 auto; }
.pm4 .pm4-faq__item.fn-faq__item { border: 0; overflow: visible; border-radius: 12px; background: #fff; box-shadow: 0 8px 22px -18px rgba(26, 20, 70, .45), inset 0 0 0 1px rgba(160, 103, 14, .18); transition: box-shadow .3s; }
.pm4 .pm4-faq__item.fn-faq__item.is-open { background: #fff; box-shadow: 0 14px 30px -20px rgba(75, 30, 131, .5), inset 0 0 0 1.5px rgba(139, 92, 246, .45); }
.pm4-faq__h { font-size: inherit; }
.pm4 .pm4-faq__q.fn-faq__q {
    width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 0; background: none; cursor: pointer;
    font-family: var(--f-body); font-size: .92rem; font-weight: 700; color: #1A1446; text-align: left;
}
.pm4-faq__qi { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; padding: 6px; background: #1A1446; }
.pm4-faq__qt { flex: 1; }
.pm4-faq__plus { width: 26px; height: 26px; flex: none; display: grid; place-items: center; color: #A0670E; transition: transform .4s var(--ease); }
.pm4-faq__plus .pm4-ic { width: 18px; height: 18px; }
.pm4-faq__item.is-open .pm4-faq__plus { transform: rotate(135deg); }
.pm4-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.pm4-faq__a > div { overflow: hidden; }
.pm4-faq__a p { padding: 0 16px 16px 58px; color: #4B4672; font-size: .9rem; opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .45s var(--ease); }
.pm4-faq__item.is-open .pm4-faq__a { grid-template-rows: 1fr; }
.pm4-faq__item.is-open .pm4-faq__a p { opacity: 1; transform: none; }

/* ── Final CTA ──────────────────────────────────────────────────────── */
.pm4-final { position: relative; padding: 70px 0; overflow: hidden; isolation: isolate; background: radial-gradient(50% 80% at 50% 50%, rgba(75, 30, 131, .45), transparent 75%), url("../img/pm4/pack/bg/cta_cosmic_magenta.webp") center / cover no-repeat, #0B0A2E; }
.pm4-final__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* One glowing card, the same family as the hero form. */
.pm4-final__card {
    position: relative; display: grid; grid-template-columns: 250px minmax(0, 1fr) auto; gap: 40px; align-items: center;
    padding: 34px 40px; border-radius: 26px;
    background: linear-gradient(120deg, rgba(40, 20, 100, .92), rgba(16, 12, 56, .94) 55%, rgba(30, 16, 80, .92));
    box-shadow: 0 0 0 1.5px rgba(255, 211, 106, .55), 0 0 50px -10px rgba(139, 92, 246, .7), 0 40px 80px -40px #000;
}
.pm4-final__card::before {
    content: ""; position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px; pointer-events: none;
    background: conic-gradient(from var(--pm4-a), transparent 0 72%, #FFF1C4 84%, transparent 96%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    --pm4-a: 210deg;
}
/* The sun portal: photo in a gold-ringed circle, mandala turning around it. */
.pm4-final__portal { position: relative; width: 250px; aspect-ratio: 1; display: grid; place-items: center; }
.pm4-final__rays { position: absolute; inset: -30%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255, 211, 106, .16) 0 5deg, transparent 5deg 15deg); -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 66%); mask-image: radial-gradient(circle, #000 30%, transparent 66%); animation: pm4-spin 90s linear infinite reverse; }
.pm4-final__mandala { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; filter: drop-shadow(0 0 14px rgba(255, 196, 80, .45)); }
.pm4-final__sun { position: relative; width: 62%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #FFD36A, 0 0 0 7px rgba(255, 211, 106, .18), 0 0 40px 4px rgba(255, 171, 50, .55); }
.pm4-final__sun img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.pm4-final__copy .pm4-eyebrow { font-size: .68rem; }
.pm4-final__title { font-family: var(--f-title); font-weight: 700; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.15; color: var(--ink); margin-top: 8px; }
.pm4-final__title .pm4-gold { display: block; }
.pm4-final__lead { margin-top: 10px; color: var(--ink-2); font-size: .94rem; max-width: 520px; }
.pm4-final__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pm4-final__chips li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--ink); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 211, 106, .35); }
.pm4-final__chips .pm4-pk { width: 18px; height: 18px; }
.pm4-final__ctas { display: grid; gap: 12px; min-width: 270px; }
.pm4-final__note { margin: 2px 0 0; text-align: center; font-size: .74rem; color: var(--ink-3); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.pm4-footer { position: relative; background: linear-gradient(180deg, #0A0D30, #060820); color: var(--ink-2); font-family: var(--f-body); padding: 34px 0 0; }
.pm4-footer__rule { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 211, 106, .7), transparent); }
.pm4-footer__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pm4-footer__nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.pm4-footer__nav a { color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 600; transition: color .2s; }
.pm4-footer__nav a:hover { color: var(--gold); }
.pm4-footer__socials { display: flex; gap: 10px; }
.pm4-footer__socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 211, 106, .3); transition: background .25s, transform .25s, color .25s; }
.pm4-footer__socials a:hover { background: rgba(255, 211, 106, .14); color: var(--gold); transform: translateY(-2px); }
.pm4-footer__socials svg { width: 17px; height: 17px; }
.pm4-footer__meta { text-align: center; padding: 18px 0 24px; }
.pm4-footer__company { margin: 0; font-size: .86rem; color: var(--ink-2); }
.pm4-footer__company a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255, 211, 106, .5); text-underline-offset: 3px; }
.pm4-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 10px; }
.pm4-footer__links a { color: var(--ink-3); font-size: .78rem; text-decoration: none; }
.pm4-footer__links a:hover { color: var(--gold); }
.pm4-footer__ornament { color: var(--gold); margin: 10px auto 4px; font-size: .9rem; display: flex; align-items: center; justify-content: center; gap: 12px; }
.pm4-footer__ornament::before, .pm4-footer__ornament::after { content: ""; width: 80px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.pm4-footer__ornament::after { transform: scaleX(-1); }
.pm4-footer__copy { margin: 0; font-size: .74rem; color: var(--ink-3); }

/* ── Mobile sticky CTA ──────────────────────────────────────────────── */
.pm4-mcta {
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 70; display: none; align-items: center; gap: 12px;
    padding: 10px 10px 10px 16px; border-radius: 16px; font-family: var(--f-body);
    background: rgba(10, 14, 50, .98); 
    box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 211, 106, .4);
    transform: translateY(140%); transition: transform .45s var(--ease);
}
.pm4-mcta.is-on { transform: none; }
.pm4-mcta__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.pm4-mcta__txt b { color: var(--ink); font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm4-mcta__txt small { color: var(--gold); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm4-mcta .pm4-btn { flex: none; border-radius: 10px; }
/* No lift for the countdown bar here: .is-on is set at every width but this
   bar only shows at ≤768px, where the countdown bar (≥901px) is already gone —
   the old `bottom: 86px` left a big gap under it on desktop. */

/* ── Countdown bar (the shared funnel timer bar, re-skinned for this page) ──
   Markup and behaviour stay in funnel/sections/timer-bar.blade.php and
   funnel.js; only its look changes here, and only on a body holding #pm4.
   It stays dark over the light bands too (the .is-on-light inversion that
   pmv4-theme.js applies is overridden), matching the cards on this page. */
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__frame {
    position: relative; max-width: 1020px; padding: 0; border-radius: 18px; background: none;
    box-shadow: 0 0 0 1.5px rgba(167, 120, 255, .85), 0 0 34px -6px rgba(139, 92, 246, .7), 0 24px 50px -18px rgba(0, 0, 0, .85);
}
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__frame::before {
    content: ""; position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 1;
    background: conic-gradient(from var(--pm4-a), transparent 0 70%, #FFD36A 82%, transparent 94%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    --pm4-a: 210deg;
}
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__in,
body.fn:has(#pm4) .fn-timerbar.is-on-light .fn-timerbar__in {
    gap: 24px; padding: 12px 12px 12px 24px; border-radius: 18px;
    background: linear-gradient(110deg, rgba(46, 24, 112, .96), rgba(18, 14, 62, .97) 60%, rgba(34, 18, 90, .96));
    /* No backdrop blur: the bar is fixed, so a blur makes the browser re-blur
       whatever scrolls underneath on every frame — the biggest single scroll
       cost on the page. At this opacity it was invisible anyway. */
    -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__eyebrow,
body.fn:has(#pm4) .fn-timerbar.is-on-light .fn-timerbar__eyebrow {
    font-family: "Cinzel", Georgia, serif; font-size: .66rem; font-weight: 700; letter-spacing: .24em; color: #FFD36A;
}
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__dot { background: #00C896; box-shadow: 0 0 0 0 rgba(0, 200, 150, .7); animation: pm4-tb-ping 1.8s ease-out infinite; }
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__when,
body.fn:has(#pm4) .fn-timerbar.is-on-light .fn-timerbar__when {
    margin-top: 4px; font-family: "Playfair Display", Georgia, serif; font-size: 1.08rem; font-weight: 700; color: #F8F5FF;
}
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__clock { gap: 16px; }
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__cell,
body.fn:has(#pm4) .fn-timerbar.is-on-light .fn-timerbar__cell {
    min-width: 60px; padding: 8px 6px 7px; border-radius: 12px; border: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 211, 106, .14), rgba(8, 6, 32, .7) 70%);
    box-shadow: inset 0 0 0 1px rgba(255, 211, 106, .38), 0 6px 16px -10px #000;
}
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__cell b,
body.fn:has(#pm4) .fn-timerbar.is-on-light .fn-timerbar__cell b {
    font-family: "Cinzel", Georgia, serif; font-size: 1.45rem; font-weight: 800; line-height: 1;
    background: linear-gradient(180deg, #FFF3C8, #FFD36A 55%, #E39A26); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: #FFD36A;
}
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__cell span,
body.fn:has(#pm4) .fn-timerbar.is-on-light .fn-timerbar__cell span { margin-top: 5px; font-size: .56rem; font-weight: 700; letter-spacing: .16em; color: #ABA3D2; }
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__cell + .fn-timerbar__cell::before,
body.fn:has(#pm4) .fn-timerbar.is-on-light .fn-timerbar__cell + .fn-timerbar__cell::before { left: -11px; color: #FFD36A; opacity: .7; }
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__cta {
    position: relative; overflow: hidden; padding: 0 24px; min-height: 50px; border-radius: 10px; border: 0;
    background: linear-gradient(180deg, #FFE7A0 0%, #FFD36A 45%, #FFAB32 100%); color: #1B1240;
    font-family: "Manrope", system-ui, sans-serif; font-weight: 800; font-size: .95rem; letter-spacing: .01em; text-transform: none;
    box-shadow: 0 10px 26px -10px rgba(255, 171, 50, .75), inset 0 1px 0 rgba(255, 255, 255, .6);
    transition: transform .3s cubic-bezier(.22, .8, .24, 1);
}
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__cta:hover { transform: translateY(-2px); }
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__cta::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: translateX(-160%) skewX(-20deg); animation: pm4-sweep 3.6s ease-in-out infinite; will-change: transform;
}
/* The bar is fixed to the bottom on desktop: keep the footer's last line clear of it. */
@media (min-width: 901px) {
    body.fn:has(#pm4):has(.fn-timerbar:not([hidden])) .pm4-footer { padding-bottom: 110px; }
}
@keyframes pm4-tb-ping { 70%, 100% { box-shadow: 0 0 0 9px rgba(0, 200, 150, 0); } }
@media (prefers-reduced-motion: reduce) {
    body.fn:has(#pm4) .fn-timerbar *, body.fn:has(#pm4) .fn-timerbar *::before, body.fn:has(#pm4) .fn-timerbar *::after { animation: none !important; }
}

/* ── Performance: calm decorations ─────────────────────────────────────
   Measured with the CPU slowed 4× (an ordinary laptop): the always-running
   decorative loops were the single biggest cost — frames averaged 26.5ms
   with them and 14.4ms without — so they are held still here. Each keeps
   its resting look (the gold edge, the halos, the glow are all still drawn);
   only the endless motion goes. The sweep plays once on hover instead. The
   slow-turning mandalas (.pm4-spin) are the one loop kept, and only while
   on screen (pmv4-redesign.js pauses each one as it leaves the viewport). */
.pm4-glow::before, .pm4-hero__halo, .pm4-float, .pm4-orb,
.pm4 .pm4-form.fn-formcard::before, .pm4-form .fn-submit::after, .pm4-topline, .pm4-dot,
.pm4-pulse::after, .pm4-review__btn::before, .pm4-final__rays,
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__dot, body.fn:has(#pm4) .fn-timerbar .fn-timerbar__in::after,
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__cta::after { animation: none !important; will-change: auto !important; }
/* No parallax any more, so the field needs no layer of its own. */
.pm4-hero__field { will-change: auto; }
.pm4-glow::before { opacity: .55; }
.pm4-hero__halo { opacity: .75; }
.pm4-pulse::after, .pm4-review__btn::before { display: none; }
.pm4 .pm4-form.fn-formcard::before { --pm4-a: 210deg; }
.pm4-form .fn-submit:hover::after,
body.fn:has(#pm4) .fn-timerbar .fn-timerbar__cta:hover::after { animation: pm4-sweep-once .9s ease-out 1 !important; }
@keyframes pm4-sweep-once { from { transform: translateX(-160%) skewX(-20deg); } to { transform: translateX(360%) skewX(-20deg); } }
/* Static glow filters on layers that never move cost nothing once painted,
   but on the turning mandalas a drop-shadow is re-rasterised every frame. */
.pm4-hero__mandala, .pm4-mentor__mandala, .pm4-final__mandala, .pm4-faq__deco { filter: none; }

/* ── Scroll reveals ─────────────────────────────────────────────────────
   Pure CSS: pmv4-redesign.js only adds .is-in when an element enters the
   viewport. Only opacity and the separate `translate`/`scale` properties
   animate, so the compositor runs it off the main thread and it never fights
   the hover `transform`s. fill-mode backwards: once done, the element is back
   to its normal styles. Hidden only under html.pm4-js (see page.blade.php). */
@media (prefers-reduced-motion: no-preference) {
    .pm4-js [data-pm4-reveal]:not(.is-in), .pm4-js [data-pm4-item]:not(.is-in) { opacity: 0; }
    .pm4-js [data-pm4-reveal].is-in, .pm4-js [data-pm4-item].is-in {
        animation: pm4-rise .8s cubic-bezier(.22, .8, .3, 1) backwards;
        animation-delay: calc(var(--pm4-i, 0) * 80ms);
    }
    .pm4-js [data-pm4-reveal="left"].is-in { animation-name: pm4-rise-left; }
    .pm4-js [data-pm4-reveal="photo"].is-in { animation-name: pm4-rise-photo; animation-duration: 1.1s; }
}
@keyframes pm4-rise       { from { opacity: 0; translate: 0 34px; } }
@keyframes pm4-rise-left  { from { opacity: 0; translate: -40px 0; } }
@keyframes pm4-rise-photo { from { opacity: 0; scale: .94; } }

/* ── Smooth scrolling (Lenis) ───────────────────────────────────────────
   The library's own required rules. Lenis animates the scroll position
   itself, so the stylesheet's scroll-behavior: smooth (on .fn-html) must be
   off while it runs, or the two smoothings fight and the page stutters. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ── Keyframes ──────────────────────────────────────────────────────── */
@keyframes pm4-spin { to { transform: rotate(360deg); } }
@keyframes pm4-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pm4-breathe { 0%, 100% { opacity: .45; } 50% { opacity: .9; } }
@keyframes pm4-pulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.12, 1.4); opacity: 0; } }
@keyframes pm4-shimmer { to { background-position: -200% 0; } }

/* Announcement strip under the gold rule (sections/top-marquee). Scrolls away
   with the page; the navbar below it stays sticky. */
.pm4-marq {
    position: relative; overflow: hidden;
    background: linear-gradient(90deg, #120A3A, #1C1160 50%, #120A3A);
    border-bottom: 1px solid rgba(255, 211, 106, .22);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.pm4-marq__track { display: flex; width: max-content; animation: pm4-marq 40s linear infinite; }
.pm4-marq:hover .pm4-marq__track { animation-play-state: paused; }
.pm4-marq__item {
    display: flex; align-items: center; gap: 10px; padding: 8px 30px;
    font-family: var(--f-body, inherit); font-size: .72rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; white-space: nowrap; text-decoration: none; color: #DCD6F4;
}
.pm4-marq__item:hover { color: #fff; }
.pm4-marq__star, .pm4-marq .hl { color: #FFD36A; }
@keyframes pm4-marq { to { transform: translateX(-50%); } }
@keyframes pm4-border { to { --pm4-a: 360deg; } }
@keyframes pm4-sweep { 0%, 55% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(360%) skewX(-20deg); } }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
    .pm4-nav__links a { padding: 8px 10px; }
    .pm4-vidyas__grid { gap: 14px; }
    .pm4-vidya { padding: 14px 12px 20px; }
    .pm4-vidya__art { width: 130px; height: 130px; }
    .pm4-mentor__name { white-space: normal; }
}
@media (max-width: 1180px) {
    .pm4-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 390px); grid-template-areas: "copy form"; }
    .pm4-hero__portrait { display: none; }
    .pm4-hero__mentorchip { display: flex; }
    .pm4-vidyas__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .pm4-vidya { grid-column: span 2; }
    .pm4-vidya:nth-child(4) { grid-column: 2 / span 2; }
    .pm4-mentor__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
    .pm4-mentor__traits { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pm4-final__card { grid-template-columns: 200px minmax(0, 1fr); gap: 30px; }
    .pm4-final__portal { width: 200px; }
    .pm4-final__ctas { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
    .pm4-final__note { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
    .pm4-nav__links { display: none; }
    .pm4-burger { display: grid; }
    .pm4-nav__in { justify-content: space-between; }
    .pm4-nav__cta { margin-left: auto; }
    .pm4-hl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pm4-incl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pm4-cred__grid { gap: 40px; }
    .pm4-cred__badges { grid-template-columns: 1fr; }
    .pm4-carousel__track { grid-auto-columns: calc((100% - 22px) / 2); }
    .pm4-footer__row { justify-content: center; text-align: center; }
    .pm4-footer__nav { justify-content: center; }
}
@media (max-width: 980px) {
    .pm4-hero { padding: 26px 0 40px; }
    .pm4-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form"; row-gap: 26px; }
    .pm4-hero__copy { text-align: center; }
    .pm4-hero__cohort { margin-left: auto; margin-right: auto; }
    .pm4-hero__hindi, .pm4-hero__ctas, .pm4-hero__mentorchip { justify-content: center; }
    .pm4-hero__lead { margin-left: auto; margin-right: auto; }
    .pm4-hero__mentorchip { text-align: left; }
    .pm4-formwrap { max-width: 520px; width: 100%; margin: 0 auto; }
    .pm4-arch { width: 42%; opacity: .35; }
    .pm4-stats__row { grid-template-columns: repeat(2, 1fr); }
    .pm4-stat:nth-child(3)::before { display: none; }
    .pm4-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .pm4-section { padding: 64px 0; }
    .pm4-vidyas { padding-bottom: 76px; }
    .pm4-highlights { padding-bottom: 72px; }
    .pm4-mentor__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .pm4-mentor__photo { order: -1; max-width: 460px; margin: 0 auto -60px; width: 100%; }
    .pm4-mentor__traits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pm4-cred__grid { grid-template-columns: minmax(0, 1fr); }
    .pm4-cred__cert { max-width: 360px; }
    .pm4-cred__copy { text-align: center; }
    .pm4-cred__text { margin-left: auto; margin-right: auto; }
    .pm4-cred__badges { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; }
    .pm4-faq__grid { grid-template-columns: minmax(0, 1fr); }
    .pm4-faq__deco { width: 200px; opacity: .3; }
}
@media (max-width: 768px) {
    .pm4-container { padding: 0 18px; }
    .pm4-nav__cta { display: none; }
    .pm4-nav__in { min-height: 64px; }
    .pm4-mcta { display: flex; }
    .pm4-vidyas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pm4-vidya, .pm4-vidya:nth-child(4) { grid-column: auto; }
    .pm4-vidya:last-child { grid-column: 1 / -1; max-width: 340px; justify-self: center; width: 100%; }
    .pm4-hl__grid { grid-template-columns: minmax(0, 1fr); }
    .pm4-cred__badges { grid-template-columns: minmax(0, 1fr); max-width: 400px; margin-left: auto; margin-right: auto; }
    .pm4-carousel__track { grid-auto-columns: 86%; gap: 16px; }
    .pm4-carousel__btn { display: none; }
    .pm4-final { padding: 50px 0; }
    .pm4-final__card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 28px 20px; gap: 22px; }
    .pm4-final__portal { width: 190px; }
    .pm4-final__lead { margin-left: auto; margin-right: auto; }
    .pm4-final__chips { justify-content: center; }
    .pm4-final__ctas { grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 420px; }
    .pm4-btn--lg { white-space: normal; text-align: center; }
    .pm4-footer { padding-bottom: 80px; }       /* clear of the sticky CTA */
    .pm4-faq__deco--l { display: none; }
}
@media (max-width: 560px) {
    .pm4-mpoints { grid-template-columns: minmax(0, 1fr); }
    .pm4-brand__txt small { display: none; }
    .pm4-hero__eyebrow { font-size: .6rem; letter-spacing: .16em; }
    .pm4-hero__cohort { letter-spacing: .3em; }
    .pm4-hero__ctas { flex-direction: column; align-items: stretch; }
    .pm4-hero__ctas .pm4-btn { white-space: normal; }
    .pm4-form { padding: 24px 16px 16px; }
    .pm4-stat { flex-direction: column; text-align: center; gap: 8px; padding: 18px 8px; }
    .pm4-stat__txt b { font-size: 1rem; }
    .pm4-vidyas__grid { gap: 12px; }
    .pm4-vidya { padding: 10px 10px 16px; min-height: 0; }
    .pm4-vidya__art { width: 104px; height: 104px; }
    .pm4-vidya__title { font-size: 1.06rem; }
    .pm4-vidya__text { font-size: .78rem; }
    .pm4-hl { padding: 16px; }
    .pm4-incl__grid { gap: 12px; }
    .pm4-incl__card { min-height: 0; padding: 16px 14px; gap: 12px; border-radius: 16px; }
    .pm4-incl__ic { width: 46px; height: 46px; padding: 10px; border-radius: 13px; }
    .pm4-incl__num { font-size: 2.3rem; right: 10px; }
    .pm4-incl__title { font-size: .92rem; }
    .pm4-incl__sub { font-size: .78rem; }
    .pm4-incl__tag { padding-top: 10px; font-size: .6rem; }
    .pm4-incl__card--feature { padding: 20px 18px; gap: 16px; }
    .pm4-incl__card--feature .pm4-incl__ic { width: 74px; height: 74px; padding: 17px; }
    .pm4-incl__card--feature .pm4-incl__title { font-size: 1.3rem; }
    .pm4-incl__card--feature .pm4-incl__sub { font-size: .86rem; }
    .pm4-incl__card--feature .pm4-incl__num { font-size: 3.2rem; }
    .pm4-mentor__traits { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .pm4-faq__a p { padding-left: 16px; }
    .pm4-arch { display: none; }
}
@media (max-width: 380px) {
    .pm4-container { padding: 0 14px; }
    .pm4-vidyas__grid { grid-template-columns: minmax(0, 1fr); }
    .pm4-vidya:last-child { max-width: none; }
    .pm4-mcta__txt small { display: none; }
}

/* ── Reduced motion: no loops, no travel, no parallax ───────────────── */
@media (prefers-reduced-motion: reduce) {
    .pm4 *, .pm4 *::before, .pm4 *::after,
    .pm4-nav *, .pm4-topline, .pm4-marq__track, .pm4-mcta, .pm4-footer * {
        animation: none !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .pm4-vidya:hover, .pm4-hl:hover, .pm4-spec__item:hover, .pm4-incl__card:hover, .pm4-acharya:hover, .pm4-btn:hover { transform: none; }
}
