/* System Architecture Section */
.system-architecture {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.architecture-diagrams {
  display: grid;
  gap: 40px;
  margin-top: 50px;
}

.architecture-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.architecture-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.arch-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.arch-icon {
  font-size: 24px;
  color: #ff9900;
  background: #fff3e0;
  padding: 15px;
  border-radius: 50%;
  min-width: 50px;
  text-align: center;
}

.arch-header h3 {
  margin: 0;
  color: #232f3e;
  font-size: 1.5em;
}

.arch-header p {
  margin: 5px 0 0 0;
  color: #666;
  font-size: 0.9em;
}

.arch-image-container {
  position: relative;
  margin: 20px 0;
  border-radius: 15px;
  overflow: hidden;
  background: #f8f9fa;
}

.arch-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.arch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(35, 47, 62, 0.95);
  color: white;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.architecture-card:hover .arch-overlay {
  opacity: 1;
}

.arch-details h4 {
  margin-bottom: 15px;
  color: #ff9900;
  font-size: 1.2em;
}

.arch-details ul {
  list-style: none;
  padding: 0;
}

.arch-details li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.arch-details li:before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #ff9900;
}

.arch-algorithms {
  margin-top: 20px;
}

.arch-algorithms h4 {
  margin-bottom: 15px;
  color: #232f3e;
  font-size: 1.1em;
}

.algo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.algo-tag {
  background: linear-gradient(135deg, #ff9900, #ffb84d);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(255, 153, 0, 0.3);
}

.system-metrics {
  margin-top: 60px;
  text-align: center;
}

.system-metrics h3 {
  margin-bottom: 30px;
  color: #232f3e;
  font-size: 2em;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.metric-card {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
}

.metric-value {
  font-size: 2.5em;
  font-weight: 700;
  color: #ff9900;
  margin-bottom: 10px;
}

.metric-label {
  color: #666;
  font-size: 1em;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .arch-header {
    flex-direction: column;
    text-align: center;
  }
  
  .algo-tags {
    justify-content: center;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .metric-value {
    font-size: 2em;
  }
}