/* ========================================================
   SECTION: SAP POST-IMPLEMENTATION & DATA INTELLIGENCE
   Enterprise Multi-Tab Command Center (Idea 1)
   ======================================================== */

.enterprise-services-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 60%, #FFFFFF 100%);
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow-x: hidden;
  max-width: 100%;
}

.enterprise-services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.05) 0%, rgba(16, 42, 107, 0) 70%);
  pointer-events: none;
}

/* Header Tagline Pill */
.tagline-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 163, 255, 0.08);
  border: 1px solid rgba(0, 163, 255, 0.25);
  color: var(--primary-navy);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 14px;
}

.tagline-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-cyan);
}

/* ========================================================
   COMMAND CENTER MULTI-TAB CONTAINER
   ======================================================== */

.command-center-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 10px 32px -6px rgba(16, 42, 107, 0.08);
  overflow: hidden;
  margin-bottom: 40px;
}

/* Tab Navigation Bar */
.command-tabs-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.command-tab-btn {
  background: transparent;
  border: none;
  border-right: 1px solid #E2E8F0;
  border-bottom: 3px solid transparent;
  padding: 16px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.22s ease;
  text-align: left;
}

.command-tab-btn:last-child {
  border-right: none;
}

.command-tab-btn:hover {
  background: #FFFFFF;
}

.command-tab-btn.active {
  background: #FFFFFF;
  border-bottom-color: var(--primary-cyan);
  box-shadow: inset 0 -2px 0 var(--primary-cyan);
}

.tab-btn-num {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
  background: #E2E8F0;
  color: #475569;
  transition: all 0.22s ease;
}

.command-tab-btn.active .tab-btn-num {
  background: var(--primary-navy);
  color: #FFFFFF;
}

.tab-btn-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #64748B;
  letter-spacing: -0.01em;
  transition: all 0.22s ease;
}

.command-tab-btn.active .tab-btn-text {
  color: var(--primary-navy);
  font-weight: 800;
}

/* Tab Panels */
.command-tab-panel {
  display: none;
  padding: 32px 30px;
  animation: tabFadeIn 0.25s ease-in-out;
}

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

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

.panel-intro-header {
  margin-bottom: 24px;
}

.panel-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0, 163, 255, 0.08);
  border: 1px solid rgba(0, 163, 255, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.enterprise-services-section .section-subtitle {
  color: #334155;
  font-weight: 500;
}

.panel-subtitle {
  font-size: 13.5px;
  color: #334155;
  margin: 0;
  line-height: 1.45;
  font-weight: 500;
}

/* ========================================================
   TAB 1: THE POST-GO-LIVE REALITY CARDS
   ======================================================== */

.reality-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.reality-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-top: 4px solid #CBD5E1;
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 4px 14px -2px rgba(16, 42, 107, 0.04);
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
}

.reality-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -4px rgba(16, 42, 107, 0.09);
}

.reality-card.card-inconsistency {
  border-top-color: #F59E0B;
}

.reality-card.card-reporting {
  border-top-color: var(--primary-cyan);
}

.reality-card.card-inventory {
  border-top-color: #EF4444;
}

.reality-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.reality-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-navy);
}

.reality-card.card-inconsistency .reality-icon-wrap {
  background: rgba(245, 158, 11, 0.12);
  color: #B45309;
}

.reality-card.card-reporting .reality-icon-wrap {
  background: rgba(0, 163, 255, 0.12);
  color: #0077CC;
}

.reality-card.card-inventory .reality-icon-wrap {
  background: rgba(239, 68, 68, 0.12);
  color: #DC2626;
}

.reality-card-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.01em;
}

.reality-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex-grow: 1;
}

.reality-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
  font-weight: 500;
}

.reality-bullet-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========================================================
   TAB 2: 7-STEP SOLUTION PIPELINE
   ======================================================== */

/* ========================================================
   TAB 2: 7-STEP SOLUTION PIPELINE CARDS
   ======================================================== */

.pipeline-wrapper-inside {
  background: transparent;
}

.pipeline-track-container {
  position: relative;
  padding: 10px 0 16px;
  margin-bottom: 24px;
}

/* Connecting rail running behind all 7 nodes */
.pipeline-track-container::before {
  content: '';
  position: absolute;
  top: 33px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, #E2E8F0 0%, #00A3FF 50%, #102A6B 100%);
  z-index: 1;
}

.pipeline-stepper {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  position: relative;
  z-index: 2;
}

