/* Homepage hero redesign: scoped to .hero-bank, built on the site palette only
   (#0e4152 teal, #BE5518 orange, #F2F4F8 / #D5DFED lights, signature gradient). */

.hero-bank {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 260px 0 130px;
    background-color: var(--loanlift-primary-bg, #0e4152);
}

/* ambient background: glows + faint grid */
.hero-bank-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
}

.hero-bank-glow--orange {
    top: -190px;
    right: -150px;
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, rgb(190 85 24 / 40%) 0%, transparent 65%);
}

.hero-bank-glow--teal {
    bottom: -240px;
    left: -190px;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, rgb(213 223 237 / 16%) 0%, transparent 65%);
}

.hero-bank-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(58% 62% at 68% 38%, #000 0%, transparent 100%);
    mask-image: radial-gradient(58% 62% at 68% 38%, #000 0%, transparent 100%);
}

/* thin gradient rule anchoring the hero to the light section below */
.hero-bank::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #BE5518 0%, #0e4152 70%);
}

/* copy column */
.hero-bank-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-bank-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3em;
    color: #D5DFED;
}

.hero-bank-eyebrow::before {
    content: "";
    width: 36px;
    height: 2px;
    flex-shrink: 0;
    background-color: #BE5518;
}

.hero-bank-title {
    margin: 24px 0 26px;
    font-family: var(--loanlift-heading-font, "Wix Madefor Display", system-ui);
    font-weight: 700;
    font-size: clamp(42px, 4.6vw, 68px);
    line-height: 1.08;
    letter-spacing: -.03em;
    color: #fff;
}

.hero-bank-title em {
    font-style: normal;
    background: linear-gradient(90deg, #F2F4F8 15%, #BE5518 95%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-bank-text {
    max-width: 540px;
    margin: 0 0 38px;
    font-size: 18px;
    line-height: 1.8;
    color: #C2C2C2;
}

.hero-bank-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 22px;
    row-gap: 16px;
}

.hero-bank-stats {
    display: flex;
    flex-wrap: wrap;
    column-gap: 48px;
    row-gap: 24px;
    margin: 52px 0 0;
    padding: 34px 0 0;
    list-style: none;
    border-top: 1px solid rgb(255 255 255 / 14%);
}

.hero-bank-stats strong {
    display: block;
    font-family: var(--loanlift-heading-font, "Wix Madefor Display", system-ui);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

.hero-bank-stats li span {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    letter-spacing: .02em;
    color: #BEBEBE;
}

/* visual column: CSS card composition inside concentric rings */
.hero-bank-visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 580px;
}

.hero-bank-visual::before,
.hero-bank-visual::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    pointer-events: none;
}

.hero-bank-visual::before {
    width: 540px;
    height: 540px;
    transform: translate(-50%, -50%);
    border: 1px solid rgb(255 255 255 / 12%);
}

.hero-bank-visual::after {
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    border: 1px dashed rgb(255 255 255 / 18%);
}

.hero-bank-card {
    position: relative;
    z-index: 2;
    width: min(430px, 92%);
    padding: 30px 32px 28px;
    border-radius: 18px;
    background: linear-gradient(69.32deg, #0e4152 20.87%, #BE5518 101.05%);
    box-shadow: 0 34px 70px rgb(4 16 22 / 45%);
    transform: rotate(-7deg);
    animation: hero-bank-card-float 7s ease-in-out infinite;
}

.hero-bank-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: repeating-linear-gradient(115deg, rgb(255 255 255 / 5%) 0 2px, transparent 2px 16px);
    pointer-events: none;
}

.hero-bank-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-bank-card-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .28em;
    color: #F2F4F8;
}

.hero-bank-card-emblem {
    height: 30px;
    width: auto;
}

.hero-bank-card-top > i {
    font-size: 26px;
    color: rgb(242 244 248 / 85%);
}

.hero-bank-card-chip {
    position: relative;
    width: 52px;
    height: 38px;
    margin: 30px 0 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, #E7E7E7, #C2C2C2);
}

.hero-bank-card-chip::before {
    content: "";
    position: absolute;
    inset: 7px 9px;
    border: 1px solid rgb(14 65 82 / 40%);
    border-radius: 5px;
}

.hero-bank-card-chip::after {
    content: "";
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: 50%;
    width: 1px;
    background: rgb(14 65 82 / 40%);
}

