@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400;1,700&display=swap');

/* --- DESIGN SYSTEM TOKENS (Montserrat & Roboto Pairing - Premium Dark Mode) --- */
:root {
  --accent-color: hsl(48, 100%, 55%); /* strong yellow accent */
  /* Colors */
  --color-background: #0d0f12; /* Deep Obsidian Black */
  --color-surface: #13171c; /* Premium Dark Slate */
  --color-surface-dim: #0b0d10; /* Extra Deep Dark Contrast */
  --color-surface-bright: #1b2027; /* Highlighted Card Dark Slate */
  --color-container-lowest: #0d0f12;
  --color-container-low: #13171c;
  --color-container: #1a2027;
  --color-container-high: #212730;
  --color-container-highest: #2d3542;
  --color-on-surface: #f7fafc; /* Crisp Light Gray/White text */
  --color-on-surface-variant: #a0aec0; /* Subdued Slate Gray for descriptions */
  --color-outline: var(--accent-color); /* Outlines & Highlights stand out in gold yellow! */
  --color-outline-variant: #232a35; /* Scaffolding Grid Line Color - crisp dark slate */
  
  --color-primary: var(--accent-color); /* Gold Yellow Primary text */
  --color-on-primary: #000000;
  --color-primary-container: var(--accent-color);
  --color-on-primary-container: #000000;
  
  --color-secondary-container: #ff4d4d; /* Neon Warning Red */
  --color-on-secondary-container: #0d0f12;
  
  --color-surface-tint: var(--accent-color);
  --color-error: #ff4d4d;
  --color-on-error: #ffffff;

  /* Spacing Grid (4px Base) */
  --space-unit: 4px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 48px;
  --space-xl: 64px;
}

/* --- RESET & BASIC STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

div, section, aside, header, footer, table, tr, td, th, form, input, select, textarea {
  border-radius: 0;
}

body {
  background-color: var(--color-background);
  color: var(--color-on-surface);
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  padding: var(--space-sm);
  position: relative;
}

/* Subtle graphic technical grid pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 100;
}

/* Delicate hazard stripe background watermark overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('accent_bar.png');
  background-size: 300px auto;
  background-repeat: repeat;
  opacity: 0.045; /* Delicate glowing hazard stripes in dark mode */
  pointer-events: none;
  z-index: 99; /* Overlay above standard backgrounds but below interactive overlays */
}

/* --- TYPOGRAPHY STYLES (Montserrat & Roboto) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.h-lg {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.h-md {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.h-sm {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.body-lg {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
}

.body-md {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

.label-caps {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-outline); /* Highlights in brand gold */
}

.accent-pill {
  width: 80px;
  height: 6px;
  background: linear-gradient(90deg, hsl(48, 100%, 70%) 0%, hsl(45, 100%, 55%) 50%, hsl(42, 100%, 45%) 100%);
  border-radius: 3px;
  margin: var(--space-xs) 0 var(--space-sm) 0;
  box-shadow: 0 2px 4px rgba(224, 165, 13, 0.2);
}

.numeric-display {
  font-family: 'Montserrat', sans-serif;
  font-size: 96px;
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--color-primary-container);
}

@media (max-width: 768px) {
  .h-lg { font-size: 38px; }
  .h-md { font-size: 28px; }
  .numeric-display { font-size: 58px; }
  body { padding: var(--space-xs); }
}

/* --- LAYOUT SCAFFOLDING (Rigid Grid Model) --- */
.scaffold-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  background-color: var(--color-surface);
  position: relative;
  z-index: 10;
}

/* Header Area */
.scaffold-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  background-color: var(--color-container-lowest);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: relative;
  padding-bottom: 5px; /* Leave space for bottom hazard stripes */
}

.scaffold-header::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent-color),
    var(--accent-color) 10px,
    #000000 10px,
    #000000 20px
  );
  z-index: 1001;
}

