/* e-Document Management page — aligned with VirtualFlex navy, gold and red palette */
.vf-edoc {
    color: #29485d;
    background: #fff;
    overflow: hidden
}

.vfd-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto
}

.vfd-intro {
    padding: 82px 0;
    background: #f4fafc
}

.vfd-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start
}

.vfd-label {
    color: #0b5f8a
}

.vf-edoc h2 {
    font-size: clamp(29px, 3.3vw, 43px);
    line-height: 1.15;
    letter-spacing: -1px;
    color: #29485d;
    margin: 15px 0
}

.vf-edoc h2 span {
    color: #19b5e6
}

.vfd-copy p,
.vfd-benefits__grid>div>p {
    font-size: 15px;
    line-height: 1.85;
    color: #647487;
    margin: 0 0 13px
}

.vfd-capabilities,
.vfd-lifecycle {
    padding: 84px 0
}

.vfd-heading {
    text-align: center;
    max-width: 730px;
    margin: 0 auto 42px
}

.vfd-heading>p {
    font-size: 14px;
    line-height: 1.7;
    color: #68798b
}

.vfd-capability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px
}

.vfd-capability {
    position: relative;
    border: 1px solid #d9e8ef;
    border-radius: 13px;
    padding: 30px 32px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(20, 48, 73, .045)
}

.vfd-capability.dark {
    background: #082d46;
    color: #fff;
    border-color: #082d46
}

.vfd-number {
    position: absolute;
    right: 25px;
    top: 24px;
    color: #19b5e6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px
}

.vfd-symbol {
    font-size: 28px;
    color: #19b5e6;
    margin-bottom: 15px
}

.vfd-capability h3 {
    font-size: 20px;
    color: #29485d;
    margin: 0 0 10px
}

.vfd-capability.dark h3 {
    color: #fff
}

.vfd-capability p,
.vfd-capability li {
    font-size: 13px;
    line-height: 1.7;
    color: #69798a
}

.vfd-capability.dark p,
.vfd-capability.dark li {
    color: #c4d5df
}

.vfd-capability ul {
    padding-left: 18px;
    margin: 17px 0 0
}

.vfd-capability li {
    padding: 3px 0
}

.vfd-lifecycle {
    background: #f4fafc
}

.vfd-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px
}

.vfd-steps article {
    background: #fff;
    border: 1px solid #d9e8ef;
    border-radius: 11px;
    padding: 20px 16px;
    min-height: 190px
}

.vfd-steps article>b {
    font-size: 11px;
    color: #19b5e6
}

.vfd-steps article>span {
    display: block;
    font-size: 25px;
    color: #19b5e6;
    margin: 12px 0
}

.vfd-steps h3 {
    font-size: 15px;
    margin: 0 0 8px;
    color: #29485d
}

.vfd-steps p {
    font-size: 12px;
    line-height: 1.65;
    color: #718093;
    margin: 0
}

.vfd-benefits {
    padding: 85px 0
}

.vfd-benefits__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: start
}

.vfd-benefit-list article {
    display: flex;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid #d9e8ef
}

.vfd-benefit-list article>b {
    color: #19b5e6;
    font-size: 12px;
    padding-top: 3px
}

.vfd-benefit-list article span {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.vfd-benefit-list strong {
    font-size: 14px;
    color: #29485d
}

.vfd-benefit-list small {
    font-size: 12px;
    color: #718093
}

.vfd-platform {
    padding: 72px 0;
    background: #041c2c;
    color: #fff;
    text-align: center
}

.vfd-platform__inner {
    max-width: 850px
}

.vfd-platform h2 {
    color: #fff;
    margin: 17px 0
}

.vfd-platform h2 span {
    color: #8edcf2
}

.vfd-platform__inner>p {
    max-width: 760px;
    margin: 0 auto 25px;
    color: #c9d6e2;
    font-size: 14px;
    line-height: 1.8
}

.vfd-platform__tags {
    justify-content: center;
    margin: 0
}

.vfd-cta {
    padding: 65px 0;
    background: #f4fafc
}

.vfd-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px
}

.vfd-cta h2 {
    max-width: 700px;
    font-size: clamp(26px, 3vw, 37px)
}

