﻿/* =========================================
   WILLSFLY – PERSPECTIVES.CSS
========================================= */

.wpr-page {
    position: relative;
    overflow: hidden;
}

.wpr-section,
.wpr-hero {
    position: relative;
    padding: 56px 0;
    overflow: hidden;
}

.wpr-hero {
    padding-top: 54px;
    padding-bottom: 28px;
}

.wpr-shell {
    position: relative;
    z-index: 2;
}

.wpr-shell-wide {
    padding-left: clamp(18px, 2vw, 32px);
    padding-right: clamp(18px, 2vw, 32px);
}

/* ---------- BACKGROUND ---------- */

.wpr-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.wpr-orb,
.wpr-grid-bg,
.wpr-noise {
    position: absolute;
    pointer-events: none;
}

.wpr-orb {
    border-radius: 999px;
    filter: blur(95px);
}

.wpr-orb-1 {
    width: 360px;
    height: 360px;
    left: -110px;
    top: 28px;
    background: rgba(196, 135, 54, 0.18);
}

.wpr-orb-2 {
    width: 330px;
    height: 330px;
    right: 2%;
    top: 12px;
    background: rgba(77, 115, 255, 0.14);
}

.wpr-orb-3 {
    width: 220px;
    height: 220px;
    right: 14%;
    bottom: 10%;
    background: rgba(120, 160, 255, 0.08);
}

.wpr-grid-bg {
    inset: 0;
    opacity: 0.08;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black 34%, transparent 92%);
}

.wpr-noise {
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(rgba(255,255,255,0.35) 0.5px, transparent 0.5px);
    background-size: 8px 8px;
    mix-blend-mode: soft-light;
}

/* ---------- HERO ---------- */

.wpr-hero-copy {
    max-width: none;
    padding-top: 8px;
    padding-right: 10px;
}

.wpr-kicker-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.wpr-kicker,
.wpr-section-kicker {
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    color: var(--wf-primary);
    background: rgba(196,135,54,0.08);
    border: 1px solid rgba(196,135,54,0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.wpr-kicker-line {
    width: 74px;
    height: 1px;
    background: linear-gradient(90deg, rgba(196,135,54,0.46), transparent);
}

.wpr-title {
    margin: 0;
    max-width: none !important;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(3rem, 4vw, 3rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
    color: var(--wf-text);
}

.wpr-subtitle {
    max-width: 96%;
    margin: 24px 0 0;
    color: var(--wf-text-soft);
    font-size: 1.01rem;
    line-height: 1.9;
}

.wpr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.wpr-actions-center {
    justify-content: center;
}

.wpr-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.wpr-trust-chip {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--wf-text-soft);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform 0.35s cubic-bezier(.22,1,.36,1), border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

    .wpr-trust-chip:hover {
        transform: translateY(-2px);
        border-color: rgba(196,135,54,0.18);
        background: rgba(255,255,255,0.055);
        box-shadow: 0 12px 24px rgba(0,0,0,0.16);
    }

.wpr-editorial-band {
    margin-top: 26px;
}

/* ---------- GLASS SYSTEM ---------- */

.wpr-panel,
.wpr-card,
.wpr-editorial-card,
.wpr-feature-card,
.wpr-category-card,
.wpr-insight-card,
.wpr-framework-shell,
.wpr-framework-card,
.wpr-cta-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(24,28,39,0.82) 0%, rgba(12,15,24,0.94) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 14px 34px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.46s cubic-bezier(.22,1,.36,1), border-color 0.38s ease, box-shadow 0.38s ease;
}

    .wpr-panel::before,
    .wpr-card::before,
    .wpr-editorial-card::before,
    .wpr-feature-card::before,
    .wpr-category-card::before,
    .wpr-insight-card::before,
    .wpr-framework-shell::before,
    .wpr-framework-card::before,
    .wpr-cta-shell::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 14% 16%, rgba(255,255,255,0.06), transparent 34%), linear-gradient(180deg, rgba(255,255,255,0.02), transparent 56%);
        pointer-events: none;
    }

    .wpr-panel:hover,
    .wpr-card:hover,
    .wpr-editorial-card:hover,
    .wpr-feature-card:hover,
    .wpr-category-card:hover,
    .wpr-insight-card:hover,
    .wpr-framework-shell:hover,
    .wpr-framework-card:hover,
    .wpr-cta-shell:hover {
        transform: translateY(-7px);
        border-color: rgba(196,135,54,0.18);
        box-shadow: 0 22px 48px rgba(0,0,0,0.28), 0 0 0 1px rgba(196,135,54,0.04), inset 0 1px 0 rgba(255,255,255,0.05);
    }

/* ---------- ICON SYSTEM ---------- */

.wpr-editorial-icon,
.wpr-card-icon,
.wpr-feature-icon,
.wpr-category-icon,
.wpr-insight-icon,
.wpr-framework-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(196,135,54,0.16), rgba(255,255,255,0.03));
    color: var(--wf-primary);
    border: 1px solid rgba(196,135,54,0.16);
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 20px rgba(0,0,0,0.18);
    transition: transform 0.38s cubic-bezier(.22,1,.36,1), box-shadow 0.38s ease;
}

