/* 
  =========================================
  TRINETRA SURVEILLANCE - CORE DESIGN SYSTEM
  =========================================
  Futuristic, military-grade UI design
  Inspired by Anduril, Shield AI, and Palantir.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@500;700;900&family=Share+Tech+Mono&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #020617; /* Dark slate-navy */
  --bg-secondary: #0b1528; /* Deep navy matching logo */
  --bg-tertiary: #111d35;
  --accent-cyan: #f97316; /* Saffron Orange */
  --accent-blue: #16a34a; /* India Green */
  --accent-crimson: #ff3366;
  --accent-green: #16a34a;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  
  /* Borders and Glows */
  --border-cyan: rgba(249, 115, 22, 0.25);
  --border-blue: rgba(22, 163, 74, 0.25);
  --glow-cyan: 0 0 15px rgba(249, 115, 22, 0.3);
  --glow-cyan-intense: 0 0 25px rgba(249, 115, 22, 0.6);
  --glow-blue: 0 0 15px rgba(22, 163, 74, 0.3);
  --glow-crimson: 0 0 15px rgba(255, 51, 102, 0.4);

  /* Fonts */
  --font-sans: 'Inter', sans-serif;
  --font-military: 'Orbitron', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(8, 15, 37, 0.8) 0%, rgba(3, 7, 18, 1) 90%),
    linear-gradient(rgba(0, 240, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  background-attachment: fixed;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-blue);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* --- Typographical System --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-military);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  position: relative;
  margin-bottom: 2.5rem;
  padding-bottom: 0.75rem;
  color: var(--text-primary);
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
}

/* Military / Tactical Monospace Labels */
.tactical-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  background: rgba(0, 240, 255, 0.08);
  padding: 0.25rem 0.75rem;
  border-left: 2px solid var(--accent-cyan);
  border-radius: 0 4px 4px 0;
}

.tactical-label .pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  animation: pulseGlow 1.5s infinite alternate;
}

/* --- Common Components & Layouts --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6.5rem 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Glowing Glass Cards */
.glass-card {
  background: rgba(8, 15, 37, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-blue);
  border-radius: 8px;
  padding: 2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.02) 0%, transparent 100%);
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-5px);
}

.glass-card.military-corner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--accent-cyan);
  border-right: 2px solid var(--accent-cyan);
  pointer-events: none;
}

/* Tactical UI Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  font-family: var(--font-military);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  border: 1px solid var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  font-weight: 700;
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent-cyan);
  box-shadow: var(--glow-cyan-intense);
}

.btn-secondary {
  background: rgba(59, 130, 246, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--border-blue);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--accent-blue);
  box-shadow: var(--glow-blue);
}

.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--border-cyan);
}

.btn-outline:hover {
  background: rgba(0, 240, 255, 0.05);
  box-shadow: var(--glow-cyan);
}

/* --- HUD Header / Navigation --- */
.hud-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-cyan);
}

.hud-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1440px;
  margin: 0 auto;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.header-logo-img {
  height: 90px;
  width: auto;
  border-radius: 4px;
  filter: invert(1) hue-rotate(180deg) brightness(1.25) contrast(1.15);
  transition: var(--transition-fast);
}

.footer-logo .header-logo-img {
  height: 68px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-cyan);
}

.logo-icon::before {
  content: '';
  width: 14px;
  height: 9px;
  background: linear-gradient(to bottom, #f97316 33.3%, #ffffff 33.3%, #ffffff 66.6%, #16a34a 66.6%);
  border-radius: 1px;
}

.logo-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  border-top: 2px solid var(--accent-cyan);
  border-bottom: 2px solid var(--accent-cyan);
  border-radius: 50%;
  animation: radarSweep 4s linear infinite;
}

.logo-text {
  font-family: var(--font-military);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 0.1em;
}

.logo-text span {
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
}

.hud-nav {
  display: flex;
  gap: 1.5rem;
}

.hud-nav-link {
  font-family: var(--font-military);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.hud-nav-link:hover, .hud-nav-link.active {
  color: var(--accent-cyan);
  border-color: var(--border-cyan);
  background: rgba(0, 240, 255, 0.05);
}

.system-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.05);
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-green);
  border-radius: 50%;
  animation: pulseGlow 1s infinite alternate;
}

.ping-counter {
  color: var(--text-muted);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-cyan);
  border-radius: 4px;
  color: var(--accent-cyan);
  padding: 0.5rem;
  cursor: pointer;
}

/* --- Hero Section & Live Command Center --- */
.hero-section {
  padding-top: 8rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--accent-blue);
  margin-top: 1rem;
  font-weight: 500;
}

