/* ==========================================================================
   NXL — Nexel Labs
   Official Website Stylesheet
   Design system: black + electric blue, technical precision
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Blacks / graphite */
  --nxl-black-0: #050505;
  --nxl-black-1: #08090B;
  --nxl-black-2: #0B0D10;
  --nxl-black-3: #0D0F12;
  --nxl-black-4: #101216;
  --nxl-black-5: #111318;
  --nxl-black-6: #16191F;

  /* Electric blue */
  --nxl-blue:    #0066FF;
  --nxl-blue-2:  #007BFF;
  --nxl-blue-3:  #1683FF;
  --nxl-blue-4:  #3B82F6;
  --nxl-blue-5:  #60A5FA;
  --nxl-blue-6:  #93C5FD;

  /* Text */
  --nxl-text:        #F5F7FA;
  --nxl-text-2:      #A7ADB7;
  --nxl-text-3:      #8B93A1;
  --nxl-text-muted:  #6B7280;

  /* Borders / lines */
  --nxl-border:        rgba(255, 255, 255, 0.06);
  --nxl-border-strong: rgba(255, 255, 255, 0.10);
  --nxl-border-blue:   rgba(59, 130, 246, 0.18);
  --nxl-border-blue-2: rgba(59, 130, 246, 0.30);

  /* Surfaces */
  --nxl-surface:        #0B0D10;
  --nxl-surface-2:      #0D1014;
  --nxl-surface-hover:  #11151B;

  /* Effects */
  --nxl-glow-blue: 0 0 24px rgba(59, 130, 246, 0.25);
  --nxl-glow-soft: 0 0 60px rgba(0, 102, 255, 0.15);

  /* Typography */
  --nxl-font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --nxl-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing scale */
  --nxl-space-1: 4px;
  --nxl-space-2: 8px;
  --nxl-space-3: 12px;
  --nxl-space-4: 16px;
  --nxl-space-5: 24px;
  --nxl-space-6: 32px;
  --nxl-space-7: 48px;
  --nxl-space-8: 64px;
  --nxl-space-9: 96px;
  --nxl-space-10: 128px;

  /* Radius */
  --nxl-radius-sm: 4px;
  --nxl-radius:    8px;
  --nxl-radius-lg: 14px;
  --nxl-radius-xl: 20px;

  /* Layout */
  --nxl-container: 1240px;
  --nxl-nav-h:     72px;

  /* Motion */
  --nxl-ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --nxl-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--nxl-font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--nxl-text-2);
  background: var(--nxl-black-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

a {
  color: var(--nxl-blue-5);
  text-decoration: none;
  transition: color 160ms var(--nxl-ease);
}

a:hover {
  color: var(--nxl-blue-6);
}

::selection {
  background: rgba(0, 102, 255, 0.35);
  color: var(--nxl-text);
}

:focus-visible {
  outline: 2px solid var(--nxl-blue-5);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 10px 16px;
  background: var(--nxl-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--nxl-radius-sm);
  z-index: 1000;
  transition: top 200ms var(--nxl-ease);
}

.skip-link:focus {
  top: 16px;
  color: #fff;
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--nxl-container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
}

.section {
  position: relative;
  padding: 120px 0;
}

.section--alt {
  background: var(--nxl-black-1);
  border-top: 1px solid var(--nxl-border);
  border-bottom: 1px solid var(--nxl-border);
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 56px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--nxl-border);
}

.section__head .eyebrow { margin: 0; }

.section__id {
  font-family: var(--nxl-font-mono);
  font-size: 12px;
  color: var(--nxl-text-muted);
  letter-spacing: 0.08em;
}

.section__heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

.section__heading .display { margin: 0; }
.section__heading .lead { margin: 0; }

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .section__heading {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }
}

/* --------------------------------------------------------------------------
   4. Typography utilities
   -------------------------------------------------------------------------- */
.display {
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--nxl-text);
  margin: 0 0 16px;
}

.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--nxl-text-2);
  margin: 0 0 16px;
  max-width: 60ch;
}

.text-accent {
  color: var(--nxl-blue-5);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nxl-font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--nxl-blue-5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--nxl-blue-5);
  border-radius: 50%;
  display: inline-block;
}

.eyebrow--blue {
  color: var(--nxl-blue-5);
}

.eyebrow--center {
  justify-content: center;
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--nxl-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 200ms var(--nxl-ease);
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--lg { padding: 14px 24px; font-size: 15px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--nxl-blue);
  color: #fff;
  border-color: var(--nxl-blue);
  box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
}

.btn--primary:hover {
  background: var(--nxl-blue-3);
  border-color: var(--nxl-blue-3);
  color: #fff;
  box-shadow: var(--nxl-glow-blue);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--nxl-text);
  border-color: var(--nxl-border-strong);
}

.btn--ghost:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: var(--nxl-border-blue-2);
  color: var(--nxl-text);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 300ms var(--nxl-ease), border-color 300ms var(--nxl-ease), backdrop-filter 300ms var(--nxl-ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(5, 5, 5, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--nxl-border);
  height: 64px;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nxl-nav-h);
  gap: 32px;
  transition: height 300ms var(--nxl-ease);
}

