:root {
  --blue: #0399FA;
  --deep-blue: #003866;
  --near-black: #02050A;
  --white: #FFFFFF;
  --bg-alt: #040B16;
  --surface: #0A1726;
  --border: #14273E;
  --border-strong: #1F4268;
  --muted: #A9B8CC;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--near-black);
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--muted); transition: color .15s ease, opacity .15s ease; }
a:hover { color: var(--white); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue) !important; outline: none; }
button[type="submit"]:hover { opacity: .92; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  background: var(--white);
  color: var(--near-black);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }
section[id] { scroll-margin-top: 24px; }
@media (max-width: 720px) {
  header nav { gap: 16px !important; font-size: 14px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@keyframes bf-grid-drift { from { background-position: 0 0, 0 0; } to { background-position: 0 60px, 60px 0; } }
@keyframes bf-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bf-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bf-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes bf-blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes bf-pixel { 0%, 100% { opacity: 0; transform: translateY(0) scale(.6); } 20%, 70% { opacity: 1; transform: translateY(-18px) scale(1); } }
@keyframes bf-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bf-pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(3, 153, 250, .45); } 70% { box-shadow: 0 0 0 14px rgba(3, 153, 250, 0); } 100% { box-shadow: 0 0 0 0 rgba(3, 153, 250, 0); } }
@keyframes bf-byte-run { from { transform: translateX(-40px) skewX(-20deg); } to { transform: translateX(calc(100vw + 40px)) skewX(-20deg); } }
.site-header { position: sticky !important; top: 0; background: rgba(2, 5, 10, .78) !important; -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); transition: box-shadow .3s ease, background .3s ease, border-color .3s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8); background: rgba(2, 5, 10, .94) !important; border-bottom-color: #1F4268 !important; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: #0399FA; z-index: 60; pointer-events: none; }
.nav-link { position: relative; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: #0399FA; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); }
.btn-primary { position: relative; overflow: hidden; transition: background-color .25s ease, transform .2s ease, box-shadow .25s ease; }
.btn-primary:hover { background-color: #2DADFF !important; transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(3, 153, 250, .65); color: #02050A !important; }
.btn-primary:active { transform: translateY(0); }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: rgba(255, 255, 255, .22); transform: skewX(-20deg); transition: left .6s ease; }
.btn-primary:hover::after { left: 130%; }
.btn-ghost { transition: border-color .25s ease, background-color .25s ease, transform .2s ease; }
.btn-ghost:hover { border-color: #0399FA !important; background-color: rgba(3, 153, 250, .1); transform: translateY(-2px); color: #FFFFFF !important; }
.hero-copy .btn-primary { animation: bf-pulse-ring 2.6s ease-out 1.6s 3; }
.hero-grid { animation: bf-grid-drift 18s linear infinite; }
.hero-grid::after { content: ""; position: absolute; inset: 0; background: radial-gradient(560px 380px at var(--hx, 72%) var(--hy, 40%), rgba(3, 153, 250, .14), transparent 70%); pointer-events: none; }
.hero-grid::before { content: ""; position: absolute; left: 0; top: 46%; width: 22px; height: 22px; background: rgba(3, 153, 250, .5); animation: bf-byte-run 9s linear infinite; pointer-events: none; }
.hero-copy > * { opacity: 0; animation: bf-fade-up .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .18s; }
.hero-copy > *:nth-child(3) { animation-delay: .32s; }
.hero-copy > *:nth-child(4) { animation-delay: .46s; }
.hero-copy > *:nth-child(5) { animation-delay: .6s; }
.hero-mark { position: relative; opacity: 0; animation: bf-fade-in 1.2s ease .3s forwards; }
.hero-features > * { opacity: 0; animation: bf-fade-up .7s ease forwards; }
.hero-features > *:nth-child(1) { animation-delay: .7s; }
.hero-features > *:nth-child(2) { animation-delay: .82s; }
.hero-features > *:nth-child(3) { animation-delay: .94s; }
.bytes-float { animation: bf-float 7s ease-in-out infinite; }
.px { position: absolute; display: block; clip-path: polygon(28% 0, 100% 0, 72% 100%, 0 100%); animation: bf-pixel 4.5s ease-in-out infinite; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: #0399FA; clip-path: polygon(28% 0, 100% 0, 72% 100%, 0 100%); animation: bf-blink 1.6s steps(2, jump-none) infinite; }
.card { position: relative; overflow: hidden; transition: transform .3s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, box-shadow .3s ease; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(3, 153, 250, .12), transparent 60%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #0399FA; transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.card:hover { transform: translateY(-6px); border-color: #1F4268 !important; box-shadow: 0 24px 48px -24px rgba(3, 153, 250, .4); }
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }
.card > img:first-child, .card > div > img:first-child { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.card:hover > img:first-child { transform: translateY(-3px) scale(1.08); }
.card > * { position: relative; }
.link-arrow { display: inline-flex; gap: 6px; transition: gap .2s ease, color .2s ease; }
.link-arrow:hover { gap: 12px; color: #FFFFFF !important; }
.marquee { overflow: hidden; flex: 1 1 400px; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: bf-marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip { transition: border-color .2s ease, color .2s ease; white-space: nowrap; }
.chip:hover { border-color: #0399FA !important; color: #0399FA; }
.stats-band { position: relative; overflow: hidden; }
.stat-num { color: #FFFFFF; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-copy > *, .hero-mark, .hero-features > * { opacity: 1 !important; }
  .hero-grid::before { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { width: auto; flex-wrap: wrap; }
}
