/* Shared styles for the SEO growth pages (customer-support, lead-generation,
   feature/integration/location pages, blog guides). Reuses the site palette and
   the existing hero/button classes from landing.css + site-shell.css; this file
   only adds the generic content sections so each new page needs no bespoke CSS. */

.pc-seo-main { background: var(--pc-paper); color: var(--pc-ink); }

/* Self-contained hero (no dependency on per-page CSS) */
.pc-seo-hero { position: relative; background: var(--pc-black); color: #fff; padding: clamp(96px, 12vw, 152px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.pc-seo-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 15% 0%, rgba(217,47,36,.22), transparent 60%), radial-gradient(50% 70% at 100% 20%, rgba(217,47,36,.14), transparent 55%); pointer-events: none; }
.pc-seo-hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.pc-seo-hero-copy { max-width: 620px; }
.pc-seo-hero .pc-eyebrow-mini { color: #ff6a5f; }
.pc-seo-hero h1 { margin: 14px 0 0; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
.pc-seo-hero-text { margin: 20px 0 0; color: rgba(255,255,255,.74); font-size: clamp(15px, 1.3vw, 19px); line-height: 1.6; }
.pc-seo-hero .pc-seo-actions { justify-content: flex-start; margin-top: 30px; }
@media (max-width: 900px) { .pc-seo-hero-inner { grid-template-columns: 1fr; } .pc-seo-hero .pc-seo-actions { justify-content: flex-start; } }

/* Section rhythm */
.pc-seo-section { position: relative; padding: clamp(52px, 7vw, 104px) 0; }
.pc-seo-section--soft { background: var(--pc-soft); }
.pc-seo-section--dark { background: var(--pc-black); color: #fff; }

.pc-seo-head { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 56px); text-align: center; }
.pc-seo-head.pc-seo-head--left { margin-left: 0; text-align: left; }
.pc-seo-head h2 { margin: 10px 0 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
.pc-seo-head p { margin: 16px 0 0; color: var(--pc-muted); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; }
.pc-seo-section--dark .pc-seo-head p { color: rgba(255,255,255,.72); }
.pc-eyebrow-mini { display: inline-flex; align-items: center; gap: 8px; color: var(--pc-red); font-family: var(--pc-mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; }

/* Feature / benefit grid */
.pc-seo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.pc-seo-grid--2 { grid-template-columns: repeat(2, 1fr); }
.pc-seo-card { padding: clamp(20px, 2vw, 28px); border: 1px solid var(--pc-line); border-radius: 18px; background: var(--pc-paper); box-shadow: 0 1px 0 rgba(12,10,8,.02); }
.pc-seo-section--soft .pc-seo-card { background: var(--pc-paper); }
.pc-seo-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.pc-seo-card p { margin: 0; color: var(--pc-muted); font-size: 14.5px; line-height: 1.6; }
.pc-seo-card-ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; background: rgba(217,47,36,.08); color: var(--pc-red); font-weight: 800; font-size: 16px; }

/* Numbered steps */
.pc-seo-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); counter-reset: step; }
.pc-seo-steps.pc-seo-steps--3 { grid-template-columns: repeat(3, 1fr); }
.pc-seo-step { padding: clamp(18px, 2vw, 26px); border: 1px solid var(--pc-line); border-radius: 18px; }
.pc-seo-step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; margin-bottom: 12px; color: var(--pc-red); font-family: var(--pc-mono); font-size: 13px; font-weight: 600; letter-spacing: .1em; }
.pc-seo-step h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.pc-seo-step p { margin: 0; color: var(--pc-muted); font-size: 14px; line-height: 1.55; }

/* Prose / use-case list */
.pc-seo-prose { max-width: 760px; margin: 0 auto; }
.pc-seo-prose p { color: var(--pc-ink); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; margin: 0 0 16px; }
.pc-seo-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pc-seo-checks li { position: relative; padding-left: 30px; color: var(--pc-ink); font-size: 15.5px; line-height: 1.55; }
.pc-seo-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--pc-red); box-shadow: inset 0 0 0 2px var(--pc-red); }
.pc-seo-checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* FAQ */
.pc-seo-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.pc-seo-faq details { border: 1px solid var(--pc-line); border-radius: 14px; background: var(--pc-paper); padding: 0 20px; }
.pc-seo-faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pc-seo-faq summary::-webkit-details-marker { display: none; }
.pc-seo-faq summary::after { content: "+"; color: var(--pc-red); font-size: 22px; font-weight: 400; line-height: 1; }
.pc-seo-faq details[open] summary::after { content: "\2013"; }
.pc-seo-faq details[open] summary { padding-bottom: 8px; }
.pc-seo-faq p { margin: 0 0 18px; color: var(--pc-muted); font-size: 15px; line-height: 1.65; }