.brand-section {
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.brand-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--accent-color); /* Updated to accent color */
  text-transform: uppercase;
}

.nav-section {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap; /* Allow buttons to wrap naturally instead of overflowing */
  overflow: hidden; /* Hide scrollbars completely */
  height: 100%;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.nav-section::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.nav-btn {
  background: transparent;
  border: none;
  color: var(--color-primary); /* Charcoal text for high contrast on light header */
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; /* Slightly more compact for gorgeous alignment */
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 18px;
  cursor: pointer;
  border-radius: 30px; /* Gorgeous rounded pill matching graphic */
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
  text-decoration: none;
  margin: 4px 2px;
}

.nav-btn:hover {
  background: linear-gradient(90deg, hsl(48, 100%, 65%), hsl(43, 100%, 50%));
  color: #000000;
  box-shadow: 0 4px 10px rgba(224, 165, 13, 0.15);
}

.nav-btn.active {
  background: linear-gradient(90deg, hsl(48, 100%, 60%), hsl(43, 100%, 48%));
  color: #000000;
  box-shadow: 0 4px 12px rgba(224, 165, 13, 0.25);
  border-bottom: none !important; /* No bottom border line for pill style */
}

.nav-btn .num-prefix {
  color: inherit;
  opacity: 0.6;
  font-weight: 400;
}
.nav-btn.active .num-prefix {
  opacity: 0.8;
}

.status-ticker {
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 12px;
}

.phone-accent-btn {
  background: linear-gradient(90deg, hsl(48, 100%, 60%), hsl(43, 100%, 48%));
  color: #000000 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(224, 165, 13, 0.2);
}

.phone-accent-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(224, 165, 13, 0.35);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #2ecc71; /* Green status dot for active fleet operations */
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

@media (max-width: 1200px) {
  .scaffold-header {
    grid-template-columns: 1fr;
  }
  .brand-section, .nav-section, .status-ticker {
    border-right: none;
    border-left: none;
  }
  .nav-section {
    height: auto; /* Let the section expand to fit wrapped items */
    justify-content: stretch;
  }
  .nav-btn {
    flex-grow: 1;
    justify-content: center;
    padding: var(--space-sm) var(--space-xs);
    min-height: 50px;
  }
}

/* --- MAIN CONTAINER SCREENS --- */
.screen-content {
  display: none;
  animation: fadeIn 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  z-index: 2;
}

.screen-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- SCREEN 1: HERO DASHBOARD --- */
.hero-grid {
  display: grid;
  grid-template-columns: 2.2fr 0.8fr;
  min-height: calc(100vh - 180px);
}

.hero-main {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #06080a; /* Slightly darkened contrast container to stand out from body/scaffolding */
  border: 1px solid var(--color-outline-variant); /* Distinct border bounding the console panel */
  position: relative; /* Enabled for absolute watermark positioning */
  overflow: hidden; /* Prevent overflow of the watermark image */
}

/* Premium Cherry Picker Shaded Watermark */
.zwyzka-watermark {
  position: absolute;
  top: 0 !important; /* Pinned directly to the top corner */
  right: 0 !important; /* Pinned directly to the right corner */
  width: 380px; /* Slightly larger to blend beautifully as a background watermark */
  height: auto;
  opacity: 0.08 !important; /* High transparency to act as a subtle background element */
  mix-blend-mode: screen; /* Blends pure black background perfectly into obsidian background */
  pointer-events: none; /* Allows clicks and selections to pass through seamlessly */
  z-index: 1; /* Positioned behind interactive elements but above dark container background */
  filter: contrast(1.1) brightness(0.85);
  
  /* Linear gradient mask to fade image smoothly from top-right corner to bottom-left */
  -webkit-mask-image: linear-gradient(to bottom left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 85%) !important;
  mask-image: linear-gradient(to bottom left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 85%) !important;
  
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-main:hover .zwyzka-watermark {
  opacity: 0.12 !important; /* Faint hover reaction, remaining strictly in the background */
  transform: scale(1.02); /* Very subtle hover zoom */
}

@media (max-width: 768px) {
  .zwyzka-watermark {
    width: 180px; /* Correctly scaled for mobile screens */
    opacity: 0.05 !important; /* Extremely faint on mobile */
    top: 0 !important;
    right: 0 !important;
  }
}



.hero-title-group {
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  color: var(--color-primary-container);
  margin-bottom: var(--space-sm);
  font-weight: 700;
  display: inline-block;
  border-bottom: 2px solid var(--color-primary-container);
  padding-bottom: 2px;
}

.hero-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.hero-sidebar {
  background-color: var(--color-surface);
  display: flex;
  flex-direction: column;
  height: 100%; /* Explicit stretch to fill the grid row height */
}

.telemetry-header {
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-container-low);
  font-weight: 700;
  color: var(--color-outline);
}

.telemetry-grid {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100%; /* Stretch to fill the sidebar container */
}

.telemetry-cell {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  position: relative;
  border-bottom: 1px solid var(--color-outline-variant);
}

.telemetry-cell:last-child {
  border-bottom: none;
}

.telemetry-label {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.telemetry-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--color-primary);
  margin-top: var(--space-xs);
}

