/**
 * PangoTalk feature pages — cloned from gupshup.ai/industry/retail-and-ecommerce
 * Uses pangotalk-brand.css design tokens.
 */

/* ── Image placeholders ── */
.pt-img-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--pt-cream),
    var(--pt-cream) 10px,
    #f0ebe3 10px,
    #f0ebe3 20px
  );
  border: 2px dashed #c5cdd1;
  border-radius: 16px;
  box-sizing: border-box;
}

.pt-img-ph__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
}

.pt-img-ph__icon {
  color: var(--pt-muted);
  opacity: 0.7;
}

.pt-img-ph__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pt-ink);
}

.pt-img-ph__hint {
  font-size: 0.75rem;
  color: var(--pt-muted);
  letter-spacing: 0.02em;
}

.pt-img-ph--hero { min-height: 320px; }
.pt-img-ph--panel { min-height: 260px; }
.pt-img-ph--platform { min-height: 420px; }
.pt-img-ph--wide { min-height: 280px; }
.pt-img-ph--cta { min-height: 200px; }
.pt-img-ph--card { min-height: 180px; border-radius: 12px 12px 0 0; }
.pt-img-ph--avatar { min-height: 160px; max-width: 160px; margin: 0 auto; border-radius: 50%; }
.pt-img-ph--logo { min-height: 48px; border-radius: 8px; border-width: 1px; }
.pt-img-ph--logo .pt-img-ph__inner { padding: 8px 12px; flex-direction: row; gap: 6px; }
.pt-img-ph--logo .pt-img-ph__icon { width: 20px; height: 20px; }
.pt-img-ph--logo .pt-img-ph__label { font-size: 0.7rem; }
.pt-img-ph--logo .pt-img-ph__hint { display: none; }

/* ── Shared typography ── */
.pt-fp-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pt-forest);
  background: var(--pt-mint-soft);
  border: 1px solid var(--pt-line);
  border-radius: 50px;
}

.pt-fp-headline {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--pt-ink);
  letter-spacing: -0.025em;
}

.pt-fp-lead {
  margin: 0 0 28px;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--pt-muted);
}

.pt-fp-lead--center {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.pt-fp-section-title {
  margin: 0 0 40px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--pt-ink);
  letter-spacing: -0.02em;
}

.pt-fp-section-title--light {
  color: #fff;
}

.pt-fp-link {
  font-weight: 600;
  color: var(--pt-forest);
  text-decoration: none;
}

.pt-fp-link:hover {
  color: var(--pt-green-dark);
}

/* ── 1. Hero ── */
.pt-fp-hero {
  background: linear-gradient(180deg, var(--pt-cream) 0%, #fff 100%);
  padding-top: 138px;
  padding-bottom: 56px;
}

.pt-fp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── 2. Logo strip ── */
.pt-fp-logos {
  padding: 32px 0 48px;
  background: #fff;
  border-bottom: 1px solid var(--pt-line);
}

.pt-fp-logos__title {
  margin: 0 0 24px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pt-muted);
}

.pt-fp-logos__strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.pt-fp-logos__slot {
  flex: 1 1 140px;
  max-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--pt-line);
  border-radius: 12px;
}

/* ── 3. Journey (Acquire → Retain) ── */
.pt-fp-journey {
  padding: 72px 0;
  background: #fff;
}

.pt-fp-journey__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--pt-line);
}

.pt-fp-journey__tab {
  flex: 1 1 auto;
  min-width: 100px;
  max-width: 180px;
  padding: 16px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pt-muted);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pt-fp-journey__tab:hover,
.pt-fp-journey__tab.is-active {
  color: var(--pt-forest);
  border-bottom-color: var(--pt-green);
}

.pt-fp-journey__panel {
  display: none;
  padding: 40px 0 0;
}

.pt-fp-journey__panel.is-active {
  display: block;
}

.pt-fp-journey__panel-title {
  margin: 0 0 20px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pt-ink);
}

.pt-fp-journey__bullets {
  margin: 0;
  padding: 0 0 0 1.25rem;
  color: var(--pt-muted);
  line-height: 1.65;
}

.pt-fp-journey__bullets li {
  margin-bottom: 12px;
}

.pt-fp-journey__bullets li:last-child {
  margin-bottom: 0;
}

/* ── 4. Use-case chips (horizontal scroll) ── */
.pt-fp-usecases {
  padding: 72px 0;
  background: var(--pt-cream);
}

.pt-fp-usecases__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.pt-fp-usecase-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--pt-line);
  border-radius: 12px;
  white-space: nowrap;
}

.pt-fp-usecase-chip__icon {
  display: flex;
  color: var(--pt-green-dark);
}

.pt-fp-usecase-chip__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pt-ink);
}

/* ── 5. Mid CTA ── */
.pt-fp-mid-cta {
  padding: 48px 0;
  background: #fff;
}

.pt-fp-mid-cta__box {
  padding: 36px 40px;
  background: var(--pt-mint-soft);
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius-card);
}

.pt-fp-mid-cta__text {
  margin: 0 0 20px;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--pt-ink);
}

/* ── 6. Platform (Gupshup dark section) ── */
.pt-fp-platform {
  padding: 80px 0;
  background: var(--pt-forest);
}

