/* ==========================================================================
   DOMINATE REDESIGN SYSTEM VARIABLES (COSMIC LIGHT MATRIX)
   ========================================================================== */
:root {
  --bg-dark-primary: #05020c;
  --bg-dark-secondary: #0d091d;
  --bg-card: rgba(13, 9, 29, 0.75);
  --bg-glass: rgba(16, 12, 34, 0.65);

  --purple: #7c3aed;
  --purple-glow: rgba(124, 58, 237, 0.4);
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.4);
  --pink: #ec4899;
  --pink-glow: rgba(236, 72, 153, 0.3);
  --yellow: #f59e0b;
  --green: #10b981;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-tech: rgba(102, 51, 238, 0.2);
  --border-glow: rgba(6, 182, 212, 0.25);

  --font-heading: "Orbitron", sans-serif;
  --font-mono: "Roboto Mono", monospace;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-quick: all 0.2s ease;
}

/* ==========================================================================
   RESET & SYSTEM BASELINE
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark-primary);
  color: var(--text-primary);
  font-family: var(--font-mono);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position:
    0 0,
    20px 20px;
  z-index: -2;
  pointer-events: none;
}

/* Custom Cursor Glow */
.custom-cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.12) 0%,
    rgba(6, 182, 212, 0.04) 50%,
    transparent 100%
  );
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-weight: 300;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: var(--transition-quick);
}

a:hover {
  color: var(--purple);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}
.text-purple {
  color: var(--purple);
}
.text-cyan {
  color: var(--cyan);
}
.text-pink {
  color: var(--pink);
}
.text-green {
  color: var(--green);
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--cyan) 0%,
    var(--purple) 50%,
    var(--pink) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Glitch Title Animation Support */
.subtitle-glitch {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 10px;
  position: relative;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
}
.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--yellow);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ==========================================================================
   BUTTONS SYSTEM
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
  color: var(--text-primary);
  border: none;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-tech);
}

.btn-secondary:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.btn-glow:hover {
  box-shadow: 0 0 25px var(--cyan-glow);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-link {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-link:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   HEADER / NAVIGATION DECK
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 2, 12, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-tech);
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(5, 2, 12, 0.95);
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image {
  height: 60px;
  width: auto;
  filter: invert(1);
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  background: linear-gradient(
    135deg,
    var(--text-primary) 30%,
    var(--cyan) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: var(--transition-quick);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger menu */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.hamburger .bar {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-quick);
}

/* ==========================================================================
   HERO / LAUNCHPAD SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 180px;
  padding-bottom: 120px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.orb-primary {
  top: 10%;
  right: 15%;
  width: 400px;
  height: 400px;
  background: var(--purple-glow);
}

.orb-secondary {
  bottom: 20%;
  left: 10%;
  width: 350px;
  height: 350px;
  background: var(--cyan-glow);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

.status-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 620px;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 48px;
}

.hero-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border-tech);
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.hero-metric-pill i {
  color: var(--cyan);
}

/* Tactical HUD screen effect */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.tactical-hud {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hud-ring {
  position: absolute;
  border: 1px solid var(--border-tech);
  border-radius: 50%;
}

.ring-outer {
  width: 100%;
  height: 100%;
  border-style: dashed;
  animation: rotateCW 20s linear infinite;
}

.ring-middle {
  width: 80%;
  height: 80%;
  border-color: rgba(6, 182, 212, 0.2);
  border-width: 2px;
  animation: rotateCCW 15s linear infinite;
}

.ring-inner {
  width: 60%;
  height: 60%;
}

.hud-screen {
  position: relative;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hud-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(6, 182, 212, 0.4);
  animation: scanVertical 4s linear infinite;
}

.hud-data {
  text-align: center;
  z-index: 2;
}

.hud-metric {
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
}

.metric-val {
  font-size: 1.1rem;
  font-weight: 700;
}

@keyframes rotateCW {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateCCW {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

@keyframes scanVertical {
  0% {
    top: -5%;
  }
  100% {
    top: 105%;
  }
}

/* ==========================================================================
   TELEMETRY DASHBOARD SECTION
   ========================================================================== */
.telemetry-section {
  position: relative;
  z-index: 5;
  margin-top: -50px;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.telemetry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  padding: 30px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.telemetry-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top left,
    rgba(124, 58, 237, 0.05),
    transparent 60%
  );
  pointer-events: none;
}

.telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.telemetry-tag {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.telemetry-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.telemetry-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.telemetry-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--purple) 0%, var(--cyan) 100%);
  border-radius: 2px;
}

/* ==========================================================================
   SERVICES GRID SECTION
   ========================================================================== */
.services-section {
  background: linear-gradient(
    180deg,
    var(--bg-dark-primary) 0%,
    var(--bg-dark-secondary) 100%
  );
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-tech);
  padding: 40px;
  border-radius: 6px;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--cyan);
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.12);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--cyan);
  margin-bottom: 24px;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.service-description {
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 30px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.service-features li i {
  color: var(--cyan);
}

.service-footer {
  margin-top: auto;
}

/* ==========================================================================
   INTERACTIVE ROI SLIDER SECTION
   ========================================================================== */
.roi-section {
  background: var(--bg-dark-primary);
  position: relative;
}

.roi-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-tech);
  padding: 60px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.estimator-controls {
  margin-top: 40px;
}

