﻿/* =========================================
   WILLSFLY – PLATFORMS.CSS FINAL
========================================= */
/* ---------- HERO ---------- */
.wf-platform-hero {
    position: relative;
    z-index: 2;
    padding: 54px 0 24px;
    overflow: clip;
}

.wf-platform-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.wf-platform-orb,
.wf-platform-grid-bg,
.wf-platform-noise {
    position: absolute;
    pointer-events: none;
}

.wf-platform-orb {
    border-radius: 999px;
    filter: blur(90px);
}

.wf-platform-orb-1 {
    width: 360px;
    height: 360px;
    left: -110px;
    top: 40px;
    background: rgba(196, 135, 54, 0.16);
}

.wf-platform-orb-2 {
    width: 320px;
    height: 320px;
    right: 4%;
    top: 26px;
    background: rgba(77, 115, 255, 0.13);
}

.wf-platform-orb-3 {
    width: 220px;
    height: 220px;
    right: 16%;
    bottom: 4%;
    background: rgba(154, 205, 196, 0.07);
}

.wf-platform-grid-bg {
    inset: 0;
    opacity: 0.10;
    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: 44px 44px;
    mask-image: radial-gradient(circle at center, black 34%, transparent 92%);
}

.wf-platform-noise {
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(rgba(255, 255, 255, 0.35) 0.55px, transparent 0.55px);
    background-size: 8px 8px;
    mix-blend-mode: soft-light;
}

.wf-platform-hero-copy {
    max-width: none !important;
    padding-right: 12px;
    padding-top: 6px;
}

.wf-platform-kicker-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.wf-platform-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    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);
}

.wf-platform-kicker-line {
    width: 68px;
    height: 1px;
    background: linear-gradient(90deg, rgba(196, 135, 54, 0.50), transparent);
}

.wf-platform-title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(3rem, 4.1vw, 3.55rem);
    line-height: 1.02;
    letter-spacing: -0.065em;
    color: var(--wf-text);
}

.wf-platform-subtitle {
    margin: 22px 0 0;
    color: var(--wf-text-soft);
    font-size: 1rem;
    line-height: 1.88;
    max-width: 94%;
}

.wf-platform-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.wf-platform-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.wf-platform-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);
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.35s cubic-bezier(.22, 1, .36, 1), border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

    .wf-platform-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);
    }

.wf-platform-left-band {
    margin-top: 30px;
}

.wf-platform-side-stack {
    display: grid;
    gap: 18px;
}

/* ---------- SHARED CARD STYLE ---------- */

.wf-platform-panel,
.wf-platform-card,
.wf-platform-mini-card,
.wf-platform-band-card,
.wf-platform-detail-card,
.wf-platform-detail-panel,
.wf-platform-bridge-panel,
.wf-platform-bridge-card,
.wf-platform-bridge-left-card,
.wf-platform-final-cta {
    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.48s cubic-bezier(.22, 1, .36, 1), border-color 0.38s ease, box-shadow 0.38s ease, background 0.38s ease;
    will-change: transform;
}

    .wf-platform-panel::before,
    .wf-platform-card::before,
    .wf-platform-mini-card::before,
    .wf-platform-band-card::before,
    .wf-platform-detail-card::before,
    .wf-platform-detail-panel::before,
    .wf-platform-bridge-panel::before,
    .wf-platform-bridge-card::before,
    .wf-platform-bridge-left-card::before,
    .wf-platform-final-cta::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 55%);
        pointer-events: none;
    }

    .wf-platform-panel:hover,
    .wf-platform-card:hover,
    .wf-platform-mini-card:hover,
    .wf-platform-band-card:hover,
    .wf-platform-detail-card:hover,
    .wf-platform-detail-panel:hover,
    .wf-platform-bridge-panel:hover,
    .wf-platform-bridge-card:hover,
    .wf-platform-bridge-left-card:hover,
    .wf-platform-final-cta: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);
    }

/* ---------- HERO PANEL ---------- */

.wf-platform-panel-primary {
    padding: 28px;
}

.wf-platform-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.wf-platform-panel-badge,
.wf-platform-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;
}

.wf-platform-panel-badge {
    color: var(--wf-primary);
    background: rgba(196, 135, 54, 0.08);
    border: 1px solid rgba(196, 135, 54, 0.16);
}

.wf-platform-panel-status {
    color: #b8dfd8;
    background: rgba(154, 205, 196, 0.08);
    border: 1px solid rgba(154, 205, 196, 0.16);
}

