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

/* Color Variables */
:root {
  --primary-blue: #2D56A7;
  --primary-blue-rgb: 45, 86, 167;
  --deep-navy: #0F1F3D;
  --deep-navy-rgb: 15, 31, 61;
  --bright-azure: #00A6FF;
  --bright-azure-rgb: 0, 166, 255;
  --teal-accent: #00B5A6;
  --teal-accent-rgb: 0, 181, 166;
  --slate-gray: #64748B;
  --light-cloud: #F2F4F7;
  --white: #FFFFFF;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Montserrat', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--deep-navy);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #1e3f80;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 86, 167, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--bright-azure);
  color: var(--bright-azure);
  transform: translateY(-1px);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(100, 116, 139, 0.15);
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 31, 61, 0.05);
  padding: 0.25rem 0;
}

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

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 54px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.logo-text span.brand-part1 {
  color: var(--primary-blue);
}

.logo-text span.brand-part2 {
  color: var(--deep-navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-gray);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-blue);
  transition: var(--transition-smooth);
}

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--deep-navy);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
  background-color: var(--deep-navy);
  color: var(--white);
  padding: 12rem 2rem 8rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 166, 255, 0.15) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 166, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

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

.hero-tagline {
  font-family: var(--font-mono);
  color: var(--bright-azure);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: inline-block;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--slate-gray);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

/* Executive Performance Widget */
.widget-card {
  background: rgba(15, 31, 61, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  position: relative;
}

.widget-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--bright-azure), var(--teal-accent));
  border-radius: 8px 8px 0 0;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-gray);
}

.widget-status {
  width: 8px;
  height: 8px;
  background-color: var(--teal-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--teal-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px var(--teal-accent); }
  100% { transform: scale(0.95); opacity: 0.5; }
}

.widget-metric-row {
  margin-bottom: 1.25rem;
}

.widget-metric-row:last-child {
  margin-bottom: 0;
}

.widget-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--slate-gray);
  margin-bottom: 0.25rem;
}

.widget-value {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  color: var(--white);
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.widget-value.teal {
  color: var(--teal-accent);
}

.widget-chart-mini {
  height: 45px;
  margin-top: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

/* Firm Positioning Section */
.positioning-section {
  padding: 8rem 2rem;
  background-color: var(--white);
  position: relative;
}

.positioning-container {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  font-family: var(--font-mono);
  color: var(--primary-blue);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  display: block;
}

.positioning-statement {
  font-family: var(--font-display);
  font-size: 2.125rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--deep-navy);
  margin: 2rem 0 3rem;
  letter-spacing: -0.015em;
}

.geometric-divider {
  width: 80px;
  height: 4px;
  background-color: var(--teal-accent);
  margin: 0 auto;
  position: relative;
}

.geometric-divider::before, .geometric-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--teal-accent);
  border-radius: 50%;
}

.geometric-divider::before { left: -16px; }
.geometric-divider::after { right: -16px; }

/* Interactive B2B Strategic Frameworks (Accenture/IBM/Gartner style) */
.frameworks-section {
  padding: 8rem 2rem;
  background-color: var(--white);
  border-top: 1px solid var(--light-cloud);
}

.frameworks-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid rgba(100, 116, 139, 0.15);
  margin-bottom: 3.5rem;
  gap: 2rem;
}

.tab-btn {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-gray);
  padding: 1rem 0;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: var(--primary-blue);
}

.tab-btn.active {
  color: var(--primary-blue);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--teal-accent);
}

.tab-panel {
  display: none;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-panel.active {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

.panel-meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  display: block;
}

.panel-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--deep-navy);
}

.panel-desc {
  color: var(--slate-gray);
  margin-bottom: 2rem;
}

.panel-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.panel-stat-card {
  border-left: 2px solid var(--teal-accent);
  padding-left: 1rem;
}

.panel-stat-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--deep-navy);
}

.panel-stat-label {
  font-size: 0.8125rem;
  color: var(--slate-gray);
}

.panel-visualization {
  background-color: var(--light-cloud);
  border-radius: 8px;
  padding: 3rem;
  border: 1px solid rgba(100, 116, 139, 0.1);
  position: relative;
}