.hero-description {
  margin: 1.5rem 0 2.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.badge-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.badge-item i {
  color: var(--accent-cyan);
  font-size: 1.2rem;
  text-shadow: var(--glow-cyan);
}

/* Command Center Dashboard Simulator */
.command-console {
  border: 1px solid var(--border-cyan);
  border-radius: 8px;
  background: rgba(3, 7, 18, 0.9);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), var(--glow-blue);
  overflow: hidden;
  position: relative;
  max-width: 550px;
  margin: 0 auto;
}

.console-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-cyan);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.console-title {
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.console-controls {
  display: flex;
  gap: 0.4rem;
}

.control-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.control-dot.red { background-color: var(--accent-crimson); }
.control-dot.yellow { background-color: #f59e0b; }
.control-dot.green { background-color: var(--accent-green); }

/* Live Video Scan Area */
.console-viewscreen {
  position: relative;
  height: 250px;
  background: var(--bg-tertiary);
  overflow: hidden;
  border-bottom: 1px solid var(--border-blue);
}

.viewscreen-feed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  filter: grayscale(40%) contrast(120%) brightness(80%);
}

.hud-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border: 10px solid transparent;
  box-sizing: border-box;
}

.hud-corner {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid var(--accent-cyan);
}
.hud-corner.tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.hud-corner.tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.hud-corner.bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.hud-corner.br { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
}

.crosshair::before, .crosshair::after {
  content: '';
  position: absolute;
  background-color: var(--border-cyan);
}
.crosshair::before { top: 0; left: 14px; width: 2px; height: 30px; }
.crosshair::after { top: 14px; left: 0; width: 30px; height: 2px; }

.yolo-target-box {
  position: absolute;
  border: 1px solid var(--accent-crimson);
  box-shadow: var(--glow-crimson);
  transition: all 0.5s ease-in-out;
}

.yolo-label {
  position: absolute;
  top: -16px;
  left: -1px;
  background: var(--accent-crimson);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 8px;
  padding: 1px 4px;
  white-space: nowrap;
}

.scanning-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: scanLine 3s linear infinite;
  pointer-events: none;
}

/* Radar Subcomponent */
.console-telemetry {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  padding: 1rem;
  background: rgba(3, 7, 18, 0.95);
  font-family: var(--font-mono);
}

.radar-subcomponent {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding-right: 1rem;
}

.radar-scope {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--border-cyan);
  position: relative;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
  overflow: hidden;
}

.radar-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: conic-gradient(from 0deg, var(--accent-cyan) 0deg, transparent 90deg);
  border-radius: 50%;
  transform-origin: center;
  animation: radarSweep 3s linear infinite;
  opacity: 0.3;
}

.radar-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  border-radius: 50%;
  opacity: 0;
  animation: radarPing 3s infinite;
}

.radar-dot.t1 { top: 30%; left: 40%; animation-delay: 0.5s; }
.radar-dot.t2 { top: 60%; left: 75%; animation-delay: 1.5s; }
.radar-dot.t3 { top: 20%; left: 80%; animation-delay: 2.2s; }

.radar-text {
  font-size: 0.65rem;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  font-size: 0.65rem;
}

.telemetry-item {
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.01);
}

.telemetry-val {
  color: var(--accent-cyan);
  font-size: 0.75rem;
}

.console-terminal {
  background: #02040a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-secondary);
  padding: 0.75rem 1rem;
  height: 80px;
  overflow-y: hidden;
}

.terminal-line {
  line-height: 1.4;
  margin-bottom: 0.2rem;
}

.terminal-line.sec { color: var(--accent-cyan); }
.terminal-line.alert { color: var(--accent-crimson); }

/* --- About Section --- */
.about-section {
  background: radial-gradient(circle at right bottom, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
}

.about-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.about-missions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  text-align: left;
}

.mission-card {
  padding: 2.5rem;
  background: linear-gradient(180deg, rgba(8, 15, 37, 0.8) 0%, rgba(3, 7, 18, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* --- Problem Statement Section --- */
.problem-section {
  background: radial-gradient(circle at left top, rgba(255, 51, 102, 0.03) 0%, transparent 50%);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.problem-card {
  border: 1px solid rgba(255, 51, 102, 0.15);
}

.problem-card:hover {
  border-color: var(--accent-crimson);
  box-shadow: var(--glow-crimson);
}

.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: rgba(255, 51, 102, 0.1);
  border: 1px solid rgba(255, 51, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-crimson);
  text-shadow: 0 0 10px rgba(255, 51, 102, 0.5);
  margin-bottom: 1.5rem;
}

/* --- Solution Ecosystem Section --- */
.solution-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-military);
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: var(--transition-fast);
  position: relative;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  transform: scaleX(0);
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--accent-cyan);
}

.tab-btn.active {
  color: var(--accent-cyan);
}

