.vp-fintech-themes {
    background:
        radial-gradient(circle at 20% 18%, rgba(124, 196, 255, 0.12), transparent 30%),
        radial-gradient(circle at 86% 22%, rgba(244, 133, 0, 0.10), transparent 28%),
        radial-gradient(circle at 50% 92%, rgba(216, 111, 207, 0.09), transparent 34%),
        #05070d;

    border-top: 1px solid rgba(124, 196, 255, 0.08);
}

.vp-fintech-themes__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    text-align: center;
    margin-bottom: 110px;
}

.vp-fintech-themes__title {
    max-width: 1100px;
    margin: 0;
}

.vp-fintech-themes__text {
    max-width: 760px;
    margin: 0;
}

.vp-fintech-themes__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* =========================================================
   MULTI THEME SYSTEM — RESTORED COLOR IDENTITIES
========================================================= */

.vp-fintech-themes__card {
    --theme-glow: 82, 166, 244;
    --theme-a: #0d1b2a;
    --theme-b: #1b263b;
    --theme-c: #52a6f4;
    --theme-text: #ffffff;
    --theme-muted: rgba(255, 255, 255, 0.68);

    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: 34px;
    padding: 30px;
    isolation: isolate;

    border: 1px solid rgba(var(--theme-glow), 0.28);

    background:
        radial-gradient(circle at 84% 14%, rgba(var(--theme-glow), 0.34), transparent 34%),
        radial-gradient(circle at 12% 92%, rgba(var(--theme-glow), 0.16), transparent 38%),
        linear-gradient(145deg, var(--theme-a), var(--theme-b)) !important;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;

    transition:
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.8s ease,
        box-shadow 0.8s ease,
        filter 0.8s ease;

    display: flex;
    flex-direction: column;
}

.vp-fintech-themes__card:hover,
.vp-fintech-themes__card.is-active {
    transform: translateY(-12px);
    border-color: rgba(var(--theme-glow), 0.52);
    filter: saturate(1.08);

    box-shadow:
        0 42px 120px rgba(var(--theme-glow), 0.22),
        0 28px 90px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.vp-fintech-themes__glow {
    position: absolute;
    width: 300px;
    height: 300px;
    right: -95px;
    top: -105px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--theme-glow), 0.50), transparent 70%);
    filter: blur(10px);
    opacity: 0.85;
    z-index: -1;
}

.vp-fintech-themes__card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 42%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03), transparent 70%);
}

.vp-fintech-themes__card::after {
    content: "";
    position: relative;
    z-index: 2;

    display: block;
    width: 100%;
    height: 8px;

    margin-top: auto;

    border-radius: 999px;

    background:
        linear-gradient(90deg,
            rgba(var(--theme-glow), 0.95),
            rgba(255, 255, 255, 0.30),
            rgba(var(--theme-glow), 0.38));

    opacity: 0.78;
    box-shadow: 0 0 28px rgba(var(--theme-glow), 0.32);
}

.vp-fintech-themes__card span {
    position: relative;
    z-index: 2;
    display: inline-flex;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(var(--theme-glow), 0.24);
    background: rgba(255, 255, 255, 0.055);
    color: var(--theme-muted);
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.vp-fintech-themes__card h3 {
    position: relative;
    z-index: 2;
    max-width: 360px;
    margin: 96px 0 0;
    color: var(--theme-text);
    font-size: clamp(34px, 3.4vw, 68px);
    line-height: 0.9;
    letter-spacing: -0.075em;
    font-weight: 720;
}

.vp-fintech-themes__card p {
    position: relative;
    z-index: 2;
    max-width: 360px;
    margin: 28px 0 0;
    color: var(--theme-muted);
    font-size: 15px;
    line-height: 1.75;
    font-weight: 300;
}

/* Individual palettes */

.vp-fintech-themes__card--midnight {
    --theme-glow: 82, 166, 244;
    --theme-a: #07111f;
    --theme-b: #162a46;
    --theme-c: #52a6f4;
    --theme-text: #ffffff;
    --theme-muted: rgba(226, 241, 255, 0.70);
}

.vp-fintech-themes__card--sunrise {
    --theme-glow: 244, 133, 0;
    --theme-a: #fff8f0;
    --theme-b: #ffd9ad;
    --theme-c: #f48500;
    --theme-text: #2f200f;
    --theme-muted: rgba(47, 32, 15, 0.72);
}

.vp-fintech-themes__card--truth {
    --theme-glow: 249, 65, 68;
    --theme-a: #180102;
    --theme-b: #5d1012;
    --theme-c: #f94144;
    --theme-text: #ffffff;
    --theme-muted: rgba(255, 226, 226, 0.72);
}

.vp-fintech-themes__card--hope {
    --theme-glow: 216, 111, 207;
    --theme-a: #251435;
    --theme-b: #633b70;
    --theme-c: #d86fcf;
    --theme-text: #ffffff;
    --theme-muted: rgba(255, 231, 253, 0.72);
}

.vp-fintech-themes__card--clarity {
    --theme-glow: 34, 227, 195;
    --theme-a: #eafff9;
    --theme-b: #b7f2e8;
    --theme-c: #1bc6ab;
    --theme-text: #102322;
    --theme-muted: rgba(16, 35, 34, 0.70);
}

.vp-fintech-themes__card--ash {
    --theme-glow: 153, 153, 153;
    --theme-a: #141414;
    --theme-b: #3a3a3a;
    --theme-c: #999999;
    --theme-text: #ffffff;
    --theme-muted: rgba(238, 238, 238, 0.68);
}

.vp-fintech-themes__card--sunrise::before,
.vp-fintech-themes__card--clarity::before {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 44%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.12), transparent 72%);
}