.panel-viz-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate-gray);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.panel-viz-flow {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.viz-step {
  background: var(--white);
  border: 1px solid rgba(100, 116, 139, 0.15);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font-display);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.viz-step::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--bright-azure);
  border-radius: 50%;
}

/* Constellation Canvas Backdrop */
.constellation-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.25;
}

/* Interactive Framework Tooltips */
.viz-step {
  position: relative;
  cursor: help;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.viz-step:hover {
  border-color: var(--bright-azure);
  box-shadow: 0 4px 12px rgba(0, 115, 230, 0.08);
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(10, 25, 47, 0.96);
  color: #e2e8f0;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 400;
  width: 260px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 115, 230, 0.2);
  backdrop-filter: blur(12px);
  z-index: 99;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  line-height: 1.45;
  white-space: normal;
}

.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(10, 25, 47, 0.96) transparent transparent transparent;
}

.viz-step:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Service Pillars Section */
.services-section {
  padding: 8rem 2rem;
  background-color: var(--light-cloud);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 5rem;
}

.services-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

/* Service Card Design */
.service-card {
  background-color: var(--white);
  border: 1px solid rgba(100, 116, 139, 0.15);
  border-radius: 6px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: transparent;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45, 86, 167, 0.35);
  box-shadow: 0 12px 30px rgba(15, 31, 61, 0.06);
}

.service-card:hover::after {
  background-color: var(--primary-blue);
}

.card-icon {
  margin-bottom: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(45, 86, 167, 0.06);
  border-radius: 4px;
  color: var(--primary-blue);
  transition: var(--transition-smooth);
}

.service-card:hover .card-icon {
  background-color: var(--primary-blue);
  color: var(--white);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--deep-navy);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--slate-gray);
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate-gray);
  border-top: 1px solid rgba(100, 116, 139, 0.1);
  padding-top: 1rem;
  margin-top: auto;
  letter-spacing: 0.05em;
}

/* Advisory Perspectives / Case Studies Section (Deloitte/McKinsey/Bain Style) */
.case-section {
  padding: 8rem 2rem;
  background-color: var(--white);
  border-top: 1px solid var(--light-cloud);
}

.case-container {
  max-width: 1200px;
  margin: 0 auto;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

.case-card {
  border: 1px solid rgba(100, 116, 139, 0.15);
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--white);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 16px 32px rgba(15, 31, 61, 0.05);
  transform: translateY(-2px);
}

.case-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-meta {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--slate-gray);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
}

.case-title {
  font-size: 1.625rem;
  margin-bottom: 1.25rem;
  color: var(--deep-navy);
}

.case-summary {
  color: var(--slate-gray);
  font-size: 0.975rem;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.case-metric {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  border-top: 1px solid rgba(100, 116, 139, 0.1);
  padding-top: 1.5rem;
}

.case-metric-val {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-blue);
  line-height: 1;
}

.case-metric-label {
  font-size: 0.875rem;
  color: var(--slate-gray);
}

/* Executive Advisory Quote Section (Bain/BCG Style) */
.quote-section {
  background-color: var(--deep-navy);
  color: var(--white);
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.quote-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--bright-azure);
  opacity: 0.3;
  margin-bottom: -1rem;
}

.quote-text {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}

.quote-author {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.quote-author-title {
  font-size: 0.875rem;
  color: var(--slate-gray);
  margin-top: 0.25rem;
}

/* Advisory Intake Section */
.intake-section {
  padding: 8rem 2rem;
  background-color: var(--white);
}

.intake-container {
  max-width: 650px;
  margin: 0 auto;
}

.intake-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.intake-title {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.intake-subtitle {
  color: var(--slate-gray);
}

.intake-form {
  display: grid;
  gap: 1.5rem;
}

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

.form-label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--deep-navy);
}

.form-input, .form-textarea {
  font-family: var(--font-sans);
  padding: 1rem;
  border: 1px solid rgba(100, 116, 139, 0.25);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--deep-navy);
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(45, 86, 167, 0.1);
}

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

.form-submit-btn {
  margin-top: 1rem;
  padding: 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Footer Section */
footer {
  background-color: var(--deep-navy);
  color: var(--white);
  padding: 5rem 2rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

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

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-logo-text span.brand-part1 {
  color: var(--bright-azure);
}

.footer-logo-text span.brand-part2 {
  color: var(--white);
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--slate-gray);
  line-height: 1.6;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bright-azure);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--slate-gray);
}

