﻿/* =========================================
   WILLSFLY — CLIENT.CSS
========================================= */

.wfcl-page {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #05070c 0%, #060912 42%, #05070c 100%);
    color: #f5f7fb;
}

.wfcl-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.wfcl-orb,
.wfcl-grid-bg,
.wfcl-noise {
    position: absolute;
    pointer-events: none;
}

.wfcl-orb {
    border-radius: 999px;
    filter: blur(90px);
}

.wfcl-orb-one {
    width: 360px;
    height: 360px;
    left: -110px;
    top: 70px;
    background: rgba(196,135,54,.16);
}

.wfcl-orb-two {
    width: 340px;
    height: 340px;
    right: 5%;
    top: 80px;
    background: rgba(77,115,255,.14);
}

.wfcl-orb-three {
    width: 260px;
    height: 260px;
    right: -50px;
    bottom: 16%;
    background: rgba(154,205,196,.08);
}

.wfcl-grid-bg {
    inset: 0;
    opacity: .10;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at center, black 34%, transparent 92%);
}

.wfcl-noise {
    inset: 0;
    opacity: .04;
    background-image: radial-gradient(rgba(255,255,255,.35) .55px, transparent .55px);
    background-size: 8px 8px;
    mix-blend-mode: soft-light;
}

.wfcl-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-left: clamp(18px, 2vw, 32px);
    padding-right: clamp(18px, 2vw, 32px);
}

/* HERO */

.wfcl-hero {
    position: relative;
    padding: 54px 0 44px;
}

.wfcl-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(520px, .82fr);
    gap: clamp(42px, 5vw, 86px);
    align-items: start;
}

.wfcl-kicker-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.wfcl-kicker,
.wfcl-panel-badge,
.wfcl-panel-status {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.wfcl-kicker,
.wfcl-panel-badge {
    color: #d6a760;
    background: rgba(196,135,54,.08);
    border: 1px solid rgba(196,135,54,.16);
}

.wfcl-panel-status {
    color: #a6d7ce;
    background: rgba(154,205,196,.08);
    border: 1px solid rgba(154,205,196,.16);
}

.wfcl-kicker-line {
    width: 74px;
    height: 1px;
    background: linear-gradient(90deg, rgba(196,135,54,.50), transparent);
}

.wfcl-hero-copy h1 {
    max-width: 1120px;
    margin: 0;
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-size: clamp(3rem, 3vw, 3rem);
    line-height: .96;
    letter-spacing: -.08em;
    font-weight: 800;
    color: #f7f8fb;
}

.wfcl-hero-copy p {
    max-width: 960px;
    margin: 24px 0 0;
    color: rgba(226,232,244,.82);
    font-size: 1.04rem;
    line-height: 1.92;
}

.wfcl-actions,
.wfcl-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.wfcl-btn {
    min-height: 56px;
    padding: 0 24px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    border: 0;
    font-weight: 800;
    cursor: pointer;
    transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease, background .35s ease, color .35s ease;
}

.wfcl-btn-primary {
    color: #16110a;
    background: linear-gradient(135deg, #d9ab5e 0%, #c48736 100%);
    box-shadow: 0 16px 34px rgba(196,135,54,.28), inset 0 1px 0 rgba(255,255,255,.22);
}

    .wfcl-btn-primary:hover {
        color: #16110a;
        transform: translateY(-3px);
        box-shadow: 0 20px 38px rgba(196,135,54,.34), inset 0 1px 0 rgba(255,255,255,.24);
    }

.wfcl-btn-secondary {
    color: #f5f7fb;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

    .wfcl-btn-secondary:hover {
        color: #f5f7fb;
        transform: translateY(-3px);
        border-color: rgba(196,135,54,.18);
        background: rgba(255,255,255,.06);
    }

.wfcl-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

    .wfcl-proof-row span {
        min-height: 42px;
        padding: 0 16px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: rgba(230,236,245,.88);
        background: rgba(255,255,255,.04);
        border: 1px solid rgba(255,255,255,.08);
        font-size: .88rem;
        font-weight: 700;
    }

    .wfcl-proof-row i {
        color: #d6a760;
    }

/* GLASS SYSTEM */

.wfcl-hero-panel,
.wfcl-hero-card-grid article,
.wfcl-engagement-grid article,
.wfcl-model-main,
.wfcl-model-steps,
.wfcl-form-side,
.wfcl-side-stack article,
.wfcl-form-card,
.wfcl-review-box,
.wfcl-review-grid div {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(24,28,39,.82) 0%, rgba(12,15,24,.94) 100%);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 14px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform .42s cubic-bezier(.22,1,.36,1), border-color .36s ease, box-shadow .36s ease;
}

    .wfcl-hero-panel::before,
    .wfcl-hero-card-grid article::before,
    .wfcl-engagement-grid article::before,
    .wfcl-model-main::before,
    .wfcl-model-steps::before,
    .wfcl-form-side::before,
    .wfcl-side-stack article::before,
    .wfcl-form-card::before,
    .wfcl-review-box::before,
    .wfcl-review-grid div::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 14% 16%, rgba(255,255,255,.06), transparent 34%), linear-gradient(180deg, rgba(255,255,255,.02), transparent 56%);
        pointer-events: none;
    }

    .wfcl-hero-card-grid article:hover,
    .wfcl-engagement-grid article:hover,
    .wfcl-side-stack article:hover {
        transform: translateY(-7px);
        border-color: rgba(196,135,54,.18);
        box-shadow: 0 22px 48px rgba(0,0,0,.28), 0 0 0 1px rgba(196,135,54,.04), inset 0 1px 0 rgba(255,255,255,.05);
    }

