/* ============================================================
   GIGSTACKS — Operational Capacity Infrastructure™
   Stripe & Linear Inspired Premium Business Services Theme
   ============================================================ */

:root {
  /* Colors - Original Brand & Base Variables */
  --navy:              #061b3a;
  --navy-dark:         #031225;
  --green:             #2f8f46;
  --green-light:       #e9f6ed;
  --gold:              #c9a24d;
  --text:              #071a2f;
  --muted:             #5f6b7a;
  --border:            #dfe5ec;
  --cream:             #fbfaf7;
  --white:             #ffffff;
  --danger:            #c83f3f;

  /* Colors - Theme extensions */
  --navy-light:        #081e35;
  --navy-muted:        #0f2b4a;
  --gray-light:        #f8fafc;
  --gray-mid:          #e2e8f0;
  --gray-dark:         #64748b;
  
  --electric-blue:     #2563eb;
  --electric-hover:    #1d4ed8;
  --commit-green:      #10b981;
  --commit-green-dim:  rgba(16, 185, 129, 0.08);
  --amber-gold:        #f59e0b;
  
  /* Borders */
  --border-dark:       rgba(255, 255, 255, 0.08);
  --border-light:      rgba(0, 0, 0, 0.06);
  --border-blue:       rgba(37, 99, 235, 0.2);
  
  /* Font Family */
  --font-sans:         'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing (Tightened for compact premium layout) */
  --space-xs:          0.375rem;
  --space-sm:          0.6rem;
  --space-md:          1.0rem;
  --space-lg:          1.5rem;
  --space-xl:          2.0rem;
  --space-2xl:         2.75rem;
  --space-3xl:         3.75rem;   /* Tightened section padding */
  
  /* Transitions */
  --ease:              cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast:   0.15s var(--ease);
  --transition-base:   0.3s var(--ease);
  --transition-slow:   0.6s var(--ease);
}

/* ============================================================
   BASE RESET & LAYOUT
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  color: #334155;
  background-color: var(--white);
  line-height: 1.625;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--navy-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--navy-muted);
  border: 1px solid var(--navy-dark);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--electric-blue);
}

.container {
  width: 100%;
  max-width: 1120px; /* refined, narrower container */
  margin: 0 auto;
  padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
}

section {
  padding: var(--space-3xl) 0; /* generous whitespace padding */
  position: relative;
}

/* Section Background Alternating */
.bg-white {
  background-color: var(--white);
  color: #334155;
}

.bg-gray {
  background-color: var(--gray-light);
  color: #334155;
}

.bg-navy {
  background-color: var(--navy-dark);
  color: var(--white);
}

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 {
  color: var(--white);
}

/* Section Headers - Refined (30% smaller font sizes) */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl) auto;
}

.section-header .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--electric-blue);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  display: block;
}

.section-header h2 {
  font-size: 1.85rem; /* refined/reduced size */
  margin-bottom: var(--space-sm);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1rem;
  color: var(--gray-dark);
  line-height: 1.5;
}

.bg-navy .section-header p {
  color: #94a3b8;
}

/* ============================================================
   BUTTONS & ACCENTS
   ============================================================ */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, #226f34 100%);
  color: var(--white) !important;
  border-color: #226f34;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #37a351 0%, var(--green) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(47, 143, 70, 0.25);
  color: var(--white) !important;
}

.btn-secondary {
  background-color: var(--white);
  color: var(--navy) !important;
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background-color: var(--gray-light);
  border-color: var(--gray-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.bg-navy .btn-secondary, .bg-navy-dark .btn-secondary, .final-cta .btn-secondary, .hero-section .btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.bg-navy .btn-secondary:hover, .bg-navy-dark .btn-secondary:hover, .final-cta .btn-secondary:hover, .hero-section .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Highlight Indicator Tags */
.highlight-line {
  color: var(--electric-blue);
  border-bottom: 2px solid rgba(37, 99, 235, 0.2);
}

.success-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--commit-green);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--commit-green-dim);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ============================================================
   1. NAVIGATION (SECTION 1)
   ============================================================ */
.navbar {
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--electric-blue);
}

.nav-tagline {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gray-dark);
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  height: 100%;
  align-items: center;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-item > a {
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569;
  padding: 0.4rem 0;
  cursor: pointer;
}

.nav-item:hover > a {
  color: var(--navy-dark);
}

