:root {
    --ink: #17243b;
    --muted: #4e5664;
    --green: #006fe6;
    --green-dark: #004691;
    --mint: #eaf1f9;
    --line: #e8edf2;
    --bg: #f8fafc
}

* {
    box-sizing: border-box
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--ink);
    background: #fff
}

h1,
h2,
h3,
h4,
h5,
.brand {
    font-family: 'Manrope', sans-serif;
    letter-spacing: -.035em
}

a {
    text-decoration: none
}
.home_logo { height: 45px;}
.footer_logo {height: 40px;}
.brand {
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--ink) !important;
    letter-spacing: -.06em
}

.btn {
    font-weight: 700;
    border-radius: 12px;
    padding: 12px 19px
}

.btn-success {
    background: var(--green);
    border-color: var(--green)
}

.btn-success:hover {
    background: var(--green-dark);
    border-color: var(--green-dark)
}

.btn-outline-dark {
    border-color: #dce3e9;
    color: var(--ink)
}

.btn-outline-dark:hover {
    background: var(--ink)
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 55px 0 68px;
    background: radial-gradient(ellipse at 86% 15%, #e1eaf8 0, transparent 33%), linear-gradient(180deg, #fff 0%, #fbfdfc 100%)
}
.pa0 {
  -webkit-animation: bounce2 8s infinite ease-in-out;
  -o-animation: bounce2 8s infinite ease-in-out;
  -ms-animation: bounce2 8s infinite ease-in-out;
  -moz-animation: bounce2 8s infinite ease-in-out;
  animation: bounce2 8s infinite ease-in-out;
}

@-webkit-keyframes bounce2 {
  0% {
    transform: translateY(-5px);
  }

  50% {
    transform: translateY(20px);
  }

  100% {
    transform: translateY(-5px);
  }
}

@keyframes bounce2 {
  0%, 100% {
    transform: translateY(-5px);
  }

  50% {
    transform: translateY(20px);
  }
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 50px;
    background: #eaf3f9;
    color: #006fe6;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #006fe6;
    box-shadow: 0 0 0 4px #d2f4e4;
}

.hero h1 {
    font-size: clamp(2.65rem, 5.3vw, 4.65rem);
    line-height: 1.08;
    font-weight: 800;
    max-width: 650px;
    margin: 22px 0
}

.text-green {
    color: var(--green)
}

.hero-copy {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--muted);
    max-width: 540px
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px
}

.float-card {
    position: absolute;
    z-index: 2;
    background: #fff;
    border: 1px solid #e8f0eb;
    border-radius: 16px;
    padding: 13px 16px;
    box-shadow: 0 15px 40px rgba(29, 66, 50, .12)
}

.float-card.one {
    left: -17px;
    top: 25%
}

.float-card.two {
    right: -12px;
    bottom: 14%
}

.float-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #e8f8f0;
    color: var(--green);
    display: grid;
    place-items: center
}

.float-title {
    font-size: .73rem;
    color: #8a94a3
}

.float-number {
    font-weight: 800;
    font-size: 1rem
}

.stats-strip {
    padding: 26px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff
}

.stat-number {
    font-family: 'Manrope';
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -.05em
}

.stat-label {
    font-size: .84rem;
    color: var(--muted);
    margin-top: 3px
}

section {
    scroll-margin-top: 85px
}

.section-pad {
    padding: 88px 0
}

.section-kicker {
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--green)
}

.section-title {
    font-size: clamp(2rem, 3.7vw, 3.1rem);
    font-weight: 800;
    line-height: 1.16;
    margin: 12px auto 16px
}

.section-copy {
    color: var(--muted);
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto
}

.feature-card {
    height: 100%;
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    transition: transform .25s, box-shadow .25s, border-color .25s
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #c7ebda;
    box-shadow: 0 18px 42px rgba(26, 68, 49, .07)
}

.feature-icon {
    width: 51px;
    height: 51px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--mint);
    color: var(--green);
    font-size: 1.35rem;
    margin-bottom: 20px
}

.feature-card h3 {
    font-size: 1.13rem;
    font-weight: 800;
    letter-spacing: -.025em
}

.feature-card p {
    font-size: .92rem;
    line-height: 1.75;
    color: var(--muted);
    margin: 10px 0 0
}

.how-section {
    background: var(--bg)
}

.step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 23px 0;
    border-bottom: 1px solid #e8edf1
}

.step:last-child {
    border-bottom: 0
}
.step-num {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #eaf1f9;
    color: #006fe6;
    display: grid;
    place-items: center;
    font-weight: 800;
}
.step h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 2px 0 7px
}

.step p {
    font-size: .91rem;
    line-height: 1.7;
    color: var(--muted);
    margin: 0
}

.faq-item {
    border: 1px solid var(--line) !important;
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden
}

.accordion-button {
    font-weight: 700;
    color: var(--ink);
    padding: 20px 22px;
    box-shadow: none !important
}

.accordion-button:not(.collapsed) {
    background: #f0f5fb;
    color: #006fe6;
}
.accordion-body {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.8
}
.cta {
    padding: 58px 55px;
    border-radius: 28px;
    background: linear-gradient(120deg, #083b7b, #0085fe);
    color: white;
    position: relative;
    overflow: hidden;
}
.cta:after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    right: -80px;
    top: -170px;
    box-shadow: 0 0 0 35px rgba(255, 255, 255, .04), 0 0 0 75px rgba(255, 255, 255, .03)
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    max-width: 650px
}

