/* Main content - Single integrated flow */
.implementation-content-wrapper {
  display: flex;
  justify-content: center;
  align-items: start;
  flex: 1;
  position: relative;
  z-index: 2;
  padding: 0 20px;
  padding-top: 80px;
}

.implementation-architecture-section {
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.implementation-architecture-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(100, 116, 139, 0.12);
  display: flex;
  flex-direction: column;
  align-self: center;
  width: 100%;
  max-width: 1400px;
}

.implementation-section-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #4338ca;
  margin: 0 0 25px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Enhanced Architecture Flow Styles */
.implementation-architecture-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex: 1;
  gap: 20px;
  padding: 20px 0;
  max-height: fit-content;
}

.implementation-flow-layer {
  width: 300px;
  flex-shrink: 0;
  background: white;
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  position: relative;
  border: 2px solid transparent;
}

.implementation-data-layer {
  border-color: #10b981;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.08),
    rgba(16, 185, 129, 0.03)
  );
}

.implementation-business-layer {
  border-color: #3b82f6;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08),
    rgba(59, 130, 246, 0.03)
  );
}

.implementation-presentation-layer {
  border-color: #ef4444;
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.08),
    rgba(239, 68, 68, 0.03)
  );
}

/* Layer Icons */
.implementation-layer-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.implementation-data-layer .implementation-layer-icon {
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.implementation-business-layer .implementation-layer-icon {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.implementation-presentation-layer .implementation-layer-icon {
  background: linear-gradient(135deg, #ef4444, #f87171);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}

.implementation-flow-layer-title {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  font-size: 1.3em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.implementation-flow-layer-subtitle {
  font-size: 0.9em;
  color: #64748b;
  text-align: center;
  margin-bottom: 24px;
  font-weight: 500;
  padding-bottom: 16px;
  border-bottom: 2px solid #e2e8f0;
}

/* Enhanced Flow Components */
.implementation-flow-components {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  flex: 1;
}

.implementation-flow-component {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(248, 250, 252, 0.9);
  border-radius: 12px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(226, 232, 240, 0.5);
}

/* Technology Icons */
.implementation-tech-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.spring-icon {
  background: linear-gradient(135deg, #6db33f, #8bc34a);
}

.http-icon {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.service-icon {
  background: linear-gradient(135deg, #2196f3, #21cbf3);
}

.mapping-icon {
  background: linear-gradient(135deg, #9c27b0, #e91e63);
}

.angular-icon {
  background: linear-gradient(135deg, #dd0031, #c3002f);
}

.ui-icon {
  background: linear-gradient(135deg, #673ab7, #9c27b0);
}

.implementation-tech-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.implementation-tech-name {
  font-size: 0.95em;
  font-weight: 600;
  color: #334155;
}

.implementation-tech-description {
  font-size: 0.8em;
  color: #64748b;
  font-weight: 500;
}

/* Enhanced Flow Connectors */
.implementation-flow-connector {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  position: relative;
  padding: 0 10px;
}

.implementation-flow-arrow-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  border-radius: 2px;
  position: relative;
}

.implementation-flow-arrow-line::before {
  content: attr(data-label);
  position: absolute;
  top: 25px;
  left: 70%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 600;
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
  white-space: nowrap;
  z-index: 10;
}

.implementation-flow-arrow-head {
  color: #3b82f6;
  margin-left: -4px;
  filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
}