.wfcl-hero-panel {
    padding: 30px;
    border-radius: 30px;
}

.wfcl-panel-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.wfcl-hero-panel h2 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #f7f8fb;
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-size: clamp(1.45rem, 1.65vw, 1.95rem);
    line-height: 1.14;
    letter-spacing: -.04em;
    font-weight: 800;
}

.wfcl-hero-panel p {
    position: relative;
    z-index: 2;
    margin: 16px 0 0;
    color: rgba(226,232,244,.82);
    line-height: 1.84;
}

.wfcl-hero-card-grid,
.wfcl-engagement-grid {
    display: grid;
    gap: 22px;
}

.wfcl-hero-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
}

.wfcl-engagement-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

    .wfcl-hero-card-grid article,
    .wfcl-engagement-grid article {
        padding: 24px;
        min-height: 190px;
    }

    .wfcl-hero-card-grid i,
    .wfcl-engagement-grid i,
    .wfcl-side-stack i {
        position: relative;
        z-index: 2;
        width: 52px;
        height: 52px;
        border-radius: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(145deg, rgba(196,135,54,.16), rgba(255,255,255,.03));
        color: #d6a760;
        border: 1px solid rgba(196,135,54,.16);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 20px rgba(0,0,0,.18);
        margin-bottom: 16px;
    }

    .wfcl-hero-card-grid h3,
    .wfcl-engagement-grid h3,
    .wfcl-side-stack strong {
        position: relative;
        z-index: 2;
        margin: 0 0 10px;
        color: #f7f8fb;
        font-family: "Manrope", "Inter", system-ui, sans-serif;
        font-size: 1.08rem;
        line-height: 1.34;
        letter-spacing: -.035em;
        font-weight: 800;
    }

    .wfcl-hero-card-grid p,
    .wfcl-engagement-grid p,
    .wfcl-side-stack span {
        position: relative;
        z-index: 2;
        margin: 0;
        color: rgba(226,232,244,.76);
        font-size: .94rem;
        line-height: 1.78;
    }

/* SECTIONS */

.wfcl-section {
    position: relative;
    padding: 52px 0;
}

.wfcl-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .82fr);
    column-gap: clamp(56px, 6vw, 100px);
    row-gap: 18px;
    align-items: start;
    margin-bottom: 34px;
}

    .wfcl-section-head .wfcl-kicker {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .wfcl-section-head h2 {
        grid-column: 1;
        max-width: 820px;
        margin: 0;
        color: #f7f8fb;
        font-family: "Manrope", "Inter", system-ui, sans-serif;
        font-size: clamp(2rem, 3vw, 3rem);
        line-height: 1.08;
        letter-spacing: -.05em;
        font-weight: 800;
    }

    .wfcl-section-head p {
        grid-column: 2;
        max-width: 680px;
        margin: 0;
        color: rgba(226,232,244,.82);
        font-size: 1.01rem;
        line-height: 1.84;
    }

/* MODEL */

.wfcl-model-section {
    padding-top: 30px;
}

.wfcl-model-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
    gap: clamp(32px, 4vw, 72px);
    align-items: stretch;
}

.wfcl-model-main,
.wfcl-model-steps {
    padding: 30px;
}

    .wfcl-model-main h2 {
        position: relative;
        z-index: 2;
        margin: 18px 0 14px;
        color: #f7f8fb;
        font-family: "Manrope", "Inter", system-ui, sans-serif;
        font-size: clamp(2rem, 3vw, 3rem);
        line-height: 1.08;
        letter-spacing: -.05em;
        font-weight: 800;
    }

    .wfcl-model-main p {
        position: relative;
        z-index: 2;
        margin: 0;
        color: rgba(226,232,244,.82);
        line-height: 1.84;
    }

