/* USP — form mock, generated funnel, compare & sell-types (WP + AFH) */

/* --- WarriorPlus / JVZoo form & generated mocks --- */
.wp-flow-mock {
  border-radius: 0.85rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  overflow: hidden;
}

.wp-flow-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.82rem;
}

.wp-flow-form-head strong {
  color: #0f172a;
}

.wp-flow-form-head span {
  color: #64748b;
  font-size: 0.72rem;
}

.wp-flow-mock--form {
  padding: 1rem;
}

.wp-flow-field--label {
  height: auto;
  min-height: 0;
  margin-bottom: 0.25rem;
  padding: 0;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wp-flow-field--area {
  min-height: 3rem;
  align-items: flex-start;
  padding-top: 0.65rem;
  line-height: 1.4;
}

.wp-flow-mock--generated {
  padding: 1rem;
}

.wp-flow-generated-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.wp-flow-generated-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #ddd6fe;
  background: #faf5ff;
  color: #4c1d95;
  font-size: 0.68rem;
  font-weight: 700;
}

/* Compare block */
.wp-usp-compare-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .wp-usp-compare-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.wp-usp-compare-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.wp-usp-compare-card h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}

.wp-usp-compare-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wp-usp-compare-card li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #334155;
}

.wp-usp-compare-card--bad {
  border-color: #fecaca;
  background: #fef2f2;
}

.wp-usp-compare-card--bad li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 800;
}

.wp-usp-compare-card--good {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.wp-usp-compare-card--good li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #15803d;
  font-weight: 800;
}

/* Sell types — legacy chips (unused on funnel homepages) */
.wp-usp-sell-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.wp-usp-sell-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

/* Complete Funnel System — landing-page feature parity block */
.af-feature-parity {
  position: relative;
  overflow: hidden;
}

.wp-band--feature-parity {
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 34rem),
    #f8fafc;
}

.af-feature-parity__eyebrow {
  margin: 0 0 0.7rem;
  color: #16a34a;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
}

.af-feature-parity__title,
.af-feature-parity__lead {
  text-align: center;
}

.af-feature-parity__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.9rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.af-feature-parity__card {
  min-height: 100%;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.af-feature-parity__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.75rem;
  border-radius: 0.8rem;
  background: #ecfdf5;
  font-size: 1.15rem;
}

.af-feature-parity__card h3 {
  margin: 0 0 0.45rem;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.af-feature-parity__card p {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.55;
}

.af-feature-parity__audiences {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 1.2rem auto 0;
  max-width: 920px;
}

.af-feature-parity__audiences strong,
.af-feature-parity__audiences span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #fff;
  color: #1e293b;
  font-size: 0.78rem;
  font-weight: 800;
}

.af-feature-parity__audiences strong {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #166534;
}

body.afh-premium .af-feature-parity {
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 197, 94, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 20%, rgba(96, 165, 250, 0.13), transparent 26rem),
    #050a12;
}

body.afh-premium .af-feature-parity__eyebrow {
  color: #86efac;
}

body.afh-premium .af-feature-parity__card {
  border-color: rgba(148, 163, 184, 0.16);
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.48));
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.28);
}

body.afh-premium .af-feature-parity__icon {
  background: rgba(34, 197, 94, 0.12);
}

body.afh-premium .af-feature-parity__card h3 {
  color: #f8fafc;
}

body.afh-premium .af-feature-parity__card p {
  color: #cbd5e1;
}

body.afh-premium .af-feature-parity__audiences strong,
body.afh-premium .af-feature-parity__audiences span {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
}

body.afh-premium .af-feature-parity__audiences strong {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
}

@media (max-width: 640px) {
  .af-feature-parity__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .af-feature-parity__card {
    padding: 0.75rem;
  }

  .af-feature-parity__card p {
    font-size: 0.82rem;
  }

  .af-feature-parity__audiences {
    justify-content: flex-start;
  }
}

