/* Feature Cards Section */
.feature-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 25px;
  justify-content: center;
}

.feature-card {
  background: #ffffff;
  border-radius: 20px;
  width: 220px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}

.feature-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 12px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin: 10px 0 5px 0;
}

.feature-card p {
  font-size: 0.9rem;
  color: #4b5563; /* gray text */
  line-height: 1.4;
}
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f4f6fb;
}
.header {
  text-align: center;
  padding: 50px 20px;
}
.header .logo {
  width: 60px;
  display: block;
  margin: 0 auto 15px;
}
.architecture-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 0 20px 80px 20px;
}
.layer {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}
.layer:hover {
  transform: translateY(-5px);
}
.layer h2 {
  margin-top: 0;
}
.components {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
}
.component {
  background: #eef2ff;
  border-radius: 15px;
  padding: 20px;
  flex: 1 1 150px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}
.component:hover {
  background: #6366f1;
  color: white;
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.component img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  border-radius: 10px;
  object-fit: cover;
}
.component span {
  display: block;
  font-weight: 500;
  margin-top: 5px;
}
.info-panel {
  position: fixed;
  right: 0;
  top: 0;
  width: 320px;
  height: 100%;
  background: #111827;
  color: white;
  padding: 30px;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
}
.info-panel h3 {
  margin-top: 0;
}
.info-panel p {
  margin-top: 15px;
  line-height: 1.6;
}
/* Horizontal Feature Cards Section */
.feature-cards-horizontal {
  display: flex;
  flex-wrap: wrap;   /* Wrap to next line on smaller screens */
  gap: 20px;         /* Space between cards */
  justify-content: center;
  margin-top: 25px;
}

.feature-cards-horizontal .feature-card {
  background: #ffffff;
  border-radius: 20px;
  width: 200px;        /* Adjust width as needed */
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-cards-horizontal .feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}

.feature-cards-horizontal .feature-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  border-radius: 12px;
  object-fit: cover;
}

.feature-cards-horizontal .feature-card h3 {
  font-size: 1.1rem;
  margin: 8px 0 5px 0;
}

.feature-cards-horizontal .feature-card p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.4;
}