    /* ==========ROOT=============================
  =================STYLING====================== */
    :root {
        --bg: #060a16;
        --bg-soft: #0a1128;
        --navy: #0b1d4a;
        --navy-deep: #071335;
        --blue: #0d4fd1;
        --blue-bright: #2f6bff;
        --cyan: #22d3ee;
        --cyan-soft: #7fe9ff;
        --ink: #eef3ff;
        --ink-dim: #93a2c4;
        --ink-faint: #5c6a8c;
        --line: rgba(148, 168, 220, 0.14);
        --radius: 14px;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        background: var(--bg);
        color: var(--ink);
        font-family: 'Inter', sans-serif;
        overflow-x: hidden;
        min-height: 100vh;
    }

    ::selection {
        background: var(--cyan);
        color: var(--navy-deep);
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    .mono {
        font-family: 'JetBrains Mono', monospace;
        letter-spacing: 0.08em;
    }

    /* ==================================================
     NAVBAR
     ================================================== */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 50;
        padding: 22px clamp(20px, 5vw, 56px);
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: padding .4s cubic-bezier(.22, 1, .36, 1), background .4s ease, border-color .4s ease, box-shadow .4s ease, color .4s ease, backdrop-filter .4s ease;
        border-bottom: 1px solid transparent;
    }

    .nav.scrolled {
        padding: 14px clamp(20px, 5vw, 56px);
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(18px) saturate(150%);
        -webkit-backdrop-filter: blur(18px) saturate(150%);
        border-bottom: 1px solid rgba(47, 107, 255, .14);
        box-shadow: 0 12px 35px rgba(5, 18, 55, .12);
    }

    /* The blur on the scrolled bar creates a containing block for fixed
       children. Disable it while the mobile drawer is open so the drawer
       always stays attached to the viewport. */
    .nav.scrolled.menu-open {
        background: transparent;
        border-bottom-color: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transition: none;
    }

    .nav.scrolled.menu-open .brand-name {
        color: var(--ink);
    }

    /* Keep the original BlueFlox identity on the white navbar.
     Only the word “Blue” changes from white to black; “Flox” stays cyan. */
    .nav.scrolled .brand-name {
        color: #05070c;
    }

    .nav.scrolled .brand-name span {
        color: var(--cyan);
    }

    /* Use the same cyan-to-blue treatment as the hero's “infinite loop” text. */
    .nav.scrolled .nav-links a {
        background: linear-gradient(100deg, var(--cyan) 0%, var(--blue-bright) 60%, var(--cyan) 100%);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .nav.scrolled .brand-mark {
        filter: drop-shadow(0 5px 12px rgba(47, 107, 255, .22));
    }

    .nav.scrolled .nav-links a::after {
        background: var(--blue-bright);
    }

    .nav.scrolled .nav-links a:hover {
        background-position: 100% center;
    }

    /* The CTA intentionally keeps its original unscrolled gradient and icon colors. */
    .nav.scrolled .nav-toggle {
        border-color: rgba(47, 107, 255, .24);
        background: rgba(47, 107, 255, .07);
    }

    .nav.scrolled .nav-toggle span,
    .nav.scrolled .nav-toggle span::before,
    .nav.scrolled .nav-toggle span::after {
        background: var(--blue-bright);
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        object-fit: contain;
        filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.35));
    }

    .brand-name {
        font-family: 'Rubik', sans-serif;
        font-weight: 700;
        font-size: 19px;
        letter-spacing: -0.01em;
    }

    .brand-name span {
        color: var(--cyan);
    }

    .nav-links {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 36px;
    }

    .nav-links a {
        font-size: 14px;
        font-weight: 500;
        color: var(--ink-dim);
        position: relative;
        padding: 4px 0;
        transition: color 0.25s ease;
    }

    .nav-links a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 100%;
        bottom: 0;
        height: 1px;
        background: linear-gradient(90deg, var(--cyan), var(--blue-bright));
        transition: right 0.3s ease;
    }

    .nav-links a:hover {
        color: var(--ink);
    }

    .nav-links a:hover::after {
        right: 0;
    }

    .services-nav-item {
        position: relative;
    }

    .services-submenu {
        position: absolute;
        top: calc(100% + 18px);
        left: 50%;
        display: grid;
        width: 290px;
        padding: 12px;
        gap: 5px;
        visibility: hidden;
        opacity: 0;
        list-style: none;
        border: 1px solid rgba(126, 233, 255, .16);
        border-radius: 16px;
        background: rgba(6, 12, 29, .97);
        box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
        backdrop-filter: blur(18px);
        transform: translate(-50%, -10px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s;
    }

    .services-submenu::before {
        content: "";
        position: absolute;
        right: 0;
        bottom: 100%;
        left: 0;
        height: 20px;
    }

    .services-nav-item:hover .services-submenu,
    .services-nav-item:focus-within .services-submenu {
        visibility: visible;
        opacity: 1;
        transform: translate(-50%, 0);
    }

    .nav .services-submenu a,
    .nav.scrolled .services-submenu a {
        display: grid;
        padding: 11px 13px;
        grid-template-columns: 34px 1fr;
        align-items: center;
        border-radius: 10px;
        background: transparent;
        color: var(--ink);
    }

    .services-submenu a::after { display: none; }
    .services-submenu a:hover { background: rgba(34, 211, 238, .08) !important; }
    .services-submenu small { color: var(--cyan); font: 500 9px/1 "JetBrains Mono", monospace; }
    .services-submenu strong { font-size: 13px; font-weight: 600; }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 22px;
    }

    .btn-cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
        color: #04101f;
        font-weight: 600;
        font-size: 14px;
        padding: 10px 20px;
        border-radius: 999px;
        box-shadow: 0 8px 24px -8px rgba(47, 107, 255, 0.65);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .btn-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px -8px rgba(34, 211, 238, 0.75);
    }

    .nav-toggle {
        display: none;
        width: 38px;
        height: 38px;
        border-radius: 10px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.03);
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
        z-index: 3;
    }

    .nav-toggle span,
    .nav-toggle span::before,
    .nav-toggle span::after {
        content: "";
        display: block;
        width: 16px;
        height: 1.5px;
        background: var(--ink);
        position: relative;
        transition: 0.25s ease;
    }

    .nav-toggle span::before {
        position: absolute;
        top: -5px;
    }

    .nav-toggle span::after {
        position: absolute;
        top: 5px;
    }

    @media (max-width:760px) {
        .nav-right .btn-cta {
            display: none;
        }

        .nav-toggle {
            display: flex;
        }


        .nav-links {
            position: fixed;
            top: 0;
            bottom: 0;
            left: 0;
            z-index: 2;
            display: flex;
            width: min(84vw, 350px);
            padding: 112px 28px 36px;
            flex-direction: column;
            align-items: stretch;
            justify-content: flex-start;
            gap: 10px;
            overflow-y: auto;
            visibility: hidden;
            background: radial-gradient(circle at 10% 8%, rgba(34, 211, 238, .14), transparent 30%), linear-gradient(155deg, rgba(7, 19, 53, .99), rgba(6, 10, 22, .99));
            border-right: 1px solid rgba(126, 233, 255, .18);
            box-shadow: 24px 0 60px rgba(0, 0, 0, .4);
            transform: translateX(-105%);
            transition: transform .55s cubic-bezier(.16, 1, .3, 1), visibility .55s;
            overscroll-behavior: contain;
        }

        .nav.menu-open .nav-links {
            visibility: visible;
            transform: translateX(0);
        }

        .nav-links > li {
            opacity: 0;
            transform: translateX(-24px);
            transition: opacity .35s ease, transform .35s ease;
        }

        .nav.menu-open .nav-links > li {
            opacity: 1;
            transform: translateX(0);
        }

        .nav.menu-open .nav-links > li:nth-child(1) { transition-delay: .16s; }
        .nav.menu-open .nav-links > li:nth-child(2) { transition-delay: .21s; }
        .nav.menu-open .nav-links > li:nth-child(3) { transition-delay: .26s; }
        .nav.menu-open .nav-links li:nth-child(4) { transition-delay: .31s; }
        .nav.menu-open .nav-links li:nth-child(5) { transition-delay: .36s; }

        .nav-links a,
        .nav.scrolled .nav-links a {
            display: block;
            padding: 16px 18px;
            border: 1px solid rgba(126, 233, 255, .1);
            border-radius: 12px;
            background: rgba(255, 255, 255, .035);
            color: var(--ink);
            font-family: 'Space Grotesk', sans-serif;
            font-size: 17px;
            font-weight: 600;
        }

        .nav-links a:hover,
        .nav.scrolled .nav-links a:hover {
            color: var(--cyan-soft);
            background: rgba(34, 211, 238, .09);
            border-color: rgba(34, 211, 238, .28);
        }

        .nav-links a::after { display: none; }

        .services-submenu {
            position: static;
            width: 100%;
            max-height: 0;
            padding: 0 0 0 12px;
            gap: 4px;
            visibility: hidden;
            opacity: 0;
            overflow: hidden;
            border: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
            transform: none;
            transition: max-height .4s cubic-bezier(.16, 1, .3, 1), opacity .25s ease, visibility .4s;
        }

        .services-nav-item:hover .services-submenu,
        .services-nav-item:focus-within .services-submenu {
            visibility: hidden;
            opacity: 0;
            transform: none;
        }

        .services-nav-item.submenu-open .services-submenu {
            max-height: 380px;
            padding-top: 7px;
            visibility: visible;
            opacity: 1;
        }

        .nav .services-submenu a,
        .nav.scrolled .services-submenu a {
            padding: 11px 13px;
            grid-template-columns: 28px 1fr;
            border: 0;
            background: rgba(255, 255, 255, .025);
            font-size: 13px;
        }

        .nav.menu-open .nav-toggle span { background: transparent; }

        .nav.menu-open .nav-toggle span::before {
            top: 0;
            transform: rotate(45deg);
        }

        .nav.menu-open .nav-toggle span::after {
            top: 0;
            transform: rotate(-45deg);
        }
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 49;
        visibility: hidden;
        opacity: 0;
        background: rgba(2, 7, 20, .62);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        transition: opacity .35s ease, visibility .35s;
    }

    .nav-backdrop.visible {
        visibility: visible;
        opacity: 1;
    }

    body.mobile-menu-open { overflow: hidden; }

    @media (min-width:761px) {
        .nav-backdrop { display: none; }
    }

    /* =========================================================
   FOOTER
========================================================= */