/* Solutions & Industries MegaMenu styling */
.megamenu {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 580px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  padding: 1.75rem;
  opacity: 0;
  visibility: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  transition: all var(--transition-base);
  border-radius: 4px;
}

.megamenu-wide {
  width: 800px;
  grid-template-columns: 1fr 1fr 1fr;
}

.nav-item:hover .megamenu {
  opacity: 1;
  visibility: visible;
  top: 80px;
}

.megamenu-col h5 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--electric-blue);
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 0.25rem;
}

.megamenu-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.megamenu-col a {
  font-size: 0.775rem;
  color: #475569;
  display: block;
  padding: 1px 0;
}

.megamenu-col a:hover {
  color: var(--navy-dark);
  transform: translateX(2px);
}

.nav-actions {
  display: flex;
  align-items: center;
}

.nav-cta {
  background-color: var(--navy-dark);
  color: var(--white);
  padding: 0.55rem 1.25rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

.nav-cta:hover {
  background-color: var(--electric-blue);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-hamburger span {
  width: 20px;
  height: 2px;
  background-color: var(--navy-dark);
  transition: all var(--transition-fast);
}

/* ============================================================
   2. HERO (SECTION 2)
   ============================================================ */
.hero-section {
  background-color: var(--navy-dark);
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.12), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(16, 185, 129, 0.06), transparent 40%);
  color: var(--white);
  padding-top: 120px; /* Navbar offset (80px) + spacing (80px) */
  padding-bottom: 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-status-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--electric-blue);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--commit-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--commit-green);
  animation: status-pulse 2s infinite ease-in-out;
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 12px var(--commit-green); }
}

.hero-left h1 {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-left h1 span.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-top: 0.5rem;
}

.hero-left .subheadline {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: var(--space-lg);
  max-width: 560px;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  margin-bottom: var(--space-xl);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-md);
  margin-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.trust-item svg {
  color: var(--commit-green);
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* Hero Right: Redesigned Flow Visual */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pipeline-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: rgba(8, 30, 53, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.pipeline-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pipeline-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
}

.pipeline-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.25);
  padding: 3px 8px;
  border-radius: 99px;
  letter-spacing: 0.05em;
}

.pipeline-flow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  z-index: 3;
}

.inputs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
}

.pipeline-node {
  background: rgba(15, 43, 74, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}

.pipeline-node:hover {
  border-color: var(--electric-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  background: rgba(15, 43, 74, 0.75);
}

.pipeline-node svg {
  width: 20px;
  height: 20px;
  color: #94a3b8;
  transition: color var(--transition-base);
}

.pipeline-node:hover svg {
  color: var(--electric-blue);
}

.pipeline-node span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
}

.pipeline-node .label-detail {
  font-size: 0.6rem;
  color: #64748b;
  margin-top: -2px;
}

.core-node-container {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

.core-node {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0.22) 100%);
  border: 1.5px solid var(--electric-blue);
  border-radius: 12px;
  padding: 1.15rem;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.2);
  transition: all var(--transition-base);
  animation: pulse-glow 3s infinite ease-in-out;
}

.core-node:hover {
  box-shadow: 0 0 35px rgba(37, 99, 235, 0.4);
  transform: scale(1.02);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.15); }
  50% { box-shadow: 0 0 35px rgba(37, 99, 235, 0.4); }
}

.core-node-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--white);
  background: var(--electric-blue);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.core-node h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 0.25rem 0;
}

.core-node p {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0;
}

.output-node {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.18) 100%);
  border: 1.5px solid var(--commit-green);
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
  transition: all var(--transition-base);
}

.output-node:hover {
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

.output-check {
  width: 22px;
  height: 22px;
  background: var(--commit-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

.output-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-align: left;
  line-height: 1.3;
}

.pipeline-svg-canvas {
  position: absolute;
  top: 5rem;
  left: 0;
  width: 100%;
  height: calc(100% - 6.5rem);
  z-index: 1;
  pointer-events: none;
}

.pipeline-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 2;
}

.pipeline-line-flow {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 6 15;
  animation: flow-pulse 3s linear infinite;
}

.line-blue {
  stroke: #60a5fa;
}

.line-green {
  stroke: #34d399;
}

@keyframes flow-pulse {
  to {
    stroke-dashoffset: -42;
  }
}

/* ============================================================
   3. THE OWNERSHIP PROBLEM (SECTION 3)
   ============================================================ */
.ownership-heading {
  font-size: 1.85rem; /* Reduced typography scale */
  font-weight: 800;
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-sm) auto;
}

