/* /fbv2 dark theme: the page body is inverted to dark, then photos, videos and
   logos are inverted back so they show in their real colours. Header text is
   switched to white; the footer is already dark. */
html.fbv2, html.fbv2 body { background: #0d0c12 !important; }
html.fbv2 main.main { filter: invert(1) hue-rotate(180deg); background: #f2f3ed; }
html.fbv2 main.main img, html.fbv2 main.main video, html.fbv2 main.main picture, html.fbv2 main.main svg image { filter: invert(1) hue-rotate(180deg); }
/* sections that were already dark go back to dark (inverted twice), so their images need no correction */
html.fbv2 main.main section[class*="Reviews_section"], html.fbv2 main.main section[class*="Tech_section"] { filter: invert(1) hue-rotate(180deg); }
html.fbv2 main.main section[class*="Reviews_section"] img, html.fbv2 main.main section[class*="Tech_section"] img { filter: none; }
/* header and its menus: inverted too, so the logo and links read white on dark */
html.fbv2 nav[class*="Header_navbarWrapper"] { filter: invert(1) hue-rotate(180deg); }
/* statement section: styled directly in dark, the pastel bloom photos replaced by a violet glow */
html.fbv2 main.main section[class*="Statement_section"] { filter: invert(1) hue-rotate(180deg); background: #0d0c12 !important; }
html.fbv2 main.main section[class*="Statement_section"] img { filter: none; }
html.fbv2 section[class*="Statement_section"] [class*="Statement_bloom"] { display: none !important; }
html.fbv2 section[class*="Statement_section"] [class*="Statement_sticky"] {
  background:
    radial-gradient(55% 60% at 30% 70%, rgba(180,110,241,.28), transparent 70%),
    radial-gradient(50% 55% at 75% 40%, rgba(110,80,200,.22), transparent 70%),
    #0d0c12;
}
html.fbv2 section[class*="Statement_section"] [class*="Statement_word"] { color: #4a4558 !important; }
html.fbv2 section[class*="Statement_section"] [class*="Statement_strong"] { color: #ffffff !important; }
/* tools grid: logos are black marks, so they invert to white with the page */
html.fbv2 main.main .fbTools img { filter: none; }
html.fbv2 main.main .fbTools img[src*="whatsapp"] { filter: invert(1) hue-rotate(180deg); }
/* the selected tab in FuturByte violet (inverted back, so these colours show as written) */
html.fbv2 main.main .fbTools button[aria-pressed="true"] { filter: invert(1) hue-rotate(180deg); background: #9b5de5 !important; color: #ffffff !important; border-color: #9b5de5 !important; }
/* marketing logos are drawn in their brand colours, so they are inverted back to show as written */
html.fbv2 main.main .fbTools img[src*="/fbv2/mk/"] { filter: invert(1) hue-rotate(180deg); }
/* FuturByte mark: a large glowing Y in the hero in place of the arches, and a smaller one on the closing call to action.
   Pseudo-elements are inverted back so the violet shows as drawn. */
html.fbv2 section[class*="hero_hero"]::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: 6%; top: 110px; width: min(560px, 42vw); aspect-ratio: 1;
  background: url("/fbv2/mark-anim.svg?v=1") center / contain no-repeat;
  filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 60px rgba(180,110,241,.55));
  opacity: .9; animation: fbGlow 4s ease-in-out 2.2s infinite;
}
html.fbv2 section[class*="FinalCta_section"] { position: relative; overflow: hidden; }
html.fbv2 section[class*="FinalCta_section"]::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: 4%; bottom: -40px; width: 300px; aspect-ratio: 1;
  background: url("/fbv2/mark-anim.svg?v=1") center / contain no-repeat;
  filter: invert(1) hue-rotate(180deg); opacity: .18;
}
@media (max-width: 760px) {
  html.fbv2 section[class*="hero_hero"]::after { right: -10%; top: 90px; width: 70vw; opacity: .35; }
  html.fbv2 section[class*="FinalCta_section"]::after { width: 180px; }
}
@keyframes fbGlow {
  0%,100% { filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 40px rgba(180,110,241,.35)); }
  50%     { filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 90px rgba(180,110,241,.75)); }
}
@media (prefers-reduced-motion: reduce) { html.fbv2 section[class*="hero_hero"]::after { animation: none; } }
/* hero bars: fully rounded pills instead of flat-bottomed arches */
html.fbv2 section[class*="hero_hero"] [class*="hero_arch_"], html.fbv2 section[class*="hero_hero"] span[class*="hero_arch"] { border-radius: 999px !important; }
html.fbv2 section[class*="hero_hero"] [class*="hero_arch_"] { background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.3)) !important; }
/* Codeeo's sales line is not shown on the FuturByte page */
html.fbv2 a[href^="tel:+971588448631"] { display: none !important; }
/* footer social links as icons */
html.fbv2 footer a[href*="linkedin.com/company/futurbyte"], html.fbv2 footer a[href*="facebook.com/FuturByte"], html.fbv2 footer a[href*="instagram.com/futurbyte"], html.fbv2 footer a[href*="x.com/futurbyte"], html.fbv2 footer a[href*="clutch.co/profile/futurbyte"] {
  display: inline-flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18); font-size: 0 !important; color: transparent !important; line-height: 0;
  background: center / 18px 18px no-repeat; transition: background-color .2s, border-color .2s;
}
html.fbv2 footer a[href*="linkedin.com/company/futurbyte"] { background-image: url("/fbv2/social/linkedin.svg"); }
html.fbv2 footer a[href*="facebook.com/FuturByte"]         { background-image: url("/fbv2/social/facebook.svg"); }
html.fbv2 footer a[href*="instagram.com/futurbyte"]        { background-image: url("/fbv2/social/instagram.svg"); }
html.fbv2 footer a[href*="x.com/futurbyte"]                { background-image: url("/fbv2/social/x.svg"); }
html.fbv2 footer a[href*="clutch.co/profile/futurbyte"]    { background-image: url("/fbv2/social/clutch.svg"); background-size: 22px 22px; }
html.fbv2 footer a[href*="futurbyte"][href^="https://"]:is([href*="linkedin"],[href*="facebook"],[href*="instagram"],[href*="x.com"],[href*="clutch"]):hover { background-color: #9b5de5; border-color: #9b5de5; }
/* client logos in white: turned solid black here, which the page inversion shows as white */
html.fbv2 main.main img[class*="TrustedCompanies_logo"] { filter: brightness(0) !important; opacity: 1; }
html.fbv2 main.main img[class*="TrustedCompanies_logo"][src*="ghezlan"] { content: url("/fbv2/clients/ghezlan.svg"); }
/* larger FuturByte logo in the header */
html.fbv2 nav a[class*="Header_logo"] img { width: 172px !important; height: auto !important; max-width: none !important; }
@media (max-width: 760px) { html.fbv2 nav a[class*="Header_logo"] img { width: 142px !important; } }
/* Services menu side panel: the FuturByte Y in place of the arches */
html.fbv2 [class*="MegaPanel_arches"] { position: relative; }
html.fbv2 [class*="MegaPanel_arches"] > span { visibility: hidden; }
html.fbv2 [class*="MegaPanel_arches"]::after {
  content: ""; position: absolute; inset: 0; background: url("/fbv2/mark-anim.svg?v=1") center bottom / contain no-repeat;
  filter: drop-shadow(0 0 30px rgba(180,110,241,.45));
}
/* FuturByte service pages: styled directly in dark, so kept out of the page inversion */
html.fbv2 main.main .fbDark { filter: invert(1) hue-rotate(180deg); }
html.fbv2 main.main .fbDark img { filter: none; }
/* Capabilities is a dark section in its own CSS, so it goes back to dark (inverted twice) */
html.fbv2 main.main section[class*="Capabilities_section"] { filter: invert(1) hue-rotate(180deg); }
html.fbv2 main.main section[class*="Capabilities_section"] img { filter: none; }
html.fbv2 section[class*="Capabilities_section"] [class*="Capabilities_cta"] { background: #9b5de5 !important; color: #fff !important; }
html.fbv2 section[class*="Capabilities_section"] [class*="Capabilities_cta"]:hover { background: #b46ef1 !important; }
html.fbv2 section[class*="Capabilities_section"] [class*="Capabilities_nameRich"], html.fbv2 section[class*="Capabilities_section"] [class*="Capabilities_nameLink"]:hover { color: #cc9cff !important; }
/* FAQ answer mark: the FuturByte Y instead of the arch (inverted back so the violet shows as drawn) */
html.fbv2 [class*="Faq_mark"] { background: url("/fbv2/mark.svg") center / contain no-repeat !important; border-radius: 0 !important; width: 34px !important; height: 34px !important; filter: invert(1) hue-rotate(180deg); }
/* homepage process diagram: last step in FuturByte violet instead of a grey block */
html.fbv2 main.main [class*="Framework_last"] { filter: invert(1) hue-rotate(180deg); background: linear-gradient(160deg, #9b5de5, #6c3fc0) !important; }
html.fbv2 main.main [class*="Framework_last"] * { color: #fff !important; }
/* homepage hero bars fade out behind the heading so the text reads cleanly */
html.fbv2 section[class*="hero_hero"] [class*="hero_panes"] { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.2) 40%, #000 72%); mask-image: linear-gradient(90deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.2) 40%, #000 72%); }
@media (max-width: 760px) { html.fbv2 section[class*="hero_hero"] [class*="hero_panes"] { -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.2) 40%, rgba(0,0,0,.12) 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.2) 40%, rgba(0,0,0,.12) 100%); } }
/* hero colours from his reference: plum, lavender, cobalt, coral and pink over near black.
   Drawn on a pseudo-element that is inverted back, so the colours show exactly as written. */
html.fbv2 section[class*="hero_hero"] { background: #ffffff !important; }
html.fbv2 section[class*="hero_hero"]::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,12,18,0) 80%, #0d0c12 100%), radial-gradient(65% 75% at 4% 20%, rgba(176,86,182,1) 0%, rgba(176,86,182,0) 72%), radial-gradient(48% 58% at 28% 46%, rgba(190,160,245,.9) 0%, rgba(190,160,245,0) 70%), radial-gradient(65% 70% at 42% 104%, rgba(66,112,224,1) 0%, rgba(66,112,224,0) 72%), radial-gradient(55% 70% at 100% 14%, rgba(236,84,60,1) 0%, rgba(236,84,60,0) 72%), radial-gradient(58% 68% at 96% 82%, rgba(255,134,176,1) 0%, rgba(236,96,166,0) 74%), #16131c;
  filter: invert(1) hue-rotate(180deg); }
/* hero bars as light glass over the colour (dark here = light after the page inversion) */
html.fbv2 section[class*="hero_hero"] [class*="hero_arch_"] { background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.03)) !important; box-shadow: inset 0 1px 0 rgba(0,0,0,.12); }
