/* ================= Public website: modern design layer (every public page) =================
 * Loaded last by layouts/home/header.php, on top of site.css / landing.css / home-modern.css / skin-modern.css.
 * Width: 80% of the screen on desktop, full width with side padding on tablets and phones.
 * Colour + motion: animated gradient accents, glowing card hovers, shine on buttons, drifting hero colours,
 * sections that animate in while scrolling (layouts/home/js/modern.js), a scroll progress bar.
 * Everything calms down for visitors who ask their device for less motion (prefers-reduced-motion).
 */
:root{
  --mu-a:#1560F5; --mu-b:#7C3AED; --mu-c:#DB2777; --mu-d:#F97316; --mu-e:#0EA5E9;
  --mu-grad:linear-gradient(120deg,var(--mu-a),var(--mu-b) 35%,var(--mu-c) 65%,var(--mu-d));
  --mu-ease:cubic-bezier(.22,.8,.26,1);
}

/* ---------- width: 80% on desktop ---------- */
@media (min-width:1200px){
  body.np-site .container{max-width:80% !important;width:80% !important}
}
@media (max-width:1199.98px){
  body.np-site .container{max-width:100% !important;padding-left:24px;padding-right:24px}
}
@media (max-width:575.98px){
  body.np-site .container{padding-left:16px;padding-right:16px}
}

/* ---------- scroll progress bar + animated accent line on the header ---------- */
.mu-progress{position:fixed;left:0;top:0;height:3px;width:100%;transform-origin:0 50%;transform:scaleX(var(--mu-p,0));background:var(--mu-grad);background-size:200% 100%;z-index:2000;pointer-events:none;animation:muFlow 6s linear infinite}
/* desktop only: a blur on the header would trap the phone menu (a full-screen fixed panel) inside the header box */
@media (min-width:992px){
  body.np-site .np-header{backdrop-filter:saturate(180%) blur(10px);-webkit-backdrop-filter:saturate(180%) blur(10px)}
  body.np-site .np-header.is-fixed{background:rgba(255,255,255,.88)!important}
}
body.np-site .np-header::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--mu-grad);background-size:200% 100%;opacity:0;transition:opacity .3s;animation:muFlow 8s linear infinite}
body.np-site .np-header.is-scrolled::after{opacity:1}
@media (min-width:992px){ /* the phone menu keeps its own left bar for the current page */
body.np-site .np-nav>a{position:relative;transition:color .2s}
body.np-site .np-nav>a::after{content:"";position:absolute;left:50%;right:50%;bottom:-6px;height:3px;border-radius:3px;background:var(--mu-grad);transition:left .3s var(--mu-ease),right .3s var(--mu-ease)}
body.np-site .np-nav>a:hover::after,body.np-site .np-nav>a.active::after{left:0;right:0}
}

