/* =============================================
   pSEO — Programmatic SEO Page Styles
   Matches RanksBreathe design language exactly
   ============================================= */

/* ─── Variables (mirrors site globals) ─── */
:root {
    --p-blue:    #0052e0;
    --p-blue-d:  #003bb5;
    --p-blue-l:  #e8f0ff;
    --p-teal:    #00bfa8;
    --p-purple:  #7c3aed;
    --p-dark:    #060d1a;
    --p-dark2:   #0d1829;
    --p-text:    #0f172a;
    --p-muted:   #64748b;
    --p-border:  #e2e8f0;
    --p-off:     #f8fafc;
    --p-font:    'Plus Jakarta Sans', sans-serif;
}

/* ─── Animations ─── */
@keyframes pseo-blink {
    0%, 100% { opacity: 1 }
    50%       { opacity: .25 }
}
@keyframes pseo-float {
    0%, 100% { transform: translateY(0) }
    50%       { transform: translateY(-6px) }
}
@keyframes pseo-fadein {
    from { opacity: 0; transform: translateY(18px) }
    to   { opacity: 1; transform: none }
}

/* ─── Shared Layout ─── */
.pseo-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
}

.pseo-section-tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: var(--p-blue);
    margin-bottom: .875rem;
}
.pseo-section-tag svg {
    width: 11px; height: 11px;
    stroke: currentColor; fill: none; stroke-width: 2.5;
}
.pseo-section-tag--light {
    color: rgba(148, 187, 255, .85);
}

/* ─── Buttons ─── */
.pseo-btn-p {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(135deg, var(--p-blue), #4f46e5);
    color: #fff;
    font-family: var(--p-font);
    font-size: .92rem;
    font-weight: 700;
    padding: .88rem 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,82,224,.4);
    transition: transform .15s, box-shadow .2s;
    white-space: nowrap;
}
.pseo-btn-p svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.5; flex-shrink: 0; }
.pseo-btn-p:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,82,224,.55); }

.pseo-btn-g {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.82);
    font-family: var(--p-font);
    font-size: .92rem;
    font-weight: 600;
    padding: .86rem 1.6rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background .18s, transform .15s;
    white-space: nowrap;
}
.pseo-btn-g:hover { background: rgba(255,255,255,.13); transform: translateY(-1px); }

/* ─── Animated badge dot ─── */
.pseo-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4ade80;
    animation: pseo-blink 2s infinite;
    flex-shrink: 0;
}

/* ════════════════════════════════════════════
   BREADCRUMBS
════════════════════════════════════════════ */
.pseo-bc {
    background: #f8fafc;
    border-bottom: 1px solid var(--p-border);
    padding: 13px 0;
    font-size: 12.5px;
    color: var(--p-muted);
}
.pseo-bc .pseo-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.pseo-bc a {
    color: var(--p-blue);
    font-weight: 500;
    text-decoration: none;
    transition: color .15s;
}
.pseo-bc a:hover { color: var(--p-blue-d); text-decoration: underline; }
.pseo-bc svg { color: #cbd5e1; flex-shrink: 0; }
.pseo-bc span { color: var(--p-text); font-weight: 600; }

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.pseo-hero {
    background: var(--p-dark);
    padding: 84px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* grid overlay */
.pseo-hgrid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,82,224,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,82,224,.07) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 100%);
    pointer-events: none;
}

/* decorative orbs */
.pseo-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.pseo-orb1 {
    top: -20%; right: -5%;
    width: min(640px, 70vw); height: min(640px, 70vw);
    background: radial-gradient(circle, rgba(0,82,224,.2), transparent 65%);
}
.pseo-orb2 {
    bottom: -25%; left: -8%;
    width: min(480px, 55vw); height: min(480px, 55vw);
    background: radial-gradient(circle, rgba(0,191,168,.12), transparent 65%);
}
.pseo-orb3 {
    top: 35%; left: 8%;
    width: min(260px, 30vw); height: min(260px, 30vw);
    background: radial-gradient(circle, rgba(124,58,237,.1), transparent 65%);
}

