/* =========================================================
   FINTECH HERO — CONTROL ROOM EDITION
   تطوير الهيرو ليبدو كواجهة نظام مالي حي
========================================================= */

.vp-fintech-hero {
    min-height: 100vh;
    background:
        radial-gradient(circle at 74% 20%, rgba(124, 196, 255, 0.24), transparent 32%),
        radial-gradient(circle at 18% 78%, rgba(27, 198, 171, 0.16), transparent 34%),
        radial-gradient(circle at 50% 120%, rgba(124, 196, 255, 0.10), transparent 40%),
        linear-gradient(180deg, #06111f 0%, #071827 46%, #05070d 100%);
    isolation: isolate;
}

.vp-fintech-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 82px 82px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), rgba(0, 0, 0, .18), transparent);
}

.vp-fintech-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 260px;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(to top, rgba(5, 7, 13, 0.96), transparent);
}

.vp-fintech-hero__background {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.vp-fintech-hero__background::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        conic-gradient(from 180deg at 50% 50%,
            transparent,
            rgba(124, 196, 255, 0.08),
            transparent,
            rgba(27, 198, 171, 0.07),
            transparent);
    filter: blur(34px);
    opacity: 0.75;
    animation: fintechHeroAtmosphere 18s linear infinite;
}

.vp-fintech-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(16px);
    opacity: 0.78;
    transform: translateZ(0);
}

.vp-fintech-hero__orb--one {
    width: 420px;
    height: 420px;
    right: 6vw;
    top: 10vh;
    background:
        radial-gradient(circle, rgba(124, 196, 255, 0.36), rgba(124, 196, 255, 0.08) 42%, transparent 70%);
}

.vp-fintech-hero__orb--two {
    width: 340px;
    height: 340px;
    left: 6vw;
    bottom: 7vh;
    background:
        radial-gradient(circle, rgba(27, 198, 171, 0.26), rgba(27, 198, 171, 0.07) 46%, transparent 72%);
}

.vp-fintech-hero__inner {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: clamp(70px, 7vw, 130px);
    align-items: center;
    padding: 140px 0 110px;
}

.vp-fintech-hero__content {
    max-width: 820px;
}

.vp-fintech-hero__eyebrow {
    margin-bottom: 30px;
    box-shadow: 0 0 34px rgba(124, 196, 255, 0.12);
}

.vp-fintech-hero__title {
    max-width: 900px;
    text-shadow:
        0 18px 70px rgba(0, 0, 0, 0.34),
        0 0 44px rgba(124, 196, 255, 0.06);
}

.vp-fintech-hero__text {
    max-width: 700px;
    margin: 36px 0 0;
}

.vp-fintech-hero__actions {
    margin-top: 50px;
}

.vp-fintech-hero__visual {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.vp-fintech-hero__visual::before {
    content: "";
    position: absolute;
    width: 82%;
    height: 62%;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(124, 196, 255, 0.16), transparent 70%);
    filter: blur(24px);
    transform: translateY(40px);
    opacity: 0.85;
}

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

.vp-fintech-hero__panel--main {
    width: min(100%, 680px);
    min-height: 470px;
    border-radius: 38px;
    padding: 38px;
    overflow: hidden;
    transform: rotateX(0deg) rotateY(-3deg);
}

.vp-fintech-hero__panel--main::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 12%, rgba(124, 196, 255, 0.24), transparent 34%),
        radial-gradient(circle at 14% 88%, rgba(27, 198, 171, 0.12), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%);
    pointer-events: none;
}

.vp-fintech-hero__panel--main::after {
    content: "";
    position: absolute;
    left: -40%;
    top: 0;
    width: 34%;
    height: 100%;
    background:
        linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.10),
            transparent);
    transform: skewX(-18deg);
    animation: fintechHeroScan 5.8s ease-in-out infinite;
    pointer-events: none;
}

.vp-fintech-hero__panel-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 78px;
}

