/* ==========================================================================
   Mantra LMS - shared design system
   Loaded on every public page AFTER style.css. Everything is scoped to
   .mt-site (the <body> class) so it can safely override the legacy global rules.
   Font: Poppins everywhere (same as the rest of the site).
   ========================================================================== */

:root {
    --mt-navy-950: #040d20;
    --mt-navy-900: #061a3f;
    --mt-navy-800: #0a2a5e;
    --mt-blue-700: #0b4b96;
    --mt-blue-500: #1a78d0;
    --mt-sky: #63b3ff;
    --mt-green: #1ab189;
    --mt-green-dark: #128a6a;
    --mt-mint: #7ff0cf;
    --mt-violet: #8b7bff;
    --mt-ink: #0f172a;
    --mt-text: #334155;
    --mt-muted: #64748b;
    --mt-line: #e2e8f0;
    --mt-surface: #f5f8fd;
    --mt-white: #ffffff;
    --mt-radius: 20px;
    --mt-radius-sm: 12px;
    --mt-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .06);
    --mt-shadow-md: 0 12px 32px rgba(15, 23, 42, .08);
    --mt-shadow-lg: 0 28px 64px rgba(6, 26, 63, .22);
    --mt-grad-brand: linear-gradient(135deg, #1ab189 0%, #1a78d0 100%);
    --mt-grad-dark: linear-gradient(160deg, #040d20 0%, #061a3f 45%, #0b3b82 100%);
}

/* ---------- base ---------- */
.mt-site { background: #fff; color: var(--mt-text); font-family: 'Poppins', sans-serif !important; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.mt-site *, .mt-site *::before, .mt-site *::after { box-sizing: border-box; }
.mt-site h1, .mt-site h2, .mt-site h3, .mt-site h4, .mt-site h5, .mt-site h6,
.mt-site p, .mt-site a, .mt-site li, .mt-site span, .mt-site button, .mt-site input, .mt-site textarea, .mt-site select, .mt-site label {
    font-family: 'Poppins', sans-serif;
}
.mt-site h1, .mt-site h2, .mt-site h3, .mt-site h4 { color: var(--mt-ink); text-transform: none; letter-spacing: -.02em; margin: 0; }
.mt-site h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.08; font-weight: 700; }
.mt-site h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; font-weight: 600; }
.mt-site h3 { font-size: 22px; line-height: 1.3; font-weight: 600; }
.mt-site h4 { font-size: 18px; font-weight: 600; }
.mt-site p { font-size: 16px; line-height: 1.7; margin: 0; }
.mt-site i { padding-left: 0; }
.mt-site img { max-width: 100%; }
.mt-site a { text-decoration: none; }
.mt-site section { position: relative; }
.mt-site .container { max-width: 1200px; }