.ownership-heading span {
  color: var(--electric-blue);
}

.ownership-sub {
  text-align: center;
  color: var(--gray-dark);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
}

.ownership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: var(--space-xl);
}

.ownership-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.ownership-card:hover {
  border-color: #fca5a5; /* refined red */
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.02);
}

.ownership-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.ownership-card p {
  font-size: 0.875rem;
  color: var(--gray-dark);
  line-height: 1.5;
}

.ownership-footer-line {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.ownership-footer-line span {
  color: var(--electric-blue);
  border-bottom: 1.5px solid var(--electric-blue);
}

/* ============================================================
   4. WHAT WE DO (SECTION 4)
   ============================================================ */
.needs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.need-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.need-card:hover {
  border-color: var(--electric-blue);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}

.need-card-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(37, 99, 235, 0.05);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--electric-blue);
}

.need-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.need-card-subtext {
  font-size: 0.9rem;
  color: var(--gray-dark);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.need-card-examples {
  margin-bottom: 1.75rem;
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-md);
  flex-grow: 1;
}

.need-card-examples h5 {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--gray-dark);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.need-card-examples ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.need-card-examples li {
  font-size: 0.8rem;
  font-weight: 500;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.need-card-examples li::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  background-color: var(--electric-blue);
  border-radius: 50%;
}

/* ============================================================
   5. HOW IT WORKS (SECTION 5)
   ============================================================ */
.works-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.timeline-step {
  padding: 0 var(--space-xs);
  position: relative;
}

.timeline-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--gray-light);
  border: 1px solid var(--gray-mid);
  color: var(--gray-dark);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: all var(--transition-fast);
}

.timeline-step:hover .timeline-dot {
  border-color: var(--electric-blue);
  color: var(--electric-blue);
}

.timeline-step.active .timeline-dot {
  border-color: var(--commit-green);
  color: var(--white);
  background-color: var(--commit-green);
}

.timeline-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.timeline-step p {
  font-size: 0.85rem;
  color: var(--gray-dark);
  line-height: 1.5;
  opacity: 0.8;
}

/* ============================================================
   6. POPULAR SOLUTIONS (SECTION 6)
   ============================================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: var(--space-xl);
}

.solution-card {
  background-color: var(--navy-light);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.solution-card:hover {
  border-color: var(--electric-blue);
  transform: translateY(-2px);
}

.solution-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.solution-section-block {
  margin-bottom: 1rem;
}

.solution-section-block h5 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--electric-blue);
  margin-bottom: 2px;
}

.solution-section-block p {
  font-size: 0.825rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.solution-section-block ul {
  list-style: none;
}

.solution-section-block li {
  font-size: 0.8rem;
  color: #cbd5e1;
  padding: 2px 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.solution-section-block li::before {
  content: '✓';
  color: var(--commit-green);
  font-weight: 600;
}

.solution-card .solution-cta {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--electric-blue);
}

.solution-card:hover .solution-cta {
  color: var(--electric-hover);
}

/* ============================================================
   7. WHY HIRE GIGSTACKS (SECTION 7)
   ============================================================ */
.why-layout {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.why-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: var(--space-lg) var(--space-md);
  transition: all var(--transition-base);
}

.why-card:hover {
  border-color: var(--electric-blue);
}

.why-card-icon {
  color: var(--commit-green);
  margin-bottom: var(--space-sm);
  display: flex;
}

.why-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.why-card p {
  font-size: 0.8rem;
  color: var(--gray-dark);
  line-height: 1.4;
}

/* ============================================================
   8. INFRASTRUCTURE BEHIND THE SERVICE (SECTION 8)
   ============================================================ */
.infra-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.infra-left h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-sm);
}

.infra-left p {
  font-size: 0.9rem;
  color: var(--gray-dark);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.intel-flow-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.intel-node-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  font-size: 0.65rem;
  color: var(--navy-dark);
  text-transform: uppercase;
}

.intel-node-item .icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--gray-light);
  border: 1px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--electric-blue);
  font-size: 0.75rem;
}

.intel-node-item.core .icon-circle {
  background-color: var(--navy-dark);
  color: var(--white);
  border-color: var(--electric-blue);
}

.intel-flow-path .arrow {
  color: var(--gray-dark);
  opacity: 0.4;
  font-size: 0.7rem;
}

.infra-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.infra-proof-block {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: var(--space-md);
}

