/* global-ui.css - Universal Premium Header & Footer */
/* ── FONT VARIABLES (applied globally) ── */
:root {
  --rf-font-heading: 'Outfit', system-ui, sans-serif;   /* Outfit Bold for headings */
  --rf-font-sub:     'Manrope', system-ui, sans-serif;   /* Manrope for subheadings */
  --rf-font-body:    'Montserrat', system-ui, sans-serif; /* Montserrat for body text */
}
/* Apply body font globally (non-hero sections), override hero specifically later */
body { font-family: var(--rf-font-body); }
html, body { overflow-x: hidden !important; max-width: 100vw !important; }
/* Subheadings, labels, tags use Manrope */
.sec-lbl, .h-tag, .fsc-lbl, .si-lbl, .tc-biz, .foot-col-t,
.svc-tag, .proc-desc, .ba-sl, .rush-sub { font-family: var(--rf-font-sub) !important; }
/* Body paragraphs, descriptions use Montserrat */
.svc-desc, .foot-desc, .foot-lk, .tc-text, .proc-desc { font-family: var(--rf-font-body) !important; }

/* ── PREMIUM HEADER (Not Pill Shaped, Glassmorphic) ── */
#rfNav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26,29,36,0.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999990;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#rfNav.scrolled {
    background: rgba(10, 11, 14, 0.85);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 5%;
}

/* ── PI SCALE & GLOBAL GRADIENTS ── */
.proc-h2, .rush-h2, .ba-h2, .testi-h2, .plat-h2, .svc-h2, .form-h2, .faq-h2, .grad-text {
    background: linear-gradient(135deg, #8b5cf6, #ec4899) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}
.h1 { font-size: clamp(3.14rem, 4.5vw, 4.71rem) !important; letter-spacing: -3px; line-height: 0.95; }
.proc-h2, .rush-h2, .ba-h2, .testi-h2, .plat-h2, .svc-h2, .form-h2, .faq-h2 { font-size: clamp(3.14rem, 5vw, 4.71rem) !important; letter-spacing: -2px; line-height: 1; }
p, .h-sub, .proc-sub, .rush-sub, .plat-sub, .svc-sub, .testi-desc { font-size: clamp(1.1rem, 1.5vw, 1.57rem); line-height: 1.6; }
.h2 em, .h1 em, .proc-h2 em, .rush-h2 em, .ba-h2 em, .testi-h2 em, .plat-h2 em, .svc-h2 em {
    color: transparent !important;
    background: linear-gradient(135deg, #8b5cf6, #ec4899) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.nl img {
    height: 38px;
    width: auto;
    filter: none !important;
    display: block;
}

.nlinks {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nlink {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 8px; /* Adaptive slight roundness, not pill */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.nlink:hover, .nlink.active {
    color: #FFF;
    background: rgba(255, 255, 255, 0.1);
}

.ncta {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFF; /* Light text on purple */
    background: linear-gradient(135deg, #b3277b, #51307c);
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 8px; /* Not pill shaped */
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 24px rgba(81, 48, 124, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ncta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(81, 48, 124, 0.4);
    background: linear-gradient(135deg, #c4328b, #623a96);
}

@media(max-width: 768px) {
    .nlinks { display: none; }
    #rfNav { padding: 12px 5%; }
}

/* ── MOBILE NAV (Bottom) ── */
.mnav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15,17,21,0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
    z-index: 9999930;
    justify-content: space-around;
    align-items: center;
}

@media(max-width: 768px) {
    .mnav { display: flex; }
}

.mni {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #718096;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s;
}

.mni i { font-size: 1.3rem; }
.mni:hover, .mni.active { color: #51307c; background: rgba(81, 48, 124, 0.08); }

/* ── UNIVERSAL FOOTER ── */
#rfFoot {
    background: #0A0B0E;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 5% 40px;
}

.foot-in {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.foot-logo img {
    height: 42px;
    filter: none !important;
    margin-bottom: 18px;
    display: block;
}

.foot-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 280px;
}

.foot-col-t {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.foot-lk {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s, transform 0.3s;
}

.foot-lk:hover {
    color: #FFF;
    transform: translateX(4px);
}

.foot-bot {
    max-width: 1320px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.foot-bot a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.3s;
}
.foot-bot a:hover { opacity: 1; }

.evolnex-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 100px; background: rgba(81, 48, 124, 0.05); border: 1px solid rgba(81, 48, 124, 0.2); text-decoration: none; font-family: 'Outfit', sans-serif; font-size: 0.8rem; font-weight: 700; color: #51307c; position: relative; overflow: hidden; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); margin-left: 4px; }
.evolnex-badge::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(179, 39, 123, 0.4), transparent); transform: skewX(-20deg); transition: all 0.6s ease; }
.evolnex-badge:hover { background: rgba(81, 48, 124, 0.1); border-color: rgba(81, 48, 124, 0.3); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.05), 0 0 15px rgba(81, 48, 124, 0.1); }
.evolnex-badge:hover::before { left: 200%; }
.evolnex-badge span { color: #b3277b; letter-spacing: 0.5px; }
.evolnex-badge i { font-size: 1rem; color: #b3277b; transition: transform 0.4s ease; }
.evolnex-badge:hover i { transform: scale(1.1); color: #51307c; }

@media(max-width: 900px) {
    .foot-in { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media(max-width: 480px) {
    .foot-in { grid-template-columns: 1fr; }
    .foot-bot { flex-direction: column; gap: 15px; text-align: center; }
}
@media(max-width: 1024px) {
    #rfFoot, .site-foot { padding-bottom: 120px !important; }
}

/* ============================================================
   USER REQUESTED STRICT GLOBAL FONTS
   ============================================================ */
/* Montserrat for Body */
body { font-family: 'Montserrat', sans-serif !important; }
p, a, li { font-family: 'Montserrat', sans-serif; }

/* Outfit Bold for Headings (Ignoring hero sections .h1 / .ah-h1 if they use Cormorant) */
h1:not(.h1):not(.ah-h1), 
h2, h3, h4, h5, h6, 
.vm-h2, .svc-title, .proc-h2, .rush-h2, .ba-h2, .testi-h2, .form-h2, .faq-h2 {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
}

/* Manrope for Subheadings */
.subheading, .sec-lbl, .h-sub, .ah-sub, .proc-sub, .rush-sub, .f-feat-text p, .vm-desc {
  font-family: 'Manrope', sans-serif !important;
}

/* Protect Icons from being overridden by generic span/div rules if applied later */
[class^="ri-"], [class*=" ri-"] {
  font-family: 'remixicon' !important;
}

/* Fix User Request: NO ITALICS anywhere in headings or text (except icons) */
em {
  font-style: normal !important;
}

/* Fix User Request: Marketing 'G' cut off due to gradient clipping */
.proc-h2, .rush-h2, .ba-h2, .testi-h2, .plat-h2, .svc-h2, .form-h2, .faq-h2, .grad-text, h1, h2, h3, h4, h5, h6, em {
  padding-bottom: 0.15em !important;
  line-height: 1.15 !important;
}