.vp-fintech-hero__panel-top span,
.vp-fintech-hero__balance span,
.vp-fintech-hero__stats span,
.vp-fintech-hero__panel--floating span {
    display: block;
    color: rgba(226, 241, 255, 0.58);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.vp-fintech-hero__panel-top strong {
    color: #7cc4ff;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-shadow: 0 0 24px rgba(124, 196, 255, 0.35);
}

.vp-fintech-hero__balance {
    position: relative;
    z-index: 2;
}

.vp-fintech-hero__balance strong {
    display: block;
    margin-top: 20px;
    color: #ffffff;
    font-size: clamp(42px, 4.4vw, 82px);
    line-height: 0.9;
    letter-spacing: -0.07em;
    font-weight: 780;
    text-shadow:
        0 20px 60px rgba(0, 0, 0, 0.38),
        0 0 36px rgba(124, 196, 255, 0.10);
}

.vp-fintech-hero__stats {
    position: relative;
    z-index: 2;
    margin-top: 68px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.vp-fintech-hero__stats div {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(124, 196, 255, 0.12);
    box-shadow:
        0 16px 44px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(255, 255, 255, .025) inset;
}

.vp-fintech-hero__stats div::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 0%, rgba(124, 196, 255, 0.12), transparent 42%);
    opacity: 0;
    transition: opacity .45s ease;
}

.vp-fintech-hero__stats div:hover::before {
    opacity: 1;
}

.vp-fintech-hero__stats strong {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 13px;
    color: #ffffff;
    font-size: 21px;
    line-height: 1;
    letter-spacing: -0.035em;
}

.vp-fintech-hero__panel--floating {
    position: absolute;
    right: -18px;
    bottom: 86px;
    width: 282px;
    border-radius: 28px;
    padding: 25px;
    background:
        radial-gradient(circle at 86% 16%, rgba(27, 198, 171, 0.22), transparent 34%),
        linear-gradient(145deg, rgba(27, 198, 171, 0.18), rgba(16, 33, 54, 0.90));
    border: 1px solid rgba(27, 198, 171, 0.20);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.34),
        0 0 44px rgba(27, 198, 171, 0.12);
}

.vp-fintech-hero__panel--floating strong {
    display: block;
    margin-top: 15px;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

@keyframes fintechHeroAtmosphere {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.05);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes fintechHeroScan {
    0% {
        left: -50%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    58% {
        opacity: 1;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}

@media (max-width: 1080px) {
    .vp-fintech-hero__inner {
        grid-template-columns: 1fr;
        gap: 64px;
        padding-top: 120px;
    }

    .vp-fintech-hero__visual {
        min-height: 560px;
    }

    .vp-fintech-hero__panel--main {
        transform: none;
    }
}

@media (max-width: 720px) {
    .vp-fintech-hero__inner {
        padding: 100px 0 76px;
    }

    .vp-fintech-hero__visual {
        min-height: auto;
        display: block;
    }

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

    .vp-fintech-hero__panel-top {
        margin-bottom: 48px;
        align-items: flex-start;
    }

    .vp-fintech-hero__stats {
        grid-template-columns: 1fr;
        margin-top: 42px;
    }

    .vp-fintech-hero__panel--floating {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 18px;
    }
}

/* =========================================================
   HERO JS STATES
   حالات تتحكم بها جافا الهيرو
========================================================= */

.vp-fintech-hero__panel--main,
.vp-fintech-hero__panel--floating,
.vp-fintech-hero__orb {
    transition:
        transform 0.18s ease-out;
    will-change: transform;
}

.vp-fintech-hero__stats div {
    transition:
        transform 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease,
        background 0.45s ease;
}

.vp-fintech-hero-stat-active {
    transform: translateY(-6px);
    border-color: rgba(27, 198, 171, 0.34) !important;
    background:
        linear-gradient(145deg,
            rgba(27, 198, 171, 0.13),
            rgba(255, 255, 255, 0.04)) !important;
    box-shadow:
        0 22px 60px rgba(27, 198, 171, 0.14),
        0 0 36px rgba(124, 196, 255, 0.10);
}

.vp-fintech-hero {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
    transition:
        opacity .9s cubic-bezier(.16, 1, .3, 1),
        transform .9s cubic-bezier(.16, 1, .3, 1),
        filter .9s cubic-bezier(.16, 1, .3, 1);
}

.vp-fintech-js-ready .vp-fintech-hero {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}