/* --- Afripay Funnels (dark theme) --- */
body.afh-premium .afh-flow-mock {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #081120;
  overflow: hidden;
}

body.afh-premium .afh-flow-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

body.afh-premium .afh-flow-form-head span {
  color: var(--afh-muted);
  font-size: 12px;
  font-weight: 500;
}

body.afh-premium .afh-flow-mock--form {
  padding: 18px;
}

body.afh-premium .afh-flow-field--label {
  height: auto;
  min-height: 0;
  margin-bottom: 4px;
  padding: 0;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.afh-premium .afh-flow-field--area {
  min-height: 52px;
  align-items: flex-start;
  padding-top: 12px;
  line-height: 1.45;
}

body.afh-premium .afh-flow-mock--generated {
  padding: 18px;
}

body.afh-premium .afh-flow-generated-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.afh-premium .afh-flow-generated-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.08);
  color: #4ade80;
  font-size: 12px;
  font-weight: 700;
}

/* Audience grid (afripayfunnels + easyfunnel + salesfunnel) */
.af-usp-sell-types {
  --sell-accent: #4ade80;
  --sell-accent-soft: rgba(74, 222, 128, 0.14);
  --sell-surface: rgba(15, 23, 42, 0.72);
  --sell-border: rgba(148, 163, 184, 0.16);
  position: relative;
  padding: clamp(64px, 8vw, 96px) 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #030712 0%, #0a0f1a 48%, #050a12 100%);
  border-block: 1px solid rgba(148, 163, 184, 0.1);
}

.af-usp-sell-types__bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 60% at 8% 0%, rgba(34, 197, 94, 0.18), transparent 58%),
    radial-gradient(ellipse 70% 55% at 92% 100%, rgba(99, 102, 241, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(34, 197, 94, 0.06), transparent 70%);
}

.af-usp-sell-types__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 20%, transparent 78%);
}

.af-usp-sell-types__inner,
body.afh-premium .afh-usp-sell-types .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}

.af-usp-sell-types__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.af-usp-sell-types__eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 8px 18px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.08);
  color: #4ade80;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.af-usp-sell-types__title,
body.afh-premium .afh-usp-sell-types .afh-section-title {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 14px;
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #f8fafc;
  text-align: center;
}

.af-usp-sell-types__title span {
  display: inline;
  background: linear-gradient(90deg, #4ade80 0%, #facc15 48%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.af-usp-sell-types__sub,
body.afh-premium .afh-usp-sell-types .afh-section-sub {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.65;
  color: #94a3b8;
  text-align: center;
}

.af-usp-sell-grid-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.af-usp-sell-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 18px);
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
}

.af-usp-sell-card {
  position: relative;
  min-width: 0;
  height: 100%;
  transition: transform 0.22s ease;
}

.af-usp-sell-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  min-height: 168px;
  padding: 20px 18px 18px;
  border-radius: 18px;
  border: 1px solid var(--sell-border);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 24%, var(--sell-surface) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 32px rgba(2, 6, 23, 0.35);
  text-align: left;
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.af-usp-sell-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sell-accent), transparent 85%);
  opacity: 0.9;
}