.nav.is-scrolled .nav__inner { height: 64px; }

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--nxl-text);
  font-weight: 500;
}

.nav__brand:hover { color: var(--nxl-text); }

.nav__logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav__brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.nav__brand-mark {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--nxl-blue-5);
}

.nav__brand-name {
  font-size: 11px;
  color: var(--nxl-text-muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav__link {
  position: relative;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--nxl-text-2);
  border-radius: var(--nxl-radius-sm);
  transition: color 160ms var(--nxl-ease);
}

.nav__link:hover {
  color: var(--nxl-text);
}

.nav__link--active {
  color: var(--nxl-text);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1px;
  background: var(--nxl-blue-5);
  box-shadow: 0 0 8px var(--nxl-blue-5);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__menu {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--nxl-radius-sm);
  border: 1px solid var(--nxl-border);
}

.nav__menu span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--nxl-text);
  transition: transform 200ms var(--nxl-ease), opacity 200ms var(--nxl-ease);
}

.nav__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 24px;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nxl-border);
}

.nav__mobile.is-open { display: flex; }

.nav__mobile-link {
  padding: 14px 4px;
  font-size: 15px;
  color: var(--nxl-text-2);
  border-bottom: 1px solid var(--nxl-border);
}

.nav__mobile-link:hover { color: var(--nxl-text); }

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__menu { display: flex; }
  .nav__actions .btn { display: none; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nxl-nav-h) + 40px) 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, black 30%, transparent 75%);
}

.hero__glow {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle at center, rgba(0, 102, 255, 0.18), transparent 60%);
  filter: blur(40px);
}

.hero__visual {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 56%;
  max-width: 760px;
  opacity: 0.9;
  filter: drop-shadow(0 0 40px rgba(0, 102, 255, 0.15));
  transition: transform 600ms var(--nxl-ease);
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 760px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: rgba(11, 13, 16, 0.6);
  border: 1px solid var(--nxl-border-blue);
  border-radius: 100px;
  font-family: var(--nxl-font-mono);
  font-size: 11px;
  color: var(--nxl-blue-5);
  letter-spacing: 0.12em;
  margin-bottom: 32px;
  backdrop-filter: blur(6px);
}

.hero__dot {
  width: 6px;
  height: 6px;
  background: var(--nxl-blue-5);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--nxl-blue-5);
  animation: pulse 2s infinite;
}

.hero__build {
  padding-left: 12px;
  border-left: 1px solid var(--nxl-border);
  color: var(--nxl-text-muted);
}

.hero__title {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--nxl-text);
  margin: 0 0 28px;
}

.hero__title-accent {
  background: linear-gradient(90deg, var(--nxl-blue-5), var(--nxl-blue) 60%, var(--nxl-blue-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__lead {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--nxl-text-2);
  max-width: 580px;
  margin: 0 0 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--nxl-font-mono);
  font-size: 11px;
  color: var(--nxl-text-muted);
  letter-spacing: 0.1em;
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__meta-label { color: var(--nxl-text-muted); }
.hero__meta-value { color: var(--nxl-text); font-weight: 500; }

.hero__meta-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nxl-blue-5);
}

.hero__meta-status::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--nxl-blue-5);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--nxl-blue-5);
  animation: pulse 1.5s infinite;
}

.hero__meta-divider {
  width: 1px;
  height: 28px;
  background: var(--nxl-border);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--nxl-font-mono);
  font-size: 10px;
  color: var(--nxl-text-muted);
  letter-spacing: 0.15em;
}

.hero__scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--nxl-blue-5), transparent);
  animation: scroll-line 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 1024px) {
  .hero__visual { width: 70%; opacity: 0.4; right: -20%; }
}

@media (max-width: 768px) {
  .hero { min-height: 90vh; padding-top: calc(var(--nxl-nav-h) + 32px); padding-bottom: 60px; }
  .hero__visual { display: none; }
  .hero__title { font-size: clamp(36px, 10vw, 56px); }
  .hero__meta { gap: 16px; }
  .hero__meta-divider { display: none; }
  .hero__scroll { display: none; }
}

/* --------------------------------------------------------------------------
   8. Signal bar
   -------------------------------------------------------------------------- */
.signal {
  border-top: 1px solid var(--nxl-border);
  border-bottom: 1px solid var(--nxl-border);
  background: var(--nxl-black-1);
  padding: 22px 0;
}

.signal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.signal__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--nxl-font-mono);
  font-size: 11px;
  color: var(--nxl-text-2);
  letter-spacing: 0.14em;
}

.signal__dot {
  width: 6px;
  height: 6px;
  background: var(--nxl-blue-5);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--nxl-blue-5);
}

@media (max-width: 900px) {
  .signal__list { justify-content: flex-start; gap: 12px 20px; }
}

