/* -------------------------------------------------------------------
   LUXEFORM — Audit upgrade styles (T2, T5, T8, T9)
   Social proof · Email capture · FAQ CTA · Portfolio filter
   Uses design tokens from index-DG3XsN22.css :root
   ------------------------------------------------------------------- */

/* ── T2: SOCIAL PROOF ─────────────────────────────────────────────── */
.social-proof {
  background: var(--ink);
  color: var(--white);
}
.social-proof .section-heading { align-items: flex-end; }
.social-proof .section-heading .eyebrow,
.social-proof .section-heading h2 em { color: var(--gold-light); }

/* Pricing category labels (Build Once / Keep Growing) */
.pricing-category {
  grid-column: 1 / -1;
  margin-top: 0.6rem;
}
.pricing-category .category-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.testimonial-card {
  background: var(--ink-soft);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.testimonial-stars {
  color: var(--gold-light);
  font-size: 1rem;
  letter-spacing: 0.18em;
}
.testimonial-quote {
  color: #fffdf8cc;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.55;
  margin: 0;
}
.testimonial-author {
  margin-top: auto;
  border-top: 1px solid var(--line-light);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.testimonial-author strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}
.testimonial-author span {
  font-size: 0.72rem;
  color: #fffdf880;
  letter-spacing: 0.04em;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.trust-badge {
  background: var(--ink-soft);
  padding: clamp(1.2rem, 2vw, 1.6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}
.trust-number {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--gold-light);
  line-height: 1;
}
.trust-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fffdf880;
}

/* ── T9: PORTFOLIO FILTER ────────────────────────────────────────── */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: clamp(1.6rem, 3vw, 2.2rem) 0 clamp(1.4rem, 2.5vw, 2rem);
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1.05rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.filter-btn:hover { color: var(--ink); border-color: var(--ink); }
.filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.project[hidden],
.project-pair[hidden] { display: none !important; }

.project-pair {
  transition: opacity 240ms ease, transform 240ms ease;
}
.project-pair.is-filtering {
  opacity: 0;
  transform: translateY(8px);
}

/* ── T8: FAQ CTA ─────────────────────────────────────────────────── */
.faq-cta {
  margin-top: 1.6rem;
  border: 1px solid var(--line);
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  background: #faf6ef;
}
.faq-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── T5: EMAIL CAPTURE MODAL ─────────────────────────────────────── */
.email-capture {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}
.email-capture.is-open {
  opacity: 1;
  pointer-events: auto;
}
.email-capture-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 10, 0.72);
  backdrop-filter: blur(3px);
}
.email-capture-card {
  position: relative;
  background: var(--white);
  color: var(--ink);
  max-width: 460px;
  width: 100%;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.45);
  transform: translateY(16px) scale(0.97);
  transition: transform 260ms ease;
}
.email-capture.is-open .email-capture-card {
  transform: translateY(0) scale(1);
}
.email-capture-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  background: none;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0.2rem;
}
.email-capture-close:hover { color: var(--ink); }
.email-capture-card .eyebrow { color: var(--gold); margin-bottom: 0.8rem; }
.email-capture-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 0.7rem;
  line-height: 1.1;
}
.email-capture-card h3 em { color: var(--gold); }
.email-capture-copy {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 1.3rem;
}
.email-capture-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.email-capture-form label span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.email-capture-form input[type="email"] {
  border: 1px solid var(--line);
  background: #faf6ef;
  padding: 0.8rem 1rem;
  font: inherit;
  color: var(--ink);
}
.email-capture-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
}
.email-capture-form .form-button { width: 100%; justify-content: center; }
.email-capture-note {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin: 0.8rem 0 0;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .trust-badges { grid-template-columns: repeat(2, 1fr); }
}