.cta p {
    color: #d6f3e6;
    max-width: 570px;
    line-height: 1.8
}

.cta .btn {
    background: #fff;
    color: #0555a9;
    border-color: #fff;
    position: relative;
    z-index: 1
}

footer {
    background: #f7fbff;
    border-top: 1px solid var(--line);
    padding: 45px 0 24px
}

.footer-copy {
    color: var(--muted);
    font-size: .87rem;
    line-height: 1.8;
    max-width: 350px
}

.footer-heading {
    font-weight: 800;
    font-size: .9rem;
    margin-bottom: 15px
}

.footer-link {
    display: block;
    color: #3e4552;
    font-size: .87rem;
    margin: 11px 0;
}

.footer-link:hover {
    color: var(--green)
}

.copyright {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 35px;
    color: #8a94a3;
    font-size: .8rem
}


/*------- home additions ------ */
.hero .btn-outline-dark {
    background: #fff
}

/* the white background above outranks Bootstrap's hover fill, so restate it */
.hero .btn-outline-dark:hover,
.hero .btn-outline-dark:focus-visible,
.hero .btn-outline-dark:active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff
}

.hero-trust {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    color: #5b6679;
    font-size: .9rem;
    font-weight: 600
}

.hero-trust i {
    color: var(--green);
    margin-right: 6px
}

.hero-art {
    position: relative;
    max-width: 560px;
    margin: 0 auto
}

.wallets-section {
    background: var(--bg)
}

.home-wallet {
    --tone-from: #0a7bf2;
    --tone-to: #004691;
    position: relative;
    height: 100%;
    padding: 28px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(140deg, var(--tone-from) 0%, var(--tone-to) 100%);
    box-shadow: 0 18px 40px rgba(0, 70, 145, .16);
    transition: transform .25s
}

.home-wallet:hover {
    transform: translateY(-5px)
}

.home-wallet::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08)
}

.home-wallet-teal {
    --tone-from: #10a58f;
    --tone-to: #0a6b60;
    box-shadow: 0 18px 40px rgba(10, 107, 96, .16)
}

.home-wallet-indigo {
    --tone-from: #5b54ea;
    --tone-to: #322b99;
    box-shadow: 0 18px 40px rgba(50, 43, 153, .16)
}

.home-wallet-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, .18);
    font-size: 1.4rem
}

.home-wallet h3 {
    margin: 20px 0 8px;
    font-size: 1.3rem;
    font-weight: 800
}

.home-wallet p {
    font-size: .93rem;
    line-height: 1.7;
    opacity: .88;
    margin-bottom: 20px
}

.home-wallet-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.home-wallet-actions span {
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .12);
    font-size: .78rem;
    font-weight: 700
}

.notice-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 24px;
    padding: 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line)
}

.notice-card > i {
    color: var(--green);
    font-size: 1.4rem;
    line-height: 1
}

.cta-kicker {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #c9e4ff
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end
}

.cta .btn.btn-cta-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .55)
}

.cta .btn.btn-cta-ghost:hover {
    background: rgba(255, 255, 255, .12)
}

.announcement-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(10, 20, 40, .8)
}

.announcement-box {
    position: relative;
    width: 100%;
    max-width: 720px;
    overflow: hidden;
    border-radius: 18px;
    background: #fff
}

.announcement-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff
}


/*------- login / register ------ */
.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(380px, 44%) 1fr;
    background: radial-gradient(ellipse at 90% 0%, #e1eaf8 0, transparent 40%), var(--bg)
}

.auth-brand {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 48px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(150deg, #0a7bf2 0%, #083b7b 100%)
}

.auth-brand::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -160px;
    bottom: -160px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .15);
    box-shadow: 0 0 0 40px rgba(255, 255, 255, .04), 0 0 0 85px rgba(255, 255, 255, .03);
    pointer-events: none
}

.auth-brand-logo {
    align-self: flex-start;
    padding: 10px 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12)
}

.auth-brand-logo img {
    height: 34px;
    display: block
}

.auth-eyebrow {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #bfe0ff
}

.auth-brand h2 {
    font-size: clamp(1.8rem, 2.6vw, 2.5rem);
    font-weight: 800;
    line-height: 1.18;
    max-width: 440px;
    margin: 14px 0 30px
}

.auth-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 440px
}

.auth-highlights li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12)
}

.auth-highlights strong {
    display: block;
    font-size: .95rem
}

.auth-highlights span {
    font-size: .84rem;
    opacity: .8
}

.auth-highlight-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, .16);
    font-size: 1.15rem;
    opacity: 1 !important
}

.auth-brand-note {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: .82rem;
    opacity: .75
}

.auth-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 40px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(23, 36, 59, .04), 0 20px 50px rgba(23, 36, 59, .08)
}

.auth-card-wide {
    max-width: 520px
}

.auth-mobile-logo {
    display: none
}

.auth-title {
    margin: 0 0 6px;
    font-size: 1.9rem;
    font-weight: 800
}

.auth-subtitle {
    margin: 0 0 28px;
    color: var(--muted)
}

.auth-card .form-label {
    font-size: .88rem;
    font-weight: 700
}

.auth-card .form-control {
    height: 50px;
    padding: 0 16px;
    border-radius: 12px;
    border-color: #dbe3ec;
    background-color: #fbfcfe
}

