/* =========================================================
   Features Section — product cards with UI previews
   ========================================================= */

.feat-section {
  width: min(980px, calc(100vw - 48px));
  margin-inline: auto;
  padding-top: 196px;
  position: relative;
}

.feat-section .section-head {
  width: min(700px, 100%);
  margin-bottom: 32px;
}

/* Eyebrow with lens bullet */
.feat-section .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feat-section .eyebrow .feat-lens {
  width: 16px;
  height: 7px;
  flex-shrink: 0;
}

.feat-section .eyebrow .feat-lens ellipse {
  fill: #050505;
}

/* Two-column card grid */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Product card */
.feat-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 2px rgba(0, 6, 20, 0.04),
    0 8px 24px -12px rgba(0, 6, 20, 0.08);
}

.feat-card-content {
  margin-bottom: 24px;
}

.feat-card-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
}

.feat-card-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* Mini UI preview container */
.feat-preview {
  flex: 1;
  min-height: 180px;
  padding: 16px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mini website preview */
.mini-site {
  width: 100%;
  max-width: 280px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 6, 20, 0.08);
  border: 1px solid var(--border);
}

.mini-site-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--soft);
  border-bottom: 1px solid var(--border);
}

.mini-site-dots {
  display: flex;
  gap: 4px;
}

.mini-site-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-strong);
}

.mini-site-url {
  flex: 1;
  height: 14px;
  margin: 0 8px;
  padding: 0 8px;
  border-radius: 3px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 8px;
  line-height: 12px;
  color: var(--muted-light);
  text-align: center;
}

.mini-site-body {
  padding: 12px;
  min-height: 120px;
  position: relative;
}

.mini-site-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.mini-site-line {
  height: 6px;
  background: var(--border);
  border-radius: 2px;
}

.mini-site-line:nth-child(2) { width: 85%; }
.mini-site-line:nth-child(3) { width: 60%; }

/* Ad banner inside mini site */
.mini-ad-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #1C1C1E;
  border-radius: 6px;
  color: #fff;
}

.mini-ad-image {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #fff;
  flex-shrink: 0;
}

.mini-ad-text {
  flex: 1;
  min-width: 0;
}

.mini-ad-headline {
  display: block;
  width: 70px;
  height: 6px;
  background: #fff;
  border-radius: 2px;
  margin-bottom: 6px;
}

.mini-ad-cta {
  display: inline-block;
  padding: 4px 8px;
  background: #E2F542;
  border-radius: 3px;
  font-size: 7px;
  font-weight: 600;
  color: #050505;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.mini-ad-label {
  font-size: 6px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

/* Mini newsletter preview */
.mini-newsletter {
  width: 100%;
  max-width: 260px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 6, 20, 0.08);
  border: 1px solid var(--border);
}

.mini-nl-header {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-nl-logo {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--brand-ink);
}

.mini-nl-title {
  flex: 1;
  height: 8px;
  background: var(--border-strong);
  border-radius: 2px;
  max-width: 80px;
}

.mini-nl-body {
  padding: 12px 14px;
}

.mini-nl-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.mini-nl-line {
  height: 5px;
  background: var(--border);
  border-radius: 2px;
}

.mini-nl-line:nth-child(2) { width: 90%; }
.mini-nl-line:nth-child(3) { width: 75%; }
.mini-nl-line:nth-child(4) { width: 85%; }

/* Sponsored slot in newsletter */
.mini-nl-ad {
  padding: 10px;
  background: var(--soft);
  border: 1px dashed var(--border-strong);
  border-radius: 6px;
}

.mini-nl-ad-tag {
  display: block;
  font-size: 7px;
  font-weight: 500;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.mini-nl-ad-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-nl-ad-img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: #1C1C1E;
  flex-shrink: 0;
}

.mini-nl-ad-text {
  flex: 1;
}

.mini-nl-ad-hl {
  display: block;
  width: 60px;
  height: 5px;
  background: var(--border-strong);
  border-radius: 2px;
  margin-bottom: 4px;
}

.mini-nl-ad-cta {
  display: inline-block;
  padding: 3px 6px;
  background: #E2F542;
  border-radius: 2px;
  font-size: 6px;
  font-weight: 600;
  color: #050505;
  text-transform: uppercase;
}

/* CTAs */
.feat-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.feat-cta-label {
  color: var(--muted);
  font-size: 14px;
  margin-right: auto;
}

/* Tablet */
@media (max-width: 900px) {
  .feat-grid {
    gap: 16px;
  }
  
  .feat-card {
    padding: 24px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .feat-section {
    width: calc(100vw - 32px);
    padding-top: 140px;
  }
  
  .feat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .feat-card {
    padding: 22px;
  }
  
  .feat-card-title {
    font-size: 18px;
  }
  
  .feat-card-desc {
    font-size: 14px;
  }
  
  .feat-preview {
    min-height: 160px;
    padding: 14px;
  }
  
  .feat-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 28px;
    padding-top: 24px;
  }
  
  .feat-cta-label {
    text-align: center;
    margin-right: 0;
    margin-bottom: 4px;
  }
  
  .feat-cta .btn {
    justify-content: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .feat-card {
    transition: none;
  }
}