.site-footer {
  position: relative;
  z-index: 4;
  overflow: hidden;
  padding: 90px clamp(20px, 5vw, 56px) 30px;
  background: #ffffff;
  color: var(--navy-deep);
}

.site-footer::before {
  display: none;
}

.footer-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

/* Footer main layout */

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr 1fr 1.1fr;
  gap: clamp(35px, 5vw, 75px);
  align-items: start;
}

.footer-brand {
  max-width: 390px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(
    0 7px 13px rgba(47, 107, 255, 0.2)
  );
}

.footer-logo > span {
  font-family: "Rubik", sans-serif;
  color: var(--navy-deep);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.footer-logo > span span {
  color: var(--cyan);
}

.footer-brand > p {
  color: #66718b;
  font-size: 15px;
  line-height: 1.75;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 25px;
  color: var(--blue-bright);
  font-size: 14px;
  font-weight: 600;
  transition:
    gap 0.3s ease,
    color 0.3s ease;
}

.footer-email:hover {
  gap: 14px;
  color: #05a9ca;
}

.footer-email svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Footer links */

.footer-links-group h3 {
  margin-bottom: 24px;
  font-family: "JetBrains Mono", monospace;
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links-group ul {
  display: grid;
  gap: 15px;
  list-style: none;
}

.footer-links-group a {
  position: relative;
  color: #68748e;
  font-size: 14px;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-links-group a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -16px;
  width: 7px;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--cyan),
    var(--blue-bright)
  );
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
  transform-origin: right;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.footer-links-group a:hover {
  display: inline-block;
  color: var(--blue-bright);
  transform: translateX(8px);
}

.footer-links-group a:hover::before {
  opacity: 1;
  transform: translateY(-50%) scaleX(1);
}

/* Footer contact area */

.footer-contact {
  position: relative;
  padding-left: 30px;
  border-left: 1px solid rgba(13, 79, 209, 0.12);
}

.footer-small-label {
  display: block;
  margin-bottom: 17px;
  color: var(--blue-bright);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.footer-contact h3 {
  max-width: 280px;
  font-family: "Space Grotesk", sans-serif;
  color: var(--navy-deep);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.footer-contact p {
  max-width: 300px;
  margin-top: 16px;
  color: #69758f;
  font-size: 14px;
  line-height: 1.7;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding: 13px 20px;
  border-radius: 11px;
  background: linear-gradient(
    135deg,
    var(--blue-bright),
    var(--cyan)
  );
  color: #04101f;
  font-size: 14px;
  font-weight: 600;
  box-shadow:
    0 12px 28px -10px rgba(47, 107, 255, 0.7);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.footer-cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 34px -10px rgba(34, 211, 238, 0.78);
}

.footer-cta svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Footer lower area */

.footer-divider {
  width: 100%;
  height: 1px;
  margin: 75px 0 28px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(13, 79, 209, 0.2),
    transparent
  );
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #818ca3;
  font-size: 12px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-legal a {
  transition: color 0.25s ease;
}

.footer-legal a:hover {
  color: var(--blue-bright);
}

.footer-back-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-deep);
  font-weight: 600;
}

.footer-back-top span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(47, 107, 255, 0.17);
  border-radius: 50%;
  background: rgba(47, 107, 255, 0.05);
  color: var(--blue-bright);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.footer-back-top:hover span {
  transform: translateY(-4px);
  background: var(--blue-bright);
  color: #ffffff;
}

.footer-back-top svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Footer scroll reveal */

.footer-reveal {
  opacity: 0;
  transform: translateY(44px);
  filter: blur(5px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.9s ease;
  transition-delay: var(--delay, 0s);
}

.footer-reveal.footer-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* The legal row must always remain readable at the bottom of every page. */
.footer-bottom.footer-reveal,
.footer-divider.footer-reveal {
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .footer-reveal {
    animation: none;
  }
}

/* Footer responsive layout */

@media (max-width: 1050px) {
  .footer-top {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
    padding-top: 36px;
    padding-left: 0;
    border-top: 1px solid rgba(13, 79, 209, 0.12);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .site-footer {
    padding-top: 75px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }

  .footer-back-top {
    margin-left: auto;
  }
}

@media (max-width: 520px) {
  .site-footer {
    padding: 65px 20px 25px;
    background-size: 48px 48px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }

  .footer-contact {
    padding-top: 30px;
  }

  .footer-divider {
    margin-top: 55px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-back-top {
    margin-left: 0;
  }
}