.auth-card .form-control:focus {
    border-color: var(--green);
    background-color: #fff;
    box-shadow: 0 0 0 .22rem rgba(0, 111, 230, .12)
}

.auth-card .form-control.is-invalid,
.auth-card .input-group:has(.is-invalid) .btn {
    border-color: #dc3545
}

.auth-card .form-control.is-valid,
.auth-card .input-group:has(.is-valid) .btn {
    border-color: #198754
}

.auth-card .input-group .form-control {
    border-right: 0
}

.auth-card .input-group .btn {
    padding: 0 16px;
    border: 1px solid #dbe3ec;
    border-left: 0;
    border-radius: 0 12px 12px 0;
    background: #fbfcfe;
    color: #7a8699
}

.auth-card .input-group .btn:hover {
    background: var(--mint);
    color: var(--green)
}

.auth-card .input-group:focus-within .btn {
    border-color: var(--green)
}

.auth-submit {
    height: 52px;
    font-size: 1rem;
    background: var(--green);
    border-color: var(--green)
}

.auth-submit:hover,
.auth-submit:disabled {
    background: var(--green-dark);
    border-color: var(--green-dark)
}

.auth-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--muted);
    font-size: .93rem
}

.auth-link {
    font-weight: 700;
    color: var(--green)
}

.auth-link:hover {
    color: var(--green-dark);
    text-decoration: underline
}

.auth-back {
    margin-top: 20px;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 600
}

.auth-back:hover {
    color: var(--green)
}


@media(max-width:991.98px) {
    .cta-actions {
        justify-content: flex-start
    }

    .auth-page {
        grid-template-columns: 1fr
    }

    .auth-brand {
        display: none
    }

    .auth-main {
        justify-content: flex-start;
        padding: 32px 16px
    }

    .auth-mobile-logo {
        display: block;
        margin-bottom: 24px;
        text-align: center
    }

    .auth-mobile-logo img {
        height: 40px
    }

    .hero {
        padding: 58px 0 45px
    }

    .hero-copy {
        font-size: 1rem
    }

    .hero-visual {
        margin-top: 35px
    }

    .float-card.one {
        left: 0
    }

    .float-card.two {
        right: 0
    }

    .section-pad {
        padding: 68px 0
    }

}

@media(max-width:575.98px) {
    .auth-card {
        padding: 28px 20px;
        border-radius: 20px
    }

    .auth-title {
        font-size: 1.6rem
    }

    .hero h1 {
        font-size: clamp(2rem, 9.4vw, 2.5rem)
    }

    .float-card {
        padding: 10px 12px
    }

    .float-card.one {
        left: -3px
    }

    .float-card.two {
        right: -2px
    }

    .cta {
        padding: 35px 24px
    }

    .section-pad {
        padding: 55px 0
    }

    .stat-number {
        font-size: 1.25rem
    }

    .stat-label {
        font-size: .75rem
    }
}

/* =========================================================
   MOBILE EXPERIENCE (home + login / register)
   ========================================================= */

.swipe-hint {
    display: none
}

