/**
 * Module pages (templates/feature-*.php + template-parts/feature-page.php)
 * and the Trust page. Namespace: feat-*.
 */

/* ── Hero with framed screenshot ───────────────────────────────────────── */
.feat-hero {
  padding-bottom: 0;
}
.feat-hero-actions {
  margin-top: var(--spacing-lg);
}
.feat-hero-shot {
  max-width: 1100px;
  margin-top: 48px;
  padding-bottom: 0;
  transform: translateZ(0);
}

/* Browser chrome frame around product screenshots */
.feat-browser {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
}
.feat-browser-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-hover);
  border-bottom: 1px solid var(--border-color);
}
.feat-browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
}
.feat-browser-bar span:first-child {
  background: #f87171;
}
.feat-browser-bar span:nth-child(2) {
  background: #fbbf24;
}
.feat-browser-bar span:nth-child(3) {
  background: #34d399;
}
.feat-browser img {
  display: block;
  width: 100%;
  height: auto;
}
.feat-browser--small {
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
}

/* ── Zigzag detail rows ────────────────────────────────────────────────── */
.feat-row {
  display: grid;
  gap: var(--spacing-xl);
  align-items: center;
}
@media (min-width: 900px) {
  .feat-row {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .feat-row--flip .feat-copy {
    order: 2;
  }
  .feat-row--flip .feat-media {
    order: 1;
  }
}
.feat-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}
.feat-copy p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.feat-bullets {
  list-style: none;
  margin: var(--spacing-lg) 0 0;
  padding: 0;
}
.feat-bullets li {
  position: relative;
  padding: 6px 0 6px 30px;
  color: var(--text-secondary);
}
.feat-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-cyan);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3"><path d="M20 6L9 17l-5-5"/></svg>') center / 14px no-repeat, linear-gradient(#fff, #fff);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3"><path d="M20 6L9 17l-5-5"/></svg>') center / 14px no-repeat, linear-gradient(#fff, #fff);
  -webkit-mask-composite: source-out;
  mask-composite: subtract;
}

/* ── Related pages cards ───────────────────────────────────────────────── */
.feat-related-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.feat-related-card h3 {
  font-family: var(--font-heading);
  color: var(--primary-cyan);
  margin-bottom: var(--spacing-sm);
}
.feat-related-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Trust page pillars ────────────────────────────────────────────────── */
.trust-pillar h3 {
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-sm);
}
.trust-pillar .trust-pillar-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-cyan);
  margin-bottom: var(--spacing-sm);
}
.trust-pillar p {
  color: var(--text-secondary);
  line-height: 1.65;
}