.vp-fintech-themes__card {
    cursor: pointer;
}

.vp-fintech-themes__card::after {
    overflow: hidden;
    background:
        linear-gradient(90deg,
            rgba(var(--theme-glow), .95),
            rgba(255, 255, 255, .35),
            rgba(var(--theme-glow), .38));
}

.vp-fintech-themes__card.is-active::after {
    animation: fintechThemeLineRun 1.65s ease-in-out infinite;
}

.vp-fintech-themes__card.is-pulse {
    animation: fintechThemePulse .72s ease;
}

.vp-fintech-themes__card.is-active .vp-fintech-themes__glow {
    opacity: 1;
    transform: scale(1.12);
}

@keyframes fintechThemeLineRun {
    0% {
        box-shadow:
            inset -220px 0 0 rgba(255, 255, 255, 0),
            0 0 18px rgba(var(--theme-glow), .22);
        filter: brightness(1);
    }

    48% {
        box-shadow:
            inset 220px 0 0 rgba(255, 255, 255, .24),
            0 0 34px rgba(var(--theme-glow), .42);
        filter: brightness(1.35);
    }

    100% {
        box-shadow:
            inset 520px 0 0 rgba(255, 255, 255, 0),
            0 0 18px rgba(var(--theme-glow), .22);
        filter: brightness(1);
    }
}

@keyframes fintechThemePulse {
    0% {
        transform: translateY(-12px) scale(1);
    }

    45% {
        transform: translateY(-14px) scale(1.025);
    }

    100% {
        transform: translateY(-12px) scale(1);
    }
}

/* Ambient glow flash */

.vp-fintech-themes {
    position: relative;
}

.vp-fintech-themes::before {
    content: "";
    position: absolute;
    inset: -20%;
    pointer-events: none;
    opacity: 0;
    z-index: 0;

    background:
        radial-gradient(circle at center,
            rgba(var(--ambient-glow, 124, 196, 255), .22),
            transparent 62%);

    filter: blur(90px);
    transition:
        opacity .9s ease,
        background .9s ease;
}

.vp-fintech-themes.is-ambient-active::before {
    opacity: 1;
}

/* =========================================================
   THEMES RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .vp-fintech-themes__head {
        gap: 24px;
        margin-bottom: 74px;
    }

    .vp-fintech-themes__text {
        max-width: 760px;
    }

    .vp-fintech-themes__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .vp-fintech-themes__card {
        min-height: 390px;
    }

    .vp-fintech-themes__card h3 {
        margin-top: 82px;
        font-size: clamp(34px, 5vw, 56px);
    }
}

@media (max-width: 720px) {

    .vp-fintech-themes__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .vp-fintech-themes__card {
        min-height: auto;
        border-radius: 28px;
        padding: 24px;
    }

    .vp-fintech-themes__card h3 {
        max-width: 100%;
        margin-top: 72px;

        font-size: clamp(34px, 12vw, 56px);
        line-height: .92;
    }

    .vp-fintech-themes__card p {
        max-width: 100%;
        margin-top: 22px;

        font-size: 15px;
        line-height: 1.7;
    }

    .vp-fintech-themes__card::after {
        margin-top: 26px;
    }

    .vp-fintech-themes__glow {
        width: 220px;
        height: 220px;
        right: -70px;
        top: -70px;
    }

    .vp-fintech-themes__card.is-active,
    .vp-fintech-themes__card.is-dimmed {
        transform: none;
    }
}