/* --------------------------------------------------------------------------
   9. About
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about__left .display {
  position: sticky;
  top: calc(var(--nxl-nav-h) + 40px);
}

.about__right p {
  color: var(--nxl-text-2);
  margin: 0 0 16px;
}

.about__chips {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 12px;
  font-family: var(--nxl-font-mono);
  font-size: 11px;
  color: var(--nxl-blue-5);
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.18);
  border-radius: 100px;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about__left .display { position: static; }
}

/* --------------------------------------------------------------------------
   10. Product (Nexel Guard) showcase
   -------------------------------------------------------------------------- */
.product {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.product__intro .display { margin-bottom: 16px; }

.product__tagline {
  font-size: 18px;
  font-weight: 500;
  color: var(--nxl-blue-5);
  margin: 0 0 24px;
  letter-spacing: 0.005em;
}

.product__desc {
  color: var(--nxl-text-2);
  margin: 0 0 24px;
  max-width: 50ch;
}

.product__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}

.product__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--nxl-text-2);
}

.check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid var(--nxl-border-blue-2);
  position: relative;
  flex-shrink: 0;
}

.check::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nxl-blue-5);
  transform: translate(-50%, -50%);
}

.product__stack {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--nxl-border);
}

.product__stack-label {
  font-family: var(--nxl-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--nxl-text-muted);
  margin-right: 4px;
}

.product__stack-tag {
  padding: 5px 10px;
  font-family: var(--nxl-font-mono);
  font-size: 11px;
  color: var(--nxl-blue-5);
  background: var(--nxl-black-3);
  border: 1px solid var(--nxl-border);
  border-radius: var(--nxl-radius-sm);
}

/* Device showcase */
.product__showcase {
  position: relative;
}

.device {
  background: var(--nxl-black-2);
  border: 1px solid var(--nxl-border);
  border-radius: var(--nxl-radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.05),
    0 30px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 80px -20px rgba(0, 102, 255, 0.15);
}

.device__tabs {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: var(--nxl-black-1);
  border-bottom: 1px solid var(--nxl-border);
}

.device__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--nxl-text-muted);
  border-radius: var(--nxl-radius-sm);
  transition: color 160ms var(--nxl-ease), background 160ms var(--nxl-ease);
}

.device__tab:hover { color: var(--nxl-text); }

.device__tab--active {
  color: var(--nxl-blue-5);
  background: rgba(0, 102, 255, 0.08);
}

.device__tab-dot {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}

.device__viewport {
  position: relative;
  aspect-ratio: 720 / 460;
  background: #070809;
}

.device__screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 400ms var(--nxl-ease);
  pointer-events: none;
}

.device__screen--active {
  opacity: 1;
}

.product__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 12px;
  font-family: var(--nxl-font-mono);
  font-size: 11px;
  color: var(--nxl-text-muted);
  letter-spacing: 0.08em;
  background: var(--nxl-black-2);
  border: 1px solid var(--nxl-border);
  border-radius: 100px;
}

.product__hint-dot {
  width: 5px;
  height: 5px;
  background: var(--nxl-blue-5);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

.product__hint-sep { color: var(--nxl-border-strong); }
.product__hint-mono { color: var(--nxl-text-2); }

@media (max-width: 1024px) {
  .product { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 600px) {
  .product__features { grid-template-columns: 1fr; }
  .device__tab span:not(.device__tab-dot) { display: none; }
  .device__tab { padding: 7px; }
}

/* --------------------------------------------------------------------------
   11. Technology
   -------------------------------------------------------------------------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tech-card {
  position: relative;
  padding: 28px;
  background: var(--nxl-black-2);
  border: 1px solid var(--nxl-border-blue);
  border-radius: var(--nxl-radius-lg);
  transition: border-color 240ms var(--nxl-ease), background 240ms var(--nxl-ease), transform 240ms var(--nxl-ease), box-shadow 240ms var(--nxl-ease);
}

.tech-card:hover {
  border-color: var(--nxl-border-blue-2);
  background: var(--nxl-surface-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -15px rgba(0, 102, 255, 0.25);
}

.tech-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-card__icon img {
  width: 40px;
  height: 40px;
}

.tech-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--nxl-text);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.tech-card__desc {
  font-size: 14px;
  color: var(--nxl-text-2);
  margin: 0 0 16px;
  line-height: 1.55;
}

.tech-card__tag {
  display: inline-block;
  font-family: var(--nxl-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--nxl-text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--nxl-border);
  width: 100%;
}

.tech-card--wide {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-card--wide { grid-column: span 2; }
}

@media (max-width: 600px) {
  .tech-grid { grid-template-columns: 1fr; }
  .tech-card--wide { grid-column: span 1; }
}

/* --------------------------------------------------------------------------
   12. Principles
   -------------------------------------------------------------------------- */
.principles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--nxl-border);
  border-left: 1px solid var(--nxl-border);
}

.principle {
  padding: 32px;
  border-right: 1px solid var(--nxl-border);
  border-bottom: 1px solid var(--nxl-border);
  transition: background 240ms var(--nxl-ease);
}

.principle:hover {
  background: var(--nxl-surface-hover);
}

