/* Global utility classes */
.network-pattern {
  background-image: radial-gradient(circle at 2px 2px, rgba(13, 43, 69, 0.05) 1px, transparent 0);
  background-size: 40px 40px;
}

.gradient-blur {
  filter: blur(100px);
  opacity: 0.4;
}

.node-glow {
  box-shadow: 0 0 20px rgba(13, 43, 69, 0.2);
}

.connector-line {
  background: linear-gradient(90deg, transparent, rgba(13, 43, 69, 0.2), transparent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 200ms ease;
  text-align: center;
}

.btn-primary {
  background: #0d2b45;
  color: #fff;
  border: 1px solid #0d2b45;
}
.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  border: 1px solid #0d2b45;
  color: #0d2b45;
  background: transparent;
}
.btn-outline:hover {
  background: #0d2b45;
  color: #fff;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  background: transparent;
}
.btn-ghost:hover {
  border-color: #fff;
}

.btn-white {
  background: #fff;
  color: #0d2b45;
}
.btn-white:hover {
  opacity: 0.9;
}

/* Navigation + links */
.nav-link-tech {
  position: relative;
  transition: color 240ms ease;
}

.nav-link-tech:not(.btn-primary)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms ease;
}

.nav-link-tech:not(.btn-primary):hover,
.nav-link-tech:not(.btn-primary):focus-visible {
  color: #0d2b45;
}

.nav-link-tech:not(.btn-primary):hover::after,
.nav-link-tech:not(.btn-primary):focus-visible::after {
  transform: scaleX(1);
}

.nav-link-tech:not(.btn-primary)[aria-current="page"] {
  color: #0d2b45;
}

.nav-link-tech:not(.btn-primary)[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link-tech:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

.hero-grid-overlay {
  background-image:
    linear-gradient(to right, currentColor 1px, transparent 1px),
    linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero-blueprint {
  animation: blueprintDrift 18s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes blueprintDrift {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.02);
  }
}

.hero-link-tech {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  transition: color 180ms ease;
}

.hero-link-tech::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: rgba(13, 43, 69, 0.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.hero-link-tech:hover {
  color: #0d2b45;
}

.hero-link-tech:hover::after {
  transform: scaleX(1);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  background: #0d2b45;
  color: #fff;
  border-radius: 0.25rem;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}