.infra-proof-block h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.25rem;
}

.infra-proof-block p {
  font-size: 0.8rem;
  color: var(--gray-dark);
  line-height: 1.5;
}

/* ============================================================
   9. PRICING (SECTION 9)
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pricing-card {
  background-color: var(--navy-light);
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  padding: var(--space-xl) var(--space-md);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card.popular {
  border-color: var(--electric-blue);
}

.pricing-card:hover {
  border-color: var(--electric-blue);
}

.pricing-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: baseline;
}

.pricing-price span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-dark);
  margin-left: 2px;
}

.pricing-card p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1.25rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.8rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li svg {
  color: var(--commit-green);
  flex-shrink: 0;
}

.pricing-card .btn-primary, .pricing-card .btn-secondary {
  width: 100%;
}

/* ============================================================
   10. FOR PROVIDERS & FINAL CTA (SECTION 10)
   ============================================================ */
.providers-banner {
  background-color: var(--gray-light);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: var(--space-2xl);
}

.providers-banner-text {
  max-width: 600px;
}

.providers-banner-text h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.providers-banner-text p {
  font-size: 0.875rem;
  color: var(--gray-dark);
}

.final-cta-section {
  text-align: center;
  padding: var(--space-2xl) 0;
}

.final-cta-section h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.final-cta-section p {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto var(--space-xl) auto;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Footer styling */
.footer {
  background-color: #020b14;
  border-top: 1px solid var(--border-dark);
  padding: var(--space-2xl) 0 var(--space-lg) 0;
  color: #64748b;
  font-size: 0.825rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 0.7fr);
  gap: 2rem;
  margin-bottom: var(--space-xl);
}

.footer-brand h4 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.footer-brand h4 span {
  color: var(--electric-blue);
}

.footer-brand p {
  margin-top: 0.25rem;
  line-height: 1.4;
}

.footer-col h5 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-col a:hover {
  color: var(--electric-blue);
}

/* Accordion style for footer on mobile using details summary */
.footer-col details {
  display: block;
}
.footer-col summary {
  list-style: none;
  outline: none;
}
.footer-col summary::-webkit-details-marker {
  display: none;
}

@media (min-width: 769px) {
  .footer-col summary {
    pointer-events: none; /* Not clickable on desktop */
  }
  .footer-col details:not([open]) > ul {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-col details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .footer-col summary {
    padding: 0.75rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer-col summary::after {
    content: '+';
    font-size: 1.1rem;
    color: #cbd5e1;
    font-weight: 500;
  }
  .footer-col details[open] summary::after {
    content: '−';
  }
  .footer-col ul {
    padding: 0.5rem 0 1.25rem 0;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============================================================
   RESPONSIVE LAYOUT (MEDIA QUERIES)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-left h1 { font-size: 2.25rem; }
  .needs-grid { grid-template-columns: 1fr 1fr; }
  .needs-grid > :last-child { grid-column: span 2; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .ownership-grid { grid-template-columns: 1fr 1fr; }
  .ownership-grid > :last-child { grid-column: span 2; }
  .why-layout { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: var(--space-2xl) 0; }
  .navbar { height: 70px; }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem;
    gap: 1rem;
    display: none;
    height: calc(100vh - 70px);
    overflow-y: auto;
    border-top: 1px solid var(--gray-mid);
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-item {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
  }
  .megamenu {
    position: static;
    transform: none;
    width: 100% !important;
    display: none;
    padding: 1rem 0;
    grid-template-columns: 1fr !important;
    box-shadow: none;
    border: none;
  }
  .nav-item:hover .megamenu {
    display: block;
  }
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  
  .hero-section { height: auto; padding-top: 100px; padding-bottom: 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-left h1 { font-size: 1.85rem; }
  .hero-left h1 span.gradient-text { font-size: 0.95em; margin-top: 0.35rem; }
  .hero-cta-row { flex-direction: column; }
  .hero-trust-row { gap: 1rem; }
  .pipeline-card { max-width: 100%; padding: 1.75rem 1.25rem; animation: none; }
  .inputs-row { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .pipeline-node span { font-size: 0.65rem; }
  .pipeline-node .label-detail { display: none; }
  .core-node { width: 100%; }
  .pipeline-svg-canvas { display: none; }
  
  .outcomes-grid, .trust-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .needs-grid { grid-template-columns: 1fr; }
  .needs-grid > :last-child { grid-column: span 1; }
  .ownership-grid { grid-template-columns: 1fr; }
  .ownership-grid > :last-child { grid-column: span 1; }
  .solutions-grid { grid-template-columns: 1fr; }
  .why-layout { grid-template-columns: 1fr; }
  .infra-container { grid-template-columns: 1fr; gap: 2rem; }
  .providers-banner { flex-direction: column; text-align: center; }
  .works-timeline { grid-template-columns: 1fr; gap: 1.5rem; }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.25rem !important;
  }
}

/* ============================================================
   RESPONSIVE UTILITIES & COMPARISON GRIDS
   ============================================================ */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--space-md);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 600px;
}

.features-check-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 2rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: left;
}

@media (max-width: 992px) {
  .features-check-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   11. HOMEPAGE DIAGNOSTIC CTA BLOCK
   ============================================================ */
.homepage-diagnostic-cta {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-2xl) 0;
}

.diag-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.diag-cta-left .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--electric-blue);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  display: block;
}