@keyframes menuDrop {
    from {
        opacity: 0;
        transform: translateY(-8px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:991.98px) {

    /* ----- hero ----- */
    .hero {
        text-align: center;
        background:
            radial-gradient(circle at 100% 0%, #d6e6fb 0, transparent 45%),
            radial-gradient(circle at 0% 55%, #e7f1fd 0, transparent 40%),
            linear-gradient(180deg, #fff 0%, #f6f9fd 100%)
    }

    .hero h1,
    .hero-copy {
        margin-left: auto;
        margin-right: auto
    }

    .hero-actions,
    .hero-trust {
        justify-content: center
    }

    .hero-art {
        max-width: 420px
    }

    /* ----- highlights ----- */
    .stats-strip {
        border: 0;
        padding: 6px 0 30px;
        background: transparent
    }

    .stat-box {
        height: 100%;
        padding: 18px 10px;
        border-radius: 18px;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: 0 8px 22px rgba(23, 36, 59, .05)
    }

    .stat-number {
        background: linear-gradient(120deg, var(--green), #083b7b);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent
    }

    /* ----- swipeable wallets ----- */
    .home-wallet-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-top: 6px;
        padding-bottom: 26px
    }

    .home-wallet-row::-webkit-scrollbar {
        display: none
    }

    .home-wallet-row > * {
        flex: 0 0 60%;
        max-width: 60%;
        scroll-snap-align: center
    }

    .home-wallet:hover {
        transform: none
    }

    .swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0;
        font-size: .85rem;
        font-weight: 600;
        color: #8a94a3
    }

    /* ----- CTA ----- */
    .cta {
        text-align: center
    }

    .cta h2,
    .cta p {
        margin-left: auto;
        margin-right: auto
    }

    .cta-actions {
        justify-content: center
    }

    /* ----- login / register: branded header band ----- */
    .auth-main {
        position: relative;
        padding-top: 56px
    }

    .auth-main::before {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 260px;
        border-radius: 0 0 36px 36px;
        background:
            radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .18) 0, transparent 40%),
            linear-gradient(150deg, #0a7bf2 0%, #083b7b 100%)
    }

    .auth-card {
        position: relative;
        z-index: 1
    }

    .auth-back {
        position: relative;
        z-index: 1
    }
}

@media(max-width:575.98px) {

    /* ----- hero ----- */
    .hero {
        padding: 34px 0 38px
    }

    .eyebrow {
        font-size: .68rem;
        padding: 7px 12px
    }

    .hero h1 {
        margin: 18px auto 14px
    }

    .hero-copy {
        font-size: .98rem;
        line-height: 1.7
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 24px
    }

    .hero-actions .btn {
        width: 100%;
        padding: 14px 18px;
        font-size: 1rem;
        border-radius: 14px
    }

    .hero-actions .btn-success {
        box-shadow: 0 12px 26px rgba(0, 111, 230, .28)
    }

    .hero-trust {
        gap: 8px;
        margin-top: 20px;
        font-size: .8rem
    }

    .hero-trust li {
        padding: 6px 12px;
        border-radius: 50px;
        background: #fff;
        border: 1px solid var(--line)
    }

    .hero-visual {
        margin-top: 18px
    }

    .float-title {
        font-size: .66rem
    }

    .float-number {
        font-size: .85rem
    }

    .float-icon {
        width: 30px;
        height: 30px;
        border-radius: 9px
    }

    /* ----- sections ----- */
    .section-pad {
        padding: 52px 0
    }

    .section-title {
        font-size: clamp(1.7rem, 7.5vw, 2rem)
    }

    .section-copy {
        font-size: .95rem
    }

    .text-center.mb-5 {
        margin-bottom: 2rem !important
    }

    /* ----- feature cards: compact icon + text rows ----- */
    #about .row,
    #features .row {
        --bs-gutter-y: .75rem
    }

    #about .btn-outline-dark {
        width: 100%
    }

    .feature-card {
        display: grid;
        grid-template-columns: 46px 1fr;
        column-gap: 14px;
        padding: 18px;
        border-radius: 18px
    }

    .feature-card:hover {
        transform: none
    }

    .feature-icon {
        grid-row: 1 / span 2;
        width: 46px;
        height: 46px;
        margin: 0;
        border-radius: 14px;
        font-size: 1.2rem
    }

    .feature-card h3 {
        font-size: 1.02rem;
        margin: 2px 0 0
    }

    .feature-card p {
        font-size: .88rem;
        line-height: 1.6;
        margin-top: 4px
    }

    /* ----- wallets ----- */
    .home-wallet-row > * {
        flex-basis: 84%;
        max-width: 84%
    }

    .home-wallet {
        padding: 24px 22px
    }

    /* ----- steps as a timeline ----- */
    .step {
        position: relative;
        gap: 16px;
        padding: 14px 0;
        border-bottom: 0
    }

    .step:not(:last-child)::before {
        content: "";
        position: absolute;
        left: 21px;
        top: 62px;
        bottom: -10px;
        width: 2px;
        border-radius: 2px;
        background: linear-gradient(180deg, #b9d4f3, transparent)
    }

    .step-num {
        background: linear-gradient(140deg, #0a7bf2, #004691);
        color: #fff;
        box-shadow: 0 8px 18px rgba(0, 111, 230, .25)
    }

    .notice-card {
        padding: 16px
    }

    /* ----- FAQ ----- */
    .accordion-button {
        padding: 16px 18px;
        font-size: .96rem;
        line-height: 1.45
    }

    .accordion-body {
        padding: 14px 18px 18px
    }

    /* ----- CTA ----- */
    .cta {
        padding: 38px 22px;
        border-radius: 24px
    }

    .cta h2 {
        font-size: 1.75rem
    }

    .cta-actions {
        flex-direction: column
    }

    .cta-actions .btn {
        width: 100%
    }

    /* ----- footer ----- */
    footer {
        padding: 38px 0 24px
    }

    footer .col-lg-5 {
        text-align: center
    }

    .footer-copy {
        margin: 0 auto
    }

    .footer-link {
        margin: 9px 0
    }

    .copyright {
        margin-top: 26px;
        text-align: center;
        align-items: center
    }

    /* ----- login / register ----- */
    .auth-main {
        padding: 40px 14px 28px
    }

    .auth-main::before {
        height: 220px;
        border-radius: 0 0 28px 28px
    }

    .auth-card {
        box-shadow: 0 24px 60px rgba(8, 59, 123, .16)
    }

    .auth-card .form-control,
    .auth-submit {
        height: 52px
    }
}

@media (prefers-reduced-motion: reduce) {
    .pa0 {
        animation: none
    }
}


/* =========================================================
   LOADERS
   ========================================================= */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background:
        radial-gradient(circle at 80% 10%, #e1eaf8 0, transparent 40%),
        radial-gradient(circle at 10% 90%, #e7f1fd 0, transparent 40%),
        #fff
}

.page-loader-mark {
    position: relative;
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center
}

.page-loader-mark img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    animation: loaderPulse 1.6s ease-in-out infinite
}

.page-loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0 25%, var(--green) 70%, #7cc0ff 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    animation: loaderSpin .9s linear infinite
}

.page-loader-text {
    font-size: .9rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .01em
}

.content-loader {
    min-height: 50vh;
    display: grid;
    place-items: center
}

.content-loader .page-loader-ring {
    position: relative;
    display: block;
    width: 48px;
    height: 48px
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes loaderPulse {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(.88)
    }
}


/* =========================================================
   HOME: PREMIUM TOUCHES
   ========================================================= */

.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1050;
    height: 3px;
    transform-origin: 0 50%;
    background: linear-gradient(90deg, #0a7bf2, #5b54ea)
}

/* ----- hero ----- */
.hero .container {
    position: relative;
    z-index: 1
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .55;
    pointer-events: none;
    animation: glowDrift 14s ease-in-out infinite alternate
}

.hero-glow-one {
    width: 420px;
    height: 420px;
    top: -140px;
    right: -100px;
    background: #b9d7fb
}

.hero-glow-two {
    width: 320px;
    height: 320px;
    bottom: -120px;
    left: -120px;
    background: #d9d6fd;
    animation-delay: -7s
}

@keyframes glowDrift {
    to {
        transform: translate(-40px, 30px) scale(1.12)
    }
}

.text-gradient {
    background: linear-gradient(110deg, #006fe6 10%, #5b54ea 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.eyebrow-dot {
    animation: dotPulse 2s ease-out infinite
}

@keyframes dotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 111, 230, .45)
    }

    100% {
        box-shadow: 0 0 0 9px rgba(0, 111, 230, 0)
    }
}