.pseo-hero__inner {
    position: relative;
    z-index: 2;
    animation: pseo-fadein .7s ease both;
}

.pseo-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem 1rem;
    background: rgba(0,82,224,.18);
    border: 1px solid rgba(0,82,224,.35);
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(148,196,255,.9);
    margin-bottom: 1.5rem;
}

.pseo-hero__h1 {
    font-family: var(--p-font);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.04em;
    color: #fff;
    margin-bottom: 1.25rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.pseo-hero__sub {
    font-size: clamp(.95rem, 1.5vw, 1.05rem);
    color: rgba(255,255,255,.48);
    line-height: 1.8;
    max-width: 580px;
    margin: 0 auto 2rem;
}

.pseo-hero__btns {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* trust strip */
.pseo-trust {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
}
.pseo-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .875rem 1.75rem;
    gap: .2rem;
}
.pseo-trust__num {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1;
}
.pseo-trust__lbl {
    font-size: .65rem;
    color: rgba(255,255,255,.35);
    font-weight: 500;
    white-space: nowrap;
}
.pseo-trust__sep {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,.08);
    flex-shrink: 0;
}

/* ════════════════════════════════════════════
   BODY (Article + Sidebar)
════════════════════════════════════════════ */
.pseo-body {
    padding: 72px 0 80px;
    background: #fff;
}

.pseo-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

/* ─── Article typography ─── */
.pseo-article {
    font-family: var(--p-font);
    font-size: 16px;
    line-height: 1.85;
    color: #334155;
    min-width: 0;
}

.pseo-article h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    font-weight: 800;
    color: var(--p-text);
    letter-spacing: -.03em;
    margin: 3rem 0 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--p-blue);
    line-height: 1.25;
}
.pseo-article h2:first-child { margin-top: 0; }

.pseo-article h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--p-text);
    margin: 2rem 0 .75rem;
    letter-spacing: -.02em;
}

.pseo-article p {
    margin-bottom: 1.1rem;
}

.pseo-article ul, .pseo-article ol {
    margin: 1rem 0 1.5rem;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.pseo-article ul li {
    padding-left: 1.4rem;
    position: relative;
}
.pseo-article ul li::before {
    content: '';
    position: absolute;
    left: 0; top: .55em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--p-blue);
}
.pseo-article ol { counter-reset: li; }
.pseo-article ol li {
    padding-left: 2rem;
    position: relative;
    counter-increment: li;
}
.pseo-article ol li::before {
    content: counter(li);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.4rem; height: 1.4rem;
    border-radius: 50%;
    background: var(--p-blue-l);
    color: var(--p-blue);
    font-size: .7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.pseo-article li strong { color: var(--p-text); }

.pseo-article blockquote {
    border-left: 3px solid var(--p-blue);
    background: linear-gradient(135deg, #f0f7ff, #f8faff);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #475569;
    font-size: .97rem;
    position: relative;
}
.pseo-article blockquote::before {
    content: '"';
    position: absolute;
    top: -.4rem; left: .75rem;
    font-size: 3rem;
    color: rgba(0,82,224,.15);
    font-style: normal;
    font-weight: 800;
    line-height: 1;
}

.pseo-article strong { color: var(--p-text); font-weight: 700; }

.pseo-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--p-border);
    font-size: .9rem;
}
.pseo-article th {
    background: var(--p-text);
    color: #fff;
    padding: .875rem 1.125rem;
    text-align: left;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.pseo-article td {
    padding: .75rem 1.125rem;
    border-bottom: 1px solid var(--p-border);
}
.pseo-article tr:last-child td { border-bottom: none; }
.pseo-article tr:nth-child(even) td { background: var(--p-off); }

/* ─── Sidebar ─── */
.pseo-aside {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ════════════════════════════════════════════
   LEAD FORM CARD (mirrors case-study design)
════════════════════════════════════════════ */
.pseo-lead-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,82,224,.14), 0 2px 8px rgba(0,0,0,.07);
    border: 1.5px solid rgba(0,82,224,.18);
    background: #fff;
    font-family: var(--p-font);
}