.pipeline-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.pipeline-node-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  box-shadow: 0 4px 12px rgba(16, 42, 107, 0.06);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.pipeline-step-node:hover .pipeline-node-icon {
  border-color: var(--primary-cyan);
  color: #0077CC;
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(0, 163, 255, 0.25);
}

.pipeline-step-card {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-top: 3px solid var(--primary-cyan);
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 82px;
  box-shadow: 0 3px 10px -2px rgba(16, 42, 107, 0.04);
  transition: all 0.25s ease;
}

.pipeline-step-node:hover .pipeline-step-card {
  border-color: #CBD5E1;
  border-top-color: var(--primary-navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -4px rgba(16, 42, 107, 0.1);
}

.pipeline-step-num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(0, 163, 255, 0.09);
  color: #0077CC;
  border: 1px solid rgba(0, 163, 255, 0.2);
  white-space: nowrap;
}

.pipeline-step-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* Forward arrow chevron between desktop nodes */
.pipeline-connector-arrow {
  position: absolute;
  right: -9px;
  top: 16px;
  z-index: 3;
  color: #94A3B8;
  background: #FFFFFF;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid #E2E8F0;
  pointer-events: none;
}

/* Executive Value Equation / ROI Ribbon */
.pipeline-formula-ribbon {
  background: linear-gradient(135deg, #0A192F 0%, #102A6B 100%);
  color: #FFFFFF;
  border-radius: 14px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 24px -4px rgba(10, 25, 47, 0.16);
  border: 1px solid rgba(0, 163, 255, 0.2);
}

.formula-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #00D2FF;
  text-transform: uppercase;
  flex-shrink: 0;
}

.formula-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.formula-pill {
  font-size: 12px;
  font-weight: 700;
  color: #F1F5F9;
  background: rgba(255, 255, 255, 0.08);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.formula-pill.accent {
  background: rgba(0, 163, 255, 0.18);
  color: #70D6FF;
  border-color: rgba(0, 163, 255, 0.4);
}

.formula-pill.highlight {
  background: linear-gradient(90deg, #00A3FF, #00D2FF);
  color: #0A192F;
  font-weight: 800;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 163, 255, 0.3);
}

.formula-arrow {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  font-weight: 700;
}

/* ========================================================
   TAB 3: SERVICE OFFERINGS & SUPPLY CHAIN FLOW
   ======================================================== */

.offerings-row-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.offerings-row-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.offering-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px 18px;
  box-shadow: 0 4px 14px -2px rgba(16, 42, 107, 0.04);
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
}

.offering-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-cyan);
  box-shadow: 0 10px 20px -4px rgba(16, 42, 107, 0.09);
}

.offering-card.featured-flow-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
  border-color: rgba(0, 163, 255, 0.35);
}

.offering-icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.offering-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 163, 255, 0.1);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.offering-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.offering-desc {
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
  margin: 0;
  font-weight: 500;
}

.offering-bullet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin-top: 10px;
}

.offering-point {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
}

.offering-flow-intro {
  font-size: 12px;
  color: #334155;
  margin-bottom: 6px;
  font-weight: 500;
}

.flow-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 6px 0 10px;
}