.btn-glow {
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 111, 230, .28)
}

.btn-glow::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    animation: btnShine 4s ease-in-out infinite
}

@keyframes btnShine {

    0%,
    60% {
        left: -60%
    }

    100% {
        left: 130%
    }
}

/* ----- "unlock more" card ----- */
.unlock-card {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 32px;
    padding: 26px 28px;
    border-radius: 24px;
    border: 1px solid #d5e5f8;
    background:
        radial-gradient(circle at 100% 0%, #dcebfd 0, transparent 50%),
        radial-gradient(circle at 0% 100%, #ece9fe 0, transparent 45%),
        #fff
}

.unlock-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(140deg, #0a7bf2, #5b54ea);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 10px 24px rgba(0, 111, 230, .28)
}

.unlock-text {
    flex: 1;
    min-width: 0
}

.unlock-text h3 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 800
}

.unlock-text p {
    margin: 0;
    color: var(--muted);
    font-size: .93rem;
    line-height: 1.7
}

.unlock-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0
}

/* ----- steps CTA ----- */
.step-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-top: 18px
}

.step-cta span {
    font-size: .88rem;
    color: var(--muted)
}

/* ----- mobile sticky CTA ----- */
.sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px 12px 18px;
    border-radius: 20px;
    background: rgba(23, 36, 59, .94);
    backdrop-filter: blur(12px);
    color: #fff;
    box-shadow: 0 18px 40px rgba(23, 36, 59, .3)
}

.sticky-cta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0
}

.sticky-cta-text strong {
    font-size: .95rem
}

.sticky-cta-text span {
    font-size: .78rem;
    opacity: .7
}

.sticky-cta .btn {
    flex-shrink: 0;
    padding: 11px 16px;
    font-size: .92rem;
    border-radius: 14px
}

@media(min-width:992px) {
    .sticky-cta {
        display: none
    }
}

@media(max-width:991.98px) {
    .unlock-card {
        flex-direction: column;
        text-align: center
    }

    .unlock-actions {
        justify-content: center
    }

    .hero-glow-one {
        width: 300px;
        height: 300px
    }

    .hero-glow-two {
        width: 240px;
        height: 240px
    }
}

@media(max-width:575.98px) {
    .unlock-card {
        margin-top: 22px;
        padding: 24px 18px;
        gap: 14px
    }

    .unlock-text h3 {
        font-size: 1.12rem
    }

    .unlock-actions,
    .unlock-actions .btn {
        width: 100%
    }

    .step-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        margin-top: 10px
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-glow,
    .eyebrow-dot,
    .btn-glow::after,
    .page-loader-mark img {
        animation: none
    }

    .page-loader-ring {
        animation-duration: 2.4s
    }
}


/* =========================================================
   LANDING PAGE NAVBAR
   ========================================================= */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 1045;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease
}

.site-nav.scrolled,
.site-nav.menu-open {
    background: rgba(255, 255, 255, .95);
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px rgba(23, 36, 59, .07)
}

.site-nav-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 84px;
    transition: min-height .25s ease
}

.site-nav.scrolled .site-nav-inner {
    min-height: 68px
}

.site-nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0
}

.site-nav .home_logo {
    transition: height .25s ease
}

.site-nav.scrolled .home_logo {
    height: 38px
}

/* ----- desktop links with sliding pill ----- */
.site-nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 auto;
    padding: 5px;
    list-style: none;
    border-radius: 50px;
    background: rgba(234, 241, 249, .6);
    border: 1px solid rgba(214, 228, 245, .8)
}

.site-nav-links a {
    position: relative;
    display: block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: .92rem;
    font-weight: 600;
    color: #5b6679;
    transition: color .2s ease
}

.site-nav-links a:hover {
    color: var(--ink)
}

.site-nav-links a.active {
    color: var(--green)
}

.site-nav-pill {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(23, 36, 59, .08), 0 0 0 1px rgba(0, 111, 230, .08)
}

.site-nav-label {
    position: relative
}

/* ----- desktop actions ----- */
.site-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0
}

.site-nav .btn {
    padding: 10px 18px;
    border-radius: 12px;
    font-size: .93rem
}

.btn.site-nav-login {
    color: var(--ink);
    background: transparent;
    border-color: transparent
}

.btn.site-nav-login:hover {
    background: var(--mint);
    color: var(--green)
}

.site-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 20px rgba(0, 111, 230, .25)
}

.site-nav-cta i {
    transition: transform .2s ease
}

