/* Features bento — ported from features-10 for 3DQARAJ */

.features-bento {
  padding: 8px 0 24px;
}

.features-bento__grid {
  display: grid;
  gap: 16px;
}

.features-bento__card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.features-bento__corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: rgba(200, 200, 208, 0.45);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}

.features-bento__corner--tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.features-bento__corner--tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.features-bento__corner--bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.features-bento__corner--br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.features-bento__head {
  padding: 24px 24px 12px;
}

.features-bento__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  font-weight: 600;
}

.features-bento__kicker .iconify {
  width: 16px;
  height: 16px;
}

.features-bento__title {
  margin: 20px 0 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.95);
}

.features-bento__media {
  position: relative;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.features-bento__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(125% 125% at 50% 0%, transparent 40%, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.75) 125%);
  pointer-events: none;
}

.features-bento__media img {
  display: block;
  width: 100%;
  aspect-ratio: 76 / 59;
  object-fit: cover;
}

.features-bento__media--border img {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.features-bento__wide {
  padding: 28px 24px 32px;
  text-align: center;
}

.features-bento__wide p {
  margin: 0 auto 28px;
  max-width: 520px;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.94);
}

.features-bento__circles {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  overflow: hidden;
}

.features-bento__circle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.features-bento__circle-shell {
  padding: 1px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent);
}

.features-bento__circle-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px;
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.features-bento__dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(200, 200, 208, 0.35);
  margin-left: -10px;
}

.features-bento__dot:first-child { margin-left: 0; }

.features-bento__dot--striped {
  background: repeating-linear-gradient(-45deg, rgba(200, 200, 208, 0.35), rgba(200, 200, 208, 0.35) 1px, transparent 1px, transparent 4px);
}

.features-bento__dot--gold {
  background: repeating-linear-gradient(-45deg, rgba(200, 200, 208, 0.8), rgba(200, 200, 208, 0.8) 1px, transparent 1px, transparent 4px);
}

.features-bento__dot--empty {
  background: transparent;
}

.features-bento__circle-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
}

@media (min-width: 992px) {
  .features-bento__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-bento__card--wide {
    grid-column: span 2;
  }
}

html[data-theme="light"] .features-bento__card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(28, 24, 20, 0.08);
}

html[data-theme="light"] .features-bento__title,
html[data-theme="light"] .features-bento__wide p {
  color: #1c1814;
}

html[data-theme="light"] .features-bento__kicker,
html[data-theme="light"] .features-bento__circle-label {
  color: rgba(28, 24, 20, 0.48);
}
