/* ==========================================================================
   LEADSERVE SaaS — FLAGSHIP DESIGN SYSTEM
   Brand Colors: Deep Navy (#070F1E), Electric Royal Blue (#0062FF), Cyan (#00D2FF), Platinum Silver
   ========================================================================== */

:root {
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: 'Space Grotesk', var(--sans);
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  /* Surfaces & Backgrounds */
  --bg-main: #060B17;
  --bg-alt: #0A1224;
  --bg-card: #0E1A33;
  --bg-card-hover: #142445;
  --bg-panel: #11203E;
  --bg-input: #081020;

  /* Border & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-brand: rgba(0, 98, 255, 0.4);
  --border-brand-glow: rgba(0, 210, 255, 0.5);

  /* Brand Accents */
  --brand-primary: #0062FF;
  --brand-secondary: #0047BA;
  --brand-light: #3D8BFF;
  --brand-cyan: #00D2FF;
  --brand-glow: rgba(0, 98, 255, 0.35);

  /* Status Signals */
  --sig-emerald: #10B981;
  --sig-amber: #F59E0B;
  --sig-rose: #F43F5E;
  --sig-cyan: #00D2FF;
  --sig-indigo: #6366F1;

  /* Typography Colors */
  --text-white: #FFFFFF;
  --text-primary: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-faint: #64748B;

  /* Geometry & Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-w: 1200px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.06);
  --shadow-glow: 0 0 40px -10px rgba(0, 98, 255, 0.4);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-white);
}

.font-mono {
  font-family: var(--mono);
}

.gradient-text {
  background: linear-gradient(110deg, #FFFFFF 15%, var(--brand-light) 65%, var(--brand-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 20px -4px rgba(0, 98, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -4px rgba(0, 98, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-ghost {
  background: rgba(14, 26, 51, 0.7);
  color: var(--text-secondary);
  border-color: var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--brand-primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 16px;
  border-radius: 12px;
}

/* ---------- BADGES & CHIPS ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 98, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-cyan);
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--brand-cyan);
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-emerald { background: rgba(16, 185, 129, 0.15); color: #34D399; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-amber { background: rgba(245, 158, 11, 0.15); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-brand { background: rgba(0, 98, 255, 0.15); color: var(--brand-light); border: 1px solid rgba(0, 98, 255, 0.3); }
.badge-cyan { background: rgba(0, 210, 255, 0.15); color: var(--brand-cyan); border: 1px solid rgba(0, 210, 255, 0.3); }
.badge-rose { background: rgba(244, 63, 94, 0.15); color: #FB7185; border: 1px solid rgba(244, 63, 94, 0.3); }

/* ---------- HEADER & NAVIGATION ---------- */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 11, 23, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 98, 255, 0.4));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 98, 255, 0.2);
  color: var(--brand-cyan);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.brand-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--brand-cyan);
}

.mobile-toggle {
  display: none;
  color: var(--text-secondary);
  padding: 8px;
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% -10%, rgba(0, 98, 255, 0.15) 0%, rgba(6, 11, 23, 0) 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1.08;
}

.hero-lede {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
}

.hero-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.chip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(14, 26, 51, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.chip-item svg {
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}

/* Hero Terminal Box */
.terminal-window {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  overflow: hidden;
}

.terminal-header {
  background: rgba(6, 11, 23, 0.95);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.terminal-title {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}

.terminal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.terminal-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.term-stat-card {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(6, 11, 23, 0.7);
  border: 1px solid var(--border-subtle);
}

.term-stat-k {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.term-stat-v {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 4px;
}

.term-stat-v small {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--brand-cyan);
}

.terminal-stream {
  background: rgba(6, 11, 23, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  min-height: 115px;
}

.stream-line {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.stream-tag {
  color: var(--text-muted);
}

/* ---------- TELEMETRY STRIP ---------- */
.telemetry-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 36px 0;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.telemetry-cell {
  border-left: 2px solid var(--brand-primary);
  padding-left: 18px;
}

.telemetry-k {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.telemetry-v {
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--text-white);
  margin-top: 4px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.telemetry-v .unit {
  font-size: 18px;
  color: var(--brand-cyan);
}

.telemetry-d {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---------- SERVICES GRID ---------- */
.section {
  padding: 90px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-card);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-brand);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  display: grid;
  place-items: center;
  color: var(--brand-cyan);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}

.service-meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}

.service-meta strong {
  color: var(--brand-light);
}

/* ---------- PORTFOLIO SHOWCASE MATRIX ---------- */
.portfolio-matrix {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.portfolio-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 24px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
}

.port-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.port-tab:hover {
  color: var(--text-white);
  border-color: var(--border-light);
}

.port-tab.active {
  background: var(--brand-primary);
  border-color: var(--brand-light);
  color: #ffffff;
  box-shadow: 0 4px 16px -2px rgba(0, 98, 255, 0.6);
}

.tab-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.tab-pane.active {
  display: block;
}

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

.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.showcase-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-details h3 {
  font-size: 26px;
}

.showcase-desc {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.showcase-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.metric-lbl {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.metric-val {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 4px;
}

.metric-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.feature-bullets svg {
  color: var(--brand-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Visual Mockup Frame inside Tab */
.showcase-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.mock-browser-bar {
  background: rgba(6, 11, 23, 0.95);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-url {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.mock-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 12px;
}

.mock-table th {
  text-align: left;
  padding: 8px 10px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(6, 11, 23, 0.4);
}

.mock-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.mock-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- CODE SNIPPET EXPLORER ---------- */
.code-viewer-box {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.code-viewer-bar {
  background: rgba(6, 11, 23, 0.95);
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.code-tabs-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.code-tab-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 12px;
  transition: all 0.2s ease;
}

.code-tab-btn:hover {
  color: var(--text-white);
}

.code-tab-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-light);
}

.code-pre-box {
  padding: 24px;
  background: #04070F;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  color: #E2E8F0;
  max-height: 480px;
}

/* ---------- ARCHITECTURE SECTION ---------- */
.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.arch-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.arch-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.arch-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 98, 255, 0.15);
  border: 1px solid rgba(0, 98, 255, 0.3);
  display: grid;
  place-items: center;
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.arch-point h4 {
  font-size: 16.5px;
  margin-bottom: 4px;
}

.arch-point p {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.tech-stack-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tech-item {
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.tech-item strong {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brand-cyan);
  margin-bottom: 4px;
}

.tech-item span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- SOLUTION ESTIMATOR ---------- */
.estimator-card {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: #ffffff;
  font-family: var(--sans);
  font-size: 14.5px;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 98, 255, 0.25);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.check-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
}

.check-pill input {
  accent-color: var(--brand-primary);
}

.estimator-summary {
  background: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12.5px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.summary-row span:first-child {
  color: var(--text-muted);
}

.summary-row span:last-child {
  color: var(--text-white);
  font-weight: 600;
}

/* ---------- CONTACT & DISCOVERY ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.contact-card svg {
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #030711;
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--brand-cyan);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 992px) {
  .hero-grid,
  .showcase-layout,
  .arch-grid,
  .estimator-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .header-actions {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-chips {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .telemetry-grid,
  .form-row,
  .checkbox-grid,
  .tech-stack-grid {
    grid-template-columns: 1fr;
  }

  .estimator-card,
  .contact-form-box {
    padding: 24px 18px;
  }
}