.wf-platform-panel-primary h3 {
    margin: 0 0 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.46rem;
    line-height: 1.18;
    letter-spacing: -0.04em;
    color: var(--wf-text);
}

.wf-platform-panel-primary p {
    margin: 0;
    color: var(--wf-text-soft);
    line-height: 1.82;
}

/* ---------- ICON SYSTEM ---------- */

.wf-platform-mini-icon,
.wf-platform-card-icon,
.wf-platform-band-icon,
.wf-platform-detail-icon,
.wf-platform-bridge-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, border-color 0.38s ease;
}

.wf-platform-mini-card:hover .wf-platform-mini-icon,
.wf-platform-card:hover .wf-platform-card-icon,
.wf-platform-band-card:hover .wf-platform-band-icon,
.wf-platform-detail-card:hover .wf-platform-detail-icon,
.wf-platform-bridge-card:hover .wf-platform-bridge-icon,
.wf-platform-bridge-left-card:hover .wf-platform-bridge-icon {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(196, 135, 54, 0.06);
}

/* ---------- MINI CARDS ---------- */

.wf-platform-mini-card {
    padding: 18px;
    min-height: 128px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.wf-platform-mini-card-wide {
    min-height: 136px;
}

.wf-platform-mini-card h4 {
    margin: 2px 0 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: var(--wf-text);
}

.wf-platform-mini-card p {
    margin: 0;
    color: var(--wf-text-soft);
    line-height: 1.72;
    font-size: 0.93rem;
}

/* ---------- HERO TIMELINE ---------- */

.wf-platform-timeline {
    position: relative;
    display: grid;
    gap: 16px;
    padding-left: 34px;
}

.wf-platform-line {
    position: absolute;
    left: 12px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient( 180deg, rgba(196, 135, 54, 0.12) 0%, rgba(196, 135, 54, 0.38) 20%, rgba(77, 115, 255, 0.22) 100% );
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02), 0 0 14px rgba(196, 135, 54, 0.08);
}

.wf-platform-node {
    position: relative;
}

.wf-platform-node-2 {
    margin-left: 16px;
}

.wf-platform-node-3 {
    margin-left: 28px;
}

.wf-platform-node-4 {
    margin-left: 40px;
}

.wf-platform-dot {
    position: absolute;
    left: -31px;
    top: 40px;
    width: 14px;
    height: 14px;
    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);
    transition: transform 0.38s cubic-bezier(.22, 1, .36, 1), box-shadow 0.38s ease;
    z-index: 3;
}

.wf-platform-node::after {
    content: "";
    position: absolute;
    left: -17px;
    top: 46px;
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, rgba(196, 135, 54, 0.42), rgba(255, 255, 255, 0.06));
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.wf-platform-node:hover .wf-platform-dot {
    transform: scale(1.08);
    box-shadow: 0 0 0 7px rgba(196, 135, 54, 0.12), 0 0 28px rgba(196, 135, 54, 0.28);
}

.wf-platform-node:hover::after {
    transform: scaleX(1.08);
    opacity: 1;
}

.wf-platform-card {
    padding: 18px;
    min-height: 120px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.wf-platform-card-tight {
    min-height: 110px;
}

.wf-platform-card h4 {
    margin: 2px 0 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: var(--wf-text);
}

.wf-platform-card p {
    margin: 0;
    color: var(--wf-text-soft);
    line-height: 1.72;
    font-size: 0.93rem;
}

/* ---------- SECTION BASE ---------- */

.wf-platform-band,
.wf-platform-group,
.wf-platform-bridge,
.wf-platform-cta {
    padding-top: 52px;
    padding-bottom: 52px;
}

.wf-platform-band-intro {
    max-width: 920px;
    margin: 12px auto 0;
    color: var(--wf-text-soft);
    line-height: 1.84;
}

/* ---------- BAND CARDS ---------- */

.wf-platform-band-card {
    height: 100%;
    padding: 28px;
}

.wf-platform-band-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.wf-platform-band-badge,
.wf-platform-detail-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wf-primary);
    background: rgba(196, 135, 54, 0.08);
    border: 1px solid rgba(196, 135, 54, 0.14);
}

.wf-platform-band-header {
    margin-bottom: 14px;
}

.wf-platform-band-card h3 {
    margin: 0 0 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.7rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--wf-text);
}