.hero-bank-card-number {
    margin: 0 0 26px;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: .14em;
    color: #fff;
}

.hero-bank-card-meta {
    display: flex;
    align-items: flex-end;
    column-gap: 42px;
}

.hero-bank-card-meta span {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgb(213 223 237 / 85%);
}

.hero-bank-card-meta strong {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}

/* floating notification chips */
.hero-bank-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    column-gap: 14px;
    padding: 16px 20px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 20px 46px rgb(4 16 22 / 38%);
}

.hero-bank-chip--transfer {
    top: 60px;
    right: 0;
    animation: hero-bank-float 6s ease-in-out .8s infinite;
}

.hero-bank-chip--savings {
    bottom: 54px;
    left: 0;
    animation: hero-bank-float 6s ease-in-out infinite;
}

.hero-bank-chip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #F2F4F8;
    color: #0e4152;
    font-size: 22px;
}

.hero-bank-chip-icon i {
    display: flex;
}

.hero-bank-chip p {
    margin: 0 0 3px;
    font-size: 12px;
    letter-spacing: .04em;
    color: #5A5A5A;
}

.hero-bank-chip strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #0F1011;
}

.hero-bank-chip-bar {
    display: block;
    width: 170px;
    max-width: 40vw;
    height: 5px;
    margin-top: 8px;
    border-radius: 3px;
    background-color: #E7E7E7;
    overflow: hidden;
}

.hero-bank-chip-bar span {
    display: block;
    width: 82%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0e4152, #BE5518);
}

/* rotating experience badge (reuses .curved-circle styles + circleType JS) */
.hero-bank__circle {
    position: absolute;
    right: 4%;
    bottom: -26px;
    z-index: 4;
}

/* motion */
@keyframes hero-bank-card-float {
    0%, 100% { transform: rotate(-7deg) translateY(0); }
    50% { transform: rotate(-7deg) translateY(-14px); }
}

@keyframes hero-bank-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes hero-bank-in {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-bank-content > * {
    animation: hero-bank-in .9s cubic-bezier(.22, .61, .36, 1) both;
}

.hero-bank-content > *:nth-child(2) { animation-delay: .07s; }
.hero-bank-content > *:nth-child(3) { animation-delay: .14s; }
.hero-bank-content > *:nth-child(4) { animation-delay: .21s; }
.hero-bank-content > *:nth-child(5) { animation-delay: .28s; }

.hero-bank-visual {
    animation: hero-bank-in 1s cubic-bezier(.22, .61, .36, 1) .25s both;
}

@media (prefers-reduced-motion: reduce) {
    .hero-bank-content > *,
    .hero-bank-visual,
    .hero-bank-card,
    .hero-bank-chip {
        animation: none;
    }

    .hero-bank-card {
        transform: rotate(-7deg);
    }
}

/* responsive */
@media (max-width: 1199px) {
    .hero-bank { padding-top: 240px; }
    .hero-bank-visual { height: 520px; }
}

@media (max-width: 991px) {
    .hero-bank {
        min-height: 0;
        padding: 230px 0 90px;
    }

    .hero-bank-visual {
        height: 470px;
        margin-top: 26px;
    }

    .hero-bank-visual::before { width: 440px; height: 440px; }
    .hero-bank-visual::after { width: 330px; height: 330px; }
}

@media (max-width: 575px) {
    .hero-bank { padding: 215px 0 70px; }
    .hero-bank-title { font-size: 40px; }
    .hero-bank-text { font-size: 16px; }
    .hero-bank-stats { column-gap: 28px; margin-top: 40px; padding-top: 26px; }
    .hero-bank-stats strong { font-size: 26px; }

    .hero-bank-visual { height: 420px; }
    .hero-bank-visual::before { width: 340px; height: 340px; }
    .hero-bank-visual::after { width: 250px; height: 250px; }

    .hero-bank-card { padding: 24px 22px 22px; }
    .hero-bank-card-number { font-size: 18px; letter-spacing: .1em; }
    .hero-bank-card-meta { column-gap: 30px; }

    .hero-bank-chip { padding: 12px 14px; }
    .hero-bank-chip-icon { width: 38px; height: 38px; font-size: 18px; }
    .hero-bank-chip-bar { width: 130px; }

    .hero-bank__circle {
        right: 0;
        bottom: -10px;
        transform: scale(.68);
        transform-origin: bottom right;
    }
}