.flow-chip {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: var(--primary-navy);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.flow-chip:hover,
.flow-chip.active {
  background: #0A1C47;
  color: #FFFFFF;
  border-color: #0A1C47;
}

.flow-arrow {
  color: #94A3B8;
  font-size: 12px;
  font-weight: bold;
}

.flow-stage-detail {
  background: #F1F5F9;
  border-left: 3px solid var(--primary-cyan);
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  font-size: 12px;
  color: #334155;
  line-height: 1.45;
  margin-top: auto;
}

/* ========================================================
   TAB 4: ASSURANCE & SAP TECHNOLOGY STACK
   ======================================================== */

.assurance-tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.assurance-box {
  background: #0A1C47;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: 0 10px 24px -5px rgba(10, 28, 71, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.assurance-box h4,
.assurance-box .assurance-title {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.assurance-box p {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.45;
  margin-bottom: 16px;
}

.assurance-steps-row {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.assurance-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.assurance-step-item span.icon-badge {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(0, 163, 255, 0.2);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 800;
  flex-shrink: 0;
}

.assurance-motto {
  margin-top: 16px;
  font-size: 12.5px;
  color: #38BDF8;
  font-weight: 700;
  font-style: italic;
  text-align: right;
}

.tech-stack-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: 0 4px 14px -2px rgba(16, 42, 107, 0.04);
  display: flex;
  flex-direction: column;
}

.tech-stack-box h4,
.tech-stack-box .tech-stack-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.tech-stack-box p {
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
  margin-bottom: 16px;
  font-weight: 500;
}

.tech-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: auto;
}

.tech-tool-card {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.tech-tool-card:hover {
  background: #FFFFFF;
  border-color: var(--primary-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 163, 255, 0.12);
}

.tech-tool-card span.tool-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 10px;
  color: var(--primary-navy);
  flex-shrink: 0;
}

.tech-tool-info {
  display: flex;
  flex-direction: column;
}

.tech-tool-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.tech-tool-sub {
  font-size: 10.5px;
  color: #334155;
  font-weight: 500;
}

/* ========================================================
   B2B CONSULTATION CTA BANNER
   ======================================================== */

.enterprise-cta-banner {
  background: linear-gradient(135deg, #0A1C47 0%, #102A6B 100%);
  border-radius: 14px;
  padding: 30px 28px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 16px 36px -10px rgba(10, 28, 71, 0.35);
}

.enterprise-cta-text h3 {
  font-size: 19px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.enterprise-cta-text p {
  font-size: 13.5px;
  color: #CBD5E1;
  margin: 0;
  line-height: 1.45;
}

.enterprise-cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ========================================================
   RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   ======================================================== */

@media (max-width: 1024px) {
  .command-tab-btn {
    padding: 14px 10px;
    gap: 6px;
  }
  .tab-btn-text {
    font-size: 12px;
  }
  .reality-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .offerings-row-four {
    grid-template-columns: repeat(2, 1fr);
  }
  .offerings-row-three {
    grid-template-columns: 1fr;
  }
  .pipeline-track-container::before {
    display: none;
  }
  .pipeline-stepper {
    grid-template-columns: repeat(4, 1fr);
  }
  .pipeline-connector-arrow {
    display: none;
  }
  .pipeline-formula-ribbon {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .formula-flow {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .enterprise-services-section {
    padding: 50px 0;
  }

  .command-tabs-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .command-tab-btn {
    border-bottom: 1px solid #E2E8F0;
    padding: 12px 10px;
    justify-content: flex-start;
  }

  .command-tab-btn:nth-child(2) {
    border-right: none;
  }

  .command-tab-btn.active {
    border-bottom-color: var(--primary-cyan);
  }

  .tab-btn-text {
    font-size: 12px;
  }

  .command-tab-panel {
    padding: 20px 14px;
  }

  .reality-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Mobile Connected Stepper in Tab 2 */
  .pipeline-track-container {
    padding: 8px 0 16px;
    margin-bottom: 16px;
    position: relative;
  }

  /* Vertical connecting rail running cleanly down the center of 44px icon circles (center at 22px) */
  .pipeline-track-container::before {
    display: block;
    top: 24px;
    bottom: 24px;
    left: 21px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, #00A3FF 0%, #102A6B 100%);
    z-index: 1;
  }

  .pipeline-stepper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 2;
  }

  .pipeline-step-node {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
    position: relative;
    z-index: 2;
  }

  .pipeline-node-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(16, 42, 107, 0.08);
  }

  .pipeline-step-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 12px 16px;
    min-height: auto;
    flex-grow: 1;
    border: 1px solid #E2E8F0;
    border-left: 4px solid var(--primary-cyan);
    border-top: 1px solid #E2E8F0;
    border-radius: 10px;
    gap: 6px;
    background: #FFFFFF;
    box-shadow: 0 2px 8px -2px rgba(16, 42, 107, 0.04);
  }

  .pipeline-step-num {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 10px;
    background: rgba(0, 163, 255, 0.09);
    color: #0077CC;
    border: 1px solid rgba(0, 163, 255, 0.2);
    margin-bottom: 0;
    align-self: flex-start;
  }

  .pipeline-step-title {
    font-size: 14px;
    line-height: 1.3;
  }

  .pipeline-connector-arrow {
    display: none;
  }

  .pipeline-formula-ribbon {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 14px;
  }

  .formula-badge {
    font-size: 10.5px;
  }

  .formula-flow {
    justify-content: flex-start;
    gap: 6px;
  }

  .formula-pill {
    font-size: 11.5px;
    padding: 4px 10px;
  }

  /* Offerings in Tab 3 */
  .offerings-row-four,
  .offerings-row-three {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Assurance in Tab 4 */
  .assurance-tech-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tech-tools-grid {
    grid-template-columns: 1fr;
  }

  /* CTA Banner Mobile */
  .enterprise-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 22px 16px;
    gap: 16px;
  }

  .enterprise-cta-actions {
    width: 100%;
  }

  .enterprise-cta-actions a {
    width: 100%;
    justify-content: center;
  }
}