.wfcl-model-steps {
    display: grid;
    gap: 18px;
}

.wfcl-step-line {
    position: absolute;
    left: 51px;
    top: 56px;
    bottom: 92px;
    width: 1px;
    background: linear-gradient(180deg, rgba(214,167,96,.9), rgba(77,115,255,.25), rgba(214,167,96,.45));
}

.wfcl-model-steps article {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.wfcl-step-icon {
    position: relative;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2b35f, #c48736);
    color: #16110a;
    box-shadow: 0 0 0 8px rgba(196,135,54,.08), 0 12px 26px rgba(196,135,54,.24);
    transition: transform .35s ease, box-shadow .35s ease;
    animation: wfclTimelineGlow 3.2s ease-in-out infinite;
}

    .wfcl-step-icon i {
        font-size: 16px;
    }

.wfcl-model-steps article:nth-child(3) .wfcl-step-icon {
    animation-delay: .35s;
}

.wfcl-model-steps article:nth-child(4) .wfcl-step-icon {
    animation-delay: .7s;
}

.wfcl-model-steps article:hover .wfcl-step-icon {
    transform: scale(1.08);
    box-shadow: 0 0 0 12px rgba(196,135,54,.12), 0 16px 34px rgba(196,135,54,.32);
}

@keyframes wfclTimelineGlow {
    0%, 100% {
        box-shadow: 0 0 0 8px rgba(196,135,54,.08), 0 12px 26px rgba(196,135,54,.22);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(196,135,54,.12), 0 16px 34px rgba(196,135,54,.32);
    }
}

.wfcl-model-steps h3 {
    margin: 0 0 6px;
    color: #f7f8fb;
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 850;
    letter-spacing: -.035em;
}

.wfcl-model-steps p {
    margin: 0;
    color: rgba(226,232,244,.76);
    font-size: .94rem;
    line-height: 1.7;
}

/* FORM */

.wfcl-form-section {
    position: relative;
    padding: 46px 0 96px;
}

.wfcl-form-layout {
    display: grid;
    grid-template-columns: minmax(340px, .72fr) minmax(0, 1.28fr);
    gap: clamp(30px, 4vw, 64px);
    align-items: start;
}

.wfcl-form-side,
.wfcl-form-card {
    padding: 30px;
}

    .wfcl-form-side h2 {
        position: relative;
        z-index: 2;
        margin: 18px 0 14px;
        color: #f7f8fb;
        font-family: "Manrope", "Inter", system-ui, sans-serif;
        font-size: clamp(2rem, 3vw, 3rem);
        line-height: 1.08;
        letter-spacing: -.05em;
        font-weight: 800;
    }

    .wfcl-form-side > p {
        position: relative;
        z-index: 2;
        margin: 0;
        color: rgba(226,232,244,.82);
        line-height: 1.84;
    }

.wfcl-side-stack {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

    .wfcl-side-stack article {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
        border-radius: 22px;
    }

    .wfcl-side-stack i {
        margin-bottom: 0;
    }

.wfcl-form-card {
    border-radius: 30px;
}

.wfcl-stepper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.wfcl-step {
    min-height: 62px;
    padding: 0 14px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    color: #f7f8fb;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    transition: all .3s ease;
}

    .wfcl-step span {
        color: #d6a760;
        font-weight: 900;
        font-size: .78rem;
    }

    .wfcl-step strong {
        font-size: .92rem;
    }

    .wfcl-step.is-active {
        border-color: rgba(196,135,54,.24);
        background: rgba(196,135,54,.10);
    }

.wfcl-panel {
    position: relative;
    z-index: 2;
    display: none;
    animation: wfclFadeUp .34s ease;
}

    .wfcl-panel.is-active {
        display: block;
    }

@keyframes wfclFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-label {
    color: rgba(235,240,248,.88);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .03em;
    margin-bottom: 8px;
}

.wfcl-input {
    min-height: 56px;
    border-radius: 16px;
    outline: none;
    appearance: none;
    color: #f3f6fb;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    font-size: .95rem;
}

    .wfcl-input:focus {
        color: #f3f6fb;
        background: rgba(255,255,255,.055);
        border-color: rgba(196,135,54,.34);
        box-shadow: 0 0 0 4px rgba(196,135,54,.10);
    }

    .wfcl-input::placeholder {
        color: rgba(226,232,244,.38);
    }

    .wfcl-input option {
        background: #0c1220;
        color: #f3f6fb;
    }

.wfcl-textarea {
    min-height: 160px;
    padding-top: 14px;
    resize: vertical;
}

.wfcl-note {
    display: block;
    margin-top: 7px;
    color: rgba(226,232,244,.58);
    font-size: .84rem;
}

.wfcl-error {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: #ff8994;
    font-size: .84rem;
    font-weight: 700;
}

.wfcl-review-box {
    padding: 22px;
    border-radius: 24px;
}

    .wfcl-review-box h3 {
        position: relative;
        z-index: 2;
        margin: 16px 0 0;
        color: #f7f8fb;
        font-family: "Manrope", "Inter", system-ui, sans-serif;
        font-size: 1.35rem;
        letter-spacing: -.04em;
    }

.wfcl-review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 18px;
}

    .wfcl-review-grid div {
        padding: 16px;
        border-radius: 18px;
    }

    .wfcl-review-grid strong {
        position: relative;
        z-index: 2;
        display: block;
        margin-bottom: 6px;
        color: #d6a760;
        font-size: .78rem;
        font-weight: 850;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .wfcl-review-grid span {
        position: relative;
        z-index: 2;
        display: block;
        color: rgba(226,232,244,.82);
        line-height: 1.7;
        word-break: break-word;
    }

.wfcl-review-wide {
    grid-column: 1 / -1;
}

.wfcl-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
    color: rgba(226,232,244,.84);
    font-weight: 600;
    line-height: 1.7;
}

    .wfcl-consent input {
        margin-top: 6px;
    }

.wfcl-disclaimer {
    position: relative;
    z-index: 2;
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(226,232,244,.70);
    line-height: 1.8;
    font-size: .92rem;
}

.alert-success,
.alert-danger {
    position: relative;
    z-index: 2;
    border-radius: 18px;
    padding: 14px 18px;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(31,157,103,.10);
    border-color: rgba(31,157,103,.18);
    color: #9fe7c4;
}

.alert-danger {
    background: rgba(209,79,91,.10);
    border-color: rgba(209,79,91,.18);
    color: #ff9ba5;
}

/* SUCCESS MODAL */

.wfcl-success-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 6, 12, .76);
    backdrop-filter: blur(16px);
}