.telemetry-val.highlight {
  color: var(--color-primary-container);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-main {
    border-right: none;
    padding: var(--space-md);
  }
  .hero-sidebar, .telemetry-grid {
    height: auto !important;
  }
}

/* Warning/Notice Banner Component */
.warning-banner {
  background-color: var(--color-container-high);
  color: var(--color-on-surface);
  padding: var(--space-sm) var(--space-md);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-sm);
  align-items: center;
  font-weight: 600;
  border-left: 6px solid transparent;
  border-image: repeating-linear-gradient(
    -45deg,
    var(--accent-color),
    var(--accent-color) 6px,
    #000000 6px,
    #000000 12px
  ) 10;
}

.warning-icon {
  background-color: var(--color-primary-container);
  color: var(--color-on-primary);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.contact-card-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

/* --- SCREEN 2: DISPATCH FORM (RESERVATION FORM) --- */
.dispatch-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.7fr;
  background-color: var(--color-container-lowest);
}

.dispatch-panel-left {
  padding: var(--space-lg);
}

.dispatch-panel-right {
  padding: var(--space-lg);
  display: grid;
  grid-template-rows: auto 1fr;
  background-color: var(--color-container-lowest);
}

.console-header {
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-outline-variant);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.console-screen {
  background-color: var(--color-container-lowest);
  border: none;
  padding: var(--space-md);
  font-family: 'Space Mono', 'Roboto Mono', monospace;
  color: var(--color-on-surface); /* White terminal text on black background */
  height: 100%;
  min-height: 380px;
  max-height: 480px;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.5;
}

.console-line {
  margin-bottom: var(--space-xs);
  opacity: 0.95;
}

.console-line.system {
  color: #2ecc71; /* Neon green success logs for high readability in dark mode */
  font-weight: 700;
}

.console-line.error {
  color: var(--color-secondary-container);
}

.console-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background-color: var(--color-primary-container);
  animation: blink 0.8s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

@media (max-width: 1024px) {
  .dispatch-grid {
    grid-template-columns: 1fr;
  }
  .dispatch-panel-left {
    border-right: none;
    padding: var(--space-md);
  }
  .dispatch-panel-right {
    padding: var(--space-md);
  }
}

/* --- SCREEN 3: SPEC VIEWER (FLEET DETAILS) --- */
.spec-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr;
  background-color: var(--color-surface);
}

