/* ─── AI USP section ─────────────────────────────────────────────────────── */

/* Scroll-reveal */
.ps-ai-usp__table-wrap,
.ps-ai-usp__card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.ps-ai-usp__table-wrap.ps-reveal,
.ps-ai-usp__card.ps-reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ps-ai-usp__table-wrap,
  .ps-ai-usp__card { opacity: 1; transform: none; transition: none; }
}

.ps-ai-usp {
  padding: var(--sp-80) 0;
  background: var(--bg-page);
  margin-top: -20px;
}

.ps-ai-usp__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Eyebrow */
.ps-ai-usp__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  font-family: var(--fb);
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-16);
}

.ps-ai-usp__eyebrow svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Headline */
.ps-ai-usp__h2 {
  font-family: var(--fd);
  font-size: clamp(var(--fs-22), 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-12);
}

.ps-ai-usp__h2 em {
  font-style: normal;
  color: var(--blue);
}

.ps-ai-usp__sub {
  font-family: var(--fb);
  font-size: var(--fs-16);
  color: var(--muted);
  text-align: center;
  max-width: 520px;
  margin: 0 auto var(--sp-48);
  line-height: 1.65;
}

/* Comparison table */
.ps-ai-usp__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--sp-48);
}

.ps-ai-usp__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-12);
  overflow: hidden;
}

.ps-ai-usp__table th {
  font-family: var(--fb);
  font-size: var(--fs-13);
  font-weight: 600;
  padding: var(--sp-16) var(--sp-20);
  text-align: center;
  background: #FAF8F5;
  color: var(--muted);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.ps-ai-usp__table th:first-child {
  text-align: left;
  color: var(--label);
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* PubScout column highlight */
.ps-ai-usp__table th.ps-col {
  background: var(--mint-bg);
  color: var(--mint);
  border-bottom-color: var(--mint-bg);
}

.ps-ai-usp__table td {
  padding: var(--sp-12) var(--sp-20);
  font-size: var(--fs-13);
  color: var(--muted);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  background: #FAF8F5;
}

.ps-ai-usp__table td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 500;
}

.ps-ai-usp__table tr:last-child td {
  border-bottom: none;
}

/* PubScout cells */
.ps-ai-usp__table td.ps-col {
  background: var(--mint-bg);
  font-weight: 700;
}

/* Check and X icons */
.ps-check {
  color: var(--mint);
  font-size: 16px;
  font-weight: 700;
}

.ps-cross {
  color: var(--border-strong);
  font-size: 15px;
}

/* 5 feature cards */
.ps-ai-usp__cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-16);
}

.ps-ai-usp__card {
  background: #F9F7F3;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-12);
  padding: var(--sp-20);
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease);
}

.ps-ai-usp__card:hover {
  border-color: var(--blue);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

.ps-ai-usp__card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-8);
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--blue);
  flex-shrink: 0;
}

.ps-ai-usp__card-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-ai-usp__card-title {
  font-family: var(--fd);
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.ps-ai-usp__card-body {
  font-family: var(--fb);
  font-size: var(--fs-13);
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

/* Responsive */
@media (max-width: 1023px) {
  .ps-ai-usp__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .ps-ai-usp__cards {
    grid-template-columns: 1fr 1fr;
  }

  .ps-ai-usp__h2 {
    font-size: var(--fs-22);
  }
}

@media (max-width: 479px) {
  .ps-ai-usp__cards {
    grid-template-columns: 1fr;
  }
}