.wfcl-success-box {
    width: min(560px, 100%);
    padding: 34px;
    border-radius: 30px;
    text-align: center;
    background: linear-gradient(180deg, rgba(24,28,39,.96), rgba(12,15,24,.98));
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 34px 90px rgba(0,0,0,.52);
}

.wfcl-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16110a;
    background: linear-gradient(135deg, #d9ab5e, #c48736);
    font-size: 2rem;
}

.wfcl-success-box h2 {
    margin: 0 0 12px;
    color: #f7f8fb;
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
}

.wfcl-success-box p {
    margin: 0 0 24px;
    color: rgba(226,232,244,.82);
    line-height: 1.8;
}

/* RESPONSIVE */

@media (max-width: 1399.98px) {
    .wfcl-hero-card-grid,
    .wfcl-engagement-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .wfcl-hero-grid,
    .wfcl-model-grid,
    .wfcl-form-layout {
        grid-template-columns: 1fr;
    }

    .wfcl-section-head {
        grid-template-columns: 1fr;
    }

        .wfcl-section-head h2,
        .wfcl-section-head p,
        .wfcl-section-head .wfcl-kicker {
            grid-column: auto;
            max-width: 100%;
        }
}

@media (max-width: 767.98px) {
    .wfcl-hero {
        padding-top: 62px;
    }

    .wfcl-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .wfcl-hero-copy h1 {
        font-size: clamp(2.15rem, 10vw, 3rem);
        line-height: 1;
    }

    .wfcl-actions,
    .wfcl-form-actions,
    .wfcl-proof-row {
        flex-direction: column;
    }

        .wfcl-btn,
        .wfcl-proof-row span {
            width: 100%;
        }

    .wfcl-hero-card-grid,
    .wfcl-engagement-grid,
    .wfcl-stepper,
    .wfcl-review-grid {
        grid-template-columns: 1fr;
    }

    .wfcl-model-steps article,
    .wfcl-side-stack article {
        grid-template-columns: 1fr;
    }

    .wfcl-step-line {
        display: none;
    }

    .wfcl-hero-panel,
    .wfcl-model-main,
    .wfcl-model-steps,
    .wfcl-form-side,
    .wfcl-form-card {
        padding: 22px;
        border-radius: 24px;
    }

        .wfcl-form-side h2,
        .wfcl-model-main h2,
        .wfcl-section-head h2 {
            font-size: clamp(1.85rem, 9vw, 2.3rem);
        }
}