.slider-group {
  margin-bottom: 32px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--cyan);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px var(--cyan);
  transition: var(--transition-quick);
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--purple);
  box-shadow: 0 0 15px var(--purple);
}

/* Projection Display Card */
.roi-display-card {
  background: rgba(13, 9, 29, 0.9);
  border: 1px solid var(--cyan);
  padding: 40px;
  border-radius: 6px;
  position: relative;
}

.tactical-border-bracket {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid var(--cyan);
  pointer-events: none;
}

.top-left {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}
.top-right {
  top: 10px;
  right: 10px;
  border-left: none;
  border-bottom: none;
}
.bottom-left {
  bottom: 10px;
  left: 10px;
  border-right: none;
  border-top: none;
}
.bottom-right {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

.display-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.metric-block {
  margin-bottom: 24px;
}

.metric-block.highlight {
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 16px;
  border-radius: 4px;
}

.block-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.metric-block h3 {
  font-size: 1.8rem;
  font-weight: 700;
}

.metric-block h2 {
  font-size: 2.6rem;
  font-weight: 900;
}

/* ==========================================================================
   LIVE CAMPAIGN SIMULATION SECTION
   ========================================================================== */
.sim-dashboard {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  border-radius: 8px;
  overflow: hidden;
}

.sim-sidebar {
  background: rgba(5, 2, 12, 0.4);
  border-right: 1px solid var(--border-tech);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sim-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 14px 20px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition-quick);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sim-tab:hover,
.sim-tab.active {
  background: rgba(6, 182, 212, 0.05);
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--text-primary);
}

.sim-viewport {
  padding: 40px;
}

.sim-pane {
  display: none;
}

.sim-pane.active {
  display: block;
}

.pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.pane-title {
  font-family: var(--font-heading);
  font-size: 1rem;
}

.sim-chart-svg {
  width: 100%;
  height: auto;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  border: 1px solid var(--border-tech);
}

.chart-animated-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawPath 4s linear forwards;
}

@keyframes drawPath {
  to {
    stroke-dashoffset: 0;
  }
}

.pane-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.readout-item {
  background: var(--bg-glass);
  padding: 16px;
  border-radius: 4px;
  border: 1px solid var(--border-tech);
}