.spec-left {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.spec-right {
  padding: var(--space-lg);
  background-color: var(--color-container-lowest);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spec-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 machines instead of 3 */
  margin-bottom: var(--space-md);
}

.spec-tab-btn {
  background-color: var(--color-container-low);
  border: none;
  color: var(--color-on-surface);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: var(--space-sm) var(--space-xs);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: center;
}

.spec-tab-btn:last-child {
  border-right: none;
}

.spec-tab-btn:hover {
  background-color: var(--color-container-high);
}

.spec-tab-btn.active {
  background-color: var(--color-primary-container);
  color: var(--color-on-primary);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-sm);
}

.spec-table tr {
  border-bottom: none;
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table td {
  padding: var(--space-sm) 0;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

.spec-table td:first-child {
  font-weight: 700;
  color: var(--color-on-surface-variant);
  width: 50%;
}

.spec-table td:last-child {
  font-weight: 700;
  color: var(--color-primary);
  text-align: right;
}

/* Blueprint CAD Shape Visualizer Widget */
.blueprint-visualizer {
  border: 1px solid var(--color-outline-variant);
  background-color: #0b0c0d;
  height: 280px;
  margin-top: var(--space-md);
  position: relative;
  overflow: hidden;
}

.blueprint-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.blueprint-axis-x, .blueprint-axis-y {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.1);
}

.blueprint-axis-x {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.blueprint-axis-y {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
}

.blueprint-shape-preview {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border: 2px solid var(--color-primary-container);
  background-color: rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Scissor / Boom lift simulation lines */
.blueprint-line-element {
  position: absolute;
  background-color: var(--color-primary-container);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.blueprint-label {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  font-size: 10px;
  color: var(--color-on-surface-variant);
  font-family: 'Space Mono', monospace;
}

@media (max-width: 1024px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }
  .spec-left {
    border-right: none;
    padding: var(--space-md);
  }
  .spec-right {
    padding: var(--space-md);
  }
}

/* --- SCREEN 4: USP BLUEPRINT (RENTAL PROCESS) --- */
.usp-wrapper {
  padding: var(--space-lg);
  background-color: var(--color-container-lowest);
  position: relative;
  overflow: hidden;
}

.usp-canvas {
  background-color: var(--color-surface);
  padding: var(--space-md);
  position: relative;
  cursor: default;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.canvas-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.usp-header-blueprint {
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.blueprint-meta {
  text-align: right;
  font-size: 11px;
  color: var(--color-on-surface-variant);
}

.blueprint-grid-5col {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.blueprint-card {
  background-color: var(--color-surface);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  position: relative;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.blueprint-card:hover {
  border-color: var(--color-primary-container);
  background-color: var(--color-container-low);
}

.blueprint-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-outline);
  border-left: 2px solid var(--color-outline);
  pointer-events: none;
  opacity: 0.5;
}

.blueprint-card:hover::before {
  opacity: 1;
}

.blueprint-card-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary-container);
  padding-bottom: var(--space-xs);
  margin-bottom: var(--space-sm);
  display: flex;
  justify-content: space-between;
}

.blueprint-card-num::after {
  content: 'KROK_M';
  font-size: 9px;
  opacity: 0.5;
  font-weight: 400;
}

.blueprint-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  min-height: 44px; /* Ensure 1-2 line headings maintain perfect baseline alignment */
  display: flex;
  align-items: center;
}

.blueprint-card-desc {
  font-size: 13px;
  color: var(--color-on-surface);
  opacity: 0.9;
  min-height: 130px; /* Guarantee identical description block height so columns are perfectly level */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

@media (max-width: 1400px) {
  .blueprint-grid-5col {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 600px) {
  .blueprint-grid-5col {
    grid-template-columns: 1fr;
  }
  .usp-wrapper {
    padding: var(--space-md);
  }
}

/* --- COMPONENTS & UTILITY CLASSES --- */

.btn-primary {
  background: linear-gradient(90deg, hsl(48, 100%, 60%), hsl(43, 100%, 48%));
  color: #000000;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  min-height: 48px;
  border-radius: 30px; /* Rounded pill style matching graphic */
  box-shadow: 0 4px 12px rgba(224, 165, 13, 0.2);
  text-align: center;
  white-space: normal;
}

.btn-primary:hover {
  background: linear-gradient(90deg, hsl(48, 100%, 65%), hsl(43, 100%, 50%));
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(224, 165, 13, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-on-surface);
  border: 2px solid var(--color-outline-variant);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  min-height: 48px;
  border-radius: 30px; /* Rounded pill style */
  text-align: center;
  white-space: normal;
}

.btn-secondary:hover {
  background-color: var(--color-container-low);
  border-color: var(--accent-color);
  color: var(--color-primary);
}

.delicate-links-group {
  display: flex;
  flex-wrap: wrap;
  gap: 40px; /* Spreads the links out beautifully on desktop */
  margin-top: var(--space-lg);
  justify-content: center; /* Centers the links group mathematically */
  width: 100%;
}

.delicate-link {
  color: var(--accent-color) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none !important; /* No default underline */
  border-bottom: 2px solid transparent; /* Elegant custom bottom border line */
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-block;
  padding-bottom: 2px;
}

.delicate-link:hover {
  border-bottom: 2px solid var(--accent-color) !important; /* Dynamic glowing yellow underline on hover! */
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .delicate-links-group {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
  }
}

/* Form Inputs */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-on-surface-variant);
  margin-bottom: var(--space-xs);
}

.form-input, .form-select {
  width: 100%;
  background-color: var(--color-container-low);
  border: 1px solid var(--color-outline-variant);
  color: var(--color-primary);
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  padding: var(--space-sm);
  outline: none;
  transition: border-color 0.15s;
}

.form-input:focus, .form-select:focus {
  border-color: var(--color-primary-container);
}

/* Status Chips */
.chip {
  display: inline-block;
  padding: 3px var(--space-xs);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid var(--color-outline-variant);
  background-color: var(--color-container);
  color: var(--color-on-surface);
  font-family: 'Montserrat', sans-serif;
}

.chip.active {
  background-color: rgba(0, 0, 0, 0.05);
  border-color: var(--color-primary-container);
  color: var(--color-primary-container);
}

.chip.critical {
  background-color: rgba(210, 3, 25, 0.15);
  border-color: var(--color-secondary-container);
  color: var(--color-secondary-container);
}

/* Brutalist Features Grid (No bullet points) */
.brutalist-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.feature-card {
  background-color: #0b0d10; /* Darker slate contrast color for visual separation */
  border: 1px solid var(--color-outline-variant);
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(224, 165, 13, 0.05);
}

.feature-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  line-height: 1.4;
}

.feature-desc {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: var(--color-on-surface-variant);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .brutalist-features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }
}

