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

:root {
  /* Brand Colors */
  --color-primary: #071426;      /* Deep tech navy */
  --color-secondary: #00C2FF;    /* Glowing cyan */
  --color-accent: #2563EB;       /* Deep cobalt blue */
  --color-dark-surface: #111827; /* Charcoal dark gray */
  --color-light-surface: #F8FAFC;/* Off-white page surface */
  --color-text-dark: #0F172A;
  --color-text-light: #F8FAFC;
  --color-text-muted: #64748B;
  --color-border-dark: rgba(255, 255, 255, 0.08);
  --color-border-light: rgba(15, 23, 42, 0.08);
  
  /* Status Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;

  /* Typography Fonts */
  --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --container-max-width: 1200px;
  --header-height: 80px;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  color: #94A3B8; /* Muted gray for dark reading readability */
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-text-light);
}

/* Accessibility Focus Outline */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 4px;
}

ul {
  list-style: none;
}

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

/* Base Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.section-light {
  background-color: var(--color-light-surface);
  color: var(--color-text-dark);
}

.section-light p {
  color: var(--color-text-muted);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.25rem;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-light .section-header h2 {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-family: var(--font-mono);
  color: var(--color-secondary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: block;
}

/* Header & Sticky Navigation */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(7, 20, 38, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-dark);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-nav.scrolled {
  height: 70px;
  background: rgba(7, 20, 38, 0.95);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.header-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-text-light);
  letter-spacing: -0.03em;
}

.logo-link span {
  color: var(--color-secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 500;
  color: #94A3B8;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-text-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu styling */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-dark-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: 8px;
  padding: 1rem;
  width: 260px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #94A3B8;
  border-radius: 4px;
}

.nav-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-secondary);
  padding-left: 1rem;
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Mobile Toggle Hamburger button */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-light);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Premium Buttons styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #1D4ED8 100%);
  color: var(--color-text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-light);
  border: 1px solid var(--color-border-dark);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: var(--color-secondary);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #0099FF 100%);
  color: var(--color-primary);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 194, 255, 0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 194, 255, 0.45);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* Hero Section Styles */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  background: radial-gradient(ellipse at top, #0A2240 0%, var(--color-primary) 70%);
  overflow: hidden;
  position: relative;
}

.hero-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 194, 255, 0.08);
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: 50px;
  color: var(--color-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-tag span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-secondary);
  animation: blink 2s infinite;
}

.hero-title {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #FFFFFF, #E2E8F0, var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
  text-shadow: 0 0 20px rgba(0, 194, 255, 0.35);
}

.hero-description {
  font-size: 1.125rem;
  color: #94A3B8;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Console/Dashboard Mockup */
.hero-visual {
  position: relative;
}

.terminal-mockup {
  background: #090F1C;
  border: 1px solid var(--color-border-dark);
  border-radius: 12px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 194, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.825rem;
  color: #A5F3FC;
  overflow: hidden;
}

.terminal-header {
  background: #0E1726;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border-dark);
}

.terminal-dots {
  display: flex;
  gap: 0.35rem;
}

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

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

.terminal-title {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.terminal-body {
  padding: 1.25rem;
  min-height: 250px;
}

.terminal-line {
  margin-bottom: 0.5rem;
  white-space: pre-wrap;
}

.terminal-output {
  color: #10B981;
}

.terminal-highlight {
  color: var(--color-secondary);
}

/* Trust Metrics Section */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.metric-card {
  background: var(--color-dark-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: 8px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 194, 255, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.metric-card:hover::before {
  transform: translateX(100%);
}

.metric-num {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
  font-weight: 600;
}

/* Services Grid UI */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--color-dark-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(37, 99, 235, 0.05);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
  border: 1px solid rgba(37, 99, 235, 0.2);
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-light);
}

.service-card p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.service-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-secondary);
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(4px);
}

/* Solutions Grid UI */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.solution-card {
  background: var(--color-text-light);
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.solution-visual {
  height: 180px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-border-light);
}

.solution-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-card:hover .solution-visual img {
  transform: scale(1.06);
}

.solution-overlay-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

.solution-visual-icon {
  font-size: 3.5rem;
  color: var(--color-secondary);
  z-index: 2;
  text-shadow: 0 0 20px rgba(0, 194, 255, 0.4);
}

.solution-body {
  padding: 2rem;
}

.solution-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.solution-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* Why Thinkfinity section */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-visual-board {
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.6);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}

.board-flow-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.board-flow-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-secondary);
  background: rgba(0, 194, 255, 0.05);
  border: 1px solid rgba(0, 194, 255, 0.2);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.board-flow-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.board-flow-content p {
  font-size: 0.825rem;
  margin-bottom: 0;
}

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

.why-feat-item {
  display: flex;
  gap: 0.75rem;
}