.site-nav-cta:hover i {
    transform: translate(2px, -2px)
}

.site-nav-mobile {
    display: none
}

/* ----- mobile ----- */
@media(max-width:991.98px) {

    .site-nav-links,
    .site-nav-actions {
        display: none
    }

    .site-nav-inner {
        justify-content: space-between;
        min-height: 68px
    }

    .site-nav.scrolled .site-nav-inner {
        min-height: 62px
    }

    .site-nav .home_logo,
    .site-nav.scrolled .home_logo {
        height: 36px
    }

    .site-nav-mobile {
        display: flex;
        align-items: center;
        gap: 10px
    }

    .site-nav-mobile .site-nav-cta {
        padding: 9px 16px;
        font-size: .9rem;
        border-radius: 12px
    }

    /* animated hamburger */
    .nav-burger {
        position: relative;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid var(--line);
        border-radius: 13px;
        background: #fff;
        transition: background .2s ease, border-color .2s ease
    }

    .nav-burger span {
        position: absolute;
        left: 13px;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: var(--ink);
        transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .2s ease, width .3s ease
    }

    .nav-burger span:nth-child(1) {
        top: 15px
    }

    .nav-burger span:nth-child(2) {
        top: 21px;
        width: 12px
    }

    .nav-burger span:nth-child(3) {
        top: 27px
    }

    .nav-burger.open {
        background: var(--mint);
        border-color: #d5e5f8
    }

    .nav-burger.open span {
        background: var(--green)
    }

    .nav-burger.open span:nth-child(1) {
        transform: translateY(6px) rotate(45deg)
    }

    .nav-burger.open span:nth-child(2) {
        opacity: 0;
        transform: translateX(-6px)
    }

    .nav-burger.open span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg)
    }

    /* menu card + dimmed page (positioned from the navbar, which contains them) */
    .mobile-menu-backdrop {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 100vh;
        background: rgba(23, 36, 59, .35);
        backdrop-filter: blur(3px)
    }

    .mobile-menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 12px;
        right: 12px;
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
        padding: 10px;
        border-radius: 24px;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: 0 30px 60px rgba(23, 36, 59, .2);
        transform-origin: top center
    }

    .mobile-menu ul {
        margin: 0;
        padding: 0;
        list-style: none
    }

    .mobile-menu-link {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 11px 12px;
        border-radius: 16px;
        color: var(--ink);
        transition: background .15s ease
    }

    .mobile-menu-link:hover,
    .mobile-menu-link.active {
        background: var(--bg)
    }

    .mobile-menu-icon {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
        display: grid;
        place-items: center;
        border-radius: 13px;
        background: var(--mint);
        color: var(--green);
        font-size: 1.1rem
    }

    .mobile-menu-link.active .mobile-menu-icon {
        background: linear-gradient(140deg, #0a7bf2, #004691);
        color: #fff
    }

    .mobile-menu-text {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        line-height: 1.3
    }

    .mobile-menu-text strong {
        font-size: 1rem
    }

    .mobile-menu-text small {
        font-size: .8rem;
        color: #8a94a3
    }

    .mobile-menu-arrow {
        font-size: .8rem;
        color: #b6c0cf
    }

    .mobile-menu-actions {
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        gap: 8px;
        margin-top: 8px;
        padding: 12px 4px 4px;
        border-top: 1px solid var(--line)
    }

    .mobile-menu-actions .btn {
        padding: 12px 10px;
        border-radius: 14px;
        font-size: .95rem
    }

    .mobile-menu-note {
        padding: 10px 4px 4px;
        text-align: center;
        font-size: .78rem;
        font-weight: 600;
        color: #8a94a3
    }

    .mobile-menu-note i {
        color: var(--green);
        margin-right: 4px
    }
}

@media(max-width:359.98px) {
    .site-nav-mobile .site-nav-cta {
        display: none
    }
}


/* =========================================================
   TOAST NOTIFICATIONS (react-toastify, see components/Toaster.jsx)
   ========================================================= */

/* set on the wrapper so they beat react-toastify's own :root defaults */
.Toastify {
    --toastify-font-family: 'DM Sans', sans-serif;
    --toastify-toast-width: 370px;
    --toastify-toast-offset: 20px;
    --toastify-toast-bd-radius: 18px;
    --toastify-toast-min-height: 0;
    --toastify-z-index: 11000;
    --toastify-color-progress-bgo: 0
}

.Toastify .Toastify__toast {
    --tone: var(--green);
    --tone-soft: #eaf1f9;

    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 13px;
    align-items: start;
    padding: 14px 44px 16px 14px;
    margin-bottom: 12px;
    overflow: hidden;
    background:
        linear-gradient(100deg, var(--tone-soft) 0, rgba(255, 255, 255, 0) 45%),
        #fff;
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(23, 36, 59, .05), 0 18px 45px rgba(23, 36, 59, .16);
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.45;
    cursor: default
}

.Toastify .Toastify__toast--success {
    --tone: #12a150;
    --tone-soft: #e8f8ef
}

.Toastify .Toastify__toast--error {
    --tone: #e5484d;
    --tone-soft: #fdecec
}

.Toastify .Toastify__toast--warning {
    --tone: #e08a00;
    --tone-soft: #fff4e2
}

.Toastify .Toastify__toast--info {
    --tone: #006fe6;
    --tone-soft: #eaf1f9
}

