/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; }
.hero-main { position: relative; display: flex; flex-direction: column; padding-top: clamp(7rem, 13vw, 9.5rem); }
.hero-grid { position: relative; display: grid; align-items: center; gap: var(--s-8); }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 13ch; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: block; animation: rise 900ms cubic-bezier(.16, 1, .3, 1) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: 110ms; }
@keyframes rise { from { transform: translateY(105%); } }
.hero .lede { max-width: 34rem; margin-top: var(--s-6); font-size: var(--fs-lead); color: var(--muted); animation: up var(--slow) 350ms both; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); margin-top: var(--s-8); animation: up var(--slow) 500ms both; }
@keyframes up { from { opacity: 0; transform: translateY(var(--s-6)); } }

/* hero hub: the TechBeez core with its services in orbit, data flowing in, on a drifting network.
   Sizes are in em, and 1em is 1% of the hub's width, so the whole scene scales as one piece. */
.hero-grid { position: relative; z-index: 1; min-height: clamp(30rem, 72vh, 46rem); }
.hero-copy { max-width: 46rem; }
.hub { order: 2; position: relative; width: 100%; max-width: 34rem; margin: var(--s-4) auto 0; aspect-ratio: 1; container-type: inline-size; pointer-events: none; animation: fade 1.2s ease both; }
@keyframes fade { from { opacity: 0; } }
.hub-net { position: absolute; inset: -12%; width: 124%; height: 124%; -webkit-mask-image: radial-gradient(circle, #000 45%, transparent 72%); mask-image: radial-gradient(circle, #000 45%, transparent 72%); }
.hub-in { position: absolute; inset: 0; font-size: 1cqw; }
.hub-glow { position: absolute; left: 50%; top: 50%; width: 80em; height: 80em; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgb(124 92 255 / 0.18), rgb(57 85 254 / 0.12) 40%, transparent 70%); }
.h-ring { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; border: 0.15em dashed rgb(57 85 254 / 0.22); }
.h-ring.r1 { width: 50em; height: 50em; }
.h-ring.r2 { width: 90em; height: 90em; border-style: solid; border-color: rgb(57 85 254 / 0.1); }
.h-ring.r3 { width: 36em; height: 36em; border-color: rgb(124 92 255 / 0.25); animation: spin 40s linear infinite; }

/* orbits: each one turns; the pills inside counter-turn so their labels stay upright */
.orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; animation: spin var(--dur) linear infinite; }
.orbit.o1 { --dur: 60s; }
.orbit.o2 { --dur: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.spoke { position: absolute; left: 0; top: -0.08em; width: var(--r); height: 0.16em; transform: rotate(var(--a)); transform-origin: 0 50%; background: linear-gradient(90deg, rgb(57 85 254 / 0.05), rgb(57 85 254 / 0.35)); }
.pk { position: absolute; top: 50%; left: 100%; width: 1.1em; height: 1.1em; margin: -0.55em 0 0 -0.55em; border-radius: 50%; background: #6ee0ff; box-shadow: 0 0 1em 0.3em rgb(110 224 255 / 0.7); animation: inflow 2.8s cubic-bezier(.5, 0, .7, 1) infinite; animation-delay: var(--dl, 0s); }
@keyframes inflow { 0% { left: 100%; opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { left: 14%; opacity: 0; } }
.node { position: absolute; left: 0; top: 0; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1)); }
.np { animation: spin var(--dur) linear infinite reverse; }
.orbit.o2 .np { animation-direction: normal; }
.pill { display: flex; align-items: center; gap: 1.2em; padding: 1.1em 1.8em 1.1em 1.1em; translate: -50% -50%; border: 0.12em solid rgb(255 255 255 / 0.8); border-radius: 3em; background: rgb(255 255 255 / 0.85); backdrop-filter: blur(1em); box-shadow: 0 1.6em 3.2em -1.6em rgb(15 27 77 / 0.45); white-space: nowrap; }
.pill i { display: grid; place-items: center; width: 3.4em; height: 3.4em; border-radius: 1em; background: linear-gradient(135deg, var(--c1, #3955fe), var(--c2, #8fd3ff)); }
.pill svg { width: 1.9em; height: 1.9em; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pill b { font-size: 1.7em; font-weight: 600; color: var(--ink); }

/* the core */
.core { position: absolute; left: 50%; top: 50%; width: 24em; height: 24em; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffffff, #c9d6ff 30%, #6f7dff 62%, #3955fe 80%, #7c5cff); box-shadow: 0 0 5em 1em rgb(57 85 254 / 0.35), inset 0 -1.5em 3em rgb(40 20 160 / 0.35); animation: core-breathe 5s ease-in-out infinite; }
.core::before, .core::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 0.25em solid rgb(110 140 255 / 0.55); animation: pulse-out 3.2s ease-out infinite; }
.core::after { animation-delay: 1.6s; }
@keyframes pulse-out { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.1); opacity: 0; } }
@keyframes core-breathe { 50% { box-shadow: 0 0 7em 2em rgb(124 92 255 / 0.45), inset 0 -1.5em 3em rgb(40 20 160 / 0.35); } }
.core span { position: absolute; inset: 22%; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 0.8em 2em -0.6em rgb(15 27 77 / 0.5); }
.core img { width: 72%; height: 72%; object-fit: contain; }

/* floating cards */
.hub-card { position: absolute; display: flex; align-items: center; gap: 1.2em; padding: 1.3em 1.8em 1.3em 1.3em; border: 0.12em solid rgb(255 255 255 / 0.8); border-radius: 1.8em; background: rgb(255 255 255 / 0.9); backdrop-filter: blur(1em); box-shadow: 0 2em 4em -2em rgb(15 27 77 / 0.45); animation: card-float 6s ease-in-out infinite; }
.hub-card i { display: grid; place-items: center; width: 3.6em; height: 3.6em; border-radius: 1em; }
.hub-card svg { width: 2em; height: 2em; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hub-card b { display: block; font-size: 1.6em; font-weight: 600; color: var(--ink); white-space: nowrap; }
.hub-card small { display: block; font-size: 1.35em; color: var(--muted); white-space: nowrap; }
.hub-card.c1 { left: -8em; top: -2em; }
.hub-card.c1 i { background: #17a36b; animation: live-dot 2.2s ease-out infinite; }
.hub-card.c2 { right: -6em; bottom: 0; animation-delay: -3s; }
.hub-card.c2 i { background: linear-gradient(135deg, var(--amber), var(--amber-2)); }
@keyframes card-float { 50% { transform: translateY(-1.4em); } }
@media (max-width: 63.99rem) { .hub-card { display: none; } }
@keyframes live-dot { 0% { box-shadow: 0 0 0 0 rgb(23 163 107 / 0.45); } 100% { box-shadow: 0 0 0 1.4em rgb(23 163 107 / 0); } }

@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-block: var(--s-12) var(--s-16); }
  .hub { position: absolute; z-index: 0; top: 50%; right: max(var(--gutter), 3vw); width: min(46vw, 44rem); max-width: none; margin: 0; translate: 0 -46%; }
}
@media (prefers-reduced-motion: reduce) {
  .hub *, .hub *::before, .hub *::after { animation: none !important; }
}

/* recognition strip */
.recognition { position: relative; z-index: 2; padding-block: var(--s-8) var(--s-4); }
.recognition p { margin-bottom: var(--s-4); font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; width: max-content; gap: var(--s-4); }
.js .track { animation: marquee 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--s-2))); } }
.badge-tile { display: inline-flex; align-items: center; gap: var(--s-2); min-width: 10rem; height: 4rem; padding-inline: var(--s-6); justify-content: center; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; color: #8a8ea3; white-space: nowrap; transition: color var(--fast), background var(--fast), border-color var(--fast); }
.badge-tile i { width: 1.125rem; height: 1.125rem; border-radius: 4px; background: currentColor; }
.badge-tile:nth-child(3n) i { border-radius: 50%; }
.badge-tile:hover { color: var(--navy); background: var(--white); border-color: var(--line-2); }