.vfd-cta p {
    color: #68798b;
    font-size: 14px
}

.vfd-cta .vfd-button {
    flex-shrink: 0
}

@media(max-width:900px) {
    .vfd-hero__grid {
        gap: 35px
    }

    .vfd-steps {
        grid-template-columns: repeat(3, 1fr)
    }

    .vfd-benefits__grid {
        gap: 40px
    }
}

@media(max-width:700px) {
    .vfd-container {
        width: min(100% - 34px, 560px)
    }

    .vfd-hero {
        padding: 58px 0 65px
    }

    .vfd-hero__grid,
    .vfd-intro__grid,
    .vfd-benefits__grid {
        grid-template-columns: 1fr;
        gap: 34px
    }

    .vfd-hero h1 {
        font-size: 40px
    }

    .vfd-visual {
        margin: 0 6px
    }

    .vfd-float {
        right: -4px
    }

    .vfd-intro,
    .vfd-capabilities,
    .vfd-lifecycle,
    .vfd-benefits {
        padding: 60px 0
    }

    .vfd-capability-grid {
        grid-template-columns: 1fr
    }

    .vfd-capability {
        padding: 25px 23px
    }

    .vfd-steps {
        grid-template-columns: repeat(2, 1fr)
    }

    .vfd-cta__inner {
        align-items: flex-start;
        flex-direction: column
    }

    .vfd-cta {
        padding: 55px 0
    }

    .vfd-files {
        padding: 15px 10px
    }

    .vfd-file {
        gap: 7px;
        padding: 8px
    }

    .vfd-file em {
        font-size: 8px
    }

    .vfd-window__foot {
        font-size: 8px
    }
}

@media(max-width:390px) {
    .vfd-steps {
        grid-template-columns: 1fr
    }

    .vfd-hero h1 {
        font-size: 35px
    }

    .vfd-file small {
        display: none
    }
}


/* Hero layout and animated ECM diagram */
.vfd-hero {
    background: linear-gradient(135deg, #f4fafc 0%, #fff 58%, #eaf7fc 100%);
    color: #29485d;
    padding: 150px 0 76px;
    position: relative;
    overflow: hidden
}

.vfd-hero:after {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: rgba(25, 181, 230, .055);
    right: -230px;
    top: -270px;
    pointer-events: none
}

.vfd-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 58px;
    align-items: center
}

.vfd-hero__copy {
    min-width: 0
}

.vfd-eyebrow {
    color: #0b5f8a
}

.vfd-eyebrow i {
    background: #19b5e6;
    box-shadow: 0 0 0 5px rgba(25, 181, 230, .13)
}

.vfd-hero h1 {
    font-size: clamp(36px, 4vw, 55px);
    line-height: 1.08;
    letter-spacing: -1.6px;
    margin: 18px 0 20px;
    color: #041c2c
}

.vfd-hero h1 em {
    font-style: normal;
    color: #0b5f8a
}

.vfd-hero__copy>p {
    max-width: 560px;
    color: #526b7d;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 26px
}

.vfd-hero__features {
    display: grid;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0 0 27px
}

.vfd-hero__features li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: center;
    color: #29485d;
    font-size: 15px;
    line-height: 1.55
}

.vfd-feature-icon {
    width: 44px;
    height: 44px;
    border: 1px solid #bceafa;
    background: #eaf7fc;
    color: #0b8fc1;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 23px;
    font-weight: 700
}

.vfd-button {
    background: #19b5e6;
    color: #fff !important
}

.vfd-button:hover {
    background: #0b5f8a
}

.vfd-diagram {
    position: relative;
    z-index: 1;
    background: #fff;
    border: 1px solid #d9e8ef;
    border-radius: 18px;
    padding: 18px 18px 14px;
    box-shadow: 0 22px 60px rgba(4, 28, 44, .12);
    min-width: 0
}

.vfd-diagram__topline {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #617789;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    padding: 2px 4px 12px;
    border-bottom: 1px solid #eaf1f5
}

.vfd-diagram__status,
.vfd-diagram__footer i {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    background: #19b5e6;
    box-shadow: 0 0 0 4px rgba(25, 181, 230, .12)
}