.diag-cta-left h2 {
  font-size: 2.25rem;
  font-weight: 850;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  color: var(--navy-dark);
}

.diag-cta-left .subheadline {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-dark);
  margin-bottom: var(--space-lg);
}

.diag-cta-left .subheadline p {
  margin-bottom: 0.75rem;
}

.diag-cta-left .subheadline p:last-child {
  margin-bottom: 0;
}

.diag-cta-buttons {
  display: flex;
  gap: 1rem;
}

.diag-cta-right {
  display: flex;
  justify-content: center;
}

.comparison-flow-box {
  background: var(--gray-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  width: 100%;
  max-width: 450px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.flow-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flow-path h4 {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  width: 100%;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.flow-path.without-ownership h4 {
  color: #ef4444;
}

.flow-path.with-gigstacks h4 {
  color: var(--commit-green);
}

.flow-step-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0.35rem;
}

.flow-step-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-dark);
  width: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.01);
  transition: all var(--transition-fast);
}

.flow-step-arrow {
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 700;
  margin: 0.15rem 0;
}

.without-ownership .flow-step-arrow {
  color: #fca5a5;
}

.with-gigstacks .flow-step-arrow {
  color: #a7f3d0;
}

.without-ownership .flow-step-card.final {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.with-gigstacks .flow-step-card.final {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.2);
  color: var(--commit-green);
}

/* ============================================================
   12. EXECUTION COORDINATOR PAGE UPDATES
   ============================================================ */
.friction-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.friction-card {
  background: var(--gray-light);
  border: 1px solid var(--border-light);
  padding: var(--space-lg) var(--space-md);
  border-radius: 6px;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.friction-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
  border-color: var(--gray-mid);
}

.friction-card-icon {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ef4444;
}

.friction-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.friction-card p {
  font-size: 0.8rem;
  color: var(--gray-dark);
  line-height: 1.4;
  margin: 0;
}

