/* remarketer.ca on Metronic 8 + Bootstrap 5. Brand from the WordPress site:
   primary #4D39E9, dark #1B2032, heading #272D3A, light #F2F3F3, accent #F8B526.
   Montserrat everywhere (Mahmood 2026-12-05). */
:root, [data-bs-theme=light] {
    --bs-primary: #4D39E9;
    --bs-primary-rgb: 77, 57, 233;
    --bs-primary-active: #3a27d1;
    --bs-primary-light: #EEEBFD;
    --bs-primary-inverse: #ffffff;
    --bs-text-primary: #4D39E9;
    --bs-link-color: #4D39E9;
    --bs-link-hover-color: #3a27d1;
    --rm-dark: #1B2032;
    --rm-heading: #272D3A;
    --rm-accent: #F8B526;
    --rm-light: #F2F3F3;
    --bs-body-font-family: "Montserrat", Inter, Helvetica, sans-serif;
    --bs-font-sans-serif: "Montserrat", Inter, Helvetica, sans-serif;
}
body.rm-site { font-family: var(--bs-body-font-family); font-size: 1rem; line-height: 1.7; color: #4b5563; }
.rm-site h1, .rm-site h2, .rm-site h3, .rm-site h4, .rm-site h5, .rm-site .rm-heading, .rm-site .btn { font-family: "Montserrat", Inter, Helvetica, sans-serif; }
.rm-site h1, .rm-site h2 { letter-spacing: -0.02em; }
.rm-site h2, .rm-site h3 { color: var(--rm-heading); }
.text-accent { color: var(--rm-accent) !important; }
.bg-rm-dark { background-color: var(--rm-dark) !important; }
.bg-rm-light { background-color: var(--rm-light) !important; }
.bg-rm-primary { background-color: var(--bs-primary) !important; }
.btn.btn-primary { background-color: var(--bs-primary); border-color: var(--bs-primary); }
.btn.btn-primary:hover, .btn.btn-primary:focus, .btn.btn-primary:active { background-color: var(--bs-primary-active) !important; border-color: var(--bs-primary-active) !important; }
.btn.btn-accent { background: var(--rm-accent); color: var(--rm-dark); font-weight: 700; }
.btn.btn-accent:hover { background: #e9a514; color: var(--rm-dark); }
a.rm-link-accent { color: var(--rm-accent); font-weight: 700; }
a.rm-link-accent:hover { color: #fff; }

/* ---------- top band + header ---------- */
.rm-top { position: relative; background-color: var(--rm-dark); }
.rm-top::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,32,50,.88) 0%, rgba(27,32,50,.72) 60%, rgba(27,32,50,.9) 100%); pointer-events: none; }
.rm-top > * { position: relative; }
.rm-curve { color: #1d2234; margin-top: -1px; line-height: 0; }
.rm-curve svg { display: block; width: 100%; height: auto; }
.rm-header { padding: 1.25rem 0; z-index: 105; }
.rm-header .menu-lg-title-white > .menu-item > .menu-link .menu-title { color: #fff; }
.rm-header .rm-caret { color: rgba(255,255,255,.7); }
@media (min-width: 992px) {
    .rm-header #rm_menu > .menu-item > .menu-link .menu-title { color: rgba(255,255,255,.9); font-weight: 700; }
    .rm-header #rm_menu > .menu-item > .menu-link:hover .menu-title,
    .rm-header #rm_menu > .menu-item.here > .menu-link .menu-title,
    .rm-header #rm_menu > .menu-item > .menu-link.active .menu-title { color: var(--rm-accent); }
    .rm-header #rm_menu > .menu-item > .menu-link.active, .rm-header #rm_menu > .menu-item > .menu-link:hover { background: transparent; }
}
[data-kt-sticky-landing-header=on] .rm-header { position: fixed; top: 0; left: 0; right: 0; background: var(--rm-dark); box-shadow: 0 10px 30px rgba(0,0,0,.25); padding: .75rem 0; animation: animation-sticky-down .3s ease; }
@keyframes animation-sticky-down { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.rm-drawer.drawer { background: #fff; }
.rm-drawer.drawer .menu-title { color: var(--rm-heading) !important; }

/* hero */
.rm-hero { padding: 4rem 0 6rem; color: #fff; }
.rm-hero h1 { color: #fff; font-weight: 700; font-size: calc(1.6rem + 2.4vw); line-height: 1.15; }
@media (min-width: 1200px) { .rm-hero h1 { font-size: 3.4rem; } }
.rm-hero .lead { color: rgba(255,255,255,.8); font-size: 1.3rem; }
.rm-hero-sm { padding: 3rem 0 4.5rem; }
/* Home hero: taller, content centred vertically */
.rm-hero-lg { padding: 6rem 0 8rem; }
@media (min-width: 992px) { .rm-hero-lg { min-height: min(calc(100vh - 90px), 900px); display: flex; align-items: center; padding: 8rem 0 10rem; } .rm-hero-lg > .container { width: 100%; } }
.rm-hero-sm h1 { font-size: calc(1.4rem + 1.6vw); }
@media (min-width: 1200px) { .rm-hero-sm h1 { font-size: 2.75rem; } }
.rm-eyebrow { display: inline-block; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rm-accent); margin-bottom: 1rem; }
.rm-typed { color: var(--rm-accent); }

/* sections */
.rm-section { padding: 6rem 0; }
.rm-section-sm { padding: 4rem 0; }
@media (min-width: 992px) { .rm-section { padding: 8.5rem 0; } .rm-section-sm { padding: 5.5rem 0; } }
.rm-section-title { font-weight: 700; font-size: calc(1.3rem + 1.2vw); margin-bottom: 1rem; }
@media (min-width: 1200px) { .rm-section-title { font-size: 2.5rem; } }
.rm-section-lead { font-size: 1.15rem; color: #6b7280; max-width: 760px; margin: 0 auto; }
.rm-purple { background: var(--bs-primary) url('/site/media/bg/purble-background.png') center/cover no-repeat; color: #fff; }
.rm-purple h2, .rm-purple h3, .rm-purple h4 { color: #fff; }
.rm-purple .rm-section-lead { color: rgba(255,255,255,.85); }
.rm-dark { background-color: var(--rm-dark); color: rgba(255,255,255,.8); }
.rm-dark h2, .rm-dark h3, .rm-dark h4 { color: #fff; }
.rm-parallax { position: relative; background-size: cover; background-position: center; }
.rm-parallax::before { content: ""; position: absolute; inset: 0; background: rgba(27,32,50,.78); }
.rm-parallax > .container { position: relative; }
.rm-cta { background-color: var(--rm-dark); }
.rm-cta::before { content: ""; position: absolute; inset: 0; background: rgba(27,32,50,.82); }

/* feature tiles (home) */
.rm-tile { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 1rem; padding: 1.75rem; height: 100%; transition: transform .25s ease, background .25s ease; }
.rm-tile:hover { transform: translateY(-6px); background: rgba(255,255,255,.14); }
.rm-tile .rm-tile-icon { width: 56px; height: 56px; border-radius: .9rem; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.rm-tile .rm-tile-icon i { color: var(--rm-accent); font-size: 1.9rem; }
.rm-tile h3 { color: #fff; font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.rm-tile p { color: rgba(255,255,255,.8); margin-bottom: .9rem; }
.rm-tile a { color: var(--rm-accent); font-weight: 700; font-size: .95rem; }
.rm-tile a:hover { color: #fff; }

/* light cards */
.rm-card { background: #fff; border: 1px solid #eef0f4; border-radius: 1rem; padding: 2rem; height: 100%; box-shadow: 0 6px 24px rgba(27,32,50,.06); }
.rm-card .rm-card-icon { width: 54px; height: 54px; border-radius: .9rem; background: var(--bs-primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.rm-card .rm-card-icon i { color: var(--bs-primary); font-size: 1.8rem; }
.rm-card h3, .rm-card h4 { font-size: 1.2rem; font-weight: 700; color: var(--rm-heading); }
.rm-check { list-style: none; padding-left: 0; margin: 0; }
.rm-check li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.rm-check li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: -.05rem; color: var(--bs-primary); font-size: 1.25rem; line-height: 1.4; }
.rm-dark .rm-check li::before, .rm-purple .rm-check li::before { color: var(--rm-accent); }

/* console features page */
.rm-feature-row { padding: 4rem 0; border-bottom: 1px solid #eef0f4; scroll-margin-top: 110px; }
.rm-feature-row:last-child { border-bottom: 0; }
.rm-feature-row img { max-height: 340px; }
.rm-feature-row h2 { font-size: 1.85rem; font-weight: 700; }
.rm-subnav { position: sticky; top: 72px; z-index: 90; background: #fff; border-bottom: 1px solid #eef0f4; }
.rm-subnav .nav-link { color: #6b7280; font-weight: 600; white-space: nowrap; padding: 1rem .9rem; }
.rm-subnav .nav-link.active, .rm-subnav .nav-link:hover { color: var(--bs-primary); }
.rm-subnav .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.rm-subnav .nav::-webkit-scrollbar { display: none; }

/* home scroll-section bullets (like Avada's scroll section nav) */
.rm-bullets { position: fixed; right: 1.5rem; top: 50%; transform: translateY(-50%); z-index: 80; display: none; flex-direction: column; gap: .8rem; }
.rm-bullets.show { display: flex; }
.rm-bullets a { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--bs-primary); background: transparent; display: block; }
.rm-bullets a.active { background: var(--bs-primary); }
@media (max-width: 991.98px) { .rm-bullets { display: none !important; } }

/* logos */
.rm-logo-strip img { max-height: 56px; max-width: 150px; filter: grayscale(100%); opacity: .75; transition: all .25s; }
.rm-logo-strip a:hover img, .rm-logo-strip img:hover { filter: none; opacity: 1; }

/* integrations */
.rm-int-card { display: block; background: #fff; border-radius: 1rem; overflow: hidden; border: 1px solid #eef0f4; box-shadow: 0 6px 24px rgba(27,32,50,.06); height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.rm-int-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(27,32,50,.12); }
.rm-int-card img.rm-int-img { width: 100%; aspect-ratio: 700 / 441; object-fit: cover; }
.rm-int-card .rm-int-body { padding: 1.4rem 1.5rem 1.6rem; }
.rm-int-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--rm-heading); margin-bottom: .5rem; }
.rm-int-card p { color: #6b7280; margin-bottom: 0; font-size: .98rem; }
.rm-filter .btn { border-radius: 2rem; }

/* post / article */
.rm-article { font-size: 1.12rem; line-height: 1.8; color: #374151; }
.rm-article h2, .rm-article h3 { margin-top: 2.2rem; margin-bottom: 1rem; font-weight: 700; }
.rm-article h2 { font-size: 1.7rem; }
.rm-article h3 { font-size: 1.35rem; }
.rm-article h4 { font-size: 1.15rem; margin-top: 1.6rem; font-weight: 700; }
.rm-article ul, .rm-article ol { margin-bottom: 1.25rem; }
.rm-article li { margin-bottom: .5rem; }
.rm-article img { max-width: 100%; height: auto; border-radius: .75rem; margin: 1rem 0; }
.rm-article a { font-weight: 600; }

/* pricing */
.rm-plan { background: #fff; border: 1px solid #eef0f4; border-radius: 1rem; padding: 2.25rem 1.75rem; height: 100%; display: flex; flex-direction: column; box-shadow: 0 6px 24px rgba(27,32,50,.06); position: relative; }
.rm-plan.featured { border: 2px solid var(--bs-primary); box-shadow: 0 16px 40px rgba(77,57,233,.18); }
.rm-plan .rm-plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); }
.rm-plan .rm-price { font-family: "Montserrat", sans-serif; font-size: 2.6rem; font-weight: 800; color: var(--rm-heading); line-height: 1; }
.rm-plan .rm-period { color: #9ca3af; font-weight: 600; }
.rm-plan .rm-check { flex-grow: 1; margin: 1.5rem 0 2rem; font-size: .98rem; }

/* footer */
.rm-footer { background: #151a2a; color: rgba(255,255,255,.65); }
.rm-footer-title { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 1.25rem; }
.rm-footer-text, .rm-footer-text a, .rm-footer a { color: rgba(255,255,255,.65); }
.rm-footer a:hover { color: var(--rm-accent); }
.rm-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.rm-social a { color: rgba(255,255,255,.7); }

/* forms */
.rm-lead-form .form-control { font-family: "Montserrat", sans-serif; }

/* WOW: hide until revealed (only when JS runs) */
.wow { visibility: hidden; }
.no-wow .wow { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .wow { visibility: visible !important; animation: none !important; } }

/* video */
.rm-video { position: relative; padding-top: 56.25%; border-radius: 1rem; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.rm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rm-video-thumb { position: relative; display: block; border-radius: .9rem; overflow: hidden; }
.rm-video-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s; }
.rm-video-thumb:hover img { transform: scale(1.04); }
.rm-video-thumb .rm-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(27,32,50,.25); }
.rm-video-thumb .rm-play i { font-size: 3.5rem; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.4); }

/* Accordions (feed setup, FAQ) and numbered steps */
.rm-accordion .accordion-item { border: 1px solid #eef0f4; border-radius: 1rem !important; overflow: hidden; box-shadow: 0 6px 24px rgba(27,32,50,.05); }
.rm-accordion .accordion-button { font-family: "Montserrat", sans-serif; color: var(--rm-heading); padding: 1.4rem 1.75rem; }
.rm-accordion .accordion-button:not(.collapsed) { color: var(--bs-primary); background: #f6f5ff; box-shadow: none; }
.rm-accordion .accordion-body { padding: 1.5rem 1.75rem 2rem; }
.rm-steps { padding-left: 1.4rem; }
.rm-steps > li { margin-bottom: 1.75rem; padding-left: .35rem; }
.rm-steps > li::marker { color: var(--bs-primary); font-weight: 700; }
.rm-faq-nav .btn.active { background: var(--bs-primary); color: #fff; }

.rm-footer-legal { font-size: .75rem; line-height: 1.5; color: rgba(255,255,255,.45); }

.rm-card-img { display: block; max-height: 220px; width: auto; max-width: 100%; margin: -.5rem auto 1.25rem; }

/* Text panel over busy backgrounds (home app section) */
.rm-glass { background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 1rem; padding: 2rem; box-shadow: 0 10px 30px rgba(27,32,50,.08); }
@media (max-width: 575.98px) { .rm-glass { padding: 1.5rem; } }

/* Logo strips: CSS marquee (site.js duplicates the items once; without JS they show as a centred wrap) */
.rm-logo-strip { 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); }
.rm-marquee { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.5rem; }
.rm-marquee.rm-marquee-on { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: rm-marquee var(--rm-marquee-time, 40s) linear infinite; }
.rm-logo-strip:hover .rm-marquee-on { animation-play-state: paused; }
.rm-marquee-item { flex: 0 0 auto; height: 80px; display: flex; align-items: center; justify-content: center; }
@keyframes rm-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 1.25rem)); } }
@media (prefers-reduced-motion: reduce) { .rm-marquee.rm-marquee-on { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .rm-marquee-on .rm-marquee-clone { display: none; } }