/* Brutalist Cards */
.b-card {
  background-color: var(--color-container-lowest);
  display: flex;
  flex-direction: column;
}

.b-card-header {
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-container-low);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.b-card-body {
  padding: var(--space-md);
  flex-grow: 1;
}

/* Data Readout Component */
.data-readout {
  background-color: var(--color-container-lowest);
  padding: var(--space-md);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
}

.readout-unit {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary-container);
  border: 1px solid var(--color-primary-container);
  padding: 2px var(--space-xs);
}

.readout-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 78px;
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--color-primary);
}

.readout-label {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: var(--color-on-surface-variant);
  text-transform: uppercase;
  margin-top: var(--space-xs);
}

/* --- FOOTER --- */
.scaffold-footer {
  position: relative;
  padding: calc(var(--space-sm) + 5px) var(--space-md) var(--space-sm) var(--space-md);
  background-color: var(--color-container-lowest);
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-md);
  font-size: 12px;
  color: var(--color-on-surface-variant);
}

.scaffold-footer::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent-color),
    var(--accent-color) 10px,
    #000000 10px,
    #000000 20px
  );
  z-index: 10;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  justify-self: start;
  max-width: 100%;
}

.footer-brand span {
  white-space: normal;
  line-height: 1.4;
}

.footer-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
  opacity: 0.65;
  transition: opacity 0.15s ease;
  flex-shrink: 0;
}