.friction-closing-box {
  text-align: center;
  padding: 3rem var(--space-xl);
  background: rgba(37, 99, 235, 0.02);
  border: 1px solid var(--border-blue);
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.friction-closing-box h3 {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
}

.friction-closing-box p {
  font-size: 1rem;
  color: var(--gray-dark);
  margin-bottom: 1.75rem;
}

.execution-diagnostic-teaser {
  background-color: var(--navy-dark);
  color: var(--white);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: var(--space-2xl) 0;
}

.execution-diagnostic-teaser .section-header h2 {
  color: var(--white);
}

.execution-diagnostic-teaser .section-header p {
  color: #94a3b8;
}

/* ============================================================
   13. DIAGNOSTIC FUNNEL PAGE
   ============================================================ */
.diagnostic-body {
  background-color: var(--gray-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.diagnostic-nav {
  height: 70px;
  border-bottom: 1px solid var(--border-light);
  background: var(--white);
}

.diagnostic-container {
  max-width: 680px;
  margin: var(--space-xl) auto;
  padding: 0 1.5rem;
  width: 100%;
}

.diagnostic-card-wrapper {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: var(--space-xl) var(--space-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
  transition: min-height 0.4s var(--ease);
}

.progress-container {
  margin-bottom: var(--space-xl);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-dark);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.progress-bar-bg {
  height: 4px;
  background-color: var(--gray-mid);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--electric-blue);
  width: 0%;
  transition: width 0.4s var(--ease);
}

.diagnostic-screen {
  display: none;
  animation: fadeIn 0.4s var(--ease) forwards;
}

.diagnostic-screen.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.diag-headline {
  font-size: 1.85rem;
  font-weight: 850;
  color: var(--navy-dark);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.diag-subtitle {
  font-size: 0.95rem;
  color: var(--gray-dark);
  line-height: 1.5;
  margin-bottom: var(--space-xl);
}

.diag-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: var(--space-xl);
}

/* Custom Checkbox/Radio Option Cards */
.diag-option-card {
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 1.15rem var(--space-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--white);
  transition: all var(--transition-fast);
  user-select: none;
}

.diag-option-card:hover {
  border-color: var(--gray-mid);
  background-color: var(--gray-light);
}

.diag-option-card.selected {
  border-color: var(--electric-blue);
  background-color: rgba(37, 99, 235, 0.01);
}

.diag-control-indicator {
  width: 18px;
  height: 18px;
  border: 1px solid var(--gray-mid);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.diag-option-card[data-type="checkbox"] .diag-control-indicator {
  border-radius: 3px;
}

.diag-option-card[data-type="radio"] .diag-control-indicator {
  border-radius: 50%;
}

.diag-option-card.selected .diag-control-indicator {
  background-color: var(--electric-blue);
  border-color: var(--electric-blue);
}

.diag-control-indicator::after {
  content: '';
  display: none;
}

.diag-option-card[data-type="checkbox"].selected .diag-control-indicator::after {
  display: block;
  width: 4px;
  height: 8px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.diag-option-card[data-type="radio"].selected .diag-control-indicator::after {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--white);
}

.diag-option-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-dark);
}

.diag-dynamic-warning {
  background-color: rgba(239, 68, 68, 0.03);
  border: 1px solid rgba(239, 68, 68, 0.12);
  color: #ef4444;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  display: none;
}

.diag-button-row {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.diag-button-row.between {
  justify-content: space-between;
}

.btn-diag {
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-diag-primary {
  background-color: var(--navy-dark);
  color: var(--white);
}

.btn-diag-primary:hover {
  background-color: var(--electric-blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.btn-diag-secondary {
  background-color: transparent;
  color: var(--gray-dark);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.btn-diag-secondary:hover {
  background-color: var(--gray-light);
  color: var(--navy-dark);
  border-color: var(--gray-dark);
}

/* Bottleneck Cards Grid */
.bottleneck-reports-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: var(--space-lg);
}

.bottleneck-card {
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 1.25rem var(--space-md);
  background-color: var(--white);
}

.bottleneck-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.bottleneck-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.risk-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
}

.risk-badge.high {
  background-color: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}

.risk-badge.moderate {
  background-color: rgba(245, 158, 11, 0.08);
  color: var(--amber-gold);
}

.risk-badge.low {
  background-color: rgba(16, 185, 129, 0.08);
  color: var(--commit-green);
}

.bottleneck-card-desc {
  font-size: 0.825rem;
  color: var(--gray-dark);
  line-height: 1.45;
}

.bottleneck-text-explanation {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.6;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  margin-bottom: var(--space-xl);
}

.bottleneck-text-explanation ul {
  list-style: none;
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.bottleneck-text-explanation li {
  padding-left: 1.25rem;
  position: relative;
  font-weight: 600;
  color: var(--navy-dark);
}

.bottleneck-text-explanation li::before {
  content: '•';
  color: #ef4444;
  font-weight: 800;
  font-size: 1.1rem;
  position: absolute;
  left: 0.25rem;
  top: -1px;
}

/* Contact Form Grid */
.diag-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.diag-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.diag-form-group.full {
  grid-column: span 2;
}

.diag-form-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy-dark);
  letter-spacing: 0.02em;
}

.diag-form-input {
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--navy-dark);
  background: var(--white);
  transition: all var(--transition-fast);
}

.diag-form-input:focus {
  outline: none;
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

textarea.diag-form-input {
  resize: vertical;
  min-height: 80px;
}

.diag-privacy-notice {
  font-size: 0.725rem;
  color: var(--gray-dark);
  line-height: 1.45;
  margin-bottom: var(--space-xl);
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

/* Recommendation Box */
.diag-recommendation-box {
  background: rgba(37, 99, 235, 0.02);
  border: 1px solid var(--border-blue);
  border-radius: 6px;
  padding: 1.75rem;
  margin-bottom: var(--space-xl);
}

.diag-recommendation-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--electric-blue);
  margin-bottom: 0.25rem;
}

.diag-recommendation-package {
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--navy-dark);
  margin-bottom: 1rem;
}

.diag-recommendation-why {
  font-size: 0.875rem;
  color: var(--gray-dark);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

.diag-recommendation-why strong {
  color: var(--navy-dark);
}

.diag-recommendation-action {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.diag-recommendation-action span {
  color: var(--commit-green);
  font-weight: 800;
}

@media (max-width: 768px) {
  .diag-cta-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .friction-cards-grid {
    grid-template-columns: 1fr;
  }
  .diag-form-grid {
    grid-template-columns: 1fr;
  }
  .diag-form-group.full {
    grid-column: span 1;
  }
  .diag-headline {
    font-size: 1.5rem;
  }
}

/* ============================================================
   PHASE 2 WEB REFACTOR ADDITIONS
   ============================================================ */
.site-header {
  height: 76px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-subtitle {
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  align-items: center;
}

.header-cta {
  background: var(--navy);
  color: white !important;
  border-radius: 7px;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.header-cta:hover {
  opacity: 0.9;
}

/* Dropdown Menu styling */
.dropdown-trigger {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  padding: 12px 0;
  min-width: 240px;
  z-index: 1001;
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
}

.dropdown-menu li a:hover {
  background: var(--cream);
  color: var(--green);
}

.dropdown-trigger:hover .dropdown-menu {
  display: block;
}

/* Modern Web platform design enhancements */
html {
  scrollbar-color: var(--green) var(--navy-dark);
  scrollbar-width: thin;
}

/* Smooth entry animation for dropdown */
.dropdown-menu {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@starting-style {
  .dropdown-trigger:hover .dropdown-menu {
    opacity: 0;
    transform: translateY(4px);
  }
}

/* Auto-sizing form inputs */
input[type="text"], input[type="email"], select, textarea {
  field-sizing: content;
}

/* User interaction validated states */
input:user-invalid, select:user-invalid, textarea:user-invalid {
  border-color: var(--danger);
  background-color: #fffafb;
}

/* ============================================================
   GLOBAL MOBILE RESPONSIVENESS OVERRIDES
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid, .cost-split, .commitos-split, .friction-cards-grid, .diag-cta-grid, .diff-split, .ba-split {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .four-cards-grid, .phil-grid, .team-grid, .rec-grid, .imagine-grid, .scen-grid, .fail-columns-grid, .eco-grid, .ind-cols-grid, .constraint-cards-grid, .obj-grid, .diag-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  /* Sizing / Typography scales */
  h1, .section-title, .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
  }
  h2 {
    font-size: 1.5rem !important;
  }
  h3 {
    font-size: 1.25rem !important;
  }
  
  /* Sections padding */
  section {
    padding: 2.5rem 0 !important;
  }
  
  /* Fallback horizontal scroll navigation for sub-pages without hamburger toggle */
  .site-header nav {
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
  }
  .site-header nav::-webkit-scrollbar {
    display: none !important;  /* Chrome, Safari, Opera */
  }
  
  .site-header .nav-links {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    box-shadow: none !important;
    padding: 0 !important;
    gap: 1.25rem !important;
    background: transparent !important;
    width: auto !important;
  }
  
  /* Responsive Navigation for Home Page (which has the Hamburger toggle script) */
  .site-header:has(#menuToggle) nav {
    overflow-x: visible !important;
  }
  .site-header:has(#menuToggle) .nav-links {
    display: none !important;
  }
  .site-header:has(#menuToggle) .nav-links.active {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--brand-white) !important;
    padding: 1.5rem !important;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05) !important;
    gap: 1rem !important;
  }
  
  /* Grid collapses to single column */
  .four-cards-grid, .phil-grid, .team-grid, .rec-grid, .imagine-grid, .scen-grid, .fail-columns-grid, .eco-grid, .ind-cols-grid, .constraint-cards-grid, .obj-grid, .diag-grid, .map-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  
  /* Override inline styled footer grid layout */
  .site-footer div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  /* Alignment and spacing adjustments */
  .hero-cta-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .hero-cta-row .btn {
    width: 100% !important;
    text-align: center !important;
  }
  
  .timeline-graphic, .expansion-flow {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .timeline-arrow, .expansion-arrow {
    transform: rotate(90deg) !important;
    display: inline-block !important;
    margin: 0.5rem auto !important;
  }
}