.readout-lbl {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.readout-val {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.sim-social-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-feed-item {
  background: var(--bg-glass);
  padding: 20px;
  border-radius: 6px;
  border: 1px solid var(--border-tech);
}

.feed-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.feed-user {
  color: var(--cyan);
}

.feed-time {
  color: var(--text-muted);
}

/* ==========================================================================
   TARGET SECTORS (VERTICALS)
   ========================================================================== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.sector-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-tech);
  padding: 40px 30px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.sector-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
}

.sector-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.05) 0%,
    rgba(124, 58, 237, 0.05) 100%
  );
  pointer-events: none;
}

.sector-icon {
  font-size: 2.2rem;
  color: var(--cyan);
  margin-bottom: 24px;
}

.sector-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.sector-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   ABOUT / MISSION DIRECTIVE SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.hud-frame {
  aspect-ratio: 1;
  border: 1px solid var(--border-tech);
  background: var(--bg-card);
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.about-logo-watermark {
  max-height: 160px;
  max-width: 160px;
  opacity: 0.15;
  align-self: center;
  margin-top: 50px;
  filter: drop-shadow(0 0 20px var(--cyan-glow));
}

.system-status-log {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
}

.log-line {
  margin-bottom: 4px;
}

.about-strengths {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.strength-item {
  display: flex;
  gap: 20px;
}

.strength-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cyan);
  border-right: 2px solid var(--border-tech);
  padding-right: 20px;
}

.strength-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.strength-text p {
  font-size: 0.8rem;
}

/* ==========================================================================
   CLIENT TESTIMONIALS (PILOT LOGS)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  padding: 40px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--yellow);
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
  flex-grow: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.user-name {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.user-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   LAUNCH VECTOR CTA SECTION
   ========================================================================== */
.cta-section {
  padding: 80px 0;
}

.cta-wrapper {
  background: linear-gradient(
    135deg,
    var(--bg-dark-secondary) 0%,
    var(--bg-dark-primary) 100%
  );
  border: 1px solid var(--border-tech);
  border-radius: 8px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow-element {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.1) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-inner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.8rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ==========================================================================
   FOOTER (BASE COMMAND NODE)
   ========================================================================== */
.footer {
  background: var(--bg-dark-primary);
  border-top: 1px solid var(--border-tech);
  padding: 80px 0 30px 0;
  position: relative;
  overflow: hidden;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr) 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-about p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid var(--border-tech);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-quick);
}

.social-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 0.9rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-links ul li a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-contact ul li {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-contact ul li i {
  color: var(--cyan);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-legal a {
  color: var(--text-muted);
}

.footer-legal a:hover {
  color: var(--cyan);
}

/* ==========================================================================
   PAGE-SPECIFIC ARCHITECTURE (LEGAL & CONTACT)
   ========================================================================== */
.page-header {
  position: relative;
  padding: 160px 0 80px 0;
  background: linear-gradient(
    180deg,
    var(--bg-dark-secondary) 0%,
    var(--bg-dark-primary) 100%
  );
  border-bottom: 1px solid var(--border-tech);
  text-align: center;
}

.page-title {
  font-size: 3rem;
  margin-bottom: 16px;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Legal text block system */
.legal-content {
  background: var(--bg-dark-primary);
}

.content-wrapper {
  background: var(--bg-glass);
  border: 1px solid var(--border-tech);
  padding: 60px;
  border-radius: 8px;
  max-width: 900px;
  margin: 0 auto;
}

.content-wrapper p {
  margin-bottom: 24px;
  line-height: 1.8;
}

.content-wrapper h2 {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--cyan);
}

.content-wrapper ul {
  margin-left: 20px;
  margin-bottom: 24px;
}

.content-wrapper ul li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* Contact page structure */
.contact-page-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info-block {
  background: var(--bg-glass);
  border: 1px solid var(--border-tech);
  padding: 40px;
  border-radius: 6px;
}

.contact-info-block h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.contact-info-block p {
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.info-text h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.info-text p,
.info-text a {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.contact-form-block {
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  padding: 40px;
  border-radius: 6px;
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--cyan);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-tech);
  padding: 14px;
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-quick);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

/* Popups */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.popup-content {
  background: var(--bg-dark-secondary);
  border: 1px solid var(--cyan);
  padding: 50px 40px;
  border-radius: 8px;
  max-width: 450px;
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
}

.popup-icon {
  font-size: 3rem;
  color: var(--green);
  margin-bottom: 20px;
}

/* ==========================================================================
   BACK TO TOP & LIVE CHAT WIDGET
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--bg-glass);
  border: 1px solid var(--border-tech);
  color: var(--text-primary);
  border-radius: 4px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
  transition: var(--transition-quick);
}

.back-to-top:hover {
  background: var(--cyan);
  color: var(--bg-dark-primary);
}

/* Live Chat system */
.live-chat-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 99;
}

.chat-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--purple-glow);
  font-size: 1.2rem;
}

.chat-window {
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 300px;
  height: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border-tech);
  border-radius: 6px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.chat-window.active {
  display: flex;
}

.chat-header {
  background: var(--purple);
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.close-chat {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
}

.chat-body {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message {
  max-width: 80%;
  padding: 10px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.message.received {
  background: rgba(255, 255, 255, 0.05);
  align-self: flex-start;
}

.chat-footer {
  padding: 12px;
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--border-tech);
}

.chat-footer input {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-tech);
  padding: 8px;
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 0.75rem;
}

.chat-footer button {
  background: var(--purple);
  border: none;
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

/* ==========================================================================
   RESPONSIVENESS MATRIX
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roi-wrapper {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-page-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    gap: 0;
    flex-direction: column;
    background: var(--bg-dark-primary);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    border-bottom: 1px solid var(--border-tech);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 16px 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .telemetry-grid {
    grid-template-columns: 1fr;
  }

  .sim-dashboard {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