.why-feat-item i {
  color: var(--color-secondary);
  font-size: 1.15rem;
  margin-top: 0.2rem;
}

.why-feat-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.why-feat-item p {
  font-size: 0.85rem;
}

/* Process Timeline */
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-secondary), transparent);
  transform: translateX(-50%);
}

.process-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
  width: 100%;
}

.process-step-content {
  width: 44%;
  background: var(--color-dark-surface);
  border: 1px solid var(--color-border-dark);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.process-step-content:hover {
  border-color: var(--color-secondary);
}

.process-step-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(0, 194, 255, 0.08);
  border: 1px solid rgba(0, 194, 255, 0.2);
  color: var(--color-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.process-step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.process-step-content p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.process-step-node {
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  border: 3px solid var(--color-secondary);
  border-radius: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(0, 194, 255, 0.4);
}

.process-empty-col {
  width: 44%;
}

/* Call To Actions cards */
.cta-banner {
  background: linear-gradient(135deg, var(--color-dark-surface) 0%, #060B14 100%);
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.04) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

/* Form Styling */
.form-card {
  background: var(--color-dark-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

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

.form-full-width {
  grid-column: span 2;
}

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

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #94A3B8;
  display: flex;
  justify-content: space-between;
}

.form-group label span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-dark);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(0, 194, 255, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Upload input customization */
.file-upload-wrapper {
  position: relative;
  width: 100%;
}

.file-upload-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--color-border-dark);
  border-radius: 6px;
  padding: 1rem;
  color: #94A3B8;
  font-size: 0.875rem;
  justify-content: center;
  transition: all 0.3s ease;
}

.file-upload-wrapper:hover .file-upload-trigger {
  border-color: var(--color-secondary);
  color: var(--color-text-light);
}

.form-promise {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 1.5rem;
}

/* Timeline/Milestones UI */
.timeline-track {
  position: relative;
  padding-left: 2.5rem;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border-dark);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.4rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-primary);
  border: 3px solid var(--color-secondary);
  box-shadow: 0 0 10px rgba(0, 194, 255, 0.5);
  z-index: 2;
}

.timeline-item-year {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.35rem;
}

.timeline-item h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

/* Detail Columns: Problem vs Solution layout */
.challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.challenge-box {
  border-radius: 12px;
  padding: 2.5rem;
  height: 100%;
}

.challenge-problem {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.challenge-problem h3 {
  color: #F87171;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.challenge-solution {
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.challenge-solution h3 {
  color: #34D399;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.challenge-list {
  margin-top: 1.5rem;
}

.challenge-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.925rem;
}

.challenge-problem .challenge-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #EF4444;
}

.challenge-solution .challenge-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10B981;
}

/* FAQ Accordion UI */
.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-dark-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.section-light .faq-item {
  background: #FFFFFF;
  border-color: var(--color-border-light);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.section-light .faq-question {
  color: var(--color-primary);
}

.faq-question span {
  font-size: 1.25rem;
  color: var(--color-secondary);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  font-size: 0.9rem;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 1.5rem 1.5rem 1.5rem;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

/* Insights Search & Filter Bar */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.search-wrapper {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  background: var(--color-dark-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: 8px;
  padding: 1rem 1rem 1rem 3rem;
  font-family: var(--font-body);
  color: var(--color-text-light);
  font-size: 1rem;
}

.search-icon-svg {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.category-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-dark);
  color: #94A3B8;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-tag:hover, .category-tag.active {
  background: rgba(0, 194, 255, 0.08);
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

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

.insight-card {
  background: var(--color-dark-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.insight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 194, 255, 0.2);
}

.insight-img {
  height: 180px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #060B14 100%);
  position: relative;
  overflow: hidden;
}

.insight-meta {
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--color-secondary);
}

.insight-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.insight-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-light);
}

