/* Dedicated download page; scoped to avoid regressions elsewhere. */
.enfa-download-v4 {
    font-family: inherit;
    color: #0b1e51;
    background: #fff;
    padding-bottom: 65px;
    overflow: hidden;
}
.ed-wrap {
    max-width: 1300px;
    margin: auto;
    padding-left: 24px;
    padding-right: 24px;
}
.ed-hero {
    min-height: 525px;
    position: relative;
    background: #eaf8ff;
}
.ed-scene {
    position: absolute;
    inset: 0;
    background: url("/images/enfa-download-v4/city-enfa.webp") center 46% /
        cover no-repeat;
}
.ed-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #fff 0%,
        #ffffffed 29%,
        #ffffff8a 51%,
        transparent 85%
    );
    pointer-events: none;
}
.ed-hero-inner {
    position: relative;
    z-index: 1;
    min-height: 525px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 132px;
    padding-bottom: 70px;
}
.ed-intro {
    width: min(600px, 52%);
}
.ed-eyebrow {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.8px;
    color: #00b8c9;
}
.ed-intro h1 {
    font-size: clamp(42px, 4.6vw, 70px);
    line-height: 1.02;
    letter-spacing: -2.5px;
    margin: 15px 0 16px;
    font-weight: 850;
}
.ed-intro p {
    font-size: 17px;
    color: #617196;
    line-height: 1.6;
    max-width: 580px;
}
.ed-rule {
    display: block;
    margin-top: 22px;
    width: 85px;
    height: 5px;
    border-radius: 9px;
    background: linear-gradient(90deg, #00ced5, #7a36ff);
}
.ed-devices {
    height: 365px;
    width: 390px;
    position: relative;
    margin-right: 80px;
    flex-shrink: 0;
}
.ed-phone {
    position: absolute;
    width: 205px;
    height: 370px;
    background: #fff;
    border: 9px solid #13171e;
    border-radius: 32px;
    box-shadow: 0 20px 35px #0d2c4960;
    overflow: hidden;
    transform: rotate(-6deg);
    left: 25px;
    top: 0;
}
.ed-phone-back {
    left: 195px;
    top: 24px;
    transform: rotate(9deg);
    background: #eef7ff;
}
.ed-camera {
    position: absolute;
    top: 7px;
    left: 56px;
    width: 75px;
    height: 17px;
    background: #10141a;
    border-radius: 15px;
    z-index: 2;
}
.ed-phone-logo {
    padding-top: 52px;
    text-align: center;
}
.ed-phone-logo img {
    width: 92px;
    max-height: 58px;
    object-fit: contain;
}
.ed-phone-logo small {
    display: block;
    font-size: 10px;
    font-weight: 800;
}
.ed-map,
.ed-mini-map {
    position: relative;
    height: 150px;
    margin: 14px 8px;
    background:
        repeating-linear-gradient(40deg, transparent 0 29px, #d8e9f0 30px 32px),
        repeating-linear-gradient(-45deg, #f1f9fc 0 39px, #d6ebf3 40px 42px);
    border-radius: 10px;
}
.ed-route {
    position: absolute;
    left: 28px;
    top: 70px;
    width: 130px;
    height: 4px;
    background: linear-gradient(90deg, #00d5e4, #7539ff);
    transform: rotate(-30deg);
}
.ed-map b,
.ed-map em {
    position: absolute;
    top: 50px;
    left: 22px;
    color: #00c5dc;
}
.ed-map em {
    left: 150px;
    top: 13px;
    color: #633bfa;
}
.ed-driver-box,
.ed-finding {
    margin: 10px;
    background: #fff;
    border-radius: 15px;
    padding: 12px;
    box-shadow: 0 5px 14px #1234a01a;
    font-size: 11px;
}
.ed-driver-box small {
    display: block;
    color: #65748c;
}
.ed-mini-map {
    height: 240px;
}
.ed-mini-map i {
    position: absolute;
    top: 40%;
    left: 30%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #7955ff66;
    box-shadow: 0 0 0 16px #7955ff20;
}
.ed-mini-map i:nth-child(2) {
    left: 65%;
    top: 25%;
}
.ed-mini-map i:nth-child(3) {
    left: 55%;
    top: 70%;
}
.ed-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    position: relative;
    z-index: 3;
    margin-top: -55px;
}
.ed-app-card {
    display: flex;
    position: relative;
    gap: 28px;
    background: #fff;
    border: 1px solid #e0eaf6;
    border-radius: 24px;
    padding: 28px 32px;
    box-shadow: 0 15px 35px #10234b12;
    min-height: 215px;
}
.ed-app-icon {
    width: 82px;
    height: 82px;
    border-radius: 20px;
    background: linear-gradient(140deg, #b9f9f8, #e9d9ff);
    display: grid;
    place-items: center;
    color: #5734ef;
    flex-shrink: 0;
}
.ed-app-icon svg {
    width: 45px;
    height: 45px;
}
.ed-app-body h2 {
    font-size: 26px;
    margin: 8px 0;
}
.ed-app-body p {
    font-size: 15px;
    color: #66769a;
    line-height: 1.45;
    margin: 0 0 17px;
}
.ed-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ed-stores a,
.ed-store-off {
    border: 1px solid #4e7af9;
    border-radius: 12px;
    background: #060e20;
    color: #fff !important;
    text-decoration: none;
    padding: 10px 16px;
    font-weight: 800;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 43px;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
.ed-stores a:after,
.ed-last-btn:after {
    content: "";
    position: absolute;
    inset: -50% auto -50% -90%;
    width: 55%;
    transform: rotate(22deg);
    background: linear-gradient(90deg, transparent, #ffffff8c, transparent);
    transition: left 0.55s;
}
.ed-stores a:hover:after,
.ed-last-btn:hover:after {
    left: 150%;
}
.ed-stores a:hover {
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px #5d48fa5e;
}
.ed-store-off {
    background: #f2f5fb;
    color: #7685a3;
    border-color: #e2e8f3;
    font-size: 12px;
}
.ed-play {
    color: #00d8bf;
}
.ed-card-arrow {
    position: absolute;
    right: 24px;
    top: 25px;
    font-size: 30px;
    color: #4a64aa;
}
.ed-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}
.ed-benefits article {
    min-height: 170px;
    position: relative;
    border: 1px solid #dfe9f7;
    border-radius: 23px;
    padding: 25px 24px;
    overflow: hidden;
}
.ed-benefit-number {
    color: #6838ff;
    font-weight: 900;
    font-size: 20px;
}
.ed-benefits h3 {
    font-size: 22px;
    margin: 9px 0 5px;
}
.ed-benefits p {
    font-size: 14px;
    color: #69799d;
    line-height: 1.5;
    max-width: 240px;
}
.ed-benefits img {
    position: absolute;
    right: 8px;
    top: 22px;
    width: 135px;
    height: 125px;
    opacity: 0.85;
    pointer-events: none;
}
.ed-benefits article > div {
    position: relative;
    z-index: 1;
}
.ed-last {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: linear-gradient(105deg, #00cbd0, #398cf5 50%, #7d30ff);
    border-radius: 25px;
    padding-top: 30px;
    padding-bottom: 30px;
    color: white;
}
.ed-last .ed-eyebrow {
    color: #fff;
}
.ed-last h2 {
    font-size: clamp(24px, 2.7vw, 39px);
    margin: 8px 0;
}
.ed-last p {
    margin: 0;
}
.ed-last-btn {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: white;
    color: #5328c9 !important;
    text-decoration: none;
    border-radius: 14px;
    padding: 20px 25px;
    font-weight: 850;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
.ed-last-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px #061d5955;
    color: #5328c9 !important;
}
@media (max-width: 1000px) {
    .ed-devices {
        margin-right: 0;
        transform: scale(0.8);
        transform-origin: right center;
    }
    .ed-intro {
        width: 55%;
    }
    .ed-app-card {
        padding: 24px 18px;
        gap: 15px;
    }
    .ed-benefits img {
        opacity: 0.35;
    }
}
@media (max-width: 720px) {
    .ed-hero-inner {
        padding-top: 155px;
        display: block;
        min-height: 670px;
    }
    .ed-intro {
        width: 100%;
    }
    .ed-intro h1 {
        font-size: 43px;
    }
    .ed-devices {
        transform: scale(0.65);
        transform-origin: left top;
        margin-top: 20px;
        margin-left: 15%;
    }
    .ed-hero:after {
        background: linear-gradient(#fffffff0 0%, #ffffffb0 58%, #ffffff20);
    }
    .ed-cards,
    .ed-benefits {
        grid-template-columns: 1fr;
    }
    .ed-cards {
        margin-top: -35px;
    }
    .ed-app-card {
        min-height: auto;
    }
    .ed-last {
        flex-direction: column;
        align-items: flex-start;
    }
    .ed-last-btn {
        white-space: normal;
    }
}
@media (max-width: 420px) {
    .ed-wrap {
        padding-left: 15px;
        padding-right: 15px;
    }
    .ed-app-card {
        gap: 12px;
    }
    .ed-app-icon {
        width: 60px;
        height: 60px;
    }
    .ed-app-body h2 {
        font-size: 22px;
    }
    .ed-devices {
        margin-left: 0;
    }
    .ed-benefits img {
        width: 115px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ed-stores a,
    .ed-last-btn,
    .ed-stores a:after,
    .ed-last-btn:after {
        transition: none;
    }
}