.vfd-diagram__live {
    margin-left: auto;
    color: #0b8fc1;
    font-size: 9px
}

.vfd-process-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible
}

.vfd-process-svg text {
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    fill: #526b7d;
    text-anchor: middle
}

.vfd-source rect {
    fill: #082d46;
    stroke: #0b5f8a;
    stroke-width: 1
}

.vfd-source path,
.vfd-source circle {
    fill: none;
    stroke: #8edcf2;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.vfd-source text {
    fill: #fff;
    font-size: 10px
}

.vfd-source {
    animation: vfdSourceFloat 4s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center
}

.vfd-source--two {
    animation-delay: .25s
}

.vfd-source--three {
    animation-delay: .5s
}

.vfd-source--four {
    animation-delay: .75s
}

.vfd-source--five {
    animation-delay: 1s
}

.vfd-flow-line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 8 8;
    animation: vfdFlow 2.2s linear infinite
}

.vfd-flow-line--input {
    stroke: #8edcf2;
    stroke-width: 2;
    stroke-dasharray: 5 7;
    animation-duration: 2.8s
}

.vfd-flow-line--index {
    stroke: #19b5e6
}

.vfd-flow-line--classify {
    stroke: #19b5e6;
    animation-delay: .3s
}

.vfd-flow-line--manage {
    stroke: #0b8fc1;
    animation-delay: .6s
}

.vfd-flow-line--search {
    stroke: #0b5f8a;
    animation-delay: .9s
}

.vfd-hub {
    fill: #fff;
    stroke-width: 4;
    transform-box: fill-box;
    transform-origin: center;
    animation: vfdHubPulse 3.4s ease-in-out infinite
}

.vfd-hub circle:first-child {
    fill: #fff
}

.vfd-hub__inner {
    fill: #eaf7fc;
    stroke-width: 1.5;
    opacity: .95
}

.vfd-hub path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.vfd-hub text {
    fill: #526b7d;
    stroke: none;
    font-size: 10px
}

.vfd-hub--capture {
    stroke: #19b5e6;
    color: #19b5e6
}

.vfd-hub--index {
    stroke: #0b8fc1;
    color: #0b8fc1;
    animation-delay: .45s
}

.vfd-hub--classify {
    stroke: #0b5f8a;
    color: #0b5f8a;
    animation-delay: .9s
}

.vfd-hub--manage {
    stroke: #19b5e6;
    color: #19b5e6;
    animation-delay: 1.35s
}

.vfd-hub--search {
    stroke: #0b5f8a;
    color: #0b5f8a;
    animation-delay: 1.8s
}

.vfd-doc-pulse circle {
    fill: #19b5e6;
    opacity: 0;
    animation: vfdDotPulse 2.4s ease-out infinite
}

.vfd-doc-pulse circle+circle {
    animation-delay: 1.2s
}

.vfd-diagram__footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    border-top: 1px solid #eaf1f5;
    padding: 12px 4px 0;
    color: #718493;
    font-size: 10px
}

.vfd-diagram__footer i {
    margin-right: 7px;
    width: 6px;
    height: 6px
}

@keyframes vfdFlow {
    to {
        stroke-dashoffset: -32
    }
}

@keyframes vfdSourceFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-5px)
    }
}

@keyframes vfdHubPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 0 rgba(25, 181, 230, 0));
        transform: scale(1)
    }

    50% {
        filter: drop-shadow(0 4px 7px rgba(25, 181, 230, .22));
        transform: scale(1.035)
    }
}

@keyframes vfdDotPulse {
    0% {
        opacity: .8;
        transform: scale(.5)
    }

    100% {
        opacity: 0;
        transform: scale(5)
    }
}

@media(max-width:1000px) {
    .vfd-hero {
        padding-top: 135px
    }

    .vfd-hero__grid {
        grid-template-columns: 1fr;
        gap: 38px
    }

    .vfd-diagram {
        max-width: 760px;
        width: 100%;
        margin: 0 auto
    }

    .vfd-hero__copy {
        max-width: 760px;
        margin: 0 auto
    }
}

