:root {
  --bg-blue: #002244;
  --line-cyan: #00f0ff;
  --line-white: #ffffff;
  --border-cyan: rgba(0, 240, 255, 0.35);
  
  --font-mono: 'Share Tech Mono', monospace;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-blue);
  color: var(--line-cyan);
  font-family: var(--font-mono);
  line-height: 1.6;
}

/* Blueprint Graph Paper background grid */
.blueprint-grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.06) 1px, transparent 1px);
  background-size: 15px 15px;
  pointer-events: none;
  z-index: 1;
}

.blueprint-container {
  position: relative;
  z-index: 5;
  max-width: 950px;
  margin: 0 auto;
  padding: 60px 20px;
}

.blueprint-header {
  border-bottom: 2px double var(--line-cyan);
  padding-bottom: 25px;
  margin-bottom: 40px;
}

.nav-back {
  display: inline-block;
  color: var(--line-white);
  border: 1px solid var(--line-cyan);
  background: rgba(0, 240, 255, 0.05);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 4px 12px;
  letter-spacing: 1px;
}

.nav-back:hover {
  background: var(--line-cyan);
  color: var(--bg-blue);
}

.blueprint-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--line-white);
  margin: 20px 0 5px 0;
  letter-spacing: 2px;
}

.blueprint-subtitle {
  font-size: 0.9rem;
  opacity: 0.8;
  letter-spacing: 1px;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
}

/* Blueprint drafting cards */
.blueprint-card {
  background: rgba(0, 34, 68, 0.9);
  border: 1px solid var(--border-cyan);
  padding: 30px;
  position: relative;
}

/* Card corner crosshairs */
.card-crosshair {
  position: absolute;
  font-size: 12px;
  color: var(--line-cyan);
  opacity: 0.7;
}

.top-left { top: 5px; left: 8px; }
.top-right { top: 5px; right: 8px; }

.blueprint-card h2 {
  font-size: 1.25rem;
  color: var(--line-white);
  margin-top: 0;
  letter-spacing: 1px;
}

.blueprint-card p {
  font-size: 0.9rem;
  opacity: 0.85;
}

.divider {
  height: 1px;
  background-color: var(--border-cyan);
  margin-bottom: 15px;
}

/* Interactive Slider & Viewport */
.slider-row {
  margin: 15px 0;
}

.cad-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 2px;
  background: var(--border-cyan);
  outline: none;
}

.cad-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--line-white);
  border: 1px solid var(--line-cyan);
  cursor: pointer;
}

.cad-viewport {
  height: 140px;
  border: 1px dashed var(--border-cyan);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Wireframe vector box */
.cad-wireframe-box {
  width: 100px;
  height: 100px;
  border: 1.5px solid var(--line-cyan);
  position: relative;
  transition: width 0.1s ease-out, height 0.1s ease-out;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.25);
}

.dim-label {
  font-size: 9px;
  color: var(--line-white);
  position: absolute;
  white-space: nowrap;
}

.dim-w {
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
}

.dim-h {
  right: -55px;
  top: 50%;
  transform: translateY(-50%);
}
