/* All Tech 360 — homepage design v2 ("aurora"). Loaded on the homepage only; every rule is
   scoped to body.v2 so inner pages keep the main design. */

.v2 {
  --hx-bg: #050914;
  --hx-bg-2: #08102a;
  --hx-card: rgba(255, 255, 255, .035);
  --hx-line: rgba(255, 255, 255, .08);
  --hx-text: #a8b3d1;
  --hx-muted: #7c89ab;
  --hx-link: #7fd6ff;
  --hx-violet: #7c3aed;
  background: var(--hx-bg);
  color: var(--hx-text);
}
.v2 main { background: var(--hx-bg); }
.v2 .hx-center { justify-content: center; text-align: center; }

/* Header: floating white capsule over the dark page ------------------------------ */
.v2 .site-header {
  top: 12px; width: min(calc(var(--container) + 2rem), calc(100% - 1.5rem));
  margin: 12px auto 0; border-radius: 22px;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8);
}
.home-v2 .site-header { margin-bottom: calc(-1 * (var(--header-h) + 12px)); }
.v2 .site-header.is-scrolled { border-color: rgba(255, 255, 255, .9); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .9); }
.v2 .site-header .container { padding-inline: clamp(.75rem, .5rem + 1vw, 1.25rem); }

/* Services mega menu (header) ---------------------------------------------------- */
.nav__item--mega { position: static; }
.nav__item--mega.is-open::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }   /* hover bridge */
.nav__panel.nav__panel--mega {
  left: 0; right: 0; top: calc(100% + 10px); width: auto; translate: none; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0;
  max-height: calc(100vh - var(--header-h) - 80px); padding: 0; overflow: hidden auto; border-radius: 22px; background: #fff;
  box-shadow: 0 40px 90px -30px rgba(6, 11, 26, .6), 0 0 0 1px rgba(15, 23, 42, .06);
}
.mega__intro {
  display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem 1.5rem; color: #b9c3db;
  background: radial-gradient(ellipse 120% 70% at 0% 0%, rgba(37, 99, 235, .45), transparent 60%), radial-gradient(ellipse 90% 60% at 100% 100%, rgba(0, 175, 239, .25), transparent 60%), #0a1328;
}
.mega__eyebrow { display: flex; align-items: center; gap: .45rem; margin: 0; color: var(--cyan-400); font: 600 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.mega__eyebrow .icon { width: 14px; height: 14px; }
.mega__title { margin: 0; color: #fff; font-size: 1.22rem; font-weight: 750; line-height: 1.25; letter-spacing: -.02em; }
.mega__text { margin: 0; color: #9fb0d6; font-size: .84rem; line-height: 1.55; }
.nav__panel--mega .mega__all { align-self: flex-start; display: inline-flex; gap: .45rem; margin-top: .35rem; padding: .55rem 1rem; color: #fff; font-size: .85rem; }
.nav__panel--mega .mega__all:hover { background: var(--btn-bg); color: #fff; }
.nav__panel--mega .mega__call {
  display: flex; align-items: center; gap: .7rem; margin-top: auto; padding: .7rem .8rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px;
  background: rgba(255, 255, 255, .05); color: #fff; font-size: .95rem; font-weight: 700; line-height: 1.25;
}
.nav__panel--mega .mega__call:hover { background: rgba(255, 255, 255, .1); }
.mega__call .icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--grad); color: #fff; }
.mega__call small { display: block; color: #9fb0d6; font-size: .7rem; font-weight: 500; }
.mega__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 1.25rem; padding: 1.5rem 1.6rem 1.3rem; }
@media (min-width: 1200px) { .mega__groups { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mega__heading {
  display: flex; align-items: center; gap: .5rem; margin: 0 0 .55rem; padding-bottom: .6rem; border-bottom: 1px solid #e4e7ec;
  color: #0f172a; font-size: .74rem; font-weight: 750; letter-spacing: .06em; line-height: 1.2; text-transform: uppercase;
}
.mega__heading span { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--grad); color: #fff; }
.mega__heading .icon { width: 14px; height: 14px; }
.mega__group ul { display: grid; gap: .05rem; margin: 0; padding: 0; list-style: none; }
.nav__panel--mega .mega__group a {
  display: flex; align-items: center; gap: .55rem; margin-inline: -.5rem; padding: .42rem .5rem; border-radius: 9px;
  color: #344054; font-size: .855rem; font-weight: 550; line-height: 1.3; transition: background .15s, color .15s, translate .2s var(--ease);
}
.nav__panel--mega .mega__group a .icon { width: 15px; height: 15px; color: #98a2b3; transition: color .15s; }
.nav__panel--mega .mega__group a:hover { background: #f2f6ff; color: #2563eb; translate: 3px 0; }
.nav__panel--mega .mega__group a:hover .icon, .nav__panel--mega .mega__group a[aria-current] .icon { color: #2563eb; }
.nav__panel--mega .mega__group a[aria-current] { color: #2563eb; font-weight: 700; }

/* Mobile: grouped, collapsible */
.mobile-mega { display: grid; gap: .4rem; padding: 0 0 .9rem; }
.mobile-nav__list .mobile-mega__all { justify-content: flex-start; gap: .4rem; padding: .35rem 0 .6rem; color: #2563eb; font-weight: 700; }
.mobile-nav__list .mobile-mega__all .icon { width: 1rem; height: 1rem; }
.mobile-mega__group { padding: 0 .85rem; border: 1px solid #e4e7ec; border-radius: 12px; }
.mobile-mega__group[open] { background: #f6f8fb; }
.mobile-nav__list .mobile-mega__group summary { padding: .7rem 0; font-size: .92rem; }
.mobile-mega__group summary span { display: inline-flex; align-items: center; gap: .55rem; }
.mobile-nav__list .mobile-mega__group summary .icon, .mobile-nav__list details[open] .mobile-mega__group summary .icon { width: 17px; height: 17px; color: #2563eb; transform: none; }
.mobile-mega__group small { padding: .1rem .5rem; border-radius: 999px; background: #e6eeff; color: #2563eb; font-size: .72rem; font-weight: 700; }
.mobile-nav__list .mobile-mega__group ul { padding: 0 0 .6rem; }
.mobile-nav__list .mobile-mega__group ul a { padding: .45rem 0; font-size: .9rem; }

/* Shared section pieces ----------------------------------------------------------- */
.v2 .hx-section { position: relative; padding-block: clamp(4.5rem, 3rem + 5vw, 7.5rem); }
.hx-head { max-width: 50rem; margin: 0 auto clamp(2.5rem, 2rem + 2vw, 4rem); text-align: center; }
.hx-head--left { max-width: none; margin-left: 0; text-align: left; }
.hx-head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.hx-head--row > div { max-width: 46rem; }
.hx-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.25rem; padding: .45rem .95rem .45rem .55rem;
  border: 1px solid rgba(120, 160, 255, .25); border-radius: 999px; background: rgba(59, 123, 255, .08);
  color: #8fd3ff; font: 600 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
}
.hx-eyebrow > span { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(0, 175, 239, .18); }
.hx-h2 { margin: 0 0 1rem; color: #fff; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.hx-lead { margin: 0; color: var(--hx-text); font-size: var(--fs-lg); }
.v2 .hx-prose { color: var(--hx-text); }
.v2 .hx-prose strong { color: #fff; }
.v2 .hx-prose a, .v2 .link-arrow { color: var(--hx-link); }
.v2 .hx-prose a:hover, .v2 .link-arrow:hover { color: #fff; }

/* Buttons */
.v2 .btn--glow {
  --btn-bg: linear-gradient(135deg, var(--blue-600), #0ea5e9); --btn-bd: transparent; --btn-fg: #fff;
  box-shadow: 0 12px 40px -12px rgba(37, 99, 235, .95), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.v2 .btn--glow:hover { --btn-bg: linear-gradient(135deg, #1d4ed8, #0284c7); --btn-bd: transparent; box-shadow: 0 18px 50px -12px rgba(0, 175, 239, .9); }
.v2 .btn--glass { --btn-bg: rgba(255, 255, 255, .06); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.v2 .btn--glass:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-bd: rgba(255, 255, 255, .38); --btn-fg: #fff; box-shadow: none; }

/* Aurora light blobs */
.hx-aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; filter: blur(70px); }
.hx-aurora span { position: absolute; border-radius: 50%; opacity: .55; }
.hx-aurora span:nth-child(1) { width: 55vw; height: 45vw; max-width: 760px; max-height: 620px; left: -12%; top: -18%; background: radial-gradient(circle, #2563eb, transparent 65%); }
.hx-aurora span:nth-child(2) { width: 45vw; height: 40vw; max-width: 640px; max-height: 560px; right: -10%; top: 2%; background: radial-gradient(circle, #00afef, transparent 65%); opacity: .4; }
.hx-aurora span:nth-child(3) { width: 40vw; height: 34vw; max-width: 560px; max-height: 480px; left: 32%; top: 34%; background: radial-gradient(circle, var(--hx-violet), transparent 65%); opacity: .3; }
.hx-aurora--soft span { opacity: .35; }

/* 1. Hero --------------------------------------------------------------------------- */
.hx-hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
  min-height: min(calc(100svh - 40px), 960px);
  padding: calc(var(--header-h) + 12px + clamp(2rem, 1rem + 2.5vw, 3.25rem)) 0 clamp(4rem, 3rem + 2.5vw, 5.5rem);
  background:
    radial-gradient(ellipse 55% 65% at 78% 45%, rgba(37, 99, 235, .32), transparent 65%),
    radial-gradient(ellipse 50% 60% at 0% 0%, #0d1b44, transparent 60%),
    var(--hx-bg);
}
.hx-floor {
  position: absolute; z-index: -1; left: -50%; right: -50%; bottom: 0; height: 60%; pointer-events: none;
  background-image: linear-gradient(rgba(80, 140, 255, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(80, 140, 255, .22) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(520px) rotateX(68deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 5%, transparent 85%); mask-image: linear-gradient(to top, #000 5%, transparent 85%);
}
.hx-hero__grid { display: grid; gap: clamp(3rem, 2rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 1000px) { .hx-hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); } }
.hx-hero__copy { position: relative; z-index: 2; max-width: 40rem; }
@media (max-width: 999px) { .hx-hero__copy { display: flex; flex-direction: column; align-items: center; margin-inline: auto; text-align: center; } }
.hx-pill {
  display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 1.75rem; padding: .5rem 1.1rem .5rem .6rem;
  border: 1px solid rgba(120, 170, 255, .3); border-radius: 999px; background: rgba(13, 27, 68, .6);
  color: #b9d4ff; font: 600 .75rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 30px -15px rgba(0, 175, 239, .7);
}
.hx-pill__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #22d3a6; }
.hx-pill__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid #22d3a6; opacity: 0; }
.v2 .hx-hero__title {
  margin: 0 0 1.25rem; color: #fff; font-size: clamp(2.3rem, 1.2rem + 3.1vw, 4rem); line-height: 1.03; letter-spacing: -.045em; text-wrap: balance;
}
.hx-hero__text { max-width: 34rem; margin: 0 0 2.2rem; color: var(--hx-text); font-size: clamp(1.05rem, .95rem + .45vw, 1.25rem); }
.v2 .btn--lg { min-height: 56px; padding: .9rem 1.7rem; font-size: 1rem; }
.hx-hero__proof { display: flex; flex-wrap: wrap; gap: .85rem 1.25rem; margin: 2.2rem 0 0; padding: 1.6rem 0 0; border-top: 1px solid var(--hx-line); list-style: none; }
.hx-hero__proof li { display: inline-flex; align-items: center; gap: .55rem; color: #d3dbf0; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.hx-hero__proof-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(0, 175, 239, .28); border-radius: 11px; background: rgba(0, 175, 239, .1); color: var(--cyan-400); }
.hx-hero__proof-icon .icon { width: 17px; height: 17px; }
@media (max-width: 999px) { .hx-hero__actions, .hx-hero__proof { justify-content: center; } }

/* Visual: orbiting service icons around tilted browser screens (globe canvas sits behind) */
.hx-hero__visual { position: relative; z-index: 1; width: 100%; max-width: 620px; aspect-ratio: 1 / .9; margin-inline: auto; container-type: inline-size; perspective: 1500px; }
.hx-orbit { position: absolute; inset: 0; pointer-events: none; }
.hx-orbit__ring { position: absolute; left: 50%; top: 56%; aspect-ratio: 1; border-radius: 50%; transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(72deg); }
.hx-orbit__ring--outer { width: 100%; border: 1px dashed rgba(120, 170, 255, .4); }
.hx-orbit__ring--inner { width: 72%; border: 1px solid rgba(0, 175, 239, .3); box-shadow: 0 0 50px rgba(0, 175, 239, .25), inset 0 0 50px rgba(0, 175, 239, .15); }
.hx-orbit__item { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateZ(var(--a)) translateX(50cqw); }
.hx-orbit__chip {
  position: absolute; left: -24px; top: -24px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .2); background: linear-gradient(145deg, rgba(37, 99, 235, .55), rgba(13, 27, 68, .9)); color: #fff;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .9), 0 0 24px -6px rgba(0, 175, 239, .7);
  transform: rotateZ(calc(-1 * var(--a))) rotateX(-72deg);
}
.hx-orbit__chip .icon { width: 22px; height: 22px; }
.v2 .hx-hero__stage {
  --hx: 8deg; --hy: -16deg;
  position: absolute; inset: 12% 4% 20% 5%; z-index: 1; transform-style: preserve-3d;
  transform: rotateX(var(--hx)) rotateY(var(--hy)); transition: transform .6s var(--ease);
}
.hx-screen { overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: #0b1430; }
.hx-screen img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.hx-screen--main { position: absolute; left: 0; top: 14%; width: 86%; transform: translateZ(50px); box-shadow: 0 60px 110px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 175, 239, .12), 0 0 90px -20px rgba(37, 99, 235, .6); }
.hx-screen--side { position: absolute; top: -6%; right: -2%; width: 50%; opacity: .85; transform: translateZ(-80px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.hx-float {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: .75rem; padding: .75rem 1.05rem .75rem .75rem; border-radius: 16px;
  background: rgba(255, 255, 255, .96); color: #475467; font-size: .78rem; text-align: left; line-height: 1.3; white-space: nowrap;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85); transform: translateZ(130px);
}
.hx-float strong { display: block; color: #0f172a; font-size: .98rem; letter-spacing: -.01em; }
.hx-float__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; }
.hx-float__icon .icon { width: 20px; height: 20px; }
.hx-float--a { left: -8%; bottom: -2%; }
.hx-float--b { right: -4%; top: -10%; }

/* Scroll cue */
.hx-scroll { position: absolute; left: 50%; bottom: 1.5rem; display: none; width: 26px; height: 42px; translate: -50% 0; border: 2px solid rgba(255, 255, 255, .28); border-radius: 14px; }
.hx-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan-400); }
.hx-scroll:hover { border-color: var(--cyan-400); }
@media (min-width: 1000px) and (min-height: 760px) { .hx-scroll { display: block; } }

@media (max-width: 600px) {
  .hx-screen--side { display: none; }
  .hx-orbit__ring--outer { width: 84%; }
  .hx-orbit__item { transform: rotateZ(var(--a)) translateX(42cqw); }
  .hx-orbit__chip { left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 11px; }
  .hx-hero__proof { gap: .6rem; }
  .hx-hero__proof li { padding: .3rem .8rem .3rem .3rem; border: 1px solid var(--hx-line); border-radius: 999px; background: rgba(255, 255, 255, .04); font-size: .82rem; }
  .hx-hero__proof-icon { width: 28px; height: 28px; border-radius: 50%; }
  .hx-orbit__chip .icon { width: 17px; height: 17px; }
  .hx-float { padding: .5rem .75rem .5rem .5rem; font-size: .68rem; }
  .hx-float strong { font-size: .82rem; }
  .hx-float__icon { width: 30px; height: 30px; border-radius: 9px; }
  .hx-float__icon .icon { width: 16px; height: 16px; }
  .hx-float { transform: translateZ(90px); }
  .hx-float--a { left: 6%; bottom: 0; }
  .hx-float--b { right: 6%; top: -2%; }
  .v2 .hx-hero__stage { inset: 14% 2% 18% 2%; }
  .hx-screen--main { width: 96%; left: 2%; }
}

/* 2. Client logos --------------------------------------------------------------------- */
.v2 .hx-logos { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.hx-logos__head { max-width: 44rem; margin: 0 auto 2rem; text-align: center; }
.hx-logos__head h2 { margin: 0 0 .4rem; color: #fff; font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); letter-spacing: -.02em; }
.hx-logos__head p { margin: 0; color: var(--hx-muted); }
.hx-marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hx-marquee__track { display: flex; flex: none; gap: 1rem; margin: 0; padding: .5rem .5rem; list-style: none; animation: marquee 42s linear infinite; }
.hx-marquee:hover .hx-marquee__track { animation-play-state: paused; }
.hx-marquee li {
  display: grid; place-items: center; width: 172px; height: 86px; padding: .8rem 1.2rem; border-radius: 18px; background: #fff;
  box-shadow: 0 16px 30px -20px rgba(0, 0, 0, .8); transition: transform .4s var(--ease);
}
.hx-marquee li:hover { transform: translateY(-4px) scale(1.04); }
.hx-marquee img { max-width: 130px; max-height: 50px; width: auto; object-fit: contain; }

/* 3. Services bento ---------------------------------------------------------------------- */
.hx-services::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 10%; width: 70vw; max-width: 900px; aspect-ratio: 1; translate: -50% 0;
  background: radial-gradient(circle, rgba(37, 99, 235, .14), transparent 62%); pointer-events: none;
}
.hx-services { isolation: isolate; }
.hx-bento { display: grid; gap: 1rem; grid-template-columns: 1fr; grid-auto-rows: 250px; }
@media (min-width: 640px) {
  .hx-bento { grid-template-columns: repeat(2, 1fr); }
  .hx-tile--1 { grid-column: span 2; grid-row: span 2; }
  .hx-tile--6, .hx-tile--9, .hx-tile--10 { grid-column: span 2; }
}
@media (min-width: 1040px) {
  .hx-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 265px; }
}
/* Without photos (e.g. the services listing) the grid becomes even cards */
.hx-bento--even { grid-auto-rows: auto; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)) !important; }
.hx-bento--even .hx-tile { grid-column: auto !important; grid-row: auto !important; gap: 2.5rem; min-height: 250px; }
.hx-bento--even .hx-tile--1 h3 { font-size: 1.12rem; }
.hx-bento--even .hx-tile--1 p { font-size: .88rem; }
.hx-tile {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  padding: 1.35rem; border: 1px solid var(--hx-line); border-radius: 24px; background: #0b1226; color: #c8d1ea; text-decoration: none;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.hx-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 9, 20, .1) 0%, rgba(5, 9, 20, .5) 42%, rgba(5, 9, 20, .96) 100%); }
.hx-tile--plain::before { background: radial-gradient(circle at 100% 0%, rgba(37, 99, 235, .3), transparent 60%); }
.hx-tile__bg { position: absolute; inset: 0; z-index: -2; }
.hx-tile__bg img, .hx-tile__bg picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.hx-tile__bg img { filter: saturate(.9) brightness(.8); transition: transform 1.2s var(--ease), filter .5s; }
a.hx-tile:hover { border-color: rgba(0, 175, 239, .55); box-shadow: 0 30px 70px -35px rgba(0, 175, 239, .7); color: #c8d1ea; }
a.hx-tile:hover .hx-tile__bg img { transform: scale(1.08); filter: saturate(1.1) brightness(.9); }
.hx-tile__top { display: flex; justify-content: space-between; align-items: flex-start; }
.hx-tile__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .7s var(--ease), background .3s;
}
.hx-tile__icon .icon { width: 24px; height: 24px; }
a.hx-tile:hover .hx-tile__icon { background: var(--grad); border-color: transparent; transform: perspective(300px) rotateY(360deg); }
.hx-tile__num { padding: .25rem .6rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(5, 9, 20, .35); color: rgba(255, 255, 255, .7); font: 700 .7rem/1.2 var(--mono); }
.hx-tile h3 { margin: 0 0 .4rem; color: #fff; font-size: 1.12rem; line-height: 1.3; }
.hx-tile--1 h3 { font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); letter-spacing: -.02em; }
.hx-tile p { display: -webkit-box; margin: 0; overflow: hidden; color: rgba(220, 228, 250, .78); font-size: .88rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.hx-tile--1 p { font-size: 1rem; -webkit-line-clamp: 3; line-clamp: 3; max-width: 30rem; }
.hx-tile__go { display: inline-flex; align-items: center; gap: .35rem; margin-top: .7rem; color: var(--hx-link); font-size: .85rem; font-weight: 700; opacity: 0; translate: 0 8px; transition: opacity .35s, translate .35s var(--ease); }
.hx-tile__go .icon { width: 1em; height: 1em; }
a.hx-tile:hover .hx-tile__go, a.hx-tile:focus-visible .hx-tile__go { opacity: 1; translate: 0 0; }
@media (hover: none) { .hx-tile__go { opacity: 1; translate: 0 0; } }

/* Services directory (/services/) */
.hx-directory__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.hx-directory__group { padding: 1.5rem; border: 1px solid var(--hx-line); border-radius: 24px; background: var(--hx-card); }
.v2 .hx-directory__group h3 { display: flex; align-items: center; gap: .65rem; margin: 0 0 1rem; color: #fff; font-size: 1.1rem; }
.hx-directory__group h3 span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; }
.hx-directory__group h3 .icon { width: 20px; height: 20px; }
.hx-directory__group ul { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.hx-directory__group a {
  display: flex; align-items: center; gap: .7rem; padding: .65rem .8rem; border: 1px solid transparent; border-radius: 12px;
  background: rgba(255, 255, 255, .03); color: #d3dbf0; font-size: .93rem; font-weight: 600; text-decoration: none; transition: border-color .2s, background .2s, color .2s;
}
.hx-directory__group a span { flex: 1; }
.hx-directory__group a .icon { width: 17px; height: 17px; color: var(--cyan-400); flex: none; }
.hx-directory__group a .icon:last-child { width: 15px; height: 15px; color: var(--hx-muted); transition: translate .2s var(--ease), color .2s; }
.hx-directory__group a:hover { border-color: rgba(0, 175, 239, .4); background: rgba(0, 175, 239, .08); color: #fff; }
.hx-directory__group a:hover .icon:last-child { color: var(--cyan-400); translate: 2px -2px; }

/* 4. About ------------------------------------------------------------------------------ */
.hx-about__grid { display: grid; gap: clamp(3rem, 2rem + 4vw, 6rem); align-items: center; }
@media (min-width: 960px) { .hx-about__grid { grid-template-columns: 1.05fr 1fr; } }
.hx-about__visual { position: relative; isolation: isolate; padding: 0 12% 14% 0; }
.hx-about__visual::before { content: ""; position: absolute; z-index: -1; inset: 8% 14% 16% 6%; border-radius: 32px; background: var(--grad); filter: blur(60px); opacity: .35; }
.hx-about__main { overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 28px; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9); }
.hx-about__main img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.hx-about__sub { position: absolute; right: 0; bottom: 0; width: 42%; overflow: hidden; border: 6px solid #0b1226; border-radius: 22px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .9); }
.hx-about__sub img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.hx-badge { position: absolute; left: -3%; bottom: 4%; display: grid; place-items: center; width: 136px; height: 136px; border-radius: 50%; background: #0b1226; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); }
.hx-badge__ring {
  position: absolute; inset: -3px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--cyan-400), var(--blue-600), transparent 55%, var(--cyan-400));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
}
.hx-badge__inner { position: relative; padding: 0 1rem; color: #9fb0d6; font-size: .66rem; font-weight: 600; line-height: 1.3; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.hx-badge__inner strong { display: block; margin-bottom: .25rem; background: linear-gradient(180deg, #fff 30%, #8fd3ff); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 2.5rem; line-height: 1; letter-spacing: -.04em; text-transform: none; }
.hx-about__cta { margin: 2rem 0 0; }
@media (max-width: 600px) { .hx-badge { width: 108px; height: 108px; left: 0; } .hx-badge__inner strong { font-size: 2rem; } }

/* 5. Stats -------------------------------------------------------------------------------- */
.v2 .hx-stats { padding-block: clamp(1rem, .5rem + 2vw, 2.5rem); }
.hx-stats__band {
  position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; margin: 0; overflow: hidden;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem) clamp(.5rem, .25rem + 1vw, 1.5rem); border: 1px solid rgba(120, 160, 255, .22); border-radius: 28px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .2), rgba(0, 175, 239, .06) 50%, rgba(124, 58, 237, .14));
  box-shadow: 0 40px 100px -50px rgba(37, 99, 235, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
}
@media (min-width: 860px) { .hx-stats__band { grid-template-columns: repeat(4, 1fr); } }
.hx-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .7rem; padding: .25rem clamp(.75rem, .5rem + 1vw, 1.75rem); }
.hx-stat + .hx-stat { border-left: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 859px) { .hx-stat:nth-child(odd) { border-left: 0; } }
.hx-stat dd {
  margin: 0; background: linear-gradient(180deg, #fff 30%, #8fb4ff); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: clamp(2.3rem, 1.6rem + 3vw, 4.2rem); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -.05em;
}
.hx-stat dd sup { position: relative; top: -.15em; margin-left: .06em; color: var(--cyan-400); -webkit-text-fill-color: var(--cyan-400); font-size: .45em; vertical-align: top; }
.hx-stat dt { display: flex; align-items: center; gap: .6rem; color: #9aa7c7; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hx-stat__icon { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; background: rgba(0, 175, 239, .14); color: var(--cyan-400); }
.hx-stat__icon .icon { width: 16px; height: 16px; }

/* 6. Why choose us -------------------------------------------------------------------------- */
.hx-why__grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .hx-why__grid { grid-template-columns: repeat(2, 1fr); } .hx-why__media { grid-column: 1 / -1; } }
@media (min-width: 1040px) {
  .hx-why__grid { grid-template-columns: repeat(3, 1fr); }
  .hx-why__grid.has-media { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
  .hx-why__media { grid-column: auto; }
}
.hx-why__media { min-height: 300px; overflow: hidden; border: 1px solid var(--hx-line); border-radius: 24px; }
.hx-why__media picture, .hx-why__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hx-why__card {
  position: relative; overflow: hidden; padding: 2rem 1.6rem; border: 1px solid var(--hx-line); border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.hx-why__card:hover { border-color: rgba(0, 175, 239, .45); box-shadow: 0 30px 80px -40px rgba(0, 175, 239, .65); }
.hx-why__num { position: absolute; top: .1rem; right: 1rem; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .13); font-size: 5.5rem; font-weight: 800; line-height: 1; letter-spacing: -.05em; pointer-events: none; }
.hx-why__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 3rem; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: 0 16px 34px -12px rgba(0, 175, 239, .75); transition: transform .7s var(--ease); }
.hx-why__icon .icon { width: 26px; height: 26px; }
.hx-why__card:hover .hx-why__icon { transform: perspective(300px) rotateY(360deg); }
.hx-why__card h3 { margin: 0 0 .75rem; color: #fff; font-size: 1.22rem; }
.hx-why__card .hx-prose { font-size: .95rem; line-height: 1.7; }

/* 7. Portfolio rail ------------------------------------------------------------------------- */
.hx-rail-nav { display: flex; align-items: center; gap: .6rem; }
.hx-rail-btn {
  display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer; transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.hx-rail-btn:hover { border-color: transparent; background: var(--grad); transform: scale(1.06); }
.hx-rail-btn .icon { width: 20px; height: 20px; }
.hx-rail {
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2));
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 500px); gap: 1.5rem; overflow-x: auto; overscroll-behavior-x: contain;
  padding: .75rem var(--edge) 1.5rem; scroll-padding-inline: var(--edge); scroll-snap-type: x mandatory; scrollbar-width: none;
}
.hx-rail::-webkit-scrollbar { display: none; }
.hx-rail:focus-visible { outline-offset: -3px; }
.v2 .hx-rail .project { scroll-snap-align: start; color: #fff; }
.v2 .hx-rail .frame { border-color: rgba(255, 255, 255, .1); border-radius: 20px; background: #0b1430; box-shadow: 0 40px 80px -45px rgba(0, 0, 0, .95); }
.v2 .hx-rail .frame__bar { background: #131f40; }
.v2 .hx-rail .project:hover .frame { box-shadow: 0 40px 80px -40px rgba(0, 175, 239, .55); }
.v2 .hx-rail .project :is(h2, h3) { color: #fff; font-size: 1.15rem; }
.v2 .hx-rail .project p { color: var(--hx-muted); }
.v2 .hx-rail .project .icon { color: var(--hx-muted); }
.v2 .hx-rail .project:hover .icon { color: var(--cyan-400); }

/* 8. Process: zig-zag along a beam ----------------------------------------------------------- */
.hx-steps { position: relative; display: grid; gap: 1rem; margin: 0; padding: 0 0 0 2.75rem; list-style: none; }
.hx-steps::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, transparent, var(--blue-500), var(--cyan-400), var(--blue-500), transparent); box-shadow: 0 0 18px rgba(0, 175, 239, .6); }
.hx-step { position: relative; padding: 1.2rem 1.25rem; border: 1px solid var(--hx-line); border-radius: 18px; background: var(--hx-card); transition: border-color .3s, transform .4s var(--ease); }
.hx-step:hover { border-color: rgba(0, 175, 239, .45); }
.hx-step__num {
  position: absolute; left: -2.75rem; top: 1.1rem; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--hx-bg); border: 2px solid var(--cyan-400); color: #fff; font: 700 .62rem/1 var(--mono); box-shadow: 0 0 0 5px rgba(0, 175, 239, .12), 0 0 20px rgba(0, 175, 239, .6);
}
.hx-step h3 { margin: 0 0 .35rem; color: #fff; font-size: 1.05rem; }
.hx-step p { margin: 0; color: var(--hx-muted); font-size: .88rem; line-height: 1.55; }
@media (min-width: 1040px) {
  .hx-steps { grid-template-columns: repeat(var(--n), 1fr); grid-template-rows: auto 64px auto; gap: 0 .75rem; padding: 0; }
  .hx-steps::before { position: static; grid-row: 2; grid-column: 1 / -1; align-self: center; width: auto; height: 2px; background: linear-gradient(90deg, transparent, var(--blue-500), var(--cyan-400), var(--blue-500), transparent); }
  .hx-step { grid-column: var(--c); grid-row: 1; align-self: end; text-align: center; }
  .hx-step:nth-child(even) { grid-row: 3; align-self: start; }
  .hx-step__num { left: 50%; top: calc(100% + 17px); translate: -50% 0; }
  .hx-step:nth-child(even) .hx-step__num { top: auto; bottom: calc(100% + 17px); }
  .hx-step:hover { transform: translateY(-4px); }
  .hx-step:nth-child(even):hover { transform: translateY(4px); }
}

/* 9. Technologies ------------------------------------------------------------------------- */
.hx-tech { isolation: isolate; }
.hx-tech::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, transparent, rgba(37, 99, 235, .06) 50%, transparent); pointer-events: none; }
.hx-tech__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.hx-tech__card { position: relative; overflow: hidden; padding: 1.75rem; border: 1px solid var(--hx-line); border-radius: 24px; background: var(--hx-card); }
.hx-tech__card::before { content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan-400), transparent); }
.hx-tech__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.25rem; border-radius: 14px; background: rgba(59, 123, 255, .15); color: var(--cyan-400); }
.hx-tech__icon .icon { width: 24px; height: 24px; }
.hx-tech__card h3 { margin: 0; color: #fff; font-size: 1.15rem; }
.hx-tech__card ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.hx-tech__card li { padding: .4rem .75rem; border: 1px solid var(--hx-line); border-radius: 999px; background: rgba(255, 255, 255, .05); color: #c9d3ee; font-size: .8rem; transition: border-color .25s, background .25s, color .25s; }
.hx-tech__card li:hover { border-color: var(--cyan-400); background: rgba(0, 175, 239, .12); color: #fff; }

/* 10. Testimonials wall ----------------------------------------------------------------------- */
.hx-quotes__wall { display: flex; overflow: hidden; padding-block: 1rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hx-quotes__track { display: flex; flex: none; gap: 1.25rem; padding-right: 1.25rem; animation: marquee 60s linear infinite; }
.hx-quotes__wall:hover .hx-quotes__track { animation-play-state: paused; }
.hx-quote {
  display: flex; flex: none; flex-direction: column; gap: 1.1rem; width: min(84vw, 420px); margin: 0; padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, .09); border-radius: 24px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
}
.hx-quote__mark { color: var(--cyan-400); }
.hx-quote__mark .icon { width: 30px; height: 30px; }
.hx-quote blockquote { margin: 0; color: #dfe6f7; font-size: 1rem; line-height: 1.65; }
.hx-quote blockquote p { margin: 0; }
.hx-quote figcaption { display: flex; align-items: center; gap: .75rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--hx-line); color: var(--hx-muted); font-size: .85rem; line-height: 1.35; }
.hx-quote figcaption img, .hx-quote__avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; object-fit: cover; }
.hx-quote__avatar { display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; }
.hx-quote figcaption strong { display: block; color: #fff; }

/* 11. Blog -------------------------------------------------------------------------------------- */
.hx-blog__grid { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .hx-blog__grid { grid-template-columns: 1.15fr 1fr; } }
.hx-blog__list { display: grid; gap: 1rem; align-content: start; }
.hx-post { display: grid; grid-template-columns: 116px 1fr; align-items: center; gap: 1.1rem; padding: .9rem; border: 1px solid var(--hx-line); border-radius: 20px; background: var(--hx-card); transition: border-color .3s, background .3s; }
.hx-post:hover { border-color: rgba(0, 175, 239, .4); background: rgba(255, 255, 255, .055); }
.hx-post__media { display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 14px; background: #0b1226; color: #4f6bb0; }
.hx-post__media picture, .hx-post__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hx-post:hover .hx-post__media img { transform: scale(1.06); }
.hx-post--lead { grid-template-columns: 1fr; align-content: start; padding: .9rem .9rem 1.75rem; }
.hx-post--lead .hx-post__media { aspect-ratio: 16 / 9; }
.hx-post--lead .hx-post__body { padding: .25rem .75rem 0; }
.hx-post.hx-post--lead h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); }
.hx-post h3 { margin: .35rem 0 .5rem; font-size: 1.02rem; line-height: 1.35; letter-spacing: -.01em; }
.hx-post h3 a { color: #fff; text-decoration: none; }
.hx-post h3 a:hover { color: var(--hx-link); }
.hx-post p { margin: 0 0 1rem; color: var(--hx-muted); font-size: .94rem; }
.hx-post .hx-post__meta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; color: var(--hx-muted); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.hx-post__meta a { color: var(--hx-link); text-decoration: none; }
@media (max-width: 480px) { .hx-post:not(.hx-post--lead) { grid-template-columns: 88px 1fr; } }

/* 12. CTA ---------------------------------------------------------------------------------------- */
.hx-cta__panel {
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(3rem, 2rem + 5vw, 6rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  border-radius: 36px; background: var(--hx-bg-2); text-align: center;
}
.hx-cta__panel::before {
  content: ""; position: absolute; z-index: -2; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; translate: -50% -50%;
  background: conic-gradient(from 0deg, transparent 0 68%, var(--cyan-400) 80%, var(--blue-600) 90%, transparent 100%);
}
.hx-cta__panel::after { content: ""; position: absolute; z-index: -1; inset: 1.5px; border-radius: 35px; background: radial-gradient(ellipse at 50% 0%, #11265e, #070d22 70%); }
.hx-cta__panel .hx-aurora { z-index: 0; }
.hx-cta__panel > :not(.hx-aurora) { position: relative; z-index: 1; }
.hx-cta__panel h2 { max-width: 18ch; margin: 0 auto 1rem; color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.8rem); line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.hx-cta__panel p { max-width: 40rem; margin: 0 auto 2.25rem; color: #b3bedb; font-size: var(--fs-lg); }

/* Motion (skipped when the visitor prefers reduced motion) --------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hx-aurora span:nth-child(1) { animation: hxDrift1 18s ease-in-out infinite alternate; }
  .hx-aurora span:nth-child(2) { animation: hxDrift2 22s ease-in-out infinite alternate; }
  .hx-aurora span:nth-child(3) { animation: hxDrift3 26s ease-in-out infinite alternate; }
  .hx-floor { animation: hxFloor 2.8s linear infinite; }
  .hx-pill__dot::after { animation: hxPing 2s ease-out infinite; }
  .hx-hero__copy > :not(.hero__title) { animation: riseIn .9s var(--ease) backwards; }
  .hx-hero__copy > .hx-pill { animation-delay: .05s; }
  .hx-hero__copy > .hx-hero__text { animation-delay: .55s; }
  .hx-hero__copy > .hx-hero__actions { animation-delay: .7s; }
  .hx-hero__copy > .hx-hero__proof { animation-delay: .85s; }
  .hx-orbit { animation: hxFadeIn 1.4s ease .6s backwards; }
  .hx-orbit__ring--outer { animation: hxOrbit 40s linear infinite; }
  .hx-orbit__ring--outer .hx-orbit__chip { animation: hxCounter 40s linear infinite; }
  .hx-orbit__ring--inner { animation: hxOrbit 24s linear infinite reverse; }
  .hx-scroll span { animation: hxScrollDot 1.8s ease-in-out infinite; }
  .v2 .hx-hero .text-accent { background-size: 220% 100%; background-image: linear-gradient(92deg, var(--blue-500), var(--cyan-400), #8fd9ff, var(--cyan-400), var(--blue-500)); animation: accentFlow 6s linear infinite; }
  .v2 .hx-hero__stage { animation: hxStageIn 1.6s var(--ease) .3s backwards; }
  .hx-screen--main { animation: heroFloat 8s ease-in-out 2s infinite; }
  .hx-screen--side { animation: heroFloatBack 9s ease-in-out 2s infinite; }
  .hx-float--a { animation: heroChip 6s ease-in-out 2s infinite; }
  .hx-float--b { animation: heroChip 7s ease-in-out 2.4s infinite reverse; }
  .hx-badge__ring { animation: dialSpin 6s linear infinite; }
  .hx-cta__panel::before { animation: hxSpin 7s linear infinite; }
  .motion .hx-hero__copy { transform: translate3d(0, calc(var(--hs, 0) * 90px), 0); opacity: calc(1 - var(--hs, 0) * 1.2); }
  .motion .hx-hero__visual { transform: translate3d(0, calc(var(--hs, 0) * -60px), 0) scale(calc(1 - var(--hs, 0) * .12)); }
  .motion .hx-step[data-reveal] .hx-step__num { scale: 0; transition: scale .6s cubic-bezier(.3, 1.6, .5, 1) .35s; }
  .motion .hx-step.is-visible .hx-step__num { scale: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-marquee, .hx-quotes__wall { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .hx-quotes__wall { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-inline: var(--gutter); scrollbar-color: rgba(0, 175, 239, .5) transparent; scrollbar-width: thin; }
  .hx-marquee__track, .hx-quotes__track { flex-wrap: wrap; justify-content: center; animation: none; }
  .hx-quotes__track { flex-wrap: nowrap; }
  .hx-marquee__track[aria-hidden], .hx-quotes__track[aria-hidden] { display: none; }
}
@keyframes hxDrift1 { to { transform: translate(18%, 12%) scale(1.15); } }
@keyframes hxDrift2 { to { transform: translate(-16%, 18%) scale(.9); } }
@keyframes hxDrift3 { to { transform: translate(-22%, -14%) scale(1.2); } }
@keyframes hxFloor { to { background-position: 0 64px, 0 0; } }
@keyframes hxPing { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes hxStageIn { from { opacity: 0; transform: rotateX(24deg) rotateY(-42deg) translate3d(90px, 40px, -220px); } }
@keyframes hxFadeIn { from { opacity: 0; } }
@keyframes hxOrbit { from { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(0deg); } to { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(360deg); } }
@keyframes hxCounter { from { transform: rotateZ(calc(-1 * var(--a))) rotateX(-72deg); } to { transform: rotateZ(calc(-1 * var(--a) - 360deg)) rotateX(-72deg); } }
@keyframes hxScrollDot { 0% { opacity: 0; translate: 0 0; } 30% { opacity: 1; } 100% { opacity: 0; translate: 0 14px; } }
@keyframes hxSpin { to { rotate: 360deg; } }

/* 13. Inner pages: the older components on the dark theme -------------------------------------
   Inside <main> the neutral colour tokens are flipped (text light, lines translucent), so every
   older component adapts; the rules below fix pieces that hard-code white backgrounds. The header,
   menus, search dialog and WhatsApp bubble sit outside <main> and keep their light styling. */
.v2 main {
  --ink: #fff;
  --charcoal: #e5e9f5;
  --slate-700: #c3cbe0;
  --slate-600: #a8b3d1;
  --slate-500: #8592b3;
  --slate-400: #6b789b;
  --slate-300: rgba(255, 255, 255, .2);
  --slate-200: rgba(255, 255, 255, .09);
  --slate-100: rgba(255, 255, 255, .06);
  --slate-50: rgba(255, 255, 255, .035);
  --blue-50: rgba(59, 123, 255, .12);
  --blue-100: rgba(59, 123, 255, .22);
  --blue-600: #5b9bff;
  --blue-700: #9cc2ff;
  --surface: #0b1226;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px -14px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 60px -30px rgba(0, 0, 0, .9);
  color: var(--slate-700);
}
:where(.v2 main) a:not([class]) { color: var(--hx-link); }
:where(.v2 main) a:not([class]):hover { color: #fff; }
.v2 main .eyebrow { color: var(--cyan-400); }

/* Primary buttons get the glowing gradient; variants keep their own look */
.v2 .btn:not([class*="btn--"]) { --btn-bg: linear-gradient(135deg, #2563eb, #0ea5e9); --btn-bd: transparent; --btn-fg: #fff; box-shadow: 0 12px 34px -14px rgba(37, 99, 235, .95); }
.v2 .btn:not([class*="btn--"]):hover { --btn-bg: linear-gradient(135deg, #1d4ed8, #0284c7); --btn-bd: transparent; --btn-fg: #fff; }
.v2 main .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .2); }
.v2 main .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .08); --btn-bd: rgba(255, 255, 255, .4); --btn-fg: #fff; }

/* Page headers: aurora light + perspective grid, like the homepage hero */
.v2 .page-header {
  isolation: isolate; border-bottom: 1px solid var(--hx-line); color: var(--hx-text);
  background:
    radial-gradient(ellipse 70% 100% at 10% 0%, rgba(37, 99, 235, .38), transparent 60%),
    radial-gradient(ellipse 55% 90% at 100% 10%, rgba(0, 175, 239, .2), transparent 60%),
    radial-gradient(ellipse 40% 60% at 55% 100%, rgba(124, 58, 237, .16), transparent 70%),
    var(--hx-bg);
}
.v2 .page-header::after {
  content: ""; position: absolute; z-index: -1; left: -50%; right: -50%; bottom: 0; height: 70%; pointer-events: none;
  background-image: linear-gradient(rgba(80, 140, 255, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(80, 140, 255, .16) 1px, transparent 1px);
  background-size: 56px 56px; transform: perspective(480px) rotateX(66deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 80%); mask-image: linear-gradient(to top, #000, transparent 80%);
}
.v2 .page-header .blueprint--light { display: none; }
.v2 .page-header .container { padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.v2 .page-header h1 { color: #fff; font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.4rem); letter-spacing: -.045em; }
.v2 .page-header .lead { color: var(--hx-text); }
.v2 .page-header .breadcrumbs ol { display: inline-flex; padding: .4rem .9rem; border: 1px solid var(--hx-line); border-radius: 999px; background: rgba(255, 255, 255, .04); }
/* Service page header: featured photo with the contact card overlapping it */
@media (min-width: 1000px) { .v2 .page-header__grid:has(.has-media) { grid-template-columns: minmax(0, 1fr) 460px; align-items: center; } }
.page-header__side { position: relative; min-width: 0; }
.service-hero__media {
  position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95), 0 0 70px -25px rgba(37, 99, 235, .6);
}
.service-hero__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 9, 20, .55)); pointer-events: none; }
.page-header__side.has-media .contact-card { position: relative; z-index: 1; margin: -2.25rem 1.25rem 0; padding: 1.15rem 1.25rem; }
.page-header__side.has-media .contact-card ul { margin-bottom: .9rem; }
@media (max-width: 999px) { .page-header__side.has-media .contact-card { margin: -1.75rem .75rem 0; } }
@media (prefers-reduced-motion: no-preference) {
  .service-hero__media { animation: riseSoft 1s var(--ease) .15s backwards; }
  .service-hero__media img { transition: transform 1.2s var(--ease); }
  .page-header__side:hover .service-hero__media img { transform: scale(1.04); }
}
.v2 .page-header--dark .contact-card { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(13, 27, 68, .55); border-color: rgba(120, 160, 255, .22); }
.v2 .article-header h1 { color: #fff; letter-spacing: -.04em; }

/* Sections */
.v2 main .section--tint { background: linear-gradient(180deg, transparent, rgba(37, 99, 235, .06) 50%, transparent); }
.v2 main .section--dark { background: radial-gradient(ellipse 60% 80% at 0% 0%, rgba(37, 99, 235, .22), transparent 60%), #070d20; }
.v2 main .band--plain { background: var(--hx-card); border-color: var(--hx-line); }

/* Cards and surfaces that hard-code white */
.v2 main :is(.quote-card, .tech-group, .form-card, .empty-state, .project-facts div, .related a, .svc-card, .feature-list li, .post-card, .frame--light, .sidebar-card, .author-box, .post-nav a, .error-links a, .toc details) {
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)), var(--surface);
}
.v2 main :is(.post-card, .svc-card, .quote-card, .related a, .form-card, .sidebar-card, .post-nav a, .error-links a) { border-color: var(--hx-line); }
.v2 main :is(.post-card, .svc-card, .related a, .post-nav a, .error-links a):hover { border-color: rgba(0, 175, 239, .45); box-shadow: 0 30px 70px -40px rgba(0, 175, 239, .6); }
.v2 main .related { background: var(--hx-line); border-color: var(--hx-line); }
.v2 main .related a:hover { background: linear-gradient(180deg, rgba(59, 123, 255, .14), rgba(59, 123, 255, .04)), var(--surface); }
.v2 main .related a:hover .ic, .v2 main .svc-card--media .svc-card__icon, .v2 main a.svc-card--media:hover .svc-card__icon { background: var(--surface); }
.v2 main .frame--light .frame__bar { background: #131f40; }
.v2 main .project-facts { background: var(--hx-line); }
.v2 main .post-card__media--empty { background: var(--surface); color: #4f6bb0; }
.v2 main .marquee .logos li { background: #fff; }

/* "Active" states used ink-on-white — make them gradient */
.v2 main :is(.chip.is-active, .chip[aria-pressed="true"], .chip[aria-current="page"], .pagination [aria-current="page"]) { background: var(--grad); border-color: transparent; color: #fff; }
.v2 main .faq details[open] summary .faq__icon { background: var(--grad); border-color: transparent; color: #fff; }
.v2 main .chip { background: rgba(255, 255, 255, .04); }

/* Long-form content */
.v2 main .prose { color: var(--slate-700); }
.v2 main .prose blockquote { color: #fff; }
.v2 main .prose .callout-warning { background: rgba(245, 158, 11, .1); border-color: rgba(245, 158, 11, .35); }
.v2 main .toc a.is-active { color: var(--cyan-400); border-left-color: var(--cyan-400); }
@media (min-width: 1100px) { .v2 main .toc details { background: none; } }

/* Forms */
.v2 main :is(.input, .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea, .search-form input) {
  background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .16); color: #fff;
}
.v2 main :is(.field input, .field textarea, .search-form input)::placeholder { color: #6b789b; }
.v2 main .field select option { background: var(--surface); color: #fff; }
.v2 main .captcha__refresh { background: rgba(255, 255, 255, .04); }
.v2 main .alert--success { background: rgba(16, 185, 129, .12); color: #6ee7b7; border-color: rgba(16, 185, 129, .35); }
.v2 main .alert--error { background: rgba(239, 68, 68, .12); color: #fca5a5; border-color: rgba(239, 68, 68, .35); }
.v2 main .field-error, .v2 main .field .req { color: #fca5a5; }
.v2 main .result-list small { color: #6ee7b7; }
