/* ── Features page ── */

/* Section divider label */
.feat-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 52px 0 24px;
}

.feat-section-label:first-child {
  margin-top: 0;
}

.feat-section-label h2 {
  font-family: "ITC Avant Garde Gothic", "Avant Garde", "Century Gothic", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--owl-navy);
  margin: 0;
  white-space: nowrap;
}

.feat-section-label-line {
  flex: 1;
  height: 1px;
  background: rgba(51, 46, 68, 0.1);
}

/* ── Settings section ── */

.feat-settings-wrap {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  overflow: hidden;
}

.feat-settings-header {
  padding: 22px 28px 18px;
  border-bottom: 1px solid rgba(51, 46, 68, 0.07);
  display: flex;
  align-items: center;
  gap: 14px;
}

.feat-settings-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(179, 161, 240, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #9b82e8;
}

.feat-settings-header h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--owl-navy);
}

.feat-settings-header p {
  font-size: 13px;
  color: var(--owl-muted);
  margin: 0;
}

.feat-setting-row {
  display: flex;
  gap: 16px;
  padding: 18px 28px;
  border-top: 1px solid rgba(51, 46, 68, 0.06);
  align-items: flex-start;
}

.feat-setting-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(170, 216, 179, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #4aaa72;
  margin-top: 1px;
}

.feat-setting-icon--purple {
  background: rgba(179, 161, 240, 0.2);
  color: #9b82e8;
}

.feat-setting-body h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 5px;
  color: var(--owl-navy);
}

.feat-setting-body p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--owl-muted);
  margin: 0;
}

/* ── Feature thumbnail ── */

.sec-card-body {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sec-card-body p {
  flex: 1;
  min-width: 0;
}

.feat-thumb {
  flex-shrink: 0;
  width: 68px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 18px -4px rgba(51, 46, 68, 0.18);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  line-height: 0;
  position: relative;
  background: none;
  padding: 0;
  align-self: flex-start;
}

.feat-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 0;
}

.feat-thumb img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
}

.feat-thumb:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 26px -4px rgba(51, 46, 68, 0.26);
}

/* Settings row thumbnail */

.feat-setting-row-with-thumb {
  align-items: flex-start;
}

.feat-thumb--sm {
  width: 56px;
  border-radius: 10px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── Inline screenshot link ── */

.feat-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 12px 6px 10px;
  color: #7c62d6;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid rgba(124, 98, 214, 0.25);
  background: rgba(124, 98, 214, 0.06);
  border-radius: 8px;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.feat-link:hover {
  background: rgba(124, 98, 214, 0.12);
  border-color: rgba(124, 98, 214, 0.4);
}

/* ── Feature lightbox (single image, no nav) ── */

.feat-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(20, 16, 32, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
}

.feat-lightbox.open {
  display: flex;
}

.feat-lightbox-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-lightbox-img-wrap img {
  max-height: calc(100vh - 100px);
  max-width: min(340px, 80vw);
  width: auto;
  display: block;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 40px 80px -16px rgba(0, 0, 0, 0.6);
}

.feat-lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 1000;
}

.feat-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .feat-settings-header,
  .feat-setting-row {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 500px) {
  .feat-section-label h2 {
    font-size: 18px;
  }
}