.tab-btn.active::after {
  transform: scaleX(1);
}

.tab-panel {
  display: none;
  animation: fadeIn 0.5s forwards;
}

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

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.solution-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin: 2rem 0;
}

.spec-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 4px;
}

.spec-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-val {
  font-family: var(--font-military);
  font-size: 0.95rem;
  color: var(--accent-cyan);
  margin-top: 0.25rem;
}

.feature-bullets {
  list-style: none;
}

.feature-bullets li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-bullets li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

.solution-media {
  border: 1px solid var(--border-blue);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  background-color: var(--bg-tertiary);
  box-shadow: var(--glow-blue);
}

.solution-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.scan-box {
  position: absolute;
  border: 1px dashed var(--accent-cyan);
  animation: pulseGlow 1s infinite alternate;
}

/* --- Technology Lab Section --- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.tech-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.tech-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  box-shadow: var(--glow-cyan);
}

/* --- How it Works / Timeline Section --- */
.workflow-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin: 5rem 0 3.5rem;
  position: relative;
}

.workflow-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-cyan) 50%, var(--accent-blue) 100%);
  opacity: 0.3;
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-blue);
  color: var(--text-primary);
  font-family: var(--font-military);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.timeline-step:hover .step-number {
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  color: var(--accent-cyan);
}

.step-details h4 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.step-details p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.alert-banner-block {
  text-align: center;
  background: rgba(255, 51, 102, 0.05);
  border: 1px solid rgba(255, 51, 102, 0.15);
  padding: 1.5rem;
  border-radius: 6px;
  font-family: var(--font-military);
  color: var(--text-primary);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-top: 3.5rem;
  box-shadow: var(--glow-crimson);
}

.alert-banner-block span {
  color: var(--accent-crimson);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 51, 102, 0.4);
}

/* --- Key Features Grid Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.feature-item-card {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
  background: rgba(255, 255, 255, 0.01);
  border-radius: 4px;
  transition: var(--transition-fast);
}

.feature-item-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.02);
}

.feature-item-card h4 {
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-item-card h4::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
}

.feature-item-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Applications Section --- */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.app-card {
  position: relative;
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.app-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  transition: var(--transition-normal);
}

.app-card:hover .app-bg-image {
  opacity: 0.5;
  transform: scale(1.05);
}

.app-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem;
  background: linear-gradient(0deg, rgba(3, 7, 18, 1) 0%, rgba(3, 7, 18, 0.8) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.app-content h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.app-content p {
  font-size: 0.85rem;
}

/* --- Future Roadmap Section --- */
.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.roadmap-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  border-left: 2px solid var(--border-blue);
  padding-left: 2rem;
  position: relative;
}

.roadmap-card::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-blue);
}

.roadmap-card:hover::before {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.roadmap-phase {
  font-family: var(--font-military);
  font-size: 0.95rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Leadership Section --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 4rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
}

.avatar-frame {
  width: 160px;
  height: 200px;
  border: 1px solid var(--border-cyan);
  position: relative;
  background: var(--bg-tertiary);
  overflow: hidden;
  box-shadow: var(--glow-cyan);
}

.avatar-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(3, 7, 18, 0.8) 0%, transparent 100%);
  z-index: 2;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.team-card:hover .avatar-img {
  transform: scale(1.05);
}