.footer-link:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-governance {
  font-size: 0.9rem;
  color: var(--slate-gray);
  line-height: 1.7;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--slate-gray);
}

/* Responsiveness */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .widget-card {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  
  .tab-panel {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .case-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .footer-container > div:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.25rem 0;
  }
  
  .nav-links, .nav-btn-wrapper {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  /* Mobile Menu Drawer */
  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 2rem;
    border-bottom: 1px solid rgba(100, 116, 139, 0.15);
    gap: 1.5rem;
    box-shadow: 0 10px 20px rgba(15, 31, 61, 0.05);
    z-index: 999;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .footer-container > div:last-child {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* --- ADVANCED B2B CONSULTING RECOMMENDATIONS --- */

/* Hero Cursor Glow */
.hero-cursor-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 350px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 166, 255, 0.08) 0%, transparent 80%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

/* Monochrome Trust Bar */
.trust-bar {
  background-color: var(--deep-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.25rem 2rem;
  position: relative;
  z-index: 20;
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate-gray);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.trust-item {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.trust-item:hover {
  color: var(--bright-azure);
}

@media (max-width: 768px) {
  .trust-container {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
}

/* Sequential Framework Workflow Animations */
@keyframes stepPulse {
  0%, 100% {
    border-color: rgba(100, 116, 139, 0.15);
    box-shadow: none;
  }
  50% {
    border-color: var(--teal-accent);
    box-shadow: 0 0 12px rgba(0, 181, 166, 0.15);
  }
}

.tab-panel.active .viz-step:nth-child(1) {
  animation: stepPulse 4s infinite 0s;
}
.tab-panel.active .viz-step:nth-child(2) {
  animation: stepPulse 4s infinite 1s;
}
.tab-panel.active .viz-step:nth-child(3) {
  animation: stepPulse 4s infinite 2s;
}
.tab-panel.active .viz-step:nth-child(4) {
  animation: stepPulse 4s infinite 3s;
}

/* Expandable Client Insights Drawers */
.case-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  opacity: 0;
  border-top: 1px dashed rgba(100, 116, 139, 0.15);
  margin-top: 1.5rem;
}

.case-drawer.open {
  max-height: 500px;
  opacity: 1;
  padding-top: 1.5rem;
}

.drawer-content {
  font-size: 0.875rem;
  color: var(--slate-gray);
  line-height: 1.6;
}

.drawer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

@media (max-width: 600px) {
  .drawer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.drawer-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--deep-navy);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.drawer-text {
  font-size: 0.85rem;
}

.btn-drawer-toggle {
  background: none;
  border: none;
  color: var(--primary-blue);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0;
  transition: var(--transition-smooth);
}

.btn-drawer-toggle:hover {
  color: var(--bright-azure);
}

.btn-drawer-toggle svg {
  transition: transform 0.3s ease;
}

.btn-drawer-toggle.active svg {
  transform: rotate(180deg);
}

/* --- Preloader --- */
.portal-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--bright-azure), var(--teal-accent));
  z-index: 10000;
  width: 0;
  transition: width 0.4s ease, opacity 0.3s ease;
  pointer-events: none;
}

/* --- Theme Switcher Control --- */
.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--slate-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  color: var(--primary-blue);
  background-color: rgba(100, 116, 139, 0.08);
}

body.light-theme .theme-toggle-btn:hover {
  background-color: rgba(45, 86, 167, 0.08);
  color: var(--primary-blue);
}

/* --- Sticky Connect FAB --- */
.connect-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: rgba(45, 86, 167, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 30px rgba(15, 31, 61, 0.2);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.3s ease;
}

.connect-fab.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.connect-fab:hover {
  background-color: var(--primary-blue);
  box-shadow: 0 12px 36px rgba(45, 86, 167, 0.3);
  transform: translateY(-2px);
  color: var(--white);
}