.footer-brand:hover .footer-logo {
  opacity: 1;
}

.footer-socials {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  justify-self: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-on-surface-variant);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  padding: 6px 14px;
  border: 1px solid transparent;
  border-radius: 20px; /* Rounded pill container */
}

.social-link:hover {
  background: linear-gradient(90deg, hsl(48, 100%, 60%), hsl(43, 100%, 48%));
  color: #000000 !important;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(224, 165, 13, 0.2);
}

.social-icon {
  stroke-width: 1.5;
  transition: transform 0.2s ease;
}

.social-link:hover .social-icon {
  transform: scale(1.1);
}

.footer-credits {
  justify-self: end;
  text-align: right;
  line-height: 1.4;
}

.footer-credits a {
  color: var(--color-primary-container);
  text-decoration: none;
}

.footer-credits a:hover {
  text-decoration: underline;
}

/* Layout Utility Classes for Responsiveness */
.data-readout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.fleet-photo-container {
  background-color: #ffffff;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Global Mobile Responsiveness Overrides */
@media (max-width: 768px) {
  .scaffold-footer {
    display: flex !important;
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
  .footer-brand {
    flex-direction: column;
    gap: var(--space-xs);
    align-items: center;
    justify-content: center;
    justify-self: center;
    text-align: center;
  }
  .footer-socials {
    justify-self: center;
  }
  .footer-credits {
    justify-self: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-main,
  .dispatch-panel-left,
  .dispatch-panel-right,
  .spec-left,
  .spec-right,
  .usp-wrapper {
    padding: var(--space-sm) !important;
  }
  .spec-tabs {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 4px;
  }

  /* Center Sidebar content on mobile */
  .hero-sidebar {
    align-items: center !important;
    text-align: center !important;
  }
  .telemetry-header {
    width: 100% !important;
    text-align: center !important;
  }
  .telemetry-cell {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .telemetry-label {
    justify-content: center !important;
    gap: var(--space-sm) !important;
  }
  .contact-card-wrapper {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: var(--space-sm) !important;
    width: 100% !important;
  }
  .contact-card-wrapper > div {
    align-self: center !important;
  }
  .contact-details {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  .contact-details p {
    text-align: center !important;
    align-self: center !important;
  }
  .contact-phone-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }
}

@media (max-width: 600px) {
  .nav-section {
    flex-direction: column;
    width: 100%;
  }
  .nav-btn {
    width: 100%;
    justify-content: center;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-container-low) !important;
    min-height: 50px;
  }
  .nav-btn:last-child {
    border-bottom: none !important;
  }
  .brand-section {
    justify-content: center;
    width: 100%;
    padding: var(--space-md) !important;
  }
  .status-ticker {
    justify-content: center;
    width: 100%;
    padding: var(--space-sm) !important;
  }
  .data-readout-grid {
    grid-template-columns: 1fr !important;
  }
  .fleet-photo-container {
    height: 300px !important;
  }
}

@media (max-width: 480px) {
  .spec-tabs {
    grid-template-columns: 1fr !important;
  }
  .btn-primary, .btn-secondary {
    height: auto !important;
    min-height: 48px;
    padding: 12px 20px !important;
    white-space: normal !important;
    text-align: center;
  }
  .console-screen {
    padding: var(--space-sm) !important;
  }
  .modal-body {
    padding: var(--space-sm) !important;
  }
  .modal-header {
    padding: var(--space-sm) !important;
  }
}

/* --- MOBILE COMPACT HEADER AND COLLAPSIBLE MENU DRAWER --- */
.mobile-controls {
  display: none;
}

@media (max-width: 768px) {
  .scaffold-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: var(--space-sm) !important;
    position: relative !important;
    grid-template-columns: none !important;
  }

  @media (max-width: 480px) {
    .scaffold-header {
      padding: var(--space-sm) var(--space-xs) !important;
    }
  }

  .usp-header-blueprint {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .blueprint-meta {
    text-align: left;
  }

  .brand-section {
    padding: 0 !important;
    width: auto !important;
    justify-content: flex-start !important;
  }

  .brand-name {
    font-size: 20px !important;
  }

  .status-ticker {
    display: none !important; /* Hide desktop location ticker/phone */
  }

  .mobile-controls {
    display: flex !important;
    align-items: center;
    gap: var(--space-sm);
  }

  .mobile-phone-btn {
    width: 40px;
    height: 40px;
    background-color: #d20319;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
  }

  .mobile-phone-btn:hover {
    opacity: 0.9;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--color-outline-variant);
    color: var(--color-on-surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
  }

  .mobile-menu-toggle:hover {
    background-color: var(--color-container-low);
  }

  /* Compact dropdown menu layout for mobile */
  .nav-section {
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background-color: var(--color-surface) !important;
    border-bottom: 2px solid var(--color-outline) !important;
    z-index: 105 !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    height: auto !important;
  }

  .nav-section.mobile-menu-active {
    display: flex !important;
    animation: slideDownMenu 0.2s ease forwards;
  }

  .nav-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: var(--space-sm) var(--space-md) !important;
    border-bottom: 1px solid var(--color-container-low) !important;
    min-height: 52px !important;
    font-size: 13px !important;
    background: transparent !important;
    color: var(--color-on-surface) !important;
  }

  .nav-btn.active {
    background: linear-gradient(90deg, hsl(48, 100%, 60%), hsl(43, 100%, 48%)) !important;
    color: #000000 !important;
  }

  .nav-btn:hover {
    background: linear-gradient(90deg, hsl(48, 100%, 65%), hsl(43, 100%, 50%)) !important;
    color: #000000 !important;
  }

  .nav-btn:last-child {
    border-bottom: none !important;
  }
}

@keyframes slideDownMenu {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- MODAL OVERLAYS (FAQ & PRIVACY POLICY) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: var(--space-sm);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background-color: var(--color-surface);
  width: 100%;
  max-width: 780px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-left: 6px solid transparent;
  border-image: repeating-linear-gradient(
    -45deg,
    var(--accent-color),
    var(--accent-color) 8px,
    #000000 8px,
    #000000 16px
  ) 10;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-outline-variant);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-container-low);
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--color-on-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.15s ease;
}