.principle__num {
  display: block;
  font-family: var(--nxl-font-mono);
  font-size: 36px;
  font-weight: 500;
  color: var(--nxl-blue-5);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.principle__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--nxl-text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.principle__desc {
  font-size: 14px;
  color: var(--nxl-text-2);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .principles { grid-template-columns: 1fr; }
  .principle { padding: 28px 20px; }
}

/* --------------------------------------------------------------------------
   13. Founder
   -------------------------------------------------------------------------- */
.founder {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: center;
}

.founder__portrait {
  position: relative;
}

.founder__frame {
  position: relative;
  border-radius: var(--nxl-radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

.founder__frame img {
  width: 100%;
  display: block;
}

.founder__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--nxl-blue-5);
  border-color: var(--nxl-blue-5);
}

.founder__corner--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.founder__corner--tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.founder__corner--bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.founder__corner--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.founder__id {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-family: var(--nxl-font-mono);
  font-size: 10px;
  color: var(--nxl-text-muted);
  letter-spacing: 0.14em;
  background: rgba(5, 5, 5, 0.65);
  padding: 5px 10px;
  border-radius: 100px;
  border: 1px solid var(--nxl-border);
  backdrop-filter: blur(6px);
}

.founder__content .eyebrow { margin-bottom: 16px; }
.founder__content .display { margin-bottom: 16px; }
.founder__role {
  display: inline-block;
  font-family: var(--nxl-font-mono);
  font-size: 13px;
  color: var(--nxl-blue-5);
  letter-spacing: 0.06em;
  margin: 0 0 24px;
  padding: 6px 12px;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid var(--nxl-border-blue);
  border-radius: var(--nxl-radius-sm);
}

.founder__content p { color: var(--nxl-text-2); margin: 0 0 16px; }

@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; gap: 40px; }
  .founder__portrait { max-width: 360px; margin: 0 auto; }
}

/* --------------------------------------------------------------------------
   14. Vision
   -------------------------------------------------------------------------- */
.section--vision {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.section--vision::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.10), transparent 60%);
  pointer-events: none;
}

.vision {
  position: relative;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.vision__line {
  position: absolute;
  top: 32%;
  left: -10%;
  right: -10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nxl-blue-5), transparent);
  opacity: 0.6;
  filter: blur(0.5px);
}

.vision__title {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--nxl-text);
  margin: 0 0 32px;
}

.vision__lead {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--nxl-text-2);
  max-width: 760px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   15. Final CTA
   -------------------------------------------------------------------------- */
.section--cta {
  padding-bottom: 140px;
}

.cta {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  background: var(--nxl-black-2);
  border: 1px solid var(--nxl-border-blue);
  border-radius: var(--nxl-radius-xl);
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(0, 102, 255, 0.15), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(59, 130, 246, 0.10), transparent 60%);
  pointer-events: none;
}

.cta > * { position: relative; z-index: 1; }

.cta__title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--nxl-text);
  margin: 0 0 24px;
}

.cta__lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--nxl-text-2);
  max-width: 580px;
  margin: 0 auto 40px;
}

.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.cta__contact {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--nxl-black-3);
  border: 1px solid var(--nxl-border);
  border-radius: 100px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta__contact-item {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.cta__contact-label {
  font-family: var(--nxl-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--nxl-text-muted);
}

.cta__contact-value {
  font-size: 14px;
  color: var(--nxl-text);
  font-weight: 500;
}

.cta__contact-divider {
  width: 1px;
  height: 28px;
  background: var(--nxl-border);
}

@media (max-width: 600px) {
  .cta { padding: 56px 20px; }
  .cta__contact { padding: 16px; gap: 12px; }
  .cta__contact-divider { display: none; }
  .cta__contact-item { width: 100%; align-items: center; }
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--nxl-border);
  background: var(--nxl-black-1);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding-bottom: 56px;
}

.footer__brand { max-width: 320px; }

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--nxl-text);
}

.footer__logo:hover { color: var(--nxl-text); }

.footer__brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.footer__brand-mark {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--nxl-blue-5);
}

.footer__brand-name {
  font-size: 11px;
  color: var(--nxl-text-muted);
  margin-top: 4px;
}

.footer__tagline {
  color: var(--nxl-text-2);
  margin: 0;
  font-size: 14px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__col-title {
  font-family: var(--nxl-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--nxl-text-muted);
  text-transform: uppercase;
  margin: 0 0 16px;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__list a {
  font-size: 14px;
  color: var(--nxl-text-2);
}

.footer__list a:hover { color: var(--nxl-blue-5); }

.footer__bottom {
  border-top: 1px solid var(--nxl-border);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--nxl-text-muted);
  font-family: var(--nxl-font-mono);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}

.footer__bottom-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer__bottom-sep { color: var(--nxl-border-strong); }

.footer__bottom-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nxl-blue-5);
}