.team-info {
  display: flex;
  flex-direction: column;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.team-bio {
  font-size: 0.85rem;
  margin: 0.75rem 0 1.25rem;
}

.team-responsibilities {
  list-style: none;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.team-responsibilities li {
  margin-bottom: 0.25rem;
  padding-left: 1rem;
  position: relative;
}

.team-responsibilities li::before {
  content: '▫';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
}

/* --- Incubation Section --- */
.incubation-panel {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.incubation-badge-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rru-badge {
  width: 180px;
  height: 180px;
  border-radius: 8px;
  border: 1px solid var(--border-cyan);
  padding: 1rem;
  box-shadow: var(--glow-cyan);
  background: #ffffff; /* White backplate to blend with logo canvas */
  display: flex;
  align-items: center;
  justify-content: center;
}

.rru-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.badge-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.badge-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  border: 1px solid var(--border-cyan);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

/* --- Investor Section --- */
.investor-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.metric-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(8, 15, 37, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 6px;
}

.metric-num {
  font-family: var(--font-military);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
  margin-bottom: 0.5rem;
}

.metric-desc {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.investor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.investor-card {
  padding: 2rem;
}

/* --- Contact & Secure Transmission Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.05);
}

.contact-text h4 {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-text p {
  font-size: 1rem;
  color: var(--text-primary);
  margin-top: 0.25rem;
}

/* High-Sec Transmission Terminal */
.transmission-console {
  border: 1px solid var(--border-cyan);
  background: rgba(3, 7, 18, 0.95);
  box-shadow: var(--glow-cyan);
  border-radius: 6px;
  overflow: hidden;
}

.transmission-form {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.form-group input, .form-group textarea, .form-group select {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 0.9rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.form-group select option {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.social-connect {
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}

.social-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-cyan);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 1.25rem;
  transition: var(--transition-fast);
  background: rgba(0, 240, 255, 0.02);
}

.social-btn:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: var(--glow-cyan);
}

/* --- Footer --- */
.military-footer {
  background: #02040a;
  border-top: 1px solid var(--border-cyan);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo p {
  max-width: 300px;
}

.footer-links-col h4 {
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  border-left: 2px solid var(--accent-cyan);
  padding-left: 0.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Dynamic Animations Keyframes --- */
@keyframes radarSweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes radarPing {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 0.1;
  }
  100% {
    opacity: 0;
    transform: scale(2.5);
  }
}

@keyframes scanLine {
  0% {
    top: -5%;
  }
  100% {
    top: 105%;
  }
}

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

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

/* --- Media Queries (Responsiveness) --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .btn-group {
    justify-content: center;
  }

  .trust-badges {
    width: 100%;
    max-width: 550px;
  }
  
  .command-console {
    width: 100%;
    max-width: 550px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 550px;
  }

  .incubation-panel {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  
  .badge-row {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4.5rem 0;
  }

  .hud-nav {
    display: none; /* In production, you would toggle this via JS hamburger menu */
  }

  .nav-toggle {
    display: block;
  }

  .hud-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-cyan);
    padding: 1.5rem;
    gap: 1rem;
  }

  .workflow-timeline {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .workflow-timeline::before {
    display: none;
  }

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .investor-metrics {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}



/* --- Interactive Tech Pipeline --- */
.interactive-pipeline-container {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.interactive-diagram {
  border: 1px solid var(--border-cyan);
  background: rgba(8, 15, 37, 0.85);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--glow-cyan);
  position: relative;
}
.pipeline-node-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.pipeline-interactive-node {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.pipeline-interactive-node:hover, .pipeline-interactive-node.active {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.04);
  box-shadow: var(--glow-cyan);
}
.node-icon-status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--text-muted);
  position: relative;
}
.pipeline-interactive-node.active .node-icon-status {
  background-color: var(--accent-cyan);
  animation: pulseGlow 1s infinite alternate;
}
.pipeline-display-screen {
  border: 1px solid var(--border-blue);
  background: #02040a;
  border-radius: 6px;
  height: 250px;
  position: relative;
  overflow: hidden;
}
.display-scan-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 240, 255, 0.015) 1px, transparent 1px),
              linear-gradient(90deg, rgba(0, 240, 255, 0.015) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
.pipeline-display-text {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  padding: 1.5rem;
  line-height: 1.5;
}

/* --- Mock Map Container --- */
.mock-map-container {
  width: 100%;
  height: 320px;
  border: 1px solid var(--border-cyan);
  border-radius: 6px;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
  background-size: 30px 30px;
}
.map-point {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: var(--glow-cyan);
}
.map-point::after {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-cyan);
  border-radius: 50%;
  animation: radarPing 2s infinite;
}
.map-label {
  position: absolute;
  top: calc(50% + 15px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  white-space: nowrap;
}

/* --- Page Transition Fades --- */
.page-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* ==========================================================================
   LEAD GENERATION SYSTEM & WHATSAPP FLOATING BUTTON STYLES
   ========================================================================== */

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  background-color: #20ba5a;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  z-index: -1;
  opacity: 0.6;
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Form Validations & Alert Styles */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: var(--accent-crimson) !important;
  box-shadow: 0 0 8px rgba(255, 74, 74, 0.2) !important;
  background: rgba(255, 74, 74, 0.02) !important;
}

.form-error-msg {
  color: var(--accent-crimson);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  animation: fadeIn 0.3s ease-out;
}

.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

@media (max-width: 576px) {
  .button-group {
    flex-direction: column;
  }
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* System Messages HUD Banners */
.sys-message-banner {
  border: 1px solid;
  border-radius: 4px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  animation: slideInDown 0.4s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.sys-message-banner.success {
  background: rgba(0, 255, 136, 0.03);
  border-color: var(--accent-green);
  color: var(--text-primary);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.05);
}

.sys-message-banner.success h4 {
  color: var(--accent-green);
  margin-top: 0;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sys-message-banner.error {
  background: rgba(255, 74, 74, 0.03);
  border-color: var(--accent-crimson);
  color: var(--text-primary);
  box-shadow: 0 0 15px rgba(255, 74, 74, 0.05);
}

.sys-message-banner.error h4 {
  color: var(--accent-crimson);
  margin-top: 0;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