/* dark gradient header */
.pseo-lead-header {
    background: linear-gradient(135deg, #060d1a 0%, #0a1628 100%);
    padding: 1.25rem 1.5rem 1.1rem;
    position: relative;
    overflow: hidden;
}
.pseo-lead-header::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,82,224,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,82,224,.07) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, #000 20%, transparent 80%);
    pointer-events: none;
}
.pseo-lead-header::after {
    content: ''; position: absolute;
    top: -40%; right: -30%;
    width: 160px; height: 160px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,82,224,.28), transparent 70%);
    pointer-events: none;
}

@keyframes pseo-pulse-badge {
    0%,100% { box-shadow: 0 0 0 0 rgba(251,191,36,.35) }
    70%      { box-shadow: 0 0 0 8px rgba(251,191,36,0) }
}
.pseo-lead-urgency {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .58rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; color: #fbbf24;
    background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.25);
    border-radius: 100px; padding: .2rem .7rem;
    margin-bottom: .75rem;
    animation: pseo-pulse-badge 3s ease-in-out infinite;
    position: relative;
}
.pseo-lead-urgency svg { width: 10px; height: 10px; fill: #fbbf24; stroke: none; }

.pseo-lead-title {
    font-size: 1.05rem; font-weight: 800; color: #fff;
    line-height: 1.25; margin-bottom: .35rem;
    position: relative;
}
.pseo-lead-title em {
    font-style: normal;
    background: linear-gradient(120deg, #93c5fd, #60a5fa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pseo-lead-sub {
    font-size: .72rem; color: rgba(255,255,255,.42);
    font-weight: 500; position: relative;
}

/* benefit bullets */
.pseo-lead-benefits {
    display: flex; flex-direction: column; gap: .45rem;
    padding: 1rem 1.5rem .5rem;
}
.pseo-lead-benefit {
    display: flex; align-items: center; gap: .5rem;
    font-size: .72rem; font-weight: 600; color: #475569;
}
.pseo-lead-benefit svg {
    width: 14px; height: 14px; flex-shrink: 0;
    stroke: #16a34a; fill: none; stroke-width: 2.5;
}

/* form body */
.pseo-lead-body { padding: .5rem 1.5rem 1.25rem; }
.pseo-lead-form { display: flex; flex-direction: column; gap: .6rem; }

.pseo-lead-input {
    width: 100%; padding: .58rem .9rem;
    background: #f8fafc; border: 1.5px solid var(--p-border);
    border-radius: 10px;
    font-family: var(--p-font); font-size: .78rem; color: var(--p-text);
    transition: border-color .2s, box-shadow .2s, background .2s;
    outline: none;
}
.pseo-lead-input:focus {
    border-color: var(--p-blue); background: #fff;
    box-shadow: 0 0 0 3px rgba(0,82,224,.08);
}
.pseo-lead-input::placeholder { color: #94a3b8; }
.pseo-lead-textarea {
    resize: vertical; min-height: 62px; max-height: 120px; line-height: 1.55;
}

/* pulsing CTA button */
@keyframes pseo-cta-glow {
    0%,100% { box-shadow: 0 4px 16px rgba(0,82,224,.38) }
    50%      { box-shadow: 0 4px 28px rgba(0,82,224,.6), 0 0 40px rgba(0,82,224,.15) }
}
@keyframes pseo-spin {
    from { transform: rotate(0deg) }
    to   { transform: rotate(360deg) }
}
.pseo-lead-btn {
    width: 100%; padding: .8rem;
    background: linear-gradient(135deg, var(--p-blue) 0%, #2563eb 50%, #3b82f6 100%);
    color: #fff; border: none; border-radius: 10px;
    font-family: var(--p-font); font-size: .875rem; font-weight: 800;
    cursor: pointer; letter-spacing: .015em;
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    transition: transform .15s;
    animation: pseo-cta-glow 3s ease-in-out infinite;
}
.pseo-lead-btn:hover { transform: translateY(-2px) scale(1.01); }
.pseo-lead-btn svg {
    width: 16px; height: 16px; stroke: currentColor; fill: none;
    stroke-width: 2.5; transition: transform .2s;
}
.pseo-lead-btn:hover svg { transform: translateX(3px); }
.pseo-lead-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; animation: none; }

/* trust footer */
.pseo-lead-footer {
    padding: .75rem 1.5rem 1rem;
    border-top: 1px solid var(--p-border);
    background: #f8fafc;
}
.pseo-lead-rating {
    display: flex; align-items: center; justify-content: center;
    gap: .35rem; margin-bottom: .4rem;
}
.pseo-lead-stars { display: flex; gap: .1rem; color: #f59e0b; }
.pseo-lead-stars svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.pseo-lead-rating-text { font-size: .65rem; font-weight: 700; color: var(--p-text); }

.pseo-lead-trust-row {
    display: flex; align-items: center; justify-content: center;
    gap: .75rem; flex-wrap: wrap;
}
.pseo-lead-trust-item {
    display: flex; align-items: center; gap: .3rem;
    font-size: .6rem; font-weight: 600; color: #94a3b8;
}
.pseo-lead-trust-item svg {
    width: 10px; height: 10px; stroke: #16a34a;
    fill: none; stroke-width: 2.5;
}

/* ════════════════════════════════════════════
   FAQ
════════════════════════════════════════════ */
.pseo-faq {
    padding: 80px 0;
    background: var(--p-off);
}

.pseo-faq__head {
    text-align: center;
    margin-bottom: 3rem;
}
.pseo-faq__title {
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 800;
    color: var(--p-text);
    letter-spacing: -.03em;
    margin: 0;
}

.pseo-faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pseo-faq__item {
    background: #fff;
    border: 1px solid var(--p-border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.pseo-faq__item:hover { border-color: rgba(0,82,224,.2); }
.pseo-faq__item.open  {
    border-color: var(--p-blue);
    box-shadow: 0 4px 24px rgba(0,82,224,.08);
}

.pseo-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.125rem 1.375rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--p-font);
    font-size: .97rem;
    font-weight: 600;
    color: var(--p-text);
    text-align: left;
    gap: 1rem;
}

.pseo-faq__icon {
    width: 30px; height: 30px; flex-shrink: 0;
    border-radius: 8px;
    background: var(--p-off);
    border: 1px solid var(--p-border);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, transform .3s;
}
.pseo-faq__icon svg { stroke: var(--p-muted); fill: none; transition: stroke .2s; }
.pseo-faq__item.open .pseo-faq__icon {
    background: var(--p-blue-l);
    border-color: rgba(0,82,224,.2);
    transform: rotate(180deg);
}
.pseo-faq__item.open .pseo-faq__icon svg { stroke: var(--p-blue); }

.pseo-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}
.pseo-faq__item.open .pseo-faq__a { max-height: 600px; }
.pseo-faq__a p {
    padding: 0 1.375rem 1.25rem;
    font-size: .92rem;
    line-height: 1.78;
    color: var(--p-muted);
    margin: 0;
    font-family: var(--p-font);
}

/* ════════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════════ */
.pseo-cta {
    background: var(--p-dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.pseo-cta__orb1 {
    position: absolute; top: -40%; right: -5%;
    width: min(600px, 65vw); height: min(600px, 65vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,82,224,.22), transparent 65%);
    pointer-events: none;
}
.pseo-cta__orb2 {
    position: absolute; bottom: -30%; left: -5%;
    width: min(400px, 45vw); height: min(400px, 45vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,191,168,.12), transparent 65%);
    pointer-events: none;
}
.pseo-cta__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.pseo-cta__left h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.04em;
    line-height: 1.15;
    margin-bottom: .875rem;
}
.pseo-cta__left p {
    font-size: .97rem;
    color: rgba(255,255,255,.42);
    line-height: 1.75;
    max-width: 46ch;
    margin-bottom: 2rem;
}
.pseo-cta__btns {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}
.pseo-cta__right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-end;
}
.pseo-cta__pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem 1rem;
    background: rgba(74,222,128,.1);
    border: 1px solid rgba(74,222,128,.2);
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 700;
    color: #4ade80;
    white-space: nowrap;
}
.pseo-cta__stats {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    min-width: 190px;
}
.pseo-cta__stat { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.pseo-cta__stat-num { font-size: 1.05rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.pseo-cta__stat-lbl { font-size: .72rem; color: rgba(255,255,255,.32); text-align: right; }

/* ════════════════════════════════════════════
   RELATED RESOURCES
════════════════════════════════════════════ */
.pseo-related {
    padding: 80px 0;
    background: #fff;
}
.pseo-related__head {
    margin-bottom: 2.5rem;
}
.pseo-related__title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    color: var(--p-text);
    letter-spacing: -.03em;
    margin: 0;
}
.pseo-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pseo-card {
    background: var(--p-off);
    border: 1px solid var(--p-border);
    border-radius: 16px;
    padding: 1.625rem 1.375rem;
    display: flex;
    flex-direction: column;
    gap: .875rem;
    text-decoration: none;
    transition: border-color .2s, box-shadow .25s, transform .2s;
}
.pseo-card:hover {
    border-color: var(--p-blue);
    box-shadow: 0 8px 32px rgba(0,82,224,.09);
    transform: translateY(-4px);
}
.pseo-card__badge {
    display: inline-block;
    width: fit-content;
    padding: .2rem .75rem;
    background: var(--p-blue-l);
    color: var(--p-blue);
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    border-radius: 100px;
}
.pseo-card h3 {
    font-size: .97rem;
    font-weight: 700;
    color: var(--p-text);
    line-height: 1.45;
    margin: 0;
    flex: 1;
}
.pseo-card__link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--p-blue);
    transition: gap .15s;
    margin-top: auto;
}
.pseo-card__link svg { stroke: currentColor; fill: none; flex-shrink: 0; transition: transform .15s; }
.pseo-card:hover .pseo-card__link { gap: .55rem; }
.pseo-card:hover .pseo-card__link svg { transform: translateX(3px); }