/* --- SVG Card Hover Animations --- */
.service-card:hover .card-icon svg {
  animation: iconPulse 1.5s infinite ease-in-out;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

/* Why inTelliDi Section Styles */
.why-section {
  padding: 8rem 2rem;
  background-color: var(--deep-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--white);
}
.why-container {
  max-width: 1200px;
  margin: 0 auto;
}
.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
}
.why-left .section-label {
  color: var(--teal-accent);
}
.why-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: var(--white);
}
.why-desc {
  color: #94A3B8;
  font-size: 1.1rem;
  line-height: 1.6;
}
.why-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.why-row {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}
.why-row-num {
  font-family: var(--font-mono);
  color: var(--bright-azure);
  font-weight: 600;
  font-size: 0.875rem;
}
.why-row-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.why-row-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}
.why-row-text {
  color: #94A3B8;
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Approach Section Styles */
.approach-section {
  padding: 8rem 2rem;
  background-color: var(--light-cloud);
  border-top: 1px solid rgba(100, 116, 139, 0.1);
  border-bottom: 1px solid rgba(100, 116, 139, 0.1);
}
.approach-container {
  max-width: 1200px;
  margin: 0 auto;
}
.approach-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
}
.approach-left .section-label {
  color: var(--primary-blue);
}
.approach-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: var(--deep-navy);
}
.approach-desc {
  color: var(--slate-gray);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.approach-right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.approach-row {
  border-top: 1px solid rgba(100, 116, 139, 0.15);
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
}
.approach-row:last-child {
  border-bottom: 1px solid rgba(100, 116, 139, 0.15);
}
.approach-row-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bright-azure);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-top: 0.2rem;
}
.approach-row-text {
  color: var(--slate-gray);
  font-size: 1rem;
  line-height: 1.5;
}

/* Outcomes Section Styles */
.outcomes-section {
  padding: 8rem 2rem;
  background-color: var(--deep-navy);
  color: var(--white);
}
.outcomes-container {
  max-width: 1200px;
  margin: 0 auto;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
}
.outcomes-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-right: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.outcomes-card:last-child {
  border-right: none;
  padding-right: 0;
}
.outcomes-card-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-accent);
  letter-spacing: 0.05em;
}
.outcomes-card-text {
  color: #94A3B8;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Responsive grid adjustments */
@media (max-width: 992px) {
  .why-grid, .approach-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .outcomes-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
  }
  .outcomes-card:nth-child(even) {
    padding-right: 0;
  }
}
@media (max-width: 576px) {
  .outcomes-grid {
    grid-template-columns: 1fr;
  }
  .outcomes-card {
    padding-right: 0;
  }
  .approach-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* --- LIGHT THEME STYLING OVERRIDES --- */
body.light-theme {
  background-color: var(--white);
  color: var(--deep-navy);
}

body.light-theme header {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(100, 116, 139, 0.1);
}

body.light-theme .hero-section {
  background-color: var(--light-cloud);
  color: var(--deep-navy);
}

body.light-theme .hero-dots {
  background-image: radial-gradient(rgba(45, 86, 167, 0.1) 1.5px, transparent 1.5px);
}

body.light-theme .hero-title {
  color: var(--deep-navy);
}

body.light-theme .hero-subtitle {
  color: var(--slate-gray);
}

body.light-theme .btn-outline {
  color: var(--primary-blue);
  border-color: rgba(45, 86, 167, 0.3);
}

body.light-theme .btn-outline:hover {
  background-color: rgba(45, 86, 167, 0.05);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

body.light-theme .widget-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(100, 116, 139, 0.15);
  box-shadow: 0 20px 45px rgba(15, 31, 61, 0.08);
}

body.light-theme .widget-value {
  color: var(--deep-navy);
}

body.light-theme .widget-label {
  color: var(--slate-gray);
}

body.light-theme .positioning-section {
  background-color: var(--white);
}

body.light-theme .frameworks-section {
  background-color: var(--light-cloud);
  border-top-color: transparent;
}

body.light-theme .services-section {
  background-color: var(--white);
}

body.light-theme .service-card {
  background-color: var(--light-cloud);
  border-color: rgba(100, 116, 139, 0.1);
}

body.light-theme .case-section {
  background-color: var(--light-cloud);
  border-top-color: transparent;
}

body.light-theme .case-card {
  background-color: var(--white);
}

body.light-theme .panel-title {
  color: var(--deep-navy);
}

body.light-theme .panel-stat-num {
  color: var(--deep-navy);
}

body.light-theme .panel-visualization {
  background-color: var(--white);
}

body.light-theme .viz-step {
  background-color: var(--light-cloud);
}