@media(max-width:700px) {
    .vfd-hero {
        padding: 115px 0 55px
    }

    .vfd-hero__grid {
        gap: 30px
    }

    .vfd-diagram {
        padding: 12px 10px 10px;
        border-radius: 13px
    }

    .vfd-diagram__topline {
        font-size: 8px
    }

    .vfd-diagram__footer {
        font-size: 8px
    }

    .vfd-hero h1 {
        font-size: clamp(34px, 9vw, 44px)
    }

    .vfd-hero__copy>p {
        font-size: 15px
    }

    .vfd-hero__features {
        gap: 13px
    }

    .vfd-hero__features li {
        font-size: 13px;
        grid-template-columns: 40px 1fr;
        gap: 11px
    }

    .vfd-feature-icon {
        width: 38px;
        height: 38px;
        font-size: 19px
    }

    .vfd-button {
        font-size: 12px;
        padding: 13px 17px
    }
}

@media(max-width:420px) {
    .vfd-diagram__footer span:last-child {
        display: none
    }

    .vfd-process-svg text {
        font-size: 10px
    }
}

@media(prefers-reduced-motion:reduce) {

    .vfd-source,
    .vfd-flow-line,
    .vfd-hub,
    .vfd-doc-pulse circle {
        animation: none !important
    }
}



/* Hero CTA: protect button styling from global anchor/link styles in layouts.app */
.vf-edoc .vfd-hero .vfd-hero__copy a.vfd-button,
.vf-edoc .vfd-hero .vfd-hero__copy a.vfd-button:link,
.vf-edoc .vfd-hero .vfd-hero__copy a.vfd-button:visited {
    display: inline-flex !important;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 15px 23px;
    border: 1px solid #19b5e6;
    border-radius: 999px;
    background: #19b5e6 !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none !important;
    text-align: center;
    box-shadow: 0 10px 24px rgba(11, 95, 138, .20);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.vf-edoc .vfd-hero .vfd-hero__copy a.vfd-button b {
    color: #ffffff !important;
    font-size: 19px;
    line-height: 1;
}

.vf-edoc .vfd-hero .vfd-hero__copy a.vfd-button:hover,
.vf-edoc .vfd-hero .vfd-hero__copy a.vfd-button:focus-visible {
    background: #0b5f8a !important;
    border-color: #0b5f8a;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 13px 28px rgba(11, 95, 138, .26);
    transform: translateY(-2px);
}

.vf-edoc .vfd-hero .vfd-hero__copy a.vfd-button:focus-visible {
    outline: 3px solid rgba(25, 181, 230, .28);
    outline-offset: 3px;
}

@media(max-width:700px) {
    .vf-edoc .vfd-hero .vfd-hero__copy a.vfd-button {
        padding: 13px 18px;
        font-size: 13px;
    }
}



/* CTA section button: same visual treatment as the hero CTA */
.vf-edoc .vfd-cta .vfd-cta__inner a.vfd-button,
.vf-edoc .vfd-cta .vfd-cta__inner a.vfd-button:link,
.vf-edoc .vfd-cta .vfd-cta__inner a.vfd-button:visited {
    display: inline-flex !important;
    width: fit-content;
    max-width: 100%;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 15px 23px;
    border: 1px solid #19b5e6;
    border-radius: 999px;
    background: #19b5e6 !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none !important;
    text-align: center;
    box-shadow: 0 10px 24px rgba(11, 95, 138, .20);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.vf-edoc .vfd-cta .vfd-cta__inner a.vfd-button b {
    color: #ffffff !important;
    font-size: 19px;
    line-height: 1;
}

.vf-edoc .vfd-cta .vfd-cta__inner a.vfd-button:hover,
.vf-edoc .vfd-cta .vfd-cta__inner a.vfd-button:focus-visible {
    background: #0b5f8a !important;
    border-color: #0b5f8a;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 13px 28px rgba(11, 95, 138, .26);
    transform: translateY(-2px);
}

.vf-edoc .vfd-cta .vfd-cta__inner a.vfd-button:focus-visible {
    outline: 3px solid rgba(25, 181, 230, .28);
    outline-offset: 3px;
}

@media(max-width:700px) {
    .vf-edoc .vfd-cta .vfd-cta__inner a.vfd-button {
        padding: 13px 18px;
        font-size: 13px;
    }
}