/* CTA band */
.pc-seo-cta { text-align: center; max-width: 720px; margin: 0 auto; }
.pc-seo-cta h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.pc-seo-cta p { margin: 0 0 26px; color: var(--pc-muted); font-size: 16px; }
.pc-seo-section--dark .pc-seo-cta p { color: rgba(255,255,255,.72); }
.pc-seo-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Buttons (self-contained) */
.pc-seo-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid transparent; transition: transform .2s var(--pc-ease), background .2s var(--pc-ease), color .2s var(--pc-ease); }
.pc-seo-btn:hover { transform: translateY(-1px); }
.pc-seo-btn--primary { background: var(--pc-red); color: #fff; }
.pc-seo-btn--primary:hover { background: var(--pc-red-bright); }
.pc-seo-btn--ghost { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.pc-seo-section:not(.pc-seo-section--dark) .pc-seo-btn--ghost,
.pc-seo-main > .pc-seo-cta .pc-seo-btn--ghost { border-color: var(--pc-line); color: var(--pc-ink); }

/* Related-links row (internal linking) */
.pc-seo-related { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.pc-seo-related a { padding: 8px 14px; border: 1px solid var(--pc-line); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--pc-ink); transition: border-color .2s var(--pc-ease), color .2s var(--pc-ease); }
.pc-seo-related a:hover { border-color: var(--pc-red); color: var(--pc-red); }

/* Branded media panel (also used as an intentional slot before a screenshot is
   added — designed, never an empty dashed box). */
.pc-seo-shot { position: relative; border: 1px solid var(--pc-line); border-radius: 20px; background: linear-gradient(140deg, #ffffff 0%, var(--pc-soft) 100%); aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--pc-muted); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; overflow: hidden; box-shadow: 0 24px 60px rgba(16,24,40,.10); }
.pc-seo-shot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 55% at 82% 12%, rgba(217,47,36,.12), transparent 60%), radial-gradient(45% 45% at 10% 95%, rgba(217,47,36,.06), transparent 60%); pointer-events: none; }
.pc-seo-shot::after { content: ""; width: 52px; height: 52px; border-radius: 16px 16px 16px 5px; background: linear-gradient(180deg, var(--pc-red-bright), var(--pc-red)); box-shadow: 0 14px 30px rgba(217,47,36,.35); }
.pc-seo-shot span, .pc-seo-shot { z-index: 1; }

/* Self-contained chat-preview mockup (no screenshot needed) */
.pc-chat-mock { width: 100%; max-width: 400px; margin-left: auto; background: var(--pc-paper); border: 1px solid rgba(255,255,255,.10); border-radius: 22px; overflow: hidden; box-shadow: 0 2px 0 rgba(255,255,255,.04) inset, 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(217,47,36,.08); font-size: 13.5px; transform: translateZ(0); animation: pc-chat-float 7s ease-in-out infinite; }
@keyframes pc-chat-float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }
.pc-chat-mock-top { display: flex; align-items: center; gap: 11px; padding: 15px 18px; background: linear-gradient(180deg, #101114, #0b0c0e); color: #fff; }
.pc-chat-mock-top .pc-chat-ava { position: relative; width: 34px; height: 34px; border-radius: 50%; flex: 0 0 34px; background: radial-gradient(circle at 32% 30%, #ff6a5f, var(--pc-red) 60%); box-shadow: 0 0 0 3px rgba(217,47,36,.18); }
.pc-chat-mock-top .pc-chat-ava::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; border-radius: 3px; background: #fff; opacity: .92; }
.pc-chat-mock-top .pc-chat-name { display: flex; flex-direction: column; line-height: 1.2; }
.pc-chat-mock-top .pc-chat-name b { font-size: 13.5px; font-weight: 700; }
.pc-chat-mock-top .pc-chat-name small { font-size: 10.5px; color: rgba(255,255,255,.55); letter-spacing: .04em; }
.pc-chat-mock-top .pc-chat-status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; color: #7ee0b0; text-transform: uppercase; letter-spacing: .1em; }
.pc-chat-mock-top .pc-chat-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
.pc-chat-mock-body { display: flex; flex-direction: column; gap: 9px; padding: 18px; background: var(--pc-soft); }
.pc-chat-msg { max-width: 84%; padding: 10px 14px; border-radius: 15px; line-height: 1.45; box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.pc-chat-msg.bot { align-self: flex-start; background: var(--pc-paper); border: 1px solid var(--pc-line); border-bottom-left-radius: 5px; color: var(--pc-ink); }
.pc-chat-msg.user { align-self: flex-end; background: linear-gradient(180deg, var(--pc-red-bright), var(--pc-red)); color: #fff; border-bottom-right-radius: 5px; }
.pc-chat-msg.agent { align-self: flex-start; background: #12141a; color: #fff; border: 1px solid #12141a; border-bottom-left-radius: 5px; }
.pc-chat-note { align-self: center; font-size: 11px; font-weight: 600; color: var(--pc-red); background: rgba(217,47,36,.07); border: 1px solid rgba(217,47,36,.18); border-radius: 999px; padding: 5px 13px; letter-spacing: .02em; }
.pc-chat-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--pc-paper); border: 1px solid var(--pc-line); border-radius: 15px; border-bottom-left-radius: 5px; }
.pc-chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--pc-faint, #b6bac3); animation: pc-typing 1.2s infinite ease-in-out; }
.pc-chat-typing span:nth-child(2){ animation-delay: .15s; } .pc-chat-typing span:nth-child(3){ animation-delay: .3s; }
@keyframes pc-typing { 0%,60%,100%{ transform: translateY(0); opacity: .4; } 30%{ transform: translateY(-4px); opacity: 1; } }
.pc-chat-mock-input { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--pc-line); background: var(--pc-paper); }
.pc-chat-mock-input span { flex: 1; color: var(--pc-muted); padding: 9px 14px; border: 1px solid var(--pc-line); border-radius: 999px; background: var(--pc-soft); font-size: 12.5px; }
.pc-chat-mock-input .pc-chat-send { width: 34px; height: 34px; border-radius: 50%; background: var(--pc-red); flex: 0 0 34px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; box-shadow: 0 6px 16px rgba(217,47,36,.35); }
@media (max-width: 900px) { .pc-chat-mock { margin: 24px auto 0; } }
@media (prefers-reduced-motion: reduce) { .pc-chat-mock { animation: none; } .pc-chat-typing span { animation: none; } }

/* Hero trust chips */
.pc-seo-trust { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; }
.pc-seo-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255,255,255,.7); }
.pc-seo-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pc-red); box-shadow: 0 0 8px rgba(217,47,36,.6); }

@media (max-width: 900px) {
  .pc-seo-grid, .pc-seo-grid--2 { grid-template-columns: 1fr 1fr; }
  .pc-seo-steps, .pc-seo-steps--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pc-seo-grid, .pc-seo-grid--2, .pc-seo-steps, .pc-seo-steps--3 { grid-template-columns: 1fr; }
}