/* ---------- buttons: lift + a light sweep ---------- */
body.np-site .lp-btn:not(.hm-slide-btns *),body.np-site .np-btn{position:relative;overflow:hidden;isolation:isolate;transition:transform .25s var(--mu-ease),box-shadow .25s var(--mu-ease),filter .25s}
body.np-site .lp-btn:not(.hm-slide-btns *)::after,body.np-site .np-btn::after{content:"";position:absolute;top:0;bottom:0;left:-80%;width:55%;z-index:-1;pointer-events:none;background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-20deg);transition:left .65s var(--mu-ease)}
body.np-site .lp-btn:not(.hm-slide-btns *):hover::after,body.np-site .np-btn:hover::after{left:130%}
body.np-site .lp-btn:not(.hm-slide-btns *):hover,body.np-site .np-btn:hover{transform:translateY(-2px)}
body.np-site .lp-btn-primary:not(.hm-slide-btns *),body.np-site .np-btn-primary{background:linear-gradient(120deg,#F97316,#EA580C 45%,#DB2777)!important;background-size:180% 100%!important;border-color:transparent!important;color:#fff!important;animation:muFlow 7s ease-in-out infinite;box-shadow:0 12px 26px -14px rgba(234,88,12,.9)}
body.np-site .lp-btn-primary:not(.hm-slide-btns *):hover,body.np-site .np-btn-primary:hover{box-shadow:0 18px 32px -14px rgba(219,39,119,.8)}

/* ---------- section titles: a moving gradient underline, colourful eyebrow chips ---------- */
body.np-site .lp-head h2,body.np-site .lp-h2{position:relative}
body.np-site :is(.lp-eyebrow,.lp-chip,.lp-why-badge,.lp-pill):not(.lp-ticker *){position:relative;border:0!important;background:#fff!important;box-shadow:0 6px 16px -12px rgba(124,58,237,.6)}
body.np-site :is(.lp-eyebrow,.lp-chip,.lp-why-badge,.lp-pill):not(.lp-ticker *)::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:var(--mu-grad);background-size:200% 100%;animation:muFlow 6s linear infinite;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}

/* ---------- cards: lift, gradient border, coloured glow ---------- */
body.np-site :is(.lp-high-card,.lp-svc-card,.lp-svc,.lp-step,.lp-tile,.lp-mv-card,.lp-stat,.lp-bbps-item,.lp-plan,.lp-value,.lp-side-item,.lp-brandcard,.np-prefoot-card,.lp-form-card,.pol-box){position:relative;transition:transform .35s var(--mu-ease),box-shadow .35s var(--mu-ease)}
body.np-site :is(.lp-high-card,.lp-svc-card,.lp-svc,.lp-step,.lp-tile,.lp-mv-card,.lp-bbps-item,.lp-plan,.lp-value,.lp-brandcard)::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:2px;background:var(--mu-grad);background-size:200% 100%;opacity:0;transition:opacity .35s;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;animation:muFlow 5s linear infinite}
body.np-site :is(.lp-high-card,.lp-svc-card,.lp-svc,.lp-step,.lp-tile,.lp-mv-card,.lp-bbps-item,.lp-plan,.lp-value,.lp-brandcard):hover{transform:translateY(-8px);box-shadow:0 26px 48px -26px rgba(76,29,149,.55)}
body.np-site :is(.lp-high-card,.lp-svc-card,.lp-svc,.lp-step,.lp-tile,.lp-mv-card,.lp-bbps-item,.lp-plan,.lp-value,.lp-brandcard):hover::before{opacity:1}
body.np-site .lp-ico{transition:transform .45s var(--mu-ease)}
body.np-site :is(.lp-high-card,.lp-svc-card,.lp-svc,.lp-step,.lp-tile,.lp-mv-card,.lp-bbps-item,.lp-value):hover .lp-ico{transform:translateY(-3px) rotate(-8deg) scale(1.08)}

/* ---------- hero areas: slowly drifting colour ---------- */
body.np-site .lp-pagehero::before,body.np-site .lp-pagehero::after{content:"";position:absolute;width:42vw;height:42vw;max-width:620px;max-height:620px;border-radius:50%;filter:blur(70px);opacity:.38;pointer-events:none;z-index:0}
body.np-site .lp-pagehero::before{right:-8vw;top:-14vw;background:radial-gradient(circle,#60A5FA,transparent 65%);animation:muDrift 18s ease-in-out infinite alternate}
body.np-site .lp-pagehero::after{left:-12vw;bottom:-18vw;background:radial-gradient(circle,#F472B6,transparent 65%);animation:muDrift 22s ease-in-out infinite alternate-reverse}

/* coloured words in titles (.lp-grad-text): when they wrap onto two lines each line gets the full colour (phones) */
body.np-site:not(.hm) .lp-grad-text{background:linear-gradient(90deg,#006AFC 0%,#7C3AED 55%,#FD5100 100%)!important;background-size:100% 100%!important;background-repeat:no-repeat!important;animation:none!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent;-webkit-box-decoration-break:clone;box-decoration-break:clone}

/* Business Partner packages (home page): centred, whatever the number of packages (the grid was made for 5, there are 4) */
body.np-site .lp-plans{display:flex!important;flex-wrap:wrap;justify-content:center;gap:16px}
body.np-site .lp-plans>.lp-plan{flex:0 1 calc((100% - 48px) / 4);min-width:240px;max-width:320px}
@media (max-width:1199.98px){body.np-site .lp-plans{max-width:760px;margin:0 auto}body.np-site .lp-plans>.lp-plan{flex-basis:calc((100% - 16px) / 2);max-width:none}body.np-site .lp-plan.is-popular{transform:none}}
@media (max-width:767.98px){body.np-site .lp-plans{max-width:420px;margin:0 auto}body.np-site .lp-plans>.lp-plan{flex:1 1 100%;max-width:none}}

/* ---------- Partner Levels / Business partner packages cards (home + business partner page) ---------- */
body.np-site .lp-levels{display:flex!important;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:22px;padding-top:14px}
body.np-site .lp-levels>.lp-level{flex:0 1 calc((100% - 66px) / 4);min-width:240px;max-width:330px}
body.np-site .lp-level{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid #E6EBF5!important;border-radius:26px;padding:30px 24px 24px;overflow:visible;
  box-shadow:0 1px 2px rgba(13,27,76,.04),0 18px 40px -28px rgba(13,27,76,.35);transition:transform .35s var(--mu-ease),box-shadow .35s var(--mu-ease)}
body.np-site .lp-level::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;border-radius:26px 26px 0 0;background:linear-gradient(90deg,var(--c),color-mix(in srgb,var(--c) 45%,#fff))}
body.np-site .lp-level:hover{transform:translateY(-8px);box-shadow:0 30px 50px -28px color-mix(in srgb,var(--c) 70%,transparent)}
body.np-site .lp-level .lp-ico{width:58px;height:58px;border-radius:18px;font-size:22px;box-shadow:0 0 0 7px color-mix(in srgb,var(--c) 12%,transparent),0 12px 22px -12px var(--c)}
body.np-site .lp-level h3{font-size:19px;font-weight:800;margin:20px 0 6px;letter-spacing:-.01em}
body.np-site .lp-level .fee{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;margin:0 0 12px;padding-bottom:14px;border-bottom:1px dashed #E2E8F0;font-size:13px;font-weight:700;color:#64748B}
body.np-site .lp-level .fee b{font-size:32px;line-height:1;font-weight:800;letter-spacing:-.03em;color:var(--c)}
body.np-site .lp-level p{font-size:14px;line-height:1.6;color:#475569;margin-bottom:14px}
body.np-site .lp-level ul{margin:0 0 22px}
body.np-site .lp-level li{align-items:center;font-weight:600}
body.np-site .lp-level li i{width:22px;height:22px;flex:none;border-radius:50%;display:grid;place-items:center;font-size:11px;color:#fff!important;background:var(--c);margin-top:0!important}
body.np-site .lp-level li i::before{content:"\f00c"}
body.np-site .lp-level .lp-btn{width:100%;margin-top:auto;min-height:48px;border-radius:14px}
/* the highlighted card (Admin -> Business Partner Page -> Partner Levels -> Highlight this card) */
body.np-site .lp-level.is-hl{border:0!important;color:#fff;background:radial-gradient(420px 220px at 100% 0%,rgba(255,255,255,.2),transparent 60%),linear-gradient(160deg,var(--c),color-mix(in srgb,var(--c) 55%,#0B1120));
  box-shadow:0 30px 60px -30px color-mix(in srgb,var(--c) 85%,transparent);animation:muHl 3.2s ease-in-out infinite;z-index:1}
body.np-site .lp-level.is-hl::before{background:linear-gradient(90deg,rgba(255,255,255,.6),rgba(255,255,255,.15))}
body.np-site .lp-level.is-hl h3,body.np-site .lp-level.is-hl .fee b{color:#fff}
body.np-site .lp-level.is-hl .fee{color:rgba(255,255,255,.8);border-bottom-color:rgba(255,255,255,.25)}
body.np-site .lp-level.is-hl p,body.np-site .lp-level.is-hl li{color:rgba(255,255,255,.92)}
body.np-site .lp-level.is-hl li i{background:rgba(255,255,255,.22);color:#fff!important}
body.np-site .lp-level.is-hl .lp-ico{background:rgba(255,255,255,.18)!important;color:#fff!important;box-shadow:0 0 0 7px rgba(255,255,255,.1)}
body.np-site .lp-level.is-hl .lp-btn{background:#fff!important;color:var(--c)!important;border-color:#fff!important;box-shadow:0 12px 24px -14px rgba(0,0,0,.5);animation:none}
body.np-site .lp-level-badge{position:absolute;top:-14px;left:50%;transform:translateX(-50%);display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:6px 14px;border-radius:999px;
  background:linear-gradient(120deg,#F59E0B,#F97316);color:#fff;font-size:11.5px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;box-shadow:0 10px 20px -10px rgba(249,115,22,.9)}
body.np-site .lp-level-badge i{font-size:10px}
@keyframes muHl{0%,100%{box-shadow:0 30px 60px -30px color-mix(in srgb,var(--c) 85%,transparent),0 0 0 0 color-mix(in srgb,var(--c) 0%,transparent)}50%{box-shadow:0 30px 60px -30px color-mix(in srgb,var(--c) 85%,transparent),0 0 0 6px color-mix(in srgb,var(--c) 22%,transparent)}}
@media (min-width:1200px){body.np-site .lp-level.is-hl{transform:scale(1.04)}body.np-site .lp-level.is-hl:hover{transform:scale(1.04) translateY(-8px)}}
@media (max-width:1199.98px){body.np-site .lp-levels{max-width:760px;margin:0 auto}body.np-site .lp-levels>.lp-level{flex-basis:calc((100% - 22px) / 2);max-width:none}}
@media (max-width:767.98px){body.np-site .lp-levels{max-width:440px}body.np-site .lp-levels>.lp-level{flex:1 1 100%}}
@media (prefers-reduced-motion:reduce){body.np-site .lp-level.is-hl{animation:none}}

/* ---------- policy pages (privacy, terms, refund, delete account) ---------- */
body.np-site .pol{max-width:none}
body.np-site .pol-title{position:relative;margin:-8px 0 6px;padding:34px 30px 30px;border-radius:24px;color:#fff!important;-webkit-text-fill-color:#fff;overflow:hidden;
  background:radial-gradient(500px 220px at 100% 0%,rgba(255,255,255,.18),transparent 70%),linear-gradient(120deg,#1E3A8A,#4F46E5 45%,#7C3AED 70%,#DB2777);background-size:180% 100%;animation:muFlow 14s ease-in-out infinite;box-shadow:0 24px 48px -30px rgba(79,70,229,.9)}
body.np-site .pol-updated{display:inline-block;margin:0 0 22px;padding:4px 12px;border-radius:999px;background:#EEF2FF;color:#4338CA;font-weight:700;font-size:12.5px}
body.np-site .pol-h{position:relative;padding-left:16px;margin-top:34px}
body.np-site .pol-h::before{content:"";position:absolute;left:0;top:.15em;bottom:.15em;width:5px;border-radius:5px;background:var(--mu-grad)}
body.np-site .pol-box{border-radius:18px!important;border:1px solid #E0E7FF!important;background:linear-gradient(160deg,#F5F7FF,#fff 70%)!important}
body.np-site .pol-box:hover{box-shadow:0 18px 36px -26px rgba(79,70,229,.6)}
body.np-site .pol-table{border-radius:14px;overflow:hidden;border-collapse:separate!important;border-spacing:0}
body.np-site .pol-table th{background:linear-gradient(120deg,#EEF2FF,#FDF2F8)!important}
@media (max-width:575.98px){body.np-site .pol-title{padding:24px 18px;border-radius:18px}}

/* ---------- footer (no line on its top edge: the "Got a question" card overlaps it) ---------- */
body.np-site .np-footer{position:relative}
body.np-site .np-footer a{transition:color .2s,transform .2s}
body.np-site .np-footer a:hover{transform:translateX(2px)}

/* ---------- scroll reveal (modern.js adds .mu-r, then .mu-in when it comes into view) ---------- */
.mu-r{opacity:0;transform:translateY(28px) scale(.985);transition:opacity .75s var(--mu-ease),transform .75s var(--mu-ease);transition-delay:var(--mu-d,0s);will-change:opacity,transform}
.mu-r.mu-in{opacity:1;transform:none}

@keyframes muFlow{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
@keyframes muDrift{0%{transform:translate(0,0) scale(1)}100%{transform:translate(-6vw,5vw) scale(1.18)}}

/* ---------- less motion when the visitor asks for it ---------- */
@media (prefers-reduced-motion:reduce){
  .mu-progress,body.np-site .np-header::after,body.np-site .lp-btn-primary:not(.hm-slide-btns *),body.np-site .np-btn-primary,body.np-site .lp-pagehero::before,body.np-site .lp-pagehero::after,
  body.np-site .pol-title,body.np-site :is(.lp-eyebrow,.lp-chip,.lp-why-badge,.lp-pill):not(.lp-ticker *)::before{animation:none!important}
  .mu-r{opacity:1!important;transform:none!important;transition:none!important}
  body.np-site :is(.lp-high-card,.lp-svc-card,.lp-svc,.lp-step,.lp-tile,.lp-mv-card,.lp-bbps-item,.lp-plan,.lp-value,.lp-brandcard):hover{transform:none}
}