/* ════════════════════════════════════════════
   DIRECTORY PAGE
════════════════════════════════════════════ */
.pseo-dir-hero {
    background: var(--p-dark);
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.pseo-dir-hero .pseo-hgrid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,82,224,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,82,224,.07) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 100%);
}
.pseo-dir-hero__inner { position: relative; z-index: 2; }
.pseo-dir-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.04em;
    margin-bottom: .875rem;
}
.pseo-dir-hero p {
    font-size: 1rem;
    color: rgba(255,255,255,.42);
    max-width: 52ch;
    margin: 0 auto;
    line-height: 1.75;
}

.pseo-dir-body {
    padding: 64px 0 80px;
    background: #fff;
}
.pseo-dir-group { margin-bottom: 56px; }
.pseo-dir-group:last-child { margin-bottom: 0; }
.pseo-dir-group__head {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.5rem;
}
.pseo-dir-group__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--p-text);
    letter-spacing: -.025em;
    margin: 0;
}
.pseo-dir-group__count {
    font-size: .72rem;
    font-weight: 700;
    color: var(--p-blue);
    background: var(--p-blue-l);
    padding: .18rem .65rem;
    border-radius: 100px;
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .pseo-related__grid { grid-template-columns: repeat(2, 1fr); }
    .pseo-cta__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .pseo-cta__right { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 900px) {
    .pseo-layout { grid-template-columns: 1fr; }
    .pseo-aside { position: static; }
    .pseo-lead-card { max-width: 540px; margin: 0 auto; }
}

@media (max-width: 640px) {
    .pseo-hero { padding: 56px 0 52px; }
    .pseo-trust { flex-direction: column; border-radius: 14px; }
    .pseo-trust__sep { width: 80%; height: 1px; }
    .pseo-trust__item { padding: .75rem 1.5rem; }
    .pseo-body { padding: 48px 0 56px; }
    .pseo-faq { padding: 56px 0; }
    .pseo-cta { padding: 56px 0; }
    .pseo-related { padding: 56px 0; }
    .pseo-related__grid { grid-template-columns: 1fr; }
    .pseo-cta__right { flex-direction: column; }
    .pseo-cta__stats { min-width: unset; width: 100%; }
    .pseo-aside { flex-direction: column; }
}