/* Bold title row above the message */
.Toastify .Toastify__toast::before {
    grid-column: 2;
    grid-row: 1;
    display: block;
    margin: 1px 0 2px;
    font-family: 'Manrope', sans-serif;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--ink);
    content: "Notice"
}

.Toastify .Toastify__toast--success::before {
    content: "Success"
}

.Toastify .Toastify__toast--error::before {
    content: "Error"
}

.Toastify .Toastify__toast--warning::before {
    content: "Warning"
}

.Toastify .Toastify__toast--info::before {
    content: "Info"
}

.Toastify .Toastify__toast-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: auto;
    margin: 0
}

.toast-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--tone);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--tone) 35%, transparent)
}

.toast-icon-loading {
    background: var(--tone-soft);
    color: var(--tone)
}

/* clickable toasts (e.g. "Support replied") */
.Toastify .Toastify__toast--close-on-click {
    cursor: pointer
}

.toast-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #95a0b2;
    font-size: 1.2rem;
    transition: background .15s ease, color .15s ease
}

.toast-close:hover {
    background: #f1f4f8;
    color: var(--ink)
}

/* thin timer bar in the toast's colour */
.Toastify .Toastify__progress-bar--wrp {
    height: 3px;
    border-radius: 0
}

.Toastify .Toastify__toast .Toastify__progress-bar {
    background: var(--tone);
    opacity: .85
}

/* enter / exit */
.toast-anim-in {
    animation: toastIn .45s cubic-bezier(.22, 1, .36, 1) both
}

.toast-anim-out {
    animation: toastOut .3s ease-in both
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translate3d(0, -14px, 0) scale(.96)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: none
    }

    to {
        opacity: 0;
        transform: translate3d(40px, 0, 0) scale(.96)
    }
}

/* phones: floating cards with side margins instead of full-width strips */
@media only screen and (max-width: 480px) {
    .Toastify .Toastify__toast-container {
        left: 12px;
        right: 12px;
        width: auto;
        top: calc(10px + env(safe-area-inset-top))
    }

    .Toastify .Toastify__toast {
        margin-bottom: 10px;
        border-radius: 18px;
        font-size: .88rem
    }

    @keyframes toastOut {
        to {
            opacity: 0;
            transform: translate3d(0, -16px, 0) scale(.96)
        }
    }
}

@media (prefers-reduced-motion: reduce) {

    .toast-anim-in,
    .toast-anim-out {
        animation-duration: .01ms
    }
}


/* =========================================================
   REGISTER: COMPACT FORM
   ========================================================= */

.auth-card-wide {
    padding: 32px 34px
}

.auth-card-wide .auth-subtitle {
    margin-bottom: 20px
}

.auth-card-wide .form-label {
    margin-bottom: 6px;
    font-size: .84rem
}

.auth-card-wide .form-control {
    height: 46px
}

.auth-card-wide .auth-submit {
    margin-top: 18px;
    height: 50px
}

.auth-card-wide .auth-footer {
    margin-top: 18px;
    padding-top: 16px
}

.auth-card-wide small {
    font-size: .8rem;
    line-height: 1.35
}

/* two columns, full-width rows use .span-2 */
.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px
}

.auth-grid .span-2 {
    grid-column: 1 / -1
}

/* password rule chips */
.pw-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: -4px 0 0;
    padding: 0;
    list-style: none
}

.pw-rules li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 50px;
    background: var(--bg);
    border: 1px solid var(--line);
    font-size: .76rem;
    font-weight: 600;
    color: #8a94a3;
    transition: background .2s ease, color .2s ease, border-color .2s ease
}

.pw-rules li.met {
    background: #e8f8ef;
    border-color: #c4ecd5;
    color: #12825a
}

@media(max-width:991.98px) {
    .auth-card-wide .auth-mobile-logo {
        margin-bottom: 16px
    }

    .auth-card-wide .auth-mobile-logo img {
        height: 34px
    }
}

@media(max-width:575.98px) {
    .auth-card-wide {
        padding: 24px 18px
    }

    .auth-card-wide .auth-title {
        font-size: 1.45rem
    }

    .auth-card-wide .auth-subtitle {
        margin-bottom: 16px;
        font-size: .92rem
    }

    .auth-grid {
        gap: 12px 10px
    }

    .auth-card-wide .form-control {
        padding: 0 12px
    }

    .auth-card-wide .input-group .btn {
        padding: 0 10px
    }

    .pw-rules {
        gap: 4px
    }

    .pw-rules li {
        gap: 4px;
        padding: 3px 7px;
        font-size: .72rem
    }
}

@media(max-width:359.98px) {
    .auth-grid {
        grid-template-columns: 1fr
    }
}


/* =========================================================
   REGISTER: SUCCESS POPUP
   ========================================================= */

.success-dialog.p-dialog {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(8, 59, 123, .35)
}

