@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Poppins:wght@400;600;700&display=swap");
:root {
  --bg-color: #f3f4f6;
  --text-color: #374151;
  --primary-color: #1f2937;
  --secondary-color: #4b5563;
  --accent-color: #3b82f6;
  --card-bg: #ffffff;
  --border-color: #e5e7eb;
}
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Inter", sans-serif;
}
.flowchart-node {
  border: 2px solid var(--border-color);
  background-color: var(--card-bg);
  padding: 1.5rem;
  text-align: center;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-weight: 600;
}
.flowchart-node:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.flowchart-arrow {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.component-card,
.feature-card,
.tab-button {
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.component-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -2px rgb(0 0 0 / 0.05);
}
.tab-button.active {
  background-color: var(--accent-color);
  color: white;
}
.feature-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.feature-card.flipped .feature-card-inner {
  transform: rotateY(180deg);
}
.feature-card-front,
.feature-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
}
.feature-card-back {
  transform: rotateY(180deg);
}
.chart-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  height: 320px;
  max-height: 400px;
}
@media (min-width: 768px) {
  .chart-container {
    height: 400px;
  }
}
