/* =========================================================
   CRS TECHNICAL FOOTER
   Purpose: Service manual / datasheet footer format
   Aesthetic: Equipment documentation, not brand prose
   Load: After all other footer CSS
   ========================================================= */

/* ==========================================
   CONTAINER: Technical Metadata Block
   ========================================== */

footer.crs-footer-technical {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  line-height: 1.65;
  color: #8f8f8f; /* Low-contrast gray */
  background: #0f0f0f; /* Deep black */
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 24px;
  letter-spacing: 0.02em;
  max-width: 100%;
  margin: 0;
}

/* ==========================================
   REVISION HEADER: Document Version Control
   ========================================== */

.footer-revision-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-revision-id {
  font-size: 9px;
  color: #a8a8a8;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
}

.footer-revision-date {
  font-size: 9px;
  color: #7a7a7a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
}

/* ==========================================
   SECTION LABEL: Small Print Header
   ========================================== */

.footer-section-label {
  font-size: 10px;
  color: #bdbdbd;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
  opacity: 0.85;
}

/* ==========================================
   DATA BLOCKS: Stacked Metadata
   ========================================== */

.footer-data-block {
  margin-bottom: 20px;
  line-height: 1.65;
}

.footer-data-label {
  font-size: 10px;
  color: #a8a8a8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 600;
}

.footer-data-line {
  font-size: 11.5px;
  color: #8f8f8f;
  margin: 0;
  padding: 0;
  line-height: 1.65;
}

/* ==========================================
   LINKS: Subtle, No Button Styling
   ========================================== */

.footer-link {
  color: #a8a8a8;
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 168, 168, 0.3);
  transition: color 0.2s, border-color 0.2s;
}

.footer-link:hover {
  color: #d4a017; /* Subtle gold hover */
  border-bottom-color: rgba(212, 160, 23, 0.6);
}

/* ==========================================
   SIGNATURE BLOCK: System Credits
   ========================================== */

.footer-signature-block {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-highlight {
  color: #d4a017; /* Standby gold */
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* ==========================================
   MOBILE: Maintain Readability
   ========================================== */

@media (max-width: 768px) {
  footer.crs-footer-technical {
    padding: 24px 16px;
    font-size: 11px;
  }
  
  .footer-revision-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .footer-revision-id,
  .footer-revision-date {
    font-size: 8px;
  }
  
  .footer-section-label {
    font-size: 9px;
  }
  
  .footer-data-label {
    font-size: 9px;
  }
  
  .footer-data-line {
    font-size: 11px;
  }
}

/* ==========================================
   ANTI-DRIFT: Lock Typography
   ========================================================= */

footer.crs-footer-technical * {
  box-sizing: border-box;
}

footer.crs-footer-technical p {
  margin: 0;
  padding: 0;
}

/* Remove any inherited brand styling */
footer.crs-footer-technical .footer-data-block:last-child {
  margin-bottom: 0;
}

/* ==========================================
   REVISION STAMP: Manufacturing Metadata
   Absolute bottom - like laser-etched chassis serial
   ========================================== */

.footer-revision-stamp {
  background: #0a0a0a; /* Slightly darker than footer */
  padding: 8px 24px;
  text-align: right; /* Edge-aligned like serial number */
  border-top: 1px solid rgba(255, 255, 255, 0.03); /* Barely visible seam */
}

.revision-stamp-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; /* Smallest text size on page */
  color: #5a5a5a; /* Low contrast - present but not calling attention */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
  opacity: 0.6; /* Further reduce visibility */
}

/* Mobile: Even smaller, centered */
@media (max-width: 768px) {
  .footer-revision-stamp {
    padding: 6px 16px;
    text-align: center;
  }
  
  .revision-stamp-text {
    font-size: 7px;
  }
}
