.features-section {
  padding-block: var(--spacing-section-block);
}

.features-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

.features-heading h2 {
  margin: 0 0 9px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.15;
}

.features-heading > p:last-child {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.5;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-width: 0;
  overflow: hidden;
  padding: 0 24px 26px;
  border: 1px solid rgba(220, 232, 245, .14);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(16, 34, 52, .88), rgba(8, 20, 33, .88));
  box-shadow: 0 16px 38px rgba(0, 0, 0, .16), inset 0 1px rgba(255, 255, 255, .045);
  backdrop-filter: blur(10px);
}

.feature-visual {
  position: relative;
  height: 174px;
  margin: 0 -24px 21px;
  overflow: hidden;
  background: #0b1825;
}

.feature-visual > img,
.copy-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-visual-metadata > img {
  object-position: 45% 48%;
}

.feature-visual-metadata::after,
.feature-visual-private::after {
  position: absolute;
  z-index: 1;
  inset: 34% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 13, 21, .18) 29%, rgba(4, 13, 21, .83) 100%);
  content: '';
  pointer-events: none;
}

.metadata-readout {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 13px;
  left: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}

.metadata-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.metadata-tags span {
  color: rgba(255, 255, 255, .88);
  font-size: 10px;
  font-weight: 600;
  text-shadow: 0 1px 7px rgba(0, 0, 0, .55);
}

.metadata-tags span::before {
  margin-right: 4px;
  color: var(--color-accent-gold);
  content: '−';
  font-weight: 800;
}

.metadata-result {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  color: #e9c47f;
  font-size: 10px;
  font-weight: 700;
  text-shadow: 0 1px 7px rgba(0, 0, 0, .65);
}

.metadata-result > span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(243, 187, 85, .18);
  color: #ffe0a0;
  font-size: 11px;
}

.feature-visual-copies {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(243, 187, 85, .11), transparent 68%),
    #0b1825;
}

.copy-photo {
  position: absolute;
  top: 15px;
  bottom: 17px;
  width: 65%;
  overflow: hidden;
  border-radius: 11px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
}

.copy-photo:first-child {
  left: 18px;
}

.copy-photo-clean {
  right: 18px;
  top: 29px;
  bottom: 7px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, .42), 0 0 0 1px rgba(243, 187, 85, .35);
}

.copy-photo img {
  object-position: 50% 55%;
}

.copy-label {
  position: absolute;
  right: 9px;
  bottom: 8px;
  left: 9px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-shadow: 0 1px 9px rgba(0, 0, 0, .9);
}

.copy-photo-clean .copy-label {
  color: #ffe0a0;
}

.copy-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #f3bb55;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .35);
  color: #172331;
  font-size: 14px;
  transform: translate(-50%, -50%);
}

.feature-visual-private > img {
  object-position: 51% 43%;
}

.device-caption {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 13px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f1d79e;
  font-size: 11px;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .75);
}

.device-caption svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  stroke: var(--color-accent-gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .features-heading {
    margin-bottom: 23px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .feature-card {
    padding: 0 20px 21px;
  }

  .feature-visual {
    height: 190px;
    margin: 0 -20px 18px;
  }

  .copy-photo:first-child {
    left: 9%;
  }

  .copy-photo-clean {
    right: 9%;
  }
}
