/* v1 */
/* ============================================================
   PET STORE ADS PAGE — Same structure as /real-estate
   with a deep teal + warm orange "pet brand" palette
   ============================================================ */

.ps-page {
  --primary: #23443f;          /* deep teal */
  --gold: #d9692e;              /* warm orange accent */
  --primary-hover: #2e5a53;
  --text-dark: #1d1d1f;
  --text-mid: #424245;
  --text-light: #86868b;
  --bg-white: #ffffff;
  --bg-light: #f6f3ee;          /* warm sage tint */
  --bg-warm: #fbfaf7;
  --border: #e3ddd2;
  --green: #1f8a4c;
  --red: #ff3b30;
  --shadow-sm: 0 2px 12px rgba(35, 68, 63, 0.05);
  --shadow-md: 0 4px 24px rgba(35, 68, 63, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 980px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display',
               'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.ps-hero {
  padding: 70px 0 20px;
  text-align: center;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(35, 68, 63, 0.06), transparent 60%),
    radial-gradient(700px 400px at 10% 100%, rgba(35, 68, 63, 0.04), transparent 60%),
    var(--bg-warm);
}

.ps-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Lead line — bold gold tagline under the H1 */
.ps-hero-lead {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #0084FF;              /* same blue as the Try For Free button */
  letter-spacing: -0.01em;
  margin: 22px auto 8px;
  line-height: 1.3;
}

/* Description paragraph */
.ps-hero-desc {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-mid);
}

/* Broader input bar wrapper */
.ps-hero-bar {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}
/* Override book-advertising's .planner-search-box for a fatter, framed bar */
.ps-hero-bar .planner-search-box {
  max-width: 100%;
  width: 100%;
  max-height: none;
  margin: 0;
  background: #fff;
  border: 1.5px solid rgba(35, 68, 63, 0.18);
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 12px 32px rgba(35, 68, 63, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ps-hero-bar .planner-search-box:focus-within {
  border-color: rgba(35, 68, 63, 0.45);
  box-shadow:
    0 0 0 4px rgba(35, 68, 63, 0.08),
    0 12px 32px rgba(35, 68, 63, 0.12);
}
.ps-hero-bar .hero-chat__input-area {
  padding: 6px 6px 6px 14px;
  min-height: 56px;
}
.ps-hero-bar .hero-chat__textarea {
  font-size: 17px;
  line-height: 1.55;
  padding: 8px 0;
}
.ps-hero-bar .hero-chat__textarea::placeholder {
  font-size: 16px;
  color: #8a8a8a;
}
.ps-hero-bar .hero-chat__send-btn {
  width: 44px;
  height: 44px;
  background: var(--primary);
}
.ps-hero-bar .hero-chat__send-btn:hover {
  background: var(--primary-hover);
}
.ps-hero-bar .hero-chat__send-btn svg {
  width: 20px;
  height: 20px;
}
.ps-bar-note {
  text-align: center;
  font-size: 15px;
  color: var(--text-light);
  margin: 12px 0 0;
}

/* ============================================================
   LISTING ADS GALLERY — six 4:5 sample pet ads
   3 columns on desktop, 2 on tablet, swipeable row on phones.
   ============================================================ */
.ps-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1080px, calc(100% - 24px));
  margin: 52px auto 0;
  padding: 0;
  list-style: none;
}

.ps-ad-card {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #142825;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
  aspect-ratio: 4 / 5;
  min-width: 0;
}
.ps-ad-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 40, 37, 0.18);
}
.ps-ad-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.ps-ad-item { min-width: 0; }