.af-usp-sell-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--sell-accent-soft);
  border: 1px solid color-mix(in srgb, var(--sell-accent) 35%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.af-usp-sell-card__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.af-usp-sell-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.af-usp-sell-card__desc {
  margin: 0;
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Per-audience accent colors */
.af-usp-sell-card--digital-products { --sell-accent: #4ade80; --sell-accent-soft: rgba(74, 222, 128, 0.14); }
.af-usp-sell-card--coaches-consultants { --sell-accent: #60a5fa; --sell-accent-soft: rgba(96, 165, 250, 0.14); }
.af-usp-sell-card--freelancers { --sell-accent: #a78bfa; --sell-accent-soft: rgba(167, 139, 250, 0.14); }
.af-usp-sell-card--marketing-agencies { --sell-accent: #f472b6; --sell-accent-soft: rgba(244, 114, 182, 0.14); }
.af-usp-sell-card--service-providers { --sell-accent: #38bdf8; --sell-accent-soft: rgba(56, 189, 248, 0.14); }
.af-usp-sell-card--ecommerce-sellers { --sell-accent: #fb923c; --sell-accent-soft: rgba(251, 146, 60, 0.14); }
.af-usp-sell-card--real-estate { --sell-accent: #34d399; --sell-accent-soft: rgba(52, 211, 153, 0.14); }
.af-usp-sell-card--schools-training { --sell-accent: #818cf8; --sell-accent-soft: rgba(129, 140, 248, 0.14); }
.af-usp-sell-card--churches-ministries { --sell-accent: #fbbf24; --sell-accent-soft: rgba(251, 191, 36, 0.14); }
.af-usp-sell-card--event-organizers { --sell-accent: #f87171; --sell-accent-soft: rgba(248, 113, 113, 0.14); }
.af-usp-sell-card--affiliate-marketers { --sell-accent: #facc15; --sell-accent-soft: rgba(250, 204, 21, 0.14); }
.af-usp-sell-card--local-businesses { --sell-accent: #2dd4bf; --sell-accent-soft: rgba(45, 212, 191, 0.14); }

.af-usp-sell-card:hover,
.af-usp-sell-card:focus-within {
  transform: translateY(-4px);
}

.af-usp-sell-card:hover .af-usp-sell-card__body,
.af-usp-sell-card:focus-within .af-usp-sell-card__body {
  border-color: color-mix(in srgb, var(--sell-accent) 45%, rgba(148, 163, 184, 0.2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 40px rgba(2, 6, 23, 0.45),
    0 0 0 1px color-mix(in srgb, var(--sell-accent) 18%, transparent);
}

/* USD funnel homepages */
body.wp-home .wp-band--sell-types.af-usp-sell-types {
  background: linear-gradient(180deg, #07011b 0%, #0c0624 50%, #07011b 100%);
  border-block-color: rgba(168, 85, 247, 0.12);
}

body.wp-home .af-usp-sell-types__bg {
  background:
    radial-gradient(ellipse 85% 60% at 12% 0%, rgba(147, 51, 234, 0.22), transparent 58%),
    radial-gradient(ellipse 70% 55% at 88% 100%, rgba(250, 204, 21, 0.12), transparent 55%),
    radial-gradient(ellipse 45% 35% at 50% 50%, rgba(236, 72, 153, 0.08), transparent 70%);
}

body.wp-home .af-usp-sell-types .wp-section__title,
body.wp-home .af-usp-sell-types .af-usp-sell-types__title {
  color: #f8fafc !important;
}

body.wp-home .af-usp-sell-types .wp-section__lead,
body.wp-home .af-usp-sell-types .af-usp-sell-types__sub {
  color: #cbd5e1 !important;
}

body.wp-home .af-usp-sell-types__eyebrow {
  color: #fde047;
  border-color: rgba(250, 204, 21, 0.4);
  background: rgba(250, 204, 21, 0.08);
}

body.wp-home .af-usp-sell-types__title span {
  background: linear-gradient(90deg, #fde047 0%, #f472b6 52%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

@media (max-width: 1024px) {
  .af-usp-sell-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .af-usp-sell-types {
    padding: 52px 0;
  }

  .af-usp-sell-types__header {
    margin-bottom: 24px;
  }

  .af-usp-sell-types__title span {
    display: block;
    margin-top: 0.1em;
  }

  .af-usp-sell-types__sub,
  body.afh-premium .afh-usp-sell-types .afh-section-sub {
    padding: 0 4px;
  }

  .af-usp-sell-card__body {
    min-height: 0;
    padding: 18px 16px;
  }

  .af-usp-sell-card__title {
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .af-usp-sell-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .af-usp-sell-card__body {
    padding: 14px 12px;
    min-height: 0;
  }

  .af-usp-sell-card__title {
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .af-usp-sell-card,
  .af-usp-sell-card__body {
    transition: none;
  }
}
