.feature-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  --fw: 300px;
  --pad: clamp(28px, 3.4vw, 52px);
  gap: 32px;
  padding: var(--pad);
  border-radius: var(--radius-card);
  background:
    radial-gradient(70% 90% at 80% 50%, rgb(148 255 191 / 0.16), transparent 60%),
    linear-gradient(135deg, #161618, #0f2725 60%, #12544f);
  color: #fff;
  overflow: clip;
  --ink-soft: rgb(255 255 255 / 0.62);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 0.06) 1px, transparent 1px) 0 0 / 90px 90px,
    linear-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1px) 0 0 / 90px 90px;
  mask: radial-gradient(70% 70% at 70% 50%, #000, transparent);
  pointer-events: none;
}

.feature-copy {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 18px;
}

.feature-copy h2 {
  max-width: 24ch;
  font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem);
}

.feature-copy > p {
  max-width: 42ch;
  color: rgb(255 255 255 / 0.72);
  font-size: 0.9375rem;
}

.feature-tag {
  background: rgb(148 255 191 / 0.14);
  color: var(--mint);
}

.feature-stage {
  position: relative;
  display: grid;
  place-items: start center;
  align-self: end;
  height: calc(var(--fw) * 16 / 9 * 0.82);
  margin-bottom: calc(var(--pad) * -1);
}

.feature-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(148 255 191 / 0.35), transparent 65%);
  filter: blur(30px);
  animation: pulse-glow 5s ease-in-out infinite;
}

@keyframes pulse-glow {
  50% {
    transform: scale(1.15);
    opacity: 0.7;
  }
}

.feature-frame {
  position: relative;
  width: var(--fw);
  max-width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  background: #000;
  box-shadow:
    0 0 0 8px rgb(255 255 255 / 0.06),
    0 0 0 9px rgb(255 255 255 / 0.12),
    0 50px 100px -30px rgb(0 0 0 / 0.8);
  overflow: hidden;
  transform: rotate(3deg);
  transition: transform 0.8s var(--ease-out);
}

.feature-card:hover .feature-frame {
  transform: rotate(0deg) scale(1.02);
}

.feature-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-live {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(17 17 17 / 0.65);
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.feature-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  animation: ping-dot 1.4s infinite;
}

@keyframes ping-dot {
  50% {
    opacity: 0.25;
  }
}

@media (max-width: 1000px) {
  .feature-card {
    --fw: 240px;
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-stage {
    align-self: auto;
  }
}