.modal-close:hover {
  color: var(--color-secondary-container);
}

.modal-body {
  padding: var(--space-md);
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-on-surface);
}

/* FAQ Styling */
.faq-item {
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-container);
  padding-bottom: var(--space-sm);
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.faq-question {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
}

.faq-answer {
  color: var(--color-on-surface-variant);
}

/* Privacy Policy Styling */
.policy-section {
  margin-bottom: var(--space-md);
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
}

.policy-section p, .policy-section ul {
  color: var(--color-on-surface-variant);
  margin-bottom: var(--space-xs);
}

.policy-section ul {
  padding-left: var(--space-md);
}

/* --- GDPR COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  z-index: 9999;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: var(--space-md);
  border-top: 5px solid transparent;
  border-image: repeating-linear-gradient(
    -45deg,
    var(--accent-color),
    var(--accent-color) 10px,
    #000000 10px,
    #000000 20px
  ) 10;
}

.cookie-consent-banner.active {
  transform: translateY(0);
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.cookie-content {
  flex-grow: 1;
}

.cookie-content p {
  font-size: 12px;
  line-height: 1.5;
  color: #e2e8f0;
  margin: 0;
}

.cookie-content a {
  color: var(--accent-color);
  text-decoration: underline;
  font-weight: 700;
}

.cookie-content a:hover {
  color: #ffffff;
}

.cookie-actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.cookie-actions button {
  height: 40px;
  padding: 0 var(--space-md);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cookie-btn-accept {
  background: linear-gradient(90deg, hsl(48, 100%, 60%), hsl(43, 100%, 48%));
  color: #000000;
  border: none;
  box-shadow: 0 4px 10px rgba(224, 165, 13, 0.2);
}

.cookie-btn-accept:hover {
  background: linear-gradient(90deg, hsl(48, 100%, 65%), hsl(43, 100%, 50%));
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(224, 165, 13, 0.35);
}

.cookie-btn-decline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

@media (max-width: 900px) {
  .cookie-container {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }
  
  .cookie-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .cookie-actions {
    flex-direction: column;
  }
  .cookie-actions button {
    width: 100%;
  }
}

/* --- PREMIUM GRAPHICAL TIMELINE PROCESS --- */
/* --- UNIFIED VERTICAL PROCESS PIPELINE --- */
.unified-process-pipeline {
  position: relative;
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pipeline-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-md);
  position: relative;
}

.pipeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.pipeline-circle {
  width: 60px;
  height: 60px;
  border-radius: 50% !important;
  background-color: #000000;
  border: 3px solid var(--accent-color);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 5;
}

.pipeline-step:hover .pipeline-circle {
  transform: scale(1.1);
  background-color: var(--accent-color);
  color: #000000;
  box-shadow: 0 6px 16px rgba(224, 165, 13, 0.4);
}

.pipeline-connector {
  width: 4px;
  position: absolute;
  top: 60px;
  bottom: -40px; /* Stretch to reach next step */
  background: repeating-linear-gradient(
    0deg,
    var(--accent-color),
    var(--accent-color) 4px,
    #000000 4px,
    #000000 8px
  );
  z-index: 1;
}

/* Hide connector on last step */
.pipeline-step:last-of-type .pipeline-connector {
  display: none;
}

.pipeline-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-outline-variant);
  border-left: 4px solid var(--color-primary-container);
  padding: var(--space-md);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  position: relative;
}

.pipeline-step:hover .pipeline-card {
  border-color: var(--accent-color);
  background-color: var(--color-container-low);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pipeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.pipeline-step-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0;
}

.pipeline-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-on-surface-variant);
  opacity: 0.8;
  background-color: var(--color-container-low);
  padding: 4px 10px;
  border: 1px solid var(--color-outline-variant);
}

.pipeline-step-desc {
  font-size: 14px;
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

/* Adjust connector stretch for different spacing */
@media (max-width: 768px) {
  .pipeline-step {
    grid-template-columns: 50px 1fr;
    gap: var(--space-sm);
  }
  
  .pipeline-circle {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  
  .pipeline-connector {
    top: 44px;
    bottom: -40px;
    width: 3px;
  }
  
  .pipeline-card {
    padding: var(--space-sm) var(--space-md);
  }
  
  .pipeline-step-title {
    font-size: 15px;
  }
  
  .pipeline-step-desc {
    font-size: 13px;
  }
}}

/* --- TELEMETRY SIDEBAR CONTACT CELL POSITIONING (Distinct Bottom Pinned Container) --- */
#telemetry-cell-contact {
  margin-top: auto !important; /* Forces it to stay pinned to the absolute bottom of the stretched sidebar */
  margin-left: 0 !important; /* Full width flush alignment */
  margin-right: 0 !important; /* Full width flush alignment */
  margin-bottom: 0 !important; /* Stuck directly to the footer */
  background-color: #06080a !important; /* Standout Obsidian Black Container */
  border-top: 1px solid var(--color-outline-variant) !important; /* Crisp top border separating from above */
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  padding: var(--space-md) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: var(--space-md) !important;
  transition: all 0.25s ease !important;
}

#telemetry-cell-contact:hover {
  background-color: var(--color-container-low) !important;
  border-top-color: var(--accent-color) !important;
}