/* Video ads mixed into the gallery */
.ps-ad-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.ps-ad-sound {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 40, 37, 0.6);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .2s ease;
}
.ps-ad-sound:hover { background: rgba(20, 40, 37, 0.85); }
.ps-ad-sound:focus-visible { outline: 2px solid #0084FF; outline-offset: 2px; }

.ps-gallery-caption {
  text-align: center;
  font-size: 14px;
  color: var(--text-light);
  margin: 16px auto 0;
  max-width: 640px;
}

/* ============================================================
   SOCIAL PROOF BAR
   ============================================================ */
.ps-social-proof {
  padding: 40px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.proof-item {
  text-align: center;
}

.proof-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.proof-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 2px;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ============================================================
   AEO SECTION
   ============================================================ */
.ps-aeo-section {
  padding: 60px 0;
  background: var(--bg-white);
}

.aeo-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
}

.aeo-question {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.aeo-answer {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   VALUE PROPOSITION GRID
   ============================================================ */
.ps-value-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.ps-value-section h2,
.ps-how-section h2,
.ps-audience-section h2,
.ps-compare-section h2,
.ps-platforms-section h2,
.ps-usecases-section h2,
.ps-faq-section h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-sub {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.value-card {
  background: var(--bg-white);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(35, 68, 63, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.ps-how-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.ps-how-section h2 {
  margin-bottom: 3rem;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  background: var(--bg-light);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  max-width: 300px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 0;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 60px;
  color: var(--border);
  font-size: 1.5rem;
}

/* ============================================================
   AUDIENCE SECTION
   ============================================================ */
.ps-audience-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.ps-audience-section h2 {
  margin-bottom: 3rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.audience-card {
  background: var(--bg-white);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.audience-icon {
  width: 56px;
  height: 56px;
  background: rgba(35, 68, 63, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.audience-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.audience-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.audience-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.ps-compare-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.ps-compare-section h2 {
  margin-bottom: 3rem;
}

.compare-table {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
}

.compare-row.compare-header {
  background: var(--bg-light);
}

.compare-cell {
  padding: 16px 20px;
  font-size: 0.95rem;
  color: var(--text-mid);
  border-bottom: 1px solid #eaf0e6;
  display: flex;
  align-items: center;
}

.compare-header .compare-cell {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
}

.compare-cell.label {
  font-weight: 600;
  color: var(--text-dark);
}

.compare-cell.old {
  color: var(--text-light);
}

.compare-cell.new {
  color: var(--primary);
  font-weight: 600;
}

.compare-row:last-child .compare-cell {
  border-bottom: none;
}

/* ============================================================
   PLATFORMS
   ============================================================ */
.ps-platforms-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.ps-platforms-section h2 {
  margin-bottom: 0.5rem;
}

.platforms-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.platform-badge:hover {
  transform: translateY(-2px);
}

.platform-badge i {
  font-size: 1.2rem;
  color: var(--primary);
}

/* ============================================================
   USE CASES
   ============================================================ */
.ps-usecases-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.ps-usecases-section h2 {
  margin-bottom: 3rem;
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.usecase-card {
  background: var(--bg-light);
  padding: 28px;
  border-radius: var(--radius-md);
}

.usecase-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.usecase-card .challenge-label,
.usecase-card .solution-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.usecase-card .challenge-label {
  color: var(--red);
}

.usecase-card .solution-label {
  color: var(--green);
}

.usecase-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.ps-faq-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.ps-faq-section h2 {
  margin-bottom: 3rem;
}

.ps-faq-section .faq-list {
  max-width: 750px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ps-faq-section .faq-item {
  border-bottom: 1px solid var(--border);
}

.ps-faq-section .faq-item:last-child {
  border-bottom: none;
}

.ps-faq-section .faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 0.2s ease;
}

.ps-faq-section .faq-question:hover {
  color: var(--primary);
}

.ps-faq-section .faq-question i {
  transition: transform 0.2s ease;
  color: var(--text-light);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-left: 16px;
}

.ps-faq-section .faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.ps-faq-section .faq-answer {
  padding: 0 28px 22px;
  display: none;
}

.ps-faq-section .faq-item.active .faq-answer {
  display: block;
}

.ps-faq-section .faq-answer p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   CROSS LINKS
   ============================================================ */
.ps-crosslinks-section {
  padding: 60px 0;
  background: var(--bg-white);
}

.ps-crosslinks-section h3 {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.ps-crosslinks-section .cross-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.ps-crosslinks-section .cross-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ps-crosslinks-section .cross-links a:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.ps-final-cta {
  padding: 80px 0;
  background: linear-gradient(180deg, #f6f3ee 0%, #e6efe2 100%);
  text-align: center;
}

.ps-final-cta h2 {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.ps-final-cta > .container > p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .ps-page .home-heading.heading.text-center {
    font-size: 52px !important;
    line-height: 1.15 !important;
    letter-spacing: 0.5px !important;
  }
  .ps-hero-lead { font-size: 19px; margin-top: 18px; }
  .ps-hero-desc { font-size: 16px; }
  .ps-hero-bar { max-width: 760px; }
  .ps-hero-bar .hero-chat__input-area { min-height: 52px; }
  .ps-hero-bar .hero-chat__textarea { font-size: 16px; }
  .ps-hero-bar .hero-chat__send-btn { width: 40px; height: 40px; }
  .ps-gallery { grid-template-columns: repeat(2, 1fr); max-width: 720px; }

  .value-grid,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usecases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    flex-wrap: wrap;
  }

  .step-arrow {
    display: none;
  }

  .step-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .ps-page .home-heading.heading.text-center {
    font-size: 44px !important;
    line-height: 1.15 !important;
    letter-spacing: 0.3px !important;
    padding: 0 10px;
  }

  .ps-page .hero-black-text.subTxt {
    font-size: 14px !important;
    line-height: 1.4 !important;
    padding: 0 10px;
  }

  .ps-page .hero-black-text.subTxt br {
    display: none;
  }

  .ps-hero {
    padding: 60px 0 10px;
  }

  .ps-hero-content {
    max-width: 100%;
    padding: 0 15px;
  }

  .ps-gallery {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 36px;
    padding: 0 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ps-gallery::-webkit-scrollbar { display: none; }
  .ps-ad-item {
    flex: 0 0 72%;
    scroll-snap-align: center;
  }

  .value-grid,
  .audience-grid,
  .usecases-grid {
    grid-template-columns: 1fr;
  }

  .proof-items {
    gap: 24px;
  }

  .proof-divider {
    display: none;
  }

  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-header {
    display: none;
  }

  .compare-cell {
    padding: 12px 20px;
  }

  .compare-cell.label {
    background: var(--bg-light);
    font-size: 0.85rem;
  }

  .compare-cell.old::before {
    content: "Old way: ";
    font-weight: 600;
    color: var(--text-light);
  }

  .compare-cell.new::before {
    content: "AdGPT: ";
    font-weight: 600;
  }

  .ps-value-section,
  .ps-how-section,
  .ps-audience-section,
  .ps-compare-section,
  .ps-usecases-section,
  .ps-faq-section {
    padding: 50px 0;
  }

  .ps-value-section h2,
  .ps-how-section h2,
  .ps-audience-section h2,
  .ps-compare-section h2,
  .ps-platforms-section h2,
  .ps-usecases-section h2,
  .ps-faq-section h2 {
    font-size: 1.75rem;
  }

  .aeo-box {
    padding: 24px;
  }

  .aeo-question {
    font-size: 1.2rem;
  }

  .ps-final-cta {
    padding: 50px 0;
  }

  .ps-final-cta h2 {
    font-size: 1.75rem;
  }

  .ps-faq-section .faq-question {
    padding: 18px 20px;
    font-size: 0.95rem;
  }

  .ps-faq-section .faq-answer {
    padding: 0 20px 18px;
  }

  .ps-crosslinks-section .cross-links {
    gap: 10px;
  }

  .ps-crosslinks-section .cross-links a {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

}

@media (max-width: 480px) {
  .ps-hero {
    padding: 70px 0 10px;
  }

  .ps-page .home-heading.heading.text-center {
    font-size: 32px !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    padding: 0 10px;
  }

  .ps-page .hero-black-text.subTxt {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  .proof-items {
    flex-direction: column;
    gap: 16px;
  }

  .platforms-grid {
    gap: 10px;
  }

  .platform-badge {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .ps-value-section h2,
  .ps-how-section h2,
  .ps-audience-section h2,
  .ps-compare-section h2,
  .ps-platforms-section h2,
  .ps-usecases-section h2,
  .ps-faq-section h2 {
    font-size: 1.5rem;
  }

  .ps-final-cta h2 {
    font-size: 1.5rem;
  }

  .section-sub {
    font-size: 0.95rem;
  }

  .step-card {
    padding: 24px 20px;
  }

  .usecase-card {
    padding: 20px;
  }

  .audience-card {
    padding: 24px 20px;
  }

  .value-card {
    padding: 24px 20px;
  }

}
