/* ==========================================================================
   LEGALMETR - Architectural Blueprint & Graphic Styles
   Visual concept: Structure, Isometric Lines, Compass Marks, Measure Rulers
   ========================================================================== */

/* Subtle Global Background Blueprint Grid */
.bg-blueprint-pattern {
  position: relative;
}

.bg-blueprint-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
  background-size: 32px 32px;
  z-index: 0;
}

/* Coordinate axis marks */
.axis-marker {
  font-family: monospace;
  font-size: 0.65rem;
  color: var(--accent-gold-bright);
  letter-spacing: 0.12em;
  opacity: 0.75;
  user-select: none;
}

/* Architectural Scale Ruler Component */
.scale-ruler {
  display: flex;
  align-items: flex-end;
  height: 20px;
  gap: 4px;
  opacity: 0.6;
}

.scale-tick {
  width: 1px;
  background: var(--accent-gold);
  height: 6px;
}

.scale-tick.major {
  height: 14px;
  background: var(--accent-gold-bright);
}

.scale-tick.mid {
  height: 10px;
}

/* Drawing animations & highlights */
@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.08);
  }
}

.blueprint-line-animated {
  stroke-dasharray: 8 4;
  animation: dash 30s linear infinite;
}

.blueprint-node-pulse {
  animation: pulseGlow 4s ease-in-out infinite;
  transform-origin: center;
}

/* Interactive Blueprint Hotspot */
.blueprint-hotspot {
  cursor: pointer;
  transition: all var(--transition-fast);
}

.blueprint-hotspot:hover circle {
  fill: var(--accent-gold-bright);
  r: 6;
}

/* Technical Specification Tag */
.tech-spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.6rem;
  background: rgba(30, 21, 13, 0.6);
  border: 1px solid var(--border-blueprint);
  font-family: monospace;
  font-size: 0.68rem;
  color: var(--accent-gold-bright);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}

/* Blueprint card top ruler border */
.blueprint-ruler-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--accent-gold) 0,
    var(--accent-gold) 1px,
    transparent 1px,
    transparent 8px
  );
  opacity: 0.4;
}

/* Compass Rose Graphic */
.compass-rose {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  opacity: 0.45;
  pointer-events: none;
}