.pt-fp-platform__lead {
  max-width: 40rem;
  margin: -24px auto 48px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.pt-fp-platform__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pt-fp-platform-card {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pt-fp-platform-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(37, 211, 102, 0.4);
}

.pt-fp-platform-card__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.pt-fp-platform-card__body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.pt-fp-platform .pt-img-ph {
  border-color: rgba(255, 255, 255, 0.25);
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.04) 10px,
    rgba(255, 255, 255, 0.08) 10px,
    rgba(255, 255, 255, 0.08) 20px
  );
}

.pt-fp-platform .pt-img-ph__label,
.pt-fp-platform .pt-img-ph__icon {
  color: rgba(255, 255, 255, 0.85);
}

.pt-fp-platform .pt-img-ph__hint {
  color: rgba(255, 255, 255, 0.55);
}

/* ── 7. Stats + testimonial ── */
.pt-fp-stats {
  padding: 72px 0;
  background: #fff;
}

.pt-fp-stats__grid {
  margin-bottom: 48px;
}

.pt-fp-stat {
  text-align: center;
  padding: 16px 8px;
}

.pt-fp-stat__value {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--pt-green-dark);
}

.pt-fp-stat__label {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--pt-muted);
}

.pt-fp-testimonial {
  padding: 36px 40px;
  background: var(--pt-cream);
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius-card);
}

.pt-fp-testimonial__quote {
  margin: 0 0 20px;
  padding: 0;
  border: none;
}

.pt-fp-testimonial__quote p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--pt-ink);
}

.pt-fp-testimonial__cite {
  display: block;
  font-style: normal;
}

.pt-fp-testimonial__cite strong {
  display: block;
  font-size: 1rem;
  color: var(--pt-ink);
}

.pt-fp-testimonial__cite span {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--pt-muted);
}

/* ── 8. Integrations ── */
.pt-fp-integrations {
  padding: 72px 0;
  background: var(--pt-mint-soft);
}

/* ── 9. Story cards ── */
.pt-fp-stories {
  padding: 72px 0;
  background: #fff;
}

.pt-fp-stories__heading {
  margin: 0 0 32px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--pt-ink);
}

.pt-fp-story-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--pt-line);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.pt-fp-story-card:hover {
  border-color: var(--pt-green);
  box-shadow: 0 8px 28px rgba(17, 27, 33, 0.08);
}

.pt-fp-story-card .pt-img-ph--card {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
}

.pt-fp-story-card__title {
  margin: 0;
  padding: 18px 20px 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--pt-ink);
}

.pt-fp-story-card__excerpt {
  margin: 0;
  padding: 0 20px 12px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--pt-muted);
}

.pt-fp-story-card .pt-fp-link {
  display: inline-block;
  padding: 0 20px 20px;
  font-size: 0.88rem;
}

/* ── 10. FAQ ── */
.pt-fp-faq {
  padding: 72px 0;
  background: var(--pt-cream);
}

.pt-fp-faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.pt-fp-faq__item {
  margin-bottom: 10px;
  border: 1px solid var(--pt-line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.pt-fp-faq__question {
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--pt-ink);
  cursor: pointer;
  list-style: none;
}

.pt-fp-faq__question::-webkit-details-marker {
  display: none;
}

.pt-fp-faq__item[open] .pt-fp-faq__question {
  color: var(--pt-forest);
  border-bottom: 1px solid var(--pt-line);
}

.pt-fp-faq__answer {
  padding: 0 22px 18px;
}

.pt-fp-faq__answer p {
  margin: 14px 0 0;
  color: var(--pt-muted);
  line-height: 1.6;
}

/* ── 11. Final CTA ── */
.pt-fp-final-cta {
  padding: 80px 0 96px;
  background: #fff;
  border-top: 1px solid var(--pt-line);
}

/* ── Real photographs (replace the dashed placeholders) ── */
.pt-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--pt-cream);
}

.pt-photo--hero,
.pt-photo--panel,
.pt-photo--platform,
.pt-photo--wide,
.pt-photo--cta {
  border-radius: 16px;
  min-height: 220px;
  max-height: 460px;
}

.pt-photo--card {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.pt-photo--avatar {
  width: 96px;
  height: 96px;
  max-width: 96px;
  border-radius: 50%;
  margin-left: auto;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(17, 27, 33, 0.12);
}

.pt-photo--logo {
  width: auto;
  max-width: 120px;
  height: 36px;
  min-height: 0;
  max-height: 36px;
  object-fit: contain;
  background: transparent;
}

.pt-fp-platform .pt-photo {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .pt-fp-hero {
    padding-top: 110px;
  }

  .pt-fp-journey__tab {
    min-width: 80px;
    padding: 12px 8px;
    font-size: 0.85rem;
  }

  .pt-fp-mid-cta__box,
  .pt-fp-testimonial {
    padding: 24px 20px;
  }

  .pt-fp-platform,
  .pt-fp-journey,
  .pt-fp-usecases,
  .pt-fp-stats,
  .pt-fp-integrations,
  .pt-fp-stories,
  .pt-fp-faq {
    padding: 56px 0;
  }
}
