/* Section background */
.feature-preview {
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  background: radial-gradient(circle at 30% 30%, #b2f2bbff, #3f7f3fff 80%);
}

/* Headings */
.feature-eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 8px;
}

.feature-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 12px;
}

.feature-sub {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

/* Card stack container */
.card-stack {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  height: 320px;
}

/* Cards */
.feature-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  color: #222;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.25);
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.feature-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Button */
.add-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  font-weight: 600;
  background: #562415;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s;
}
.add-btn:hover {
  background: #6c2b19;
}

/* Card container */
.feature-preview .feature-card {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 20px;
  color: #1d1d1f;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  transition: transform 0.35s ease, opacity 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Title row: text left, icon right */
.feature-preview .feature-card h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  display: inline-block;
}

.feature-preview .card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* Icon circle */
.feature-preview .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff; /* white icon text if you keep emoji or letters */
}

/* Paragraph */
.feature-preview .feature-card p {
  margin: 0 0 12px;
  line-height: 1.5;
}

/* Classifier chips (levels, statuses) */
.feature-preview .chip {
  display: inline-block;
  padding: 6px 12px;
  margin: 4px 6px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  color: #fff;
}

/* Example color variants */
.feature-preview .chip.orange { background: #f97316; }   /* ferritin */
.feature-preview .chip.green  { background: #16a34a; }   /* good */
.feature-preview .chip.blue   { background: #2563eb; }   /* info */
.feature-preview .chip.red    { background: #dc2626; }   /* alert */

/* Button */
.feature-preview .add-btn {
  margin-top: auto;
  width: 100%;
  padding: 14px 18px;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  background: #ffd06e;
  color: #543600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
  transition: background 0.25s ease, transform 0.1s ease;
}
.feature-preview .add-btn:hover { background: #ffd98c; }
.feature-preview .add-btn:active { transform: translateY(1px); }