/* ---------- layout helpers ---------- */
.mt-section { padding: 96px 0; }
.mt-section--sm { padding: 64px 0; }
.mt-section--tint { background: var(--mt-surface); }
.mt-section--dark { background: var(--mt-grad-dark); color: rgba(255, 255, 255, .8); overflow: hidden; }
.mt-section--dark h1, .mt-section--dark h2, .mt-section--dark h3, .mt-section--dark h4 { color: #fff; }
.mt-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.mt-head .mt-lead { margin-top: 16px; }
.mt-title { margin-top: 14px; }
.mt-lead { font-size: 18px !important; line-height: 1.7 !important; color: var(--mt-muted); }
.mt-section--dark .mt-lead, .mt-hero .mt-lead { color: rgba(255, 255, 255, .78); }
.mt-grid { display: grid; gap: 24px; }
.mt-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mt-grid--4 { grid-template-columns: repeat(4, 1fr); }
.mt-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.mt-split--rev > :first-child { order: 2; }
.mt-center { text-align: center; }
.mt-stack > * + * { margin-top: 16px; }

/* ---------- eyebrow / gradient text ---------- */
.mt-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
    font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--mt-blue-700);
    background: #e8f2ff; border: 1px solid #cfe3fb;
}
.mt-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mt-green); box-shadow: 0 0 0 4px rgba(26, 177, 137, .2); }
.mt-section--dark .mt-eyebrow, .mt-hero .mt-eyebrow { color: #d7e9ff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.mt-grad-text { background: linear-gradient(120deg, #7ff0cf 0%, #63b3ff 55%, #8b7bff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.mt-grad-text--light { background: var(--mt-grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- hero ---------- */
.mt-hero { position: relative; overflow: hidden; color: #fff; background: var(--mt-grad-dark); padding: 96px 0 140px; isolation: isolate; }
.mt-hero--sm { padding: 72px 0 120px; }
.mt-hero::before {           /* glow orbs */
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(520px 420px at 12% 8%, rgba(26, 177, 137, .30), transparent 65%),
        radial-gradient(640px 520px at 92% 0%, rgba(99, 179, 255, .32), transparent 60%),
        radial-gradient(520px 420px at 70% 100%, rgba(139, 123, 255, .26), transparent 65%);
}
.mt-hero::after {            /* grid */
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
}
.mt-hero h1, .mt-hero h2 { color: #fff; }
.mt-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; display: block; }
.mt-hero__wave path { fill: #fff; }
.mt-hero__wave--tint path { fill: var(--mt-surface); }

/* ---------- buttons ---------- */
.mt-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 30px;
    border: 1.5px solid transparent; border-radius: 999px !important; cursor: pointer; white-space: nowrap;
    font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 500; line-height: 1; text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.mt-btn:hover { transform: translateY(-2px); }
.mt-btn--primary { background: var(--mt-green); color: #fff !important; box-shadow: 0 12px 28px rgba(26, 177, 137, .35); }
.mt-btn--primary:hover { background: var(--mt-green-dark); box-shadow: 0 16px 34px rgba(26, 177, 137, .45); }
.mt-btn--blue { background: var(--mt-blue-700); color: #fff !important; box-shadow: 0 12px 28px rgba(11, 75, 150, .3); }
.mt-btn--blue:hover { background: #093c78; }
.mt-btn--ghost { background: rgba(255, 255, 255, .08); color: #fff !important; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.mt-btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.mt-btn--outline { background: transparent; color: var(--mt-blue-700) !important; border-color: #b9d3f1; }
.mt-btn--outline:hover { background: #eef5ff; border-color: var(--mt-blue-500); }
.mt-btn--light { background: #fff; color: var(--mt-navy-900) !important; }
.mt-btn--sm { height: 44px; padding: 0 22px; font-size: 15px; }
.mt-btn i { font-size: 1.05em; }
.mt-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- cards ---------- */
.mt-card { background: #fff; border: 1px solid var(--mt-line); border-radius: var(--mt-radius); padding: 32px; box-shadow: var(--mt-shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; height: 100%; }
.mt-card:hover { transform: translateY(-5px); box-shadow: var(--mt-shadow-md); border-color: #cfe0f5; }
.mt-card h3 { margin: 18px 0 10px; }
.mt-card p { color: var(--mt-muted); font-size: 15px; }
.mt-card--glass { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); box-shadow: none; }
.mt-card--glass:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); box-shadow: none; }
.mt-card--glass h3 { color: #fff; }
.mt-card--glass p { color: rgba(255, 255, 255, .72); }
.mt-icon {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; color: var(--mt-blue-700);
    background: linear-gradient(135deg, #e6f1ff, #e3faf3);
}
.mt-icon--solid { color: #fff; background: var(--mt-grad-brand); box-shadow: 0 10px 22px rgba(26, 177, 137, .3); }
.mt-icon--glass { color: var(--mt-mint); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }

/* ---------- small pieces ---------- */
.mt-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; background: #f2faf7; border: 1px solid #cdeee3; color: #0e6f55; }
.mt-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--mt-green); color: #fff; }
.mt-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.mt-check li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.6; }
.mt-check li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; font-size: 22px; line-height: 1.3; color: var(--mt-green); }
.mt-section--dark .mt-check li, .mt-hero .mt-check li { color: rgba(255, 255, 255, .88); }
.mt-stat b { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; line-height: 1.1; color: var(--mt-ink); }
.mt-stat span { font-size: 14px; color: var(--mt-muted); }
.mt-section--dark .mt-stat b, .mt-hero .mt-stat b { color: #fff; }
.mt-section--dark .mt-stat span, .mt-hero .mt-stat span { color: rgba(255, 255, 255, .7); }
.mt-divider { height: 1px; background: var(--mt-line); border: 0; margin: 0; }

/* ---------- CTA band ---------- */
.mt-cta { position: relative; overflow: hidden; border-radius: 32px; padding: 64px 48px; text-align: center; color: #fff; background: var(--mt-grad-dark); isolation: isolate; }
.mt-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px 300px at 10% 0%, rgba(26, 177, 137, .4), transparent 65%), radial-gradient(480px 340px at 95% 100%, rgba(99, 179, 255, .35), transparent 65%); }
.mt-cta h2 { color: #fff; max-width: 720px; margin: 0 auto; }
.mt-cta p { color: rgba(255, 255, 255, .8); margin: 16px auto 32px; max-width: 620px; font-size: 18px; }
.mt-cta .mt-actions { justify-content: center; }

/* ---------- marquee (client app names / logos) ---------- */
.mt-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mt-marquee__track { display: flex; gap: 14px; width: max-content; animation: mtMarquee 46s linear infinite; }
.mt-marquee:hover .mt-marquee__track { animation-play-state: paused; }
.mt-marquee__item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--mt-line); font-size: 15px; font-weight: 500; color: var(--mt-ink); box-shadow: var(--mt-shadow-sm); }
.mt-marquee__item i { color: var(--mt-green); }
.mt-section--dark .mt-marquee__item { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
@keyframes mtMarquee { to { transform: translateX(-50%); } }

/* ---------- phone mockup (pure CSS; put any markup inside .mt-phone__screen) ---------- */
.mt-phone { position: relative; width: 270px; aspect-ratio: 9 / 18.5; border-radius: 42px; padding: 10px; background: linear-gradient(160deg, #1e293b, #0b1220); box-shadow: 0 40px 80px rgba(2, 8, 23, .5), inset 0 0 0 2px rgba(255, 255, 255, .08); margin: 0 auto; }
.mt-phone::before { content: ''; position: absolute; top: 18px; left: 50%; width: 82px; height: 22px; transform: translateX(-50%); background: #0b1220; border-radius: 999px; z-index: 3; }
.mt-phone__screen { position: relative; width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #fff; color: var(--mt-ink); }
.mt-float { animation: mtFloat 6s ease-in-out infinite; }
@keyframes mtFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- accordion (FAQ) ---------- */
.mt-acc { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.mt-acc details { background: #fff; border: 1px solid var(--mt-line); border-radius: 16px; padding: 0 24px; transition: box-shadow .2s, border-color .2s; }
.mt-acc details[open] { border-color: #b9d3f1; box-shadow: var(--mt-shadow-md); }
.mt-acc summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 17px; font-weight: 600; color: var(--mt-ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.mt-acc summary::-webkit-details-marker { display: none; }
.mt-acc summary::after { content: '\F282'; font-family: 'bootstrap-icons'; font-size: 16px; color: var(--mt-blue-700); transition: transform .2s; flex: none; }
.mt-acc details[open] summary::after { transform: rotate(180deg); }
.mt-acc .body { padding: 0 0 22px; color: var(--mt-muted); font-size: 15.5px; line-height: 1.75; }

/* ---------- scroll reveal ---------- */
.mt-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.mt-reveal.is-in { opacity: 1; transform: none; }
.mt-reveal[data-delay="1"] { transition-delay: .08s; } .mt-reveal[data-delay="2"] { transition-delay: .16s; } .mt-reveal[data-delay="3"] { transition-delay: .24s; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.mt-site .mt-nav { position: sticky; top: 0; z-index: 1030; height: 76px; padding: 0; background: rgba(255, 255, 255, .86) !important; backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(226, 232, 240, .8); box-shadow: none; }
.mt-nav .container { height: 100%; }
.mt-nav .brand-logo-img { height: 46px; width: auto; }
.mt-nav .navbar-nav { gap: 4px; }
.mt-nav .nav-link { font-size: 15px !important; font-weight: 500 !important; color: var(--mt-text) !important; padding: 10px 14px !important; border-radius: 10px; transition: color .15s, background .15s; }
.mt-nav .nav-link:hover, .mt-nav .nav-link.active-nav, .mt-nav .nav-link.show { color: var(--mt-blue-700) !important; background: #eef5ff; }
.mt-nav .dropdown-toggle::after { border: 0; content: '\F282'; font-family: 'bootstrap-icons'; font-size: 11px; vertical-align: 1px; margin-left: 6px; }
.mt-nav .mt-mega { border: 1px solid var(--mt-line); border-radius: 20px; padding: 12px; margin-top: 0; box-shadow: var(--mt-shadow-lg); min-width: 360px; }
.mt-nav .mt-mega .dropdown-item { display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px; border-radius: 14px; white-space: normal; }
.mt-nav .mt-mega .dropdown-item:hover { background: #f3f8ff; }
.mt-nav .mt-mega .mi { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: var(--mt-blue-700); background: linear-gradient(135deg, #e6f1ff, #e3faf3); }
.mt-nav .mt-mega b { display: block; font-size: 15px; font-weight: 600; color: var(--mt-ink); }
.mt-nav .mt-mega small { display: block; font-size: 13px; line-height: 1.4; color: var(--mt-muted); }
.mt-nav .mt-nav-cta { display: flex; align-items: center; gap: 10px; }
.mt-nav .navbar-toggler { border: 0; box-shadow: none !important; padding: 8px; }
@media (min-width: 992px) { .mt-nav .dropdown:hover > .dropdown-menu { display: block; } }
@media (max-width: 991.98px) {
    .mt-site .mt-nav { height: auto; min-height: 68px; }
    .mt-nav .navbar-collapse { background: #fff; margin: 0 -12px; padding: 14px 16px 20px; border-top: 1px solid var(--mt-line); max-height: calc(100vh - 68px); overflow-y: auto; }
    .mt-nav .mt-mega { min-width: 0; box-shadow: none; border: 0; margin: 0; padding: 0 0 0 8px; }
    .mt-nav .mt-nav-cta { margin-top: 12px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.mt-footer { position: relative; color: rgba(255, 255, 255, .72); background: var(--mt-navy-950); overflow: hidden; }
.mt-footer::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 380px at 8% 0%, rgba(26, 177, 137, .16), transparent 65%), radial-gradient(640px 420px at 95% 20%, rgba(99, 179, 255, .16), transparent 65%); }
.mt-footer .container { position: relative; }
.mt-footer__cta { position: relative; z-index: 2; padding-top: 56px; }
.mt-footer__cta-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 40px 48px; border-radius: 28px; color: #fff; background: var(--mt-grad-brand); box-shadow: 0 30px 60px rgba(4, 13, 32, .45); }
.mt-footer__cta-box h3 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); max-width: 620px; line-height: 1.3; }
.mt-footer__cta-box p { color: rgba(255, 255, 255, .88); margin-top: 8px; font-size: 16px; }
.mt-footer__main { padding: 8px 0 56px; margin-top: 20px; }
.mt-footer h4 { font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.mt-footer a { color: rgba(255, 255, 255, .72); transition: color .15s, transform .15s; }
.mt-footer a:hover { color: #fff; }
.mt-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mt-footer__links a { font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.mt-footer__links a:hover { transform: translateX(3px); }
.mt-footer__brand img { height: 52px; width: auto; }
.mt-footer__brand p { margin-top: 18px; font-size: 15px; line-height: 1.75; max-width: 340px; }
.mt-footer__social { display: flex; gap: 10px; margin-top: 24px; }
.mt-footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: 16px; }
.mt-footer__social a:hover { background: var(--mt-green); border-color: var(--mt-green); transform: translateY(-3px); }
.mt-footer__contact { display: grid; gap: 16px; font-size: 15px; }
.mt-footer__contact div { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.mt-footer__contact i { color: var(--mt-mint); font-size: 18px; margin-top: 2px; }
.mt-footer__store { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 18px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff !important; }
.mt-footer__store:hover { background: rgba(255, 255, 255, .14); }
.mt-footer__store i { font-size: 26px; }
.mt-footer__store small { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.mt-footer__store b { font-size: 16px; font-weight: 600; }
.mt-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 14px; }
.mt-footer__bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mt-footer__bottom a { color: var(--mt-mint); }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
    .mt-section { padding: 72px 0; }
    .mt-grid--3, .mt-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .mt-split { grid-template-columns: 1fr; gap: 40px; }
    .mt-split--rev > :first-child { order: 0; }
    .mt-hero { padding: 64px 0 120px; }
    .mt-cta { padding: 48px 24px; border-radius: 24px; }
    .mt-footer__cta-box { padding: 32px 26px; }
}
@media (max-width: 575.98px) {
    .mt-grid--2, .mt-grid--3, .mt-grid--4 { grid-template-columns: 1fr; }
    .mt-section { padding: 56px 0; }
    .mt-head { margin-bottom: 40px; }
    .mt-btn { width: 100%; }
    .mt-actions { width: 100%; }
    .mt-footer__bottom .container { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .mt-reveal { opacity: 1; transform: none; transition: none; }
    .mt-marquee__track, .mt-float { animation: none; }
    .mt-site *, .mt-site *::before, .mt-site *::after { scroll-behavior: auto !important; }
}