.footer__status-dot {
  width: 5px;
  height: 5px;
  background: var(--nxl-blue-5);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--nxl-blue-5);
  animation: pulse 1.5s infinite;
}

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   17. Reveal animations
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(6px);
  transition: opacity 700ms var(--nxl-ease), transform 700ms var(--nxl-ease), filter 700ms var(--nxl-ease);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero__visual { display: none !important; }
  .hero__scroll { display: none !important; }
  .boot { display: none !important; }
  .overlay { display: none !important; }
}

/* --------------------------------------------------------------------------
   18. Print
   -------------------------------------------------------------------------- */
@media print {
  .nav, .footer, .hero__bg, .hero__scroll, .signal__dot, .pulse { display: none !important; }
  body { color: #000; background: #fff; }
}

/* ==========================================================================
   NXL � Cyber / Hacker UI overlay system
   ========================================================================== */

/* Global overlays ------------------------------------------------------- */
.overlay {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
}

.overlay--scanlines {
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(59, 169, 240, 0.025) 0px,
    rgba(59, 169, 240, 0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: screen;
  opacity: 0.6;
  animation: scanlinesShift 8s linear infinite;
}

@keyframes scanlinesShift {
  0% { background-position: 0 0; }
  100% { background-position: 0 6px; }
}

.overlay--vignette {
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.overlay--noise {
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.23 0 0 0 0 0.66 0 0 0 0 0.94 0 0 0 0.07 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: noiseShift 0.6s steps(2) infinite;
}

@keyframes noiseShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, 1%); }
  50%  { transform: translate(1%, -1%); }
  75%  { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}

.overlay--scan {
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(59, 169, 240, 0.10) 49%,
    rgba(59, 169, 240, 0.20) 50%,
    rgba(59, 169, 240, 0.10) 51%,
    transparent 100%
  );
  height: 120px;
  animation: scanSweep 7s linear infinite;
  z-index: 9997;
}

@keyframes scanSweep {
  0% { transform: translateY(-15vh); }
  100% { transform: translateY(115vh); }
}

/* Boot / Intro overlay -------------------------------------------------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--nxl-font-mono);
  overflow: hidden;
  transition: opacity 600ms var(--nxl-ease), visibility 0s linear 600ms;
}

.boot.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,169,240,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,169,240,0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  animation: bootGridPan 18s linear infinite;
}

@keyframes bootGridPan {
  0% { background-position: 0 0; }
  100% { background-position: 64px 64px; }
}

.boot__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(59,169,240,0.18), transparent);
  height: 220px;
  animation: bootScan 2.2s linear infinite;
}

@keyframes bootScan {
  0% { transform: translateY(-220px); }
  100% { transform: translateY(100vh); }
}

.boot__inner {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 32px;
  max-width: 560px;
  width: 100%;
}

.boot__logo {
  display: inline-block;
  margin-bottom: 28px;
  filter: drop-shadow(0 0 20px rgba(59,169,240,0.45));
  animation: bootLogoGlitch 4s steps(1) infinite;
}

@keyframes bootLogoGlitch {
  0%, 96%, 100% { transform: translate(0,0); filter: drop-shadow(0 0 20px rgba(59,169,240,0.45)); }
  97% { transform: translate(-2px, 0); filter: drop-shadow(2px 0 0 #3DA9F0) drop-shadow(-2px 0 0 #003FB8); }
  98% { transform: translate(2px, -1px); filter: drop-shadow(-1px 0 0 #3DA9F0) drop-shadow(2px 0 0 #003FB8); }
  99% { transform: translate(0, 1px); filter: drop-shadow(0 0 20px rgba(59,169,240,0.6)); }
}

.boot__name {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: 0.5em;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 18px rgba(59,169,240,0.5);
}

.boot__name::after {
  content: attr(data-text);
  position: absolute;
  left: 0; right: 0; top: 0;
  color: transparent;
  background: linear-gradient(180deg, #3DA9F0 0%, #3DA9F0 50%, transparent 50%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  mix-blend-mode: screen;
  animation: bootNameReveal 2.6s var(--nxl-ease) forwards;
}

@keyframes bootNameReveal {
  0%   { clip-path: inset(100% 0 0 0); }
  60%  { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 0); opacity: 0; }
}

.boot__sub {
  font-size: 11px;
  letter-spacing: 0.32em;
  color: #3DA9F0;
  margin-bottom: 28px;
  opacity: 0.85;
  animation: bootFadeIn 1.5s 0.3s var(--nxl-ease) backwards;
}

.boot__bar {
  height: 2px;
  width: 320px;
  max-width: 100%;
  margin: 0 auto 24px;
  background: rgba(59,169,240,0.12);
  border: 1px solid rgba(59,169,240,0.25);
  position: relative;
  overflow: hidden;
}

.boot__bar-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #003FB8, #3DA9F0, #7CC8FF, #3DA9F0);
  width: 0;
  animation: bootBar 2.6s var(--nxl-ease) forwards;
  box-shadow: 0 0 10px rgba(59,169,240,0.6);
}

@keyframes bootBar {
  0%   { width: 0%; }
  100% { width: 100%; }
}

.boot__log {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 12px;
  color: #8B93A1;
  text-align: left;
  display: inline-block;
}

.boot__log li {
  padding: 2px 0;
  opacity: 0;
  transform: translateX(-6px);
  animation: bootLogLine 0.4s var(--nxl-ease) forwards;
}

.boot__log li::before {
  content: attr(data-line) " ";
  color: #3DA9F0;
}

.boot__log li:nth-child(1) { animation-delay: 0.20s; }
.boot__log li:nth-child(2) { animation-delay: 0.65s; }
.boot__log li:nth-child(3) { animation-delay: 1.10s; }
.boot__log li:nth-child(4) { animation-delay: 1.55s; }
.boot__log li:nth-child(5) { animation-delay: 2.00s; }

@keyframes bootLogLine {
  0% { opacity: 0; transform: translateX(-6px); }
  100% { opacity: 1; transform: translateX(0); }
}

.boot__skip {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(59,169,240,0.55);
  margin-top: 12px;
  animation: bootFadeIn 1s 2.0s var(--nxl-ease) backwards, bootPulse 1.4s 2.0s ease-in-out infinite;
}

@keyframes bootFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes bootPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* Body state while boot is running */
body.is-booting {
  overflow: hidden;
}

