/* ═══════════════════════════════════════
   Customer Journey — Isolated Styles (cj-* prefix)
   All classes scoped to page-customer-journey.php
   ═══════════════════════════════════════ */


/* ─── Hero (dark gradient, left-aligned) ─── */
.cj-hero {
    padding: 6rem 0 4rem;
    margin-top: -72px;
    padding-top: calc(72px + 4rem);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.admin-bar .cj-hero {
    margin-top: calc(-72px - 32px);
    padding-top: calc(72px + 32px + 4rem);
}

@media (max-width: 782px) {
    .admin-bar .cj-hero {
        margin-top: calc(-72px - 46px);
        padding-top: calc(72px + 46px + 4rem);
    }
}

@media (min-width: 768px) {
    .cj-hero {
        padding: 8rem 0 5rem;
        padding-top: calc(72px + 6rem);
    }
}

.cj-hero__content {
    max-width: 720px;
}

.cj-hero__content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 1rem;
    color: var(--sl-primary);
}

.cj-hero__desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cj-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(77, 157, 232, 0.2);
    border: 1px solid rgba(77, 157, 232, 0.3);
    color: var(--sl-secondary-light);
    margin-bottom: 1.25rem;
}


/* ─── Section Header (left-aligned) ─── */
.cj-section-header {
    max-width: 720px;
    margin-bottom: var(--sl-space-3xl);
    text-align: left;
}

.cj-section-header h2 {
    font-size: var(--sl-text-5xl);
    font-weight: 700;
    color: var(--sl-text);
    margin-bottom: var(--sl-space-md);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cj-section-header p {
    font-size: var(--sl-text-lg);
    color: var(--sl-text-secondary);
    line-height: 1.7;
    max-width: 640px;
}


/* ─── Card Grid (3-col) ─── */
.cj-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sl-space-xl);
}

@media (min-width: 640px) {
    .cj-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cj-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ─── Pain Point Cards (white bg, blue left border) ─── */
.cj-pain-card {
    background: var(--sl-bg-white);
    border-radius: var(--sl-radius-md);
    padding: var(--sl-space-xl);
    border-left: 3px solid var(--sl-secondary);
    box-shadow: var(--sl-shadow-sm);
    transition: box-shadow var(--sl-transition-base), transform var(--sl-transition-base);
}

.cj-pain-card:hover {
    box-shadow: var(--sl-shadow-md);
    transform: translateY(-2px);
}

.cj-pain-card h3 {
    font-size: var(--sl-text-xl);
    margin-bottom: var(--sl-space-sm);
    color: var(--sl-text);
}

.cj-pain-card p {
    color: var(--sl-text-secondary);
    line-height: 1.7;
}


/* ─── Icon Boxes ─── */
.cj-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sl-secondary);
    border-radius: var(--sl-radius-md);
    margin-bottom: var(--sl-space-lg);
    flex-shrink: 0;
}

.cj-icon svg {
    color: #fff;
    width: 24px;
    height: 24px;
}


/* ─── Numbered Steps ─── */
.cj-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 640px;
}

.cj-step {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cj-step__number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--sl-secondary);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cj-step__content {
    flex: 1;
}

.cj-step__content h3 {
    margin-bottom: 0.35rem;
    font-size: 1.15rem;
    color: var(--sl-text);
}

.cj-step__content p {
    color: var(--sl-text-secondary);
    line-height: 1.6;
}


/* ─── Benefit Cards (white bg, blue left border) ─── */
.cj-benefit-card {
    background: var(--sl-bg-white);
    border-radius: var(--sl-radius-md);
    padding: var(--sl-space-xl);
    border-left: 3px solid var(--sl-secondary);
    box-shadow: var(--sl-shadow-sm);
    transition: box-shadow var(--sl-transition-base), transform var(--sl-transition-base);
}

.cj-benefit-card:hover {
    box-shadow: var(--sl-shadow-md);
    transform: translateY(-2px);
}

.cj-benefit-card h3 {
    font-size: var(--sl-text-xl);
    margin-bottom: var(--sl-space-sm);
    color: var(--sl-text);
}

.cj-benefit-card p {
    color: var(--sl-text-secondary);
    line-height: 1.7;
}


/* ─── Stat Cards (white bg, blue left border) ─── */
.cj-stat {
    background: var(--sl-bg-white);
    border-radius: var(--sl-radius-md);
    padding: var(--sl-space-xl);
    border-left: 3px solid var(--sl-secondary);
    box-shadow: var(--sl-shadow-sm);
    text-align: left;
}

.cj-stat__value {
    font-size: var(--sl-text-4xl);
    font-weight: 800;
    color: var(--sl-text);
    line-height: 1.2;
    margin-bottom: var(--sl-space-xs);
    letter-spacing: -0.02em;
}

.cj-stat__value span {
    display: inline;
}

.cj-stat__label {
    font-size: var(--sl-text-sm);
    color: var(--sl-text-secondary);
    font-weight: 500;
}


/* ─── Pre-footer CTA (right-aligned, vertically centered) ─── */
.cj-pre-cta {
    padding: var(--sl-space-section) 0;
    background: var(--sl-bg-off-white);
    display: flex;
    align-items: center;
    min-height: 200px;
}

.cj-pre-cta .sl-container {
    text-align: right;
}

.cj-pre-cta h2 {
    font-size: var(--sl-text-4xl);
    color: var(--sl-text);
    margin-bottom: var(--sl-space-md);
}

.cj-pre-cta p {
    font-size: var(--sl-text-lg);
    color: var(--sl-text-secondary);
    margin: 0;
}
