/* -------------------- Bento Feature Cards -------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: auto;
    gap: 1.5rem;
  }
  .bento-grid .bento-card--wide { grid-column: span 4; }
  .bento-grid .bento-card--narrow { grid-column: span 2; }
  .bento-grid .bento-card--half { grid-column: span 3; }
  .bento-grid .bento-card--full { grid-column: span 6; }
}

.bento-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.bento-card-icon {
  width: 48px;
  height: 48px;
  background: var(--tint);
  color: var(--primary-darker);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.bento-card-icon svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.bento-card h3 {
  color: var(--heading);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
}
.bento-card p {
  color: var(--muted-strong);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.bento-card-link {
  margin-top: auto;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.bento-card-link:hover { color: var(--primary); }
.bento-card-link .arrow { transition: transform 0.15s ease; }
.bento-card-link:hover .arrow { transform: translateX(3px); }

/* Bento on dark sections */
.section--dark .bento-card,
.section--dark-glow .bento-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%), var(--dark-elev-1);
  border-color: var(--on-dark-border);
}
.section--dark .bento-card:hover,
.section--dark-glow .bento-card:hover {
  border-color: rgba(45, 212, 191, 0.4);
}
.section--dark .bento-card h3,
.section--dark-glow .bento-card h3 { color: var(--on-dark-heading); }
.section--dark .bento-card p,
.section--dark-glow .bento-card p { color: var(--on-dark-muted); }
.section--dark .bento-card-icon,
.section--dark-glow .bento-card-icon {
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.25);
  color: var(--primary-glow);
}
.section--dark .bento-card-link,
.section--dark-glow .bento-card-link { color: var(--primary-glow); }