body.is-booting .nav,
body.is-booting main,
body.is-booting footer,
body.is-booting .overlay {
  filter: blur(2px);
  opacity: 0.2;
  transition: filter 600ms var(--nxl-ease), opacity 600ms var(--nxl-ease);
}

/* Reveal entrance animation tweak -------------------------------------- */
[data-reveal] {
  filter: blur(6px);
}

/* Glitch text effect ---------------------------------------------------- */
.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0;
}

.glitch::before {
  color: #3DA9F0;
  animation: glitchA 4.6s infinite;
}

.glitch::after {
  color: #003FB8;
  animation: glitchB 4.6s infinite;
}

@keyframes glitchA {
  0%, 92%, 100% { opacity: 0; transform: translate(0,0); }
  93% { opacity: 0.7; transform: translate(-2px,0); }
  94% { opacity: 0.4; transform: translate(2px, -1px); }
  95% { opacity: 0; transform: translate(0,0); }
}

@keyframes glitchB {
  0%, 95%, 100% { opacity: 0; transform: translate(0,0); }
  96% { opacity: 0.7; transform: translate(2px,1px); }
  97% { opacity: 0.4; transform: translate(-2px, 0); }
  98% { opacity: 0; transform: translate(0,0); }
}

/* Hero upgrades --------------------------------------------------------- */
.hero__meta-blip {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #3DA9F0;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 8px #3DA9F0;
  animation: pulse 1.4s infinite;
}

.hero__ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: rgba(8,9,11,0.85);
  border-top: 1px solid rgba(59,169,240,0.18);
  border-bottom: 1px solid rgba(59,169,240,0.18);
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 2;
  backdrop-filter: blur(6px);
}

.hero__ticker-track {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  font-family: var(--nxl-font-mono);
  font-size: 11px;
  color: #8B93A1;
  letter-spacing: 0.18em;
  padding-left: 24px;
  animation: ticker 38s linear infinite;
}