.insight-body p {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* Careers open positions card */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.job-card {
  background: var(--color-dark-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.job-card:hover {
  border-color: var(--color-secondary);
}

.job-details h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.job-meta-row {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #94A3B8;
}

.job-meta-row span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.job-meta-row span i {
  color: var(--color-secondary);
}

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

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

.contact-card-info {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border-dark);
  border-radius: 10px;
  padding: 2rem;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  color: var(--color-secondary);
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

.contact-info-text {
  font-size: 0.95rem;
}

.contact-info-text h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.contact-info-text p {
  margin-bottom: 0;
  color: var(--color-text-light);
}

.map-container {
  border: 1px solid var(--color-border-dark);
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
  background-color: #0E1726;
}

/* Feedback messages styling */
.alert {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  display: none;
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #F87171;
}

/* Footer Section styling */
.footer {
  background-color: #050B14;
  border-top: 1px solid var(--color-border-dark);
  padding: 5rem 0 2rem 0;
  font-size: 0.9rem;
}

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

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col p {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  color: #94A3B8;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--color-secondary);
  padding-left: 0.25rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
}

.social-btn:hover {
  background: rgba(0, 194, 255, 0.1);
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  transform: translateY(-2px);
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.footer-newsletter-form .form-control {
  padding: 0.5rem 1rem;
  font-size: 0.825rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-bottom-links a:hover {
  color: var(--color-secondary);
}

/* Animations declarations */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Responsive Breakpoints Mobile-First */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-tag {
    margin: 0 auto 1.5rem auto;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .metrics-row {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid, .solutions-grid, .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .mobile-nav-toggle {
    display: block;
    z-index: 1100;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #090F1C;
    border-left: 1px solid var(--color-border-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s ease;
    z-index: 1050;
    overflow-y: auto;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-item-dropdown {
    width: 100%;
  }
  
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    padding: 0.5rem 0 0 1rem;
    box-shadow: none;
    display: none;
    width: 100%;
  }
  
  .nav-item-dropdown:hover .nav-dropdown {
    transform: none;
  }
  
  .nav-item-dropdown.active-dropdown .nav-dropdown {
    display: block;
  }
  
  .nav-link {
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .nav-cta {
    width: 100%;
    margin-top: 1rem;
  }
  
  .nav-cta .btn {
    width: 100%;
  }
  
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .process-timeline::before {
    left: 20px;
  }
  
  .process-step {
    flex-direction: row !important;
    position: relative;
    margin-bottom: 2.5rem;
  }
  
  .process-step-node {
    position: absolute;
    left: 0px;
    top: 0;
  }
  
  .process-step-content {
    width: calc(100% - 50px);
    margin-left: 50px;
  }
  
  .process-empty-col {
    display: none;
  }
  
  .challenge-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-full-width {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .metrics-row {
    grid-template-columns: 1fr;
  }
  
  .services-grid, .solutions-grid, .insights-grid {
    grid-template-columns: 1fr;
  }
  
  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .job-card .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Deep-Tech Enterprise Custom Component Styles */
.bg-grid-dots {
  background-image: radial-gradient(rgba(0, 194, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

.glow-card {
  box-shadow: 0 0 30px rgba(0, 194, 255, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-card:hover {
  border-color: var(--color-secondary) !important;
  box-shadow: 0 0 30px rgba(0, 194, 255, 0.15);
}

/* Highly Detailed Telemetry Log Panel */
.log-panel {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border-radius: 8px;
  padding: 1.75rem;
  background: #050B14;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
  margin-top: 1.5rem;
}

.log-line {
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  line-height: 1.4;
}

.log-line:last-child {
  margin-bottom: 0;
}

.log-tag-err {
  color: #EF4444;
  font-weight: 700;
  min-width: 65px;
  display: inline-block;
}

.log-tag-ok {
  color: #10B981;
  font-weight: 700;
  min-width: 65px;
  display: inline-block;
}

.log-msg {
  color: #CBD5E1;
}

.log-msg strong {
  color: var(--color-secondary);
}

/* Micro-Schematic Block Diagram Components */
.diagram-wrapper {
  background: rgba(9, 15, 28, 0.6);
  border: 1px solid var(--color-border-dark);
  border-radius: 12px;
  padding: 2.5rem;
  margin: 3.5rem 0;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.diagram-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 194, 255, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.diagram-header {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 0.75rem;
}

.diagram-header span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-secondary);
  margin-left: auto;
}

.diagram-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.diagram-node {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(0, 194, 255, 0.15);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  flex: 1;
  min-width: 170px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.diagram-node:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.15);
  transform: translateY(-2px);
}

.diagram-node-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  letter-spacing: 0.05em;
}

.diagram-node-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
}

.diagram-node-desc {
  font-size: 0.75rem;
  color: #94A3B8;
  margin-top: 0.25rem;
  line-height: 1.3;
}

.diagram-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 1rem;
  opacity: 0.7;
}

/* Specs Tech Readout Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

.specs-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--color-border-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-light);
}

.specs-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  color: #94A3B8;
}

.specs-table tr:hover td {
  color: var(--color-secondary);
  background: rgba(0, 194, 255, 0.01);
}

/* Phase 3: Text Readability Line-Width Limit */
.section p,
.hero-description {
  max-width: 70ch;
}

.section-header p,
.cta-banner p {
  margin-left: auto;
  margin-right: auto;
}

/* Breadcrumbs Trail Styling */
.breadcrumbs-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumbs-trail a {
  color: #94A3B8;
  transition: color 0.2s ease;
}

.breadcrumbs-trail a:hover {
  color: var(--color-secondary);
}

.breadcrumbs-trail .separator {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}

.breadcrumbs-trail .current {
  color: var(--color-secondary);
  font-weight: 500;
}