.wf-platform-band-subhead,
.wf-platform-detail-subhead {
    margin: 8px 0 0;
    color: var(--wf-text-faint);
    font-size: 0.92rem;
    line-height: 1.7;
    font-weight: 600;
}

.wf-platform-band-card p {
    margin: 0 0 14px;
    color: var(--wf-text-soft);
    line-height: 1.84;
}

.wf-platform-band-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--wf-text-soft);
    line-height: 1.9;
}

/* ---------- DETAIL CARDS ---------- */

.wf-platform-detail-card {
    padding: 26px;
    height: 100%;
}

.wf-platform-detail-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.wf-platform-detail-header {
    margin-bottom: 12px;
}

    .wf-platform-detail-header h3 {
        margin: 0 0 8px;
        font-family: 'Manrope', sans-serif;
        font-size: 1.58rem;
        line-height: 1.1;
        letter-spacing: -0.04em;
        color: var(--wf-text);
    }

.wf-platform-detail-card > p {
    margin: 0 0 16px;
    color: var(--wf-text-soft);
    line-height: 1.84;
}

.wf-platform-detail-grid {
    display: grid;
    grid-template-columns: 1fr 0.86fr;
    gap: 14px;
}

.wf-platform-detail-panel {
    padding: 18px;
}

    .wf-platform-detail-panel h5 {
        margin: 0 0 10px;
        font-family: 'Manrope', sans-serif;
        font-size: 1rem;
        color: var(--wf-text);
    }

    .wf-platform-detail-panel p {
        margin: 0;
        color: var(--wf-text-soft);
        line-height: 1.76;
    }

    .wf-platform-detail-panel ul {
        margin: 0;
        padding-left: 18px;
        color: var(--wf-text-soft);
        line-height: 1.88;
    }

/* ---------- ALT GROUP ICON TONE ---------- */

.wf-platform-group-alt .wf-platform-detail-icon {
    color: #b8dfd8;
    background: linear-gradient(145deg, rgba(154, 205, 196, 0.12), rgba(255, 255, 255, 0.03));
    border-color: rgba(154, 205, 196, 0.14);
}

/* ---------- BRIDGE ---------- */

.wf-platform-bridge-panel {
    padding: 32px;
}

.wf-platform-bridge-copy {
    padding-top: 6px;
}

    .wf-platform-bridge-copy h2,
    .wf-platform-final-cta h2 {
        margin: 0 0 14px;
        font-family: 'Manrope', sans-serif;
        font-size: clamp(2.05rem, 2.8vw, 2.5rem);
        line-height: 1.08;
        letter-spacing: -0.045em;
        color: var(--wf-text);
    }

    .wf-platform-bridge-copy p,
    .wf-platform-final-cta p {
        margin: 0;
        color: var(--wf-text-soft);
        line-height: 1.88;
        font-size: 1rem;
    }

.wf-platform-bridge-grid {
    display: grid;
    gap: 14px;
}

.wf-platform-bridge-card {
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-radius: 22px;
}

