.ev-demo-footer {
    --ev-footer-color: var(--impl-primary-color, #83ef3f);
    background:
        radial-gradient(circle at 12% 20%, rgba(131, 239, 63, 0.15), transparent 28%),
        radial-gradient(circle at 88% 76%, rgba(77, 230, 255, 0.1), transparent 24%),
        linear-gradient(135deg, #061018 0%, #0c1722 54%, #101e2a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ev-demo-footer::before {
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ev-footer-color) 60%, transparent), transparent);
}

.ev-demo-footer__logo-mark {
    border-color: var(--ev-footer-color);
    color: var(--ev-footer-color);
}

.ev-demo-footer a:hover,
.ev-demo-footer__contact i {
    color: var(--ev-footer-color);
}

.ev-demo-footer__cta a,
.ev-demo-footer__newsletter button {
    background: var(--ev-footer-color);
}

.ev-demo-footer::before {
    content: '';
    position: absolute;
    inset: 24px 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(131, 239, 63, 0.6), transparent);
}

.ev-demo-footer__inner {
    width: min(100% - 96px, 1320px);
    margin: 0 auto;
    padding: 74px 0 26px;
}

.ev-demo-footer__top,
.ev-demo-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.ev-demo-footer__top {
    padding-bottom: 42px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ev-demo-footer__brand {
    max-width: 520px;
}

.ev-demo-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 18px;
}

.ev-demo-footer__logo img {
    max-height: 48px;
    width: auto;
    display: block;
}

.ev-demo-footer__logo-mark {
    width: 48px;
    height: 48px;
    border: 2px solid #83ef3f;
    border-radius: 50%;
    color: #83ef3f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.ev-demo-footer__logo-copy {
    display: grid;
    gap: 3px;
}

.ev-demo-footer__logo-copy strong {
    color: #fff;
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
}

.ev-demo-footer__logo-copy em {
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.ev-demo-footer p,
.ev-demo-footer li,
.ev-demo-footer a {
    font-size: 15px;
    line-height: 1.72;
}

.ev-demo-footer p {
    margin: 0;
    color: #aebdca;
}

.ev-demo-footer a {
    color: #cfd9e1;
    text-decoration: none;
}

.ev-demo-footer a:hover {
    color: #83ef3f;
}

.ev-demo-footer__cta {
    min-width: 320px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.ev-demo-footer__cta span {
    display: block;
    margin-bottom: 16px;
    color: #fff;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
}

.ev-demo-footer__cta a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 999px;
    color: #071019;
    background: #83ef3f;
    font-size: 13px;
    font-weight: 900;
}

.ev-demo-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(300px, 0.9fr);
    gap: 34px;
    padding: 42px 0;
}

.ev-footer-widget-title {
    margin: 0 0 18px;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
}

.ev-demo-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ev-demo-footer li + li {
    margin-top: 10px;
}

.ev-demo-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ev-demo-footer__contact i {
    width: 18px;
    color: #83ef3f;
    line-height: 1.72;
}

.ev-demo-footer__newsletter {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
}

.ev-demo-footer__newsletter form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 10px;
    margin-top: 18px;
}

.ev-demo-footer__newsletter input {
    width: 100%;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0 14px;
    color: #fff;
    background: rgba(5, 12, 19, 0.72);
    outline: none;
}

.ev-demo-footer__newsletter button {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 8px;
    color: #071019;
    background: #83ef3f;
}

.ev-demo-footer__bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ev-demo-footer__social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ev-demo-footer__social li {
    margin: 0;
}

.ev-demo-footer__social a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.ev-demo-footer__social svg,
.ev-demo-footer__social path {
    fill: currentColor;
}

@media (max-width: 991px) {
    .ev-demo-footer__inner {
        width: min(100% - 40px, 100%);
    }

    .ev-demo-footer__top,
    .ev-demo-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .ev-demo-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ev-demo-footer__newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {
    .ev-demo-footer__inner {
        width: min(100% - 28px, 100%);
        padding-top: 58px;
    }

    .ev-demo-footer__grid {
        grid-template-columns: 1fr;
    }

    .ev-demo-footer__newsletter {
        grid-column: auto;
    }

    .ev-demo-footer__cta {
        min-width: 0;
        width: 100%;
    }
}

/* Style switcher color bridge */
.ev-demo-footer::before {
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ev-footer-color) 60%, transparent), transparent) !important;
}

.ev-demo-footer__logo-mark {
    border-color: var(--ev-footer-color) !important;
    color: var(--ev-footer-color) !important;
}

.ev-demo-footer a:hover,
.ev-demo-footer__contact i {
    color: var(--ev-footer-color) !important;
}

.ev-demo-footer__cta a,
.ev-demo-footer__newsletter button {
    background: var(--ev-footer-color) !important;
}