.success-dialog .p-dialog-content {
    position: relative;
    padding: 34px 28px 26px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, #e3f6ec 0, transparent 45%),
        radial-gradient(circle at 100% 100%, #eaf1f9 0, transparent 45%),
        #fff
}

/* animated check badge */
.success-badge {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(140deg, #22c06d, #0f8a4f);
    box-shadow: 0 14px 30px rgba(18, 161, 80, .35)
}

.success-badge::before,
.success-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(18, 161, 80, .35);
    animation: successRing 2.4s ease-out infinite
}

.success-badge::after {
    animation-delay: 1.2s
}

.success-badge svg {
    width: 46px;
    height: 46px
}

@keyframes successRing {
    from {
        transform: scale(1);
        opacity: 1
    }

    to {
        transform: scale(1.7);
        opacity: 0
    }
}

/* little confetti burst behind the badge */
.success-burst {
    position: absolute;
    top: 76px;
    left: 50%;
    pointer-events: none
}

.success-burst span {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #22c06d;
    opacity: 0;
    transform: rotate(calc(var(--i) * 36deg)) translateY(0);
    animation: burst .9s cubic-bezier(.22, 1, .36, 1) .35s forwards
}

.success-burst span:nth-child(3n) {
    background: #0a7bf2
}

.success-burst span:nth-child(3n+1) {
    background: #f5b301;
    border-radius: 50%
}

@keyframes burst {
    0% {
        opacity: 1;
        transform: rotate(calc(var(--i) * 36deg)) translateY(0) scale(1)
    }

    100% {
        opacity: 0;
        transform: rotate(calc(var(--i) * 36deg)) translateY(-78px) scale(.6)
    }
}

.success-title {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 1.5rem;
    font-weight: 800
}

.success-subtitle {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: .95rem
}

/* User ID card */
.success-id-card {
    position: relative;
    overflow: hidden;
    padding: 16px 18px;
    border-radius: 20px;
    text-align: left;
    color: #fff;
    background: linear-gradient(140deg, #0a7bf2 0%, #083b7b 100%);
    box-shadow: 0 14px 30px rgba(0, 70, 145, .25)
}

.success-id-card::after {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    pointer-events: none
}

.success-id-label {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .75
}

.success-id-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px
}

.success-id {
    font-family: 'Manrope', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: .06em
}

.success-copy {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 12px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    transition: background .15s ease
}

.success-copy:hover {
    background: rgba(255, 255, 255, .24)
}

.success-copy.copied {
    background: #fff;
    border-color: #fff;
    color: #12825a
}

/* account details */
.success-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0;
    text-align: left
}

.success-details > div {
    min-width: 0;
    padding: 9px 12px;
    border-radius: 12px;
    background: var(--bg);
    border: 1px solid var(--line)
}

.success-details .span-2 {
    grid-column: 1 / -1
}

.success-details dt {
    font-size: .72rem;
    font-weight: 700;
    color: #8a94a3;
    text-transform: uppercase;
    letter-spacing: .06em
}

.success-details dd {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    font-size: .92rem
}

.success-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 11px 14px;
    border-radius: 14px;
    background: #fff8ec;
    border: 1px solid #fbe3b6;
    color: #8a5a00;
    text-align: left;
    font-size: .84rem;
    line-height: 1.5
}

.success-note i {
    margin-top: 2px;
    color: #e08a00
}

@media(max-width:575.98px) {
    .success-dialog .p-dialog-content {
        padding: 28px 18px 20px
    }

    .success-title {
        font-size: 1.3rem
    }

    .success-id {
        font-size: 1.55rem
    }
}

@media (prefers-reduced-motion: reduce) {

    .success-badge::before,
    .success-badge::after,
    .success-burst span {
        animation: none
    }
}


/* =========================================================
   DEPOSIT: SUCCESS / CANCEL PAGE (return from NOWPayments)
   ========================================================= */

.payment-result-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px 16px;
    background:
        radial-gradient(ellipse at 90% 0%, #e1eaf8 0, transparent 40%),
        radial-gradient(circle at 10% 100%, #e3f6ec 0, transparent 40%),
        var(--bg)
}

.payment-result-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    padding: 28px 26px 24px;
    text-align: center;
    border-radius: 28px;
    background: radial-gradient(circle at 50% 0%, #e3f6ec 0, transparent 45%), #fff;
    box-shadow: 0 30px 70px rgba(8, 59, 123, .18)
}

.payment-result-card.cancel {
    background: radial-gradient(circle at 50% 0%, #fff1e0 0, transparent 45%), #fff
}

.payment-result-logo img {
    height: 34px;
    margin-bottom: 18px
}

/* burst centred on the badge below the logo */
.payment-result-card .success-burst {
    top: 122px
}

.success-badge.cancel {
    background: linear-gradient(140deg, #f5a623, #d97706);
    box-shadow: 0 14px 30px rgba(217, 119, 6, .35)
}

.success-badge.cancel::before,
.success-badge.cancel::after {
    border-color: rgba(217, 119, 6, .35)
}

.payment-result-steps {
    display: grid;
    gap: 10px;
    margin: 0 0 14px;
    padding: 14px 16px;
    list-style: none;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff
}

.payment-result-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    color: var(--muted)
}

.payment-result-steps i {
    font-size: 1.1rem
}

.payment-result-steps .done i {
    color: #12a150
}

.payment-result-steps .done span {
    color: var(--ink);
    font-weight: 600
}

.payment-result-steps .active i {
    color: #d97706
}

.payment-result-steps .next {
    opacity: .6
}

.payment-result-steps .next i {
    color: var(--green)
}

.payment-result-note {
    margin: 0 0 18px;
    font-size: .85rem;
    color: var(--muted)
}

.payment-result-btn {
    padding: 12px;
    border-radius: 14px;
    font-weight: 700
}

.payment-result-link {
    display: inline-block;
    margin-top: 12px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--green);
    text-decoration: none
}