.wf-platform-bridge-left-grid {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.wf-platform-bridge-left-card {
    border-radius: 22px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

    .wf-platform-bridge-card small,
    .wf-platform-bridge-left-card small {
        display: block;
        margin-bottom: 6px;
        color: var(--wf-text-faint);
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        font-weight: 700;
    }

    .wf-platform-bridge-card strong,
    .wf-platform-bridge-left-card strong {
        display: block;
        font-family: 'Manrope', sans-serif;
        font-size: 1rem;
        line-height: 1.6;
        color: var(--wf-text);
    }

/* ---------- CTA ---------- */

.wf-platform-final-cta {
    padding: 32px;
}

.wf-final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

/* ---------- FALLBACK ---------- */

@supports not (backdrop-filter: blur(16px)) {
    .wf-platform-panel,
    .wf-platform-card,
    .wf-platform-mini-card,
    .wf-platform-band-card,
    .wf-platform-detail-card,
    .wf-platform-detail-panel,
    .wf-platform-bridge-panel,
    .wf-platform-bridge-card,
    .wf-platform-bridge-left-card,
    .wf-platform-final-cta {
        background: rgba(18, 22, 32, 0.95);
    }
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1199.98px) {
    .wf-platform-hero {
        padding: 74px 0 22px;
    }

    .wf-platform-subtitle {
        max-width: 100%;
    }

    .wf-platform-node-2,
    .wf-platform-node-3,
    .wf-platform-node-4 {
        margin-left: 0;
    }

    .wf-platform-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .wf-platform-hero {
        padding: 66px 0 18px;
    }

    .wf-platform-title {
        font-size: clamp(2.1rem, 10vw, 3rem);
        line-height: 1;
    }

    .wf-platform-actions,
    .wf-platform-trust,
    .wf-final-cta-actions {
        flex-direction: column;
    }

    .wf-platform-trust-chip {
        width: 100%;
        justify-content: center;
    }

    .wf-platform-panel-primary,
    .wf-platform-card,
    .wf-platform-mini-card,
    .wf-platform-band-card,
    .wf-platform-detail-card,
    .wf-platform-detail-panel,
    .wf-platform-bridge-panel,
    .wf-platform-bridge-card,
    .wf-platform-bridge-left-card,
    .wf-platform-final-cta {
        padding: 22px;
    }

        .wf-platform-bridge-copy h2,
        .wf-platform-final-cta h2 {
            font-size: clamp(1.8rem, 9vw, 2.4rem);
        }

    .wf-platform-timeline {
        padding-left: 24px;
    }

    .wf-platform-dot {
        left: -18px;
    }

    .wf-platform-line {
        left: 10px;
    }

    .wf-platform-node::after {
        left: -12px;
        width: 16px;
    }

    .wf-platform-card,
    .wf-platform-card-tight {
        min-height: auto;
    }
}

/* =========================================
   PLATFORMS HERO ALIGNMENT FIX
========================================= */

.wf-platform-side-stack {
    display: grid;
    gap: 18px;
    align-content: start;
}

.wf-platform-timeline {
    position: relative;
    display: grid;
    gap: 14px;
    padding-left: 28px;
    margin-top: 2px;
}

.wf-platform-line {
    position: absolute;
    left: 11px;
    top: 18px;
    bottom: 18px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient( 180deg, rgba(196, 135, 54, 0.14) 0%, rgba(196, 135, 54, 0.40) 30%, rgba(77, 115, 255, 0.20) 100% );
    box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 0 0 16px rgba(196,135,54,0.08);
}

.wf-platform-node {
    position: relative;
    margin-left: 0 !important;
}

.wf-platform-dot {
    position: absolute;
    left: -24px;
    top: 40px;
    width: 14px;
    height: 14px;
    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: 2;
    transition: transform 0.38s cubic-bezier(.22,1,.36,1), box-shadow 0.38s ease;
}

.wf-platform-node::after {
    content: "";
    position: absolute;
    left: -10px;
    top: 46px;
    width: 18px;
    height: 1px;
    background: linear-gradient(90deg, rgba(196,135,54,0.42), rgba(255,255,255,0.06));
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.wf-platform-node:hover .wf-platform-dot {
    transform: scale(1.08);
    box-shadow: 0 0 0 7px rgba(196,135,54,0.12), 0 0 28px rgba(196,135,54,0.28);
}

.wf-platform-node:hover::after {
    transform: scaleX(1.06);
}

.wf-platform-card-tight {
    min-height: 102px;
    padding: 18px 18px 18px 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-radius: 24px;
}

    .wf-platform-card-tight h4 {
        margin: 2px 0 6px;
        font-family: 'Manrope', sans-serif;
        font-size: 1rem;
        line-height: 1.35;
        color: var(--wf-text);
    }

    .wf-platform-card-tight p {
        margin: 0;
        color: var(--wf-text-soft);
        line-height: 1.7;
        font-size: 0.93rem;
    }

@media (max-width: 1199.98px) {
    .wf-platform-timeline {
        padding-left: 24px;
    }

    .wf-platform-dot {
        left: -19px;
    }

    .wf-platform-line {
        left: 9px;
    }

    .wf-platform-node::after {
        left: -7px;
        width: 14px;
    }
}


.wf-platform-shell {
    position: relative;
    z-index: 2;
}

.wf-platform-shell-wide {
    padding-left: clamp(18px, 2vw, 32px);
    padding-right: clamp(18px, 2vw, 32px);
}
.wf-section-heading {
    max-width: 1100px; /* controls whole block */
    margin: 0 auto;
    text-align: center;
}

    .wf-section-heading h2 {
        max-width: 980px;
        margin: 14px auto 0;
        line-height: 1.08;
        letter-spacing: -0.04em;
    }

    .wf-section-heading p {
        max-width: 760px; /* tighter than h2 → premium look */
        margin: 16px auto 0;
    }