.wpr-editorial-card:hover .wpr-editorial-icon,
.wpr-card:hover .wpr-card-icon,
.wpr-feature-card:hover .wpr-feature-icon,
.wpr-category-card:hover .wpr-category-icon,
.wpr-insight-card:hover .wpr-insight-icon,
.wpr-framework-card:hover .wpr-framework-icon {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 14px 26px rgba(0,0,0,0.24);
}

/* ---------- EDITORIAL CARDS ---------- */

.wpr-editorial-card {
    height: 100%;
    min-height: 196px;
    padding: 22px;
}

.wpr-editorial-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

    .wpr-editorial-top h4 {
        margin: 0;
        font-family: 'Manrope', sans-serif;
        font-size: 1.08rem;
        line-height: 1.34;
        color: var(--wf-text);
    }

.wpr-editorial-card p {
    margin: 0;
    color: var(--wf-text-soft);
    font-size: 0.94rem;
    line-height: 1.82;
}

/* ---------- RIGHT STACK ---------- */

.wpr-side-stack {
    display: grid;
    gap: 18px;
}

.wpr-panel {
    padding: 24px;
    border-radius: 30px;
}

.wpr-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.wpr-panel-badge,
.wpr-panel-status {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wpr-panel-badge {
    color: var(--wf-primary);
    background: rgba(196,135,54,0.08);
    border: 1px solid rgba(196,135,54,0.16);
}

.wpr-panel-status {
    color: #b8dfd8;
    background: rgba(154,205,196,0.08);
    border: 1px solid rgba(154,205,196,0.16);
}

.wpr-panel h3 {
    margin: 0 0 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.45rem;
    line-height: 1.18;
    letter-spacing: -0.04em;
    color: var(--wf-text);
}

.wpr-panel > p {
    margin: 0;
    color: var(--wf-text-soft);
    line-height: 1.84;
}

/* ---------- TIMELINE ---------- */

.wpr-timeline {
    position: relative;
    display: grid;
    gap: 14px;
}

.wpr-line {
    position: absolute;
    left: 17px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient( 180deg, rgba(196,135,54,0.16) 0%, rgba(196,135,54,0.42) 24%, rgba(77,115,255,0.22) 100% );
    box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 0 0 16px rgba(196,135,54,0.08);
}

.wpr-node {
    position: relative;
    padding-left: 34px;
}

.wpr-dot {
    position: absolute;
    left: 11px;
    top: 32px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #d6a760, #c48736);
    box-shadow: 0 0 0 6px rgba(196,135,54,0.10), 0 0 22px rgba(196,135,54,0.20);
    z-index: 3;
}

.wpr-card {
    border-radius: 24px;
}

.wpr-card-tight {
    min-height: 132px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.wpr-card h4 {
    margin: 2px 0 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.04rem;
    line-height: 1.42;
    color: var(--wf-text);
}

.wpr-card p {
    margin: 0;
    color: var(--wf-text-soft);
    font-size: 0.92rem;
    line-height: 1.74;
}

/* ---------- TYPOGRAPHY ---------- */

.wpr-section-title {
    margin: 14px 0 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 2.7vw, 2.2rem);
    line-height: 1.1;
    letter-spacing: -0.05em;
    color: var(--wf-text);
    width:none !important;
}

.wpr-section-text {
    margin: 0;
    color: var(--wf-text-soft);
    line-height: 1.9;
    font-size: 1rem;
}

.wpr-grid-head {
    text-align: center;
    max-width: 940px;
    margin: 0 auto 28px;
}

    .wpr-grid-head h2 {
        margin: 14px 0 10px;
        font-family: 'Manrope', sans-serif;
        font-size: clamp(2.1rem, 3vw, 3rem);
        line-height: 1.08;
        letter-spacing: -0.05em;
        color: var(--wf-text);
    }

    .wpr-grid-head p {
        margin: 0;
        color: var(--wf-text-soft);
        line-height: 1.8;
    }

/* ---------- FEATURED ---------- */

.wpr-feature-card {
    height: 100%;
    padding: 24px;
}

.wpr-feature-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.wpr-feature-tag {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    color: var(--wf-primary);
    background: rgba(196,135,54,0.08);
    border: 1px solid rgba(196,135,54,0.16);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wpr-feature-card h3 {
    margin: 0 0 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.28rem;
    line-height: 1.28;
    letter-spacing: -0.03em;
    color: var(--wf-text);
}

.wpr-feature-card p {
    margin: 0;
    color: var(--wf-text-soft);
    font-size: 0.94rem;
    line-height: 1.82;
}

/* ---------- CATEGORIES ---------- */

.wpr-category-card {
    height: 100%;
    padding: 24px;
}

.wpr-category-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

    .wpr-category-top h3 {
        margin: 0;
        font-family: 'Manrope', sans-serif;
        font-size: 1.08rem;
        line-height: 1.34;
        color: var(--wf-text);
    }

.wpr-category-card p {
    margin: 0;
    color: var(--wf-text-soft);
    font-size: 0.94rem;
    line-height: 1.8;
}

/* ---------- INSIGHT GRID ---------- */

.wpr-insight-card {
    height: 100%;
    padding: 24px;
}

.wpr-insight-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.wpr-insight-link {
    color: #bfd9d5;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wpr-insight-card h3 {
    margin: 0 0 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.08rem;
    line-height: 1.42;
    color: var(--wf-text);
}

.wpr-insight-card p {
    margin: 0;
    color: var(--wf-text-soft);
    font-size: 0.93rem;
    line-height: 1.8;
}

/* ---------- FRAMEWORK ---------- */

.wpr-framework-shell {
    padding: 28px;
    border-radius: 30px;
}

.wpr-framework-card {
    height: 100%;
    padding: 22px;
}

.wpr-framework-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

    .wpr-framework-top h4 {
        margin: 0;
        font-family: 'Manrope', sans-serif;
        font-size: 1.06rem;
        line-height: 1.36;
        color: var(--wf-text);
    }

.wpr-framework-card p {
    margin: 0;
    color: var(--wf-text-soft);
    font-size: 0.93rem;
    line-height: 1.78;
}

/* ---------- CTA ---------- */

.wpr-cta-shell {
    text-align: center;
    padding: 36px 28px;
    border-radius: 30px;
}

    .wpr-cta-shell h2 {
        margin: 16px 0 14px;
        font-family: 'Manrope', sans-serif;
        font-size: clamp(2.15rem, 3vw, 3rem);
        line-height: 1.08;
        letter-spacing: -0.05em;
        color: var(--wf-text);
    }

    .wpr-cta-shell p {
        max-width: 860px;
        margin: 0 auto;
        color: var(--wf-text-soft);
        line-height: 1.86;
    }

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1399.98px) {
    .wpr-title,
    .wpr-subtitle {
        max-width: 100%;
    }
}

@media (max-width: 1199.98px) {
    .wpr-hero {
        padding-top: 72px;
        padding-bottom: 24px;
    }
}

@media (max-width: 767.98px) {
    .wpr-hero {
        padding-top: 62px;
        padding-bottom: 18px;
    }

    .wpr-title {
        font-size: clamp(2.15rem, 10vw, 3rem);
        line-height: 1;
    }

    .wpr-actions,
    .wpr-trust {
        flex-direction: column;
    }

    .wpr-panel,
    .wpr-card,
    .wpr-editorial-card,
    .wpr-feature-card,
    .wpr-category-card,
    .wpr-insight-card,
    .wpr-framework-shell,
    .wpr-framework-card,
    .wpr-cta-shell {
        padding: 22px;
    }

        .wpr-cta-shell h2,
        .wpr-section-title,
        .wpr-grid-head h2 {
            font-size: clamp(1.85rem, 9vw, 2.3rem);
        }
}


.wpr-feature-icon i {
    font-size: 18px;
    color: rgba(255, 200, 120, 0.85);
}

/* =========================================================
   FINAL LEFT-ALIGNED TAG + INSIGHT HEAD ADJUSTMENT
========================================================= */

/* 1st + 3rd snapshots */
.wpr-feature-top-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

    .wpr-feature-top-left .wpr-feature-icon,
    .wpr-feature-top-left .wpr-feature-tag {
        align-self: center;
    }

    .wpr-feature-top-left .wpr-feature-tag {
        white-space: nowrap;
    }

.wpr-feature-card h3 {
    margin: 0 0 14px;
    max-width: 96%;
    line-height: 1.34;
}

.wpr-feature-card p {
    margin: 0;
    max-width: 97%;
}

/* 2nd snapshot */
.wpr-insight-card {
    min-height: 244px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wpr-insight-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    width: 100%;
}

    .wpr-insight-head .wpr-insight-icon {
        flex-shrink: 0;
        margin: 0;
    }

    .wpr-insight-head h3 {
        margin: 0;
        max-width: 94%;
        line-height: 1.34;
    }

.wpr-insight-card p {
    margin: 0;
    max-width: 96%;
    line-height: 1.82;
}

.wpr-insight-card .wpr-insight-link {
    margin-top: auto;
    align-self: flex-end;
    padding-top: 18px;
    white-space: nowrap;
}

/* remove old top spacing behavior if present */
.wpr-insight-top {
    display: none !important;
}

/* responsive */
@media (max-width: 991.98px) {
    .wpr-feature-top-left,
    .wpr-insight-head {
        gap: 12px;
    }

        .wpr-feature-top-left .wpr-feature-tag {
            white-space: normal;
        }
}

@media (max-width: 767.98px) {
    .wpr-insight-card,
    .wpr-feature-card {
        min-height: auto;
    }

    .wpr-insight-head {
        align-items: flex-start;
    }

        .wpr-insight-head h3 {
            max-width: 100%;
        }

    .wpr-feature-card h3,
    .wpr-feature-card p,
    .wpr-insight-card p {
        max-width: 100%;
    }
}