.hero__ticker-track span:nth-child(2n) { color: #3DA9F0; }
.hero__ticker-track span:nth-child(4n) { color: #60A5FA; }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero__binary {
  position: absolute;
  inset: 0;
  font-family: var(--nxl-font-mono);
  font-size: 13px;
  line-height: 1.2;
  color: rgba(59,169,240,0.12);
  letter-spacing: 0.4em;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero__binary span {
  position: absolute;
  white-space: nowrap;
  animation: binaryRain 16s linear infinite;
}

.hero__binary span:nth-child(1) { left: 8%;  top: -10%; animation-delay:  0s; }
.hero__binary span:nth-child(2) { left: 22%; top: -20%; animation-delay: -3s; }
.hero__binary span:nth-child(3) { left: 42%; top: -15%; animation-delay: -7s; }
.hero__binary span:nth-child(4) { left: 58%; top: -25%; animation-delay: -2s; }
.hero__binary span:nth-child(5) { left: 74%; top: -18%; animation-delay: -9s; }
.hero__binary span:nth-child(6) { left: 90%; top: -12%; animation-delay: -5s; }

.hero__binary span::before {
  content: "01001000 01101001 00100000 01001110 01011000 01001100 00100000 " attr(data-b);
}

@keyframes binaryRain {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { transform: translateY(120vh); opacity: 0; }
}

/* Hero terminal block --------------------------------------------------- */
.hero__terminal {
  margin-top: 36px;
  background: rgba(8,9,11,0.85);
  border: 1px solid rgba(59,169,240,0.22);
  border-radius: var(--nxl-radius);
  overflow: hidden;
  max-width: 520px;
  font-family: var(--nxl-font-mono);
  font-size: 12px;
  box-shadow: 0 0 0 1px rgba(59,169,240,0.05), 0 10px 40px -10px rgba(0,102,255,0.25);
  animation: terminalFlicker 6s ease-in-out infinite;
}

@keyframes terminalFlicker {
  0%, 96%, 100% { opacity: 1; }
  97% { opacity: 0.92; }
  98% { opacity: 1; }
  99% { opacity: 0.96; }
}

.hero__terminal-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(59,169,240,0.06);
  border-bottom: 1px solid rgba(59,169,240,0.16);
}

.hero__terminal-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #555;
}
.hero__terminal-dot--r { background: #FF5F57; }
.hero__terminal-dot--y { background: #FEBC2E; }
.hero__terminal-dot--g { background: #28C840; }

.hero__terminal-title {
  margin-left: 10px;
  color: #8B93A1;
  letter-spacing: 0.1em;
  font-size: 10px;
}

.hero__terminal-body {
  padding: 12px 14px;
  color: #A7ADB7;
}

.hero__terminal-prompt {
  color: #3DA9F0;
  margin-right: 8px;
}

.hero__terminal-cmd {
  color: #fff;
}

.hero__terminal-caret {
  display: inline-block;
  width: 7px;
  height: 12px;
  background: #3DA9F0;
  vertical-align: -1px;
  margin-left: 4px;
  animation: caretBlink 1s steps(1) infinite;
  box-shadow: 0 0 6px #3DA9F0;
}

@keyframes caretBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Stats panel ----------------------------------------------------------- */
.stats {
  border-top: 1px solid var(--nxl-border);
  border-bottom: 1px solid var(--nxl-border);
  background: linear-gradient(180deg, #050505 0%, #08090B 100%);
  padding: 56px 0;
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stats__card {
  background: var(--nxl-black-2);
  border: 1px solid rgba(59,169,240,0.18);
  border-radius: var(--nxl-radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 300ms var(--nxl-ease), border-color 300ms var(--nxl-ease), box-shadow 300ms var(--nxl-ease);
}

.stats__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(59,169,240,0.04) 50%, transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms var(--nxl-ease);
}

.stats__card:hover {
  transform: translateY(-3px);
  border-color: rgba(59,169,240,0.45);
  box-shadow: 0 10px 40px -15px rgba(0,102,255,0.35);
}

.stats__card:hover::before { opacity: 1; }

.stats__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nxl-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #8B93A1;
  margin-bottom: 16px;
}

.stats__dot {
  width: 6px; height: 6px;
  background: #3DA9F0;
  border-radius: 50%;
  box-shadow: 0 0 6px #3DA9F0;
  animation: pulse 1.4s infinite;
}

.stats__id {
  margin-left: auto;
  color: #6B7280;
}

.stats__value {
  font-family: var(--nxl-font-mono);
  font-size: 38px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
}

.stats__bar {
  height: 3px;
  background: rgba(59,169,240,0.10);
  border-radius: 2px;
  overflow: hidden;
}

.stats__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #003FB8, #3DA9F0, #7CC8FF);
  transition: width 1.6s var(--nxl-ease);
  box-shadow: 0 0 8px rgba(59,169,240,0.6);
}

.stats__card.is-counted .stats__bar span { width: var(--fill, 92%); }

@media (max-width: 900px) {
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stats__inner { grid-template-columns: 1fr; }
}

/* About code snippet ---------------------------------------------------- */
.about__code {
  margin-top: 32px;
  background: rgba(8,9,11,0.85);
  border: 1px solid rgba(59,169,240,0.22);
  border-radius: var(--nxl-radius);
  overflow: hidden;
  position: relative;
}

.about__code::before {
  content: '~ python';
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: var(--nxl-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #6B7280;
}

.about__code pre {
  margin: 0;
  padding: 18px 20px;
  font-family: var(--nxl-font-mono);
  font-size: 12px;
  line-height: 1.65;
  color: #A7ADB7;
  overflow-x: auto;
}

.code__kw { color: #3DA9F0; }
.code__cl { color: #7CC8FF; }
.code__fn { color: #60A5FA; }
.code__nm { color: #7CC8FF; }
.code__st { color: #7CC8FF; }
.code__cm { color: #6B7280; font-style: italic; }

/* Chip with dot --------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chip__dot {
  width: 5px;
  height: 5px;
  background: #3DA9F0;
  border-radius: 50%;
  box-shadow: 0 0 6px #3DA9F0;
  animation: pulse 1.6s infinite;
}

/* Product feature rows: hacker style ------------------------------------ */
.check__label {
  font-family: var(--nxl-font-mono);
  color: #3DA9F0;
  font-size: 12px;
  margin-right: -2px;
  margin-left: -2px;
  opacity: 0.85;
}

/* Principles upgrades --------------------------------------------------- */
.principle {
  position: relative;
  transition: background 240ms var(--nxl-ease), border-color 240ms var(--nxl-ease);
}

.principle::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #3DA9F0, transparent);
  opacity: 0;
  transition: opacity 240ms var(--nxl-ease);
}

.principle:hover {
  background: var(--nxl-surface-hover);
}

.principle:hover::before { opacity: 1; }

.principle__caret {
  display: inline-block;
  color: #3DA9F0;
  font-family: var(--nxl-font-mono);
  margin-right: 8px;
  font-weight: 600;
}

.principle__meta {
  display: block;
  margin-top: 12px;
  font-family: var(--nxl-font-mono);
  font-size: 10px;
  color: #6B7280;
  letter-spacing: 0.16em;
}

/* Vision upgrades -------------------------------------------------------- */
.vision {
  position: relative;
}

.vision__corners span {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid #3DA9F0;
  opacity: 0.6;
}

.vision__corners span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.vision__corners span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.vision__corners span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.vision__corners span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.vision__id {
  font-family: var(--nxl-font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: #3DA9F0;
  margin-bottom: 16px;
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(59,169,240,0.25);
  border-radius: 100px;
}

.vision__title {
  position: relative;
  z-index: 1;
}

.vision__title::before,
.vision__title::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0;
}

.vision__title::before {
  color: #3DA9F0;
  animation: glitchA 4.6s infinite;
}

.vision__title::after {
  color: #003FB8;
  animation: glitchB 4.6s infinite;
}

.vision__signal {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  border: 1px solid rgba(59,169,240,0.25);
  border-radius: 100px;
  font-family: var(--nxl-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #8B93A1;
  background: rgba(8,9,11,0.5);
}

.vision__signal-dot {
  width: 6px; height: 6px;
  background: #3DA9F0;
  border-radius: 50%;
  box-shadow: 0 0 6px #3DA9F0;
  animation: pulse 1.4s infinite;
}

/* CTA upgrades ----------------------------------------------------------- */
.cta {
  position: relative;
}

.cta__corners span {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(59,169,240,0.45);
}

.cta__corners span:nth-child(1) { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.cta__corners span:nth-child(2) { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.cta__corners span:nth-child(3) { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.cta__corners span:nth-child(4) { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.cta__lockup {
  display: block;
  margin: 0 auto 24px;
  width: 180px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(59,169,240,0.35));
  animation: ctaLockupFloat 6s ease-in-out infinite;
}

@keyframes ctaLockupFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Section heading ID strip ---------------------------------------------- */
.section__head .eyebrow {
  position: relative;
}

.section__head::after {
  content: '';
  display: block;
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(59,169,240,0.18), transparent);
  margin-left: 16px;
}

/* Buttons: subtle scanning border --------------------------------------- */
.btn--primary {
  position: relative;
  background-image: linear-gradient(90deg, #003FB8, #0E62E8, #3DA9F0, #0E62E8, #003FB8);
  background-size: 300% 100%;
  animation: btnShift 8s linear infinite;
}

@keyframes btnShift {
  0% { background-position: 0% 0; }
  100% { background-position: 300% 0; }
}

/* Card hover: scan line ------------------------------------------------- */
.tech-card {
  position: relative;
  overflow: hidden;
}

.tech-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -100%;
  height: 200%;
  background: linear-gradient(180deg, transparent, rgba(59,169,240,0.18), transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--nxl-ease);
}

.tech-card:hover::after {
  opacity: 1;
  animation: cardScan 1.6s linear infinite;
}

@keyframes cardScan {
  0% { transform: translateY(0); }
  100% { transform: translateY(50%); }
}

/* Logo: hover glitch on nav -------------------------------------------- */
.nav__logo {
  transition: filter 240ms var(--nxl-ease), transform 240ms var(--nxl-ease);
}

.nav__brand:hover .nav__logo {
  filter: drop-shadow(0 0 6px #3DA9F0);
  transform: rotate(-3deg) scale(1.05);
}

/* Tech icons hover ------------------------------------------------------ */
.tech-card__icon {
  position: relative;
}

.tech-card__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(59,169,240,0.15), transparent 70%);
  opacity: 0;
  transition: opacity 300ms var(--nxl-ease);
}

.tech-card:hover .tech-card__icon::after { opacity: 1; }

/* Nav link: hover underline scan --------------------------------------- */
.nav__link::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3DA9F0, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--nxl-ease);
}

.nav__link:hover::after { transform: scaleX(1); }

/* Hero title subtle float ---------------------------------------------- */
.hero__title {
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Founder portrait: scanline overlay ----------------------------------- */
.founder__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(59,169,240,0.18) 50%, transparent 100%);
  height: 60px;
  animation: founderScan 4s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes founderScan {
  0% { transform: translateY(-60px); }
  100% { transform: translateY(420px); }
}

/* Section divider ticks ----------------------------------------------- */
.section {
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,169,240,0.6), transparent);
}

/* Responsive adjustments for new bits ---------------------------------- */
@media (max-width: 768px) {
  .hero__terminal { max-width: 100%; font-size: 11px; }
  .hero__ticker { font-size: 10px; height: 24px; }
  .hero__ticker-track { font-size: 10px; }
  .stats__value { font-size: 28px; }
  .about__code pre { font-size: 11px; }
}

@media (max-width: 480px) {
  .boot__name { letter-spacing: 0.3em; }
  .boot__log { font-size: 11px; }
  .vision__title { letter-spacing: -0.02em; }
}
