@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+Bengali:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #0f0a3e;
    --bg2: #1a1260;
    --bg3: #0d0835;
    --purple1: #2a1c85;
    --purple2: #3a28a8;
    --purple3: #4e38c2;
    --nav-bg: #0a0830;
    --nav-active: #6040d0;
    --green: #22c55e;
    --teal: #0a8070;
    --white: #fff;
    --light: rgba(255, 255, 255, .7);
    --dim: rgba(255, 255, 255, .45);
    --font: 'Inter', 'Noto Sans Bengali', sans-serif
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    font-size: 16px;
    -webkit-tap-highlight-color: transparent
}

body {
    font-family: var(--font);
    background: #0d0835;
    color: var(--white);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px;
    -webkit-font-smoothing: antialiased
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 50% 20%, #1e1470 0%, #0d0835 60%);
    z-index: -1
}

.app-container {
    width: 100%;
    max-width: 420px;
    height: calc(100vh - 28px);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(180deg, #1a1260 0%, #110e50 25%, #0a0835 100%);
    border-radius: 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(100, 80, 200, .2);
    border: 1.5px solid rgba(80, 60, 180, .2)
}

.app-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 14px 20px;
    scrollbar-width: none;
    min-height: 0
}

.app-content::-webkit-scrollbar {
    display: none
}

/* HEADER */
.pub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0 14px;
    animation: sUp .4s ease-out both;
    flex-shrink: 0;
    z-index: 50;
    background: linear-gradient(180deg, #1a1260 0%, #110e50 100%)
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px
}

/* 3D Logo Globe */
.logo-globe-3d {
    width: 44px;
    height: 44px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe-sphere {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #4a8cf5, #2a5cc0 40%, #1a3a88 70%, #102050 100%);
    position: relative;
    overflow: hidden;
    z-index: 2;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, .5),
        inset 0 2px 4px rgba(140, 180, 255, .25),
        inset 0 -3px 6px rgba(0, 0, 0, .4);
    border: 1.5px solid rgba(100, 160, 255, .2);
}

/* Meridian lines (vertical curves) - scroll horizontally to simulate rotation */
.globe-lines-wrap {
    position: absolute;
    inset: 0;
    animation: globeRotate 6s linear infinite;
}

.globe-meridian {
    position: absolute;
    top: 1px;
    bottom: 1px;
    border: 1.2px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
}

.globe-meridian.m1 {
    left: 8px;
    width: 24px;
}

.globe-meridian.m2 {
    left: -6px;
    width: 24px;
}

.globe-meridian.m3 {
    left: 22px;
    width: 24px;
}

.globe-meridian.m4 {
    left: -20px;
    width: 24px;
}

.globe-meridian.m5 {
    left: 36px;
    width: 24px;
}

/* Equator lines (horizontal) - fixed, don't rotate */
.globe-equator {
    position: absolute;
    left: 2px;
    right: 2px;
    height: 0;
    border-top: 1.2px solid rgba(255, 255, 255, .18);
    z-index: 3;
}

.globe-equator.eq1 {
    top: 50%;
}

.globe-equator.eq2 {
    top: 32%;
}

.globe-equator.eq3 {
    top: 68%;
}

/* Gloss highlight on top-left */
.globe-highlight {
    position: absolute;
    top: 3px;
    left: 5px;
    width: 16px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, .3) 0%, transparent 70%);
    z-index: 5;
    pointer-events: none;
}

/* Glow behind globe */
.logo-globe-glow {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 140, 245, .3) 0%, rgba(42, 92, 192, .1) 50%, transparent 70%);
    animation: logoGlowPulse 3s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

/* Globe rotation — shifts meridians left to simulate spinning */
@keyframes globeRotate {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-28px);
    }
}

@keyframes logoGlowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.12);
    }
}

/* 3D Logo Text */
.logo-text-3d {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 1px;
}

.logo-line1 {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .5px;
    background: linear-gradient(180deg, #ffe8a0, #f5c842, #e0a020);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 0 rgba(180, 130, 20, .6)) drop-shadow(0 2px 0 rgba(120, 80, 10, .4)) drop-shadow(0 3px 6px rgba(0, 0, 0, .5));
}

.logo-line2 {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: .5px;
    background: linear-gradient(180deg, #ffffff, #d4d0ff, #a8a0e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 0 rgba(100, 80, 200, .5)) drop-shadow(0 2px 0 rgba(60, 40, 140, .35)) drop-shadow(0 3px 6px rgba(0, 0, 0, .5));
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center
}

.hdr-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 15px;
    border-radius: 12px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: transform .2s, box-shadow .2s
}

.hdr-btn:active {
    transform: scale(.95)
}

.hdr-btn i {
    font-size: .85rem
}

.hdr-login {
    background: linear-gradient(180deg, rgba(30, 22, 80, .95), rgba(15, 10, 50, .95));
    border: 1.5px solid rgba(100, 80, 200, .4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .45), inset 0 1.5px 0 rgba(140, 120, 255, .2), inset 0 -1.5px 0 rgba(0, 0, 0, .3)
}

.hdr-reg {
    background: linear-gradient(135deg, #6530d4, #9540e8, #c535d0);
    border: 1.5px solid rgba(180, 120, 255, .35);
    box-shadow: 0 4px 14px rgba(150, 60, 230, .35), inset 0 1.5px 0 rgba(255, 255, 255, .2), inset 0 -1.5px 0 rgba(0, 0, 0, .2)
}

/* HERO */
.hero {
    position: relative;
    padding: 10px 0 22px;
    animation: sUp .5s ease-out both;
    overflow: hidden
}

.hero-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    z-index: 2
}

.hero-left {
    flex: 1
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 8px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 160, 136, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.25);
    font-size: .6rem;
    font-weight: 600;
    color: #86efac;
    margin-bottom: 10px;
    animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge i {
    font-size: .65rem;
    color: #4ade80;
}

@keyframes badgePulse {

    0%,
    100% {
        border-color: rgba(34, 197, 94, 0.25);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }

    50% {
        border-color: rgba(34, 197, 94, 0.45);
        box-shadow: 0 0 12px rgba(34, 197, 94, 0.15);
    }
}

.hero-t1 {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-t2 {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(90deg, #f5c842, #ff9f43, #f5c842);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: shimmerGold 4s ease-in-out infinite;
    line-height: 1.15;
    margin-bottom: 10px;
}

@keyframes shimmerGold {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-desc {
    font-size: .82rem;
    color: var(--light);
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Hero Trust Indicators */
.hero-trust {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .62rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
}

.trust-item i {
    font-size: .58rem;
    color: #4ade80;
}

.hero-right {
    width: 44%;
    max-width: 170px;
    flex-shrink: 0;
    position: relative;
}

/* Hero Image Glow */
.hero-img-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 60, 220, 0.25) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.wallet-img {
    width: 100%;
    height: auto;
    animation: floatY 4s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .4));
    position: relative;
    z-index: 2;
}

.hero-map-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 35%, rgba(50, 30, 140, .2) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1
}

/* Hero Glow Effect */
.hero-glow {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(120, 80, 240, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: heroGlowFloat 6s ease-in-out infinite;
}

@keyframes heroGlowFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-15px, 15px);
    }
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

/* HERO CTA */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
    animation: sUp .55s .05s ease-out both
}

.hcta-btn {
    flex: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    color: var(--white);
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .2s, box-shadow .2s
}

.hcta-btn:active {
    transform: scale(.97)
}

.hcta-video {
    background: linear-gradient(135deg, #1e1878, #2a20a0, #1e1878);
    border: 1.5px solid rgba(100, 80, 220, .4);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .5), inset 0 1.5px 0 rgba(160, 140, 255, .25), inset 0 -1.5px 0 rgba(0, 0, 0, .35)
}

.hcta-apply {
    background: linear-gradient(135deg, #0a7868, #10a088, #0a7868);
    border: 1.5px solid rgba(40, 200, 170, .35);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .5), inset 0 1.5px 0 rgba(120, 255, 230, .2), inset 0 -1.5px 0 rgba(0, 0, 0, .35)
}

.hcta-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0
}

.hcta-ic-blue {
    background: radial-gradient(circle at 38% 28%, #7060e8, #4030b8);
    border: 1px solid rgba(130, 110, 255, .3);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .4), inset 0 1.5px 3px rgba(200, 180, 255, .3), inset 0 -1.5px 3px rgba(0, 0, 0, .25)
}

.hcta-ic-teal {
    background: radial-gradient(circle at 38% 28%, #40d8b8, #1aa088);
    border: 1px solid rgba(80, 230, 200, .25);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .4), inset 0 1.5px 3px rgba(150, 255, 240, .25), inset 0 -1.5px 3px rgba(0, 0, 0, .25)
}

/* FEATURES */
.features-card {
    background: linear-gradient(145deg, #161058, #1a1468, #121050);
    border-radius: 20px;
    padding: 16px 12px;
    margin-bottom: 18px;
    border: 1.5px solid rgba(80, 60, 180, .2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .4), inset 0 1.5px 0 rgba(120, 100, 220, .12), inset 0 -1.5px 0 rgba(0, 0, 0, .25);
    animation: sUp .6s .1s ease-out both
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px
}

.feat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 12px 4px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(80, 60, 180, .1);
    transition: transform .2s
}

.feat-item:hover {
    transform: translateY(-2px)
}

.feat-icon-img {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center
}

.feat-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .3))
}

.feat-item strong {
    font-size: .62rem;
    color: var(--white)
}

.feat-item small {
    font-size: .52rem;
    color: var(--dim);
    line-height: 1.35
}


/* APP DOWNLOAD */
.app-dl {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(140deg, #0c8575, #126a88 50%, #164a82);
    border-radius: 22px;
    padding: 20px 16px;
    margin-bottom: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
    border: 1.5px solid rgba(20, 180, 160, .1);
    animation: sUp .7s .2s ease-out both
}

.app-dl-left {
    width: 38%;
    flex-shrink: 0;
    position: relative
}

.mini-phone {
    width: 92px;
    background: linear-gradient(180deg, #1e1b4b, #312e81);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .4)
}

.mp-screen {
    background: linear-gradient(180deg, #0d9488, #0f766e);
    border-radius: 8px;
    padding: 8px 6px;
    font-size: .45rem
}

.mp-top {
    margin-bottom: 4px
}

.mp-welcome {
    display: block;
    font-weight: 700;
    font-size: .5rem;
    margin-bottom: 2px
}

.mp-blabel {
    display: block;
    font-size: .35rem;
    color: rgba(255, 255, 255, .7)
}

.mp-bval {
    display: block;
    font-size: .7rem;
    font-weight: 800;
    margin-bottom: 1px
}

.mp-avail {
    display: block;
    font-size: .3rem;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 3px
}

.mp-wbtn {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px 8px;
    background: linear-gradient(135deg, #b060f0, #f08535);
    border-radius: 4px;
    font-size: .35rem;
    font-weight: 600
}

.mp-loan {
    background: rgba(0, 0, 0, .2);
    border-radius: 6px;
    padding: 5px 6px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .45rem;
    font-weight: 600
}

.mp-apply {
    font-size: .35rem;
    padding: 3px 6px;
    background: rgba(255, 255, 255, .15);
    border-radius: 4px
}

.taka-float-badge {
    position: absolute;
    top: -5px;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: radial-gradient(circle at 35% 30%, #34d4a8, #0dbfa0 40%, #0a9a82);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--white);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .3), inset 0 2px 3px rgba(255, 255, 255, .2)
}

.app-dl-right {
    flex: 1
}

.app-dl-right h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 2px
}

.app-dl-sub {
    font-size: .78rem;
    color: var(--light);
    margin-bottom: 6px
}

.app-dl-desc {
    font-size: .7rem;
    color: var(--dim);
    line-height: 1.5;
    margin-bottom: 10px
}

.store-row {
    display: flex;
    gap: 8px
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    background: rgba(0, 0, 0, .4);
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: transform .2s
}

.store-btn:active {
    transform: scale(.95)
}

.store-btn i {
    font-size: 1rem
}

.store-btn small {
    display: block;
    font-size: .4rem;
    color: var(--light)
}

.store-btn strong {
    display: block;
    font-size: .6rem
}

/* STATS */
.stats-card {
    background: linear-gradient(145deg, #131058, #171260, #0e0b45);
    border-radius: 20px;
    padding: 16px 10px;
    margin-bottom: 18px;
    border: 1.5px solid rgba(60, 45, 150, .2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(100, 80, 200, .1), inset 0 -1px 0 rgba(0, 0, 0, .25);
    animation: sUp .75s .25s ease-out both
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    padding: 8px 2px
}

.stat-3d-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    position: relative;
    margin-bottom: 2px
}

.si-3d-purple {
    background: radial-gradient(circle at 38% 28%, #9b8aff, #6860f0 45%, #4840c8);
    color: var(--white);
    box-shadow: 0 6px 14px rgba(80, 60, 200, .45), 0 2px 4px rgba(0, 0, 0, .3), inset 0 2px 4px rgba(200, 180, 255, .35), inset 0 -3px 5px rgba(40, 30, 100, .4);
    border: 1px solid rgba(140, 120, 255, .15)
}

.si-3d-green {
    background: radial-gradient(circle at 38% 28%, #5ae8a8, #30c878 45%, #1aa860);
    color: var(--white);
    box-shadow: 0 6px 14px rgba(30, 180, 100, .4), 0 2px 4px rgba(0, 0, 0, .3), inset 0 2px 4px rgba(160, 255, 210, .3), inset 0 -3px 5px rgba(10, 80, 40, .35);
    border: 1px solid rgba(80, 230, 160, .15)
}

.si-3d-teal {
    background: radial-gradient(circle at 38% 28%, #60e8e0, #30c8c0 45%, #18a8a0);
    color: var(--white);
    box-shadow: 0 6px 14px rgba(30, 180, 170, .4), 0 2px 4px rgba(0, 0, 0, .3), inset 0 2px 4px rgba(160, 255, 250, .3), inset 0 -3px 5px rgba(10, 80, 75, .35);
    border: 1px solid rgba(80, 230, 220, .15)
}

.si-3d-pink {
    background: radial-gradient(circle at 38% 28%, #ff80b8, #e84090 45%, #c82870);
    color: var(--white);
    box-shadow: 0 6px 14px rgba(220, 60, 140, .4), 0 2px 4px rgba(0, 0, 0, .3), inset 0 2px 4px rgba(255, 180, 220, .35), inset 0 -3px 5px rgba(100, 20, 60, .35);
    border: 1px solid rgba(255, 120, 180, .15)
}

.stat-item strong {
    font-size: .72rem;
    font-weight: 800;
    color: var(--white)
}

.stat-item small {
    font-size: .48rem;
    color: var(--dim);
    line-height: 1.3
}

/* BOTTOM CARDS */
.bottom-cards {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    animation: sUp .8s .3s ease-out both
}

.bcard {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    background: rgba(15, 10, 55, .7);
    border-radius: 18px;
    border: 1px solid rgba(60, 45, 140, .12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25)
}

.bcard-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .3), inset 0 2px 3px rgba(255, 255, 255, .15)
}

.bci-gift {
    background: radial-gradient(circle at 35% 30%, #c084fc, #9333ea);
    color: var(--white)
}

.bci-hand {
    background: radial-gradient(circle at 35% 30%, #34d399, #059669);
    color: var(--white)
}

.bcard-info strong {
    display: block;
    font-size: .72rem;
    margin-bottom: 2px
}

.bcard-info small {
    font-size: .56rem;
    color: var(--dim);
    line-height: 1.3
}

/* FLOATING CHAT */
.float-chat {
    position: absolute;
    bottom: 110px;
    right: 14px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.chat-fab {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #42e888, #1fb858 60%, #148840);
    border: 2px solid rgba(18, 120, 60, .2);
    color: var(--white);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .4), 0 3px 8px rgba(34, 197, 94, .25);
    transition: transform .2s;
    position: relative;
    animation: chatBounce 3s ease-in-out infinite;
}

.chat-fab i {
    position: relative;
    z-index: 2;
}

.chat-fab:active {
    transform: scale(.9);
    animation: none;
}

/* Ring Pulse Animation */
.chat-fab-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.5);
    animation: chatRingPulse 2s ease-out infinite;
    pointer-events: none;
}

.chat-fab-label {
    font-size: .68rem;
    font-weight: 800;
    color: var(--white);
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: .3px;
    animation: chatBounce 3s ease-in-out infinite;
}

@keyframes chatBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes chatRingPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* BOTTOM NAV */
.bottom-nav {
    position: sticky;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 6px 12px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 100;
    background: linear-gradient(180deg, #0e0c48, #080630);
    border-top: 1px solid rgba(60, 45, 130, .18);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .3);
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    flex-shrink: 0
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    padding: 3px 6px;
    -webkit-tap-highlight-color: transparent
}

.nav-icon-wrap {
    width: 44px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--dim);
    transition: all .3s cubic-bezier(.34, 1.56, .64, 1)
}

.nav-icon-wrap.active-wrap {
    background: linear-gradient(145deg, #6545d5, #5030b8);
    color: var(--white);
    box-shadow: 0 5px 14px rgba(80, 45, 180, .5), inset 0 2px 3px rgba(160, 140, 255, .2);
    border: 1px solid rgba(120, 90, 230, .2)
}

.nav-label {
    font-size: .58rem;
    font-weight: 500;
    color: var(--dim);
    letter-spacing: .2px;
    white-space: nowrap
}

.nav-item.active .nav-label {
    color: var(--white);
    font-weight: 700
}

.nav-item:not(.active):hover .nav-icon-wrap {
    color: var(--light);
    transform: translateY(-2px)
}

.emi-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center
}

.emi-text {
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .5px
}

/* EMI CALCULATOR */
.emi-calc-card {
    background: linear-gradient(145deg, #161058, #1a1468, #121050);
    border-radius: 18px;
    padding: 0;
    margin-bottom: 18px;
    border: 1.5px solid rgba(80, 60, 180, .25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(120, 100, 220, .12), inset 0 -1px 0 rgba(0, 0, 0, .25);
    animation: sUp .6s .08s ease-out both;
    overflow: hidden
}

.emi-calc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 8px;
    background: linear-gradient(135deg, rgba(100, 60, 220, .1), rgba(60, 30, 150, .06));
    border-bottom: 1px solid rgba(80, 60, 180, .1)
}

.emi-calc-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: radial-gradient(circle at 35% 28%, #7c5cf0, #5535c8 60%, #3a20a0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: var(--white);
    box-shadow: 0 3px 10px rgba(90, 50, 200, .35), inset 0 1.5px 3px rgba(200, 180, 255, .2), inset 0 -1.5px 3px rgba(0, 0, 0, .25);
    flex-shrink: 0
}

.emi-calc-title {
    font-size: .78rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0
}

.emi-calc-sub {
    font-size: .58rem;
    color: var(--dim)
}

.emi-calc-body {
    padding: 10px 14px 14px
}

.emi-field {
    margin-bottom: 10px
}

.emi-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .62rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 5px
}

.emi-label i {
    font-size: .62rem;
    color: #a78bfa
}

.emi-input-wrap {
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, rgba(20, 15, 65, .9), rgba(15, 10, 50, .95));
    border: 1.5px solid rgba(100, 80, 200, .25);
    border-radius: 10px;
    padding: 0 10px;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25), inset 0 1px 2px rgba(0, 0, 0, .3);
    transition: border-color .3s, box-shadow .3s
}

.emi-input-wrap:focus-within {
    border-color: rgba(120, 90, 240, .5);
    box-shadow: 0 2px 10px rgba(100, 60, 220, .2), inset 0 1px 2px rgba(0, 0, 0, .3), 0 0 0 2px rgba(120, 90, 230, .08)
}

.emi-input-prefix {
    font-size: .75rem;
    font-weight: 700;
    color: #a78bfa;
    flex-shrink: 0
}

.emi-input-prefix i {
    font-size: .72rem;
    color: #a78bfa
}

.emi-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-family: var(--font);
    font-size: .82rem;
    font-weight: 700;
    padding: 9px 0;
    -moz-appearance: textfield
}

.emi-input::placeholder {
    color: var(--dim);
    font-weight: 500
}

.emi-input::-webkit-outer-spin-button,
.emi-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.emi-input-suffix {
    font-size: .65rem;
    font-weight: 600;
    color: var(--dim);
    flex-shrink: 0
}

.emi-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 90, 230, .2), transparent);
    margin: 4px 0 10px
}

.emi-result {
    background: linear-gradient(145deg, rgba(100, 60, 220, .08), rgba(20, 15, 60, .5));
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(100, 70, 220, .14);
    margin-bottom: 10px
}

.emi-result-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(80, 60, 180, .08)
}

.emi-result-label {
    font-size: .65rem;
    color: var(--light);
    font-weight: 600
}

.emi-result-amount {
    font-size: 1.1rem;
    font-weight: 900;
    background: linear-gradient(90deg, #f5c842, #ff9f43, #f5c842);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: emiPulse 2s ease-in-out infinite
}

@keyframes emiPulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .85
    }
}

.emi-result-details {
    display: flex;
    gap: 8px
}

.emi-detail-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 7px 8px;
    background: rgba(255, 255, 255, .025);
    border-radius: 8px;
    border: 1px solid rgba(80, 60, 180, .06)
}

.emi-detail-label {
    font-size: .5rem;
    color: var(--dim)
}

.emi-detail-val {
    font-size: .7rem;
    font-weight: 700;
    color: var(--white)
}

.emi-detail-interest {
    color: #fb923c
}

.emi-apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6530d4, #9540e8, #c535d0);
    border: 1.5px solid rgba(180, 120, 255, .25);
    box-shadow: 0 4px 14px rgba(150, 60, 230, .25), inset 0 1px 0 rgba(255, 255, 255, .15), inset 0 -1px 0 rgba(0, 0, 0, .15);
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s
}

.emi-apply-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(150, 60, 230, .4), inset 0 1px 0 rgba(255, 255, 255, .2)
}

.emi-apply-btn:active {
    transform: scale(.97)
}

/* ANIMATIONS */
@keyframes sUp {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* RESPONSIVE */
@media(max-width:430px) {
    body {
        padding: 0;
        align-items: stretch
    }

    .app-container {
        border-radius: 0;
        height: 100vh;
        box-shadow: none;
        border: none
    }

    .bottom-nav {
        border-radius: 0
    }

    .float-chat {
        right: 16px
    }
}

@media(min-width:431px) {
    body {
        background: #080630
    }
}

/* Nav 3D CSS added for bottom nav */
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 4px 10px;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none !important;
}

.nav-icon-wrap {
    width: 48px;
    height: 44px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-3d-blue {
    background: linear-gradient(145deg, #5a6cf5, #4558e0);
    box-shadow: 0 4px 12px rgba(79, 108, 245, 0.35), inset 0 2px 3px rgba(180, 190, 255, 0.2), inset 0 -2px 3px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(100, 120, 255, 0.15);
}

.nav-3d-green {
    background: linear-gradient(145deg, #38d87a, #22a858);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35), inset 0 2px 3px rgba(180, 255, 200, 0.2), inset 0 -2px 3px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(60, 200, 100, 0.15);
}

.nav-3d-teal {
    background: linear-gradient(145deg, #18c8a8, #0a9a82);
    box-shadow: 0 4px 12px rgba(15, 194, 168, 0.35), inset 0 2px 3px rgba(180, 255, 240, 0.2), inset 0 -2px 3px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(40, 200, 180, 0.15);
}

.nav-3d-pink {
    background: linear-gradient(145deg, #f472b6, #d946a8);
    box-shadow: 0 4px 12px rgba(236, 72, 147, 0.35), inset 0 2px 3px rgba(255, 180, 220, 0.2), inset 0 -2px 3px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(240, 100, 180, 0.15);
}

.nav-3d-purple {
    background: linear-gradient(145deg, #a78bfa, #8b5cf6);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35), inset 0 2px 3px rgba(200, 180, 255, 0.2), inset 0 -2px 3px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(160, 120, 255, 0.15);
}

.nav-icon-wrap.active-wrap {
    background: linear-gradient(145deg, #7550e0, #5c3cc0);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(90, 55, 200, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(180, 160, 255, 0.2), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(140, 110, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-icon-wrap i {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--light);
    letter-spacing: 0.2px;
    text-decoration: none !important;
}

.nav-item.active .nav-label {
    color: var(--white);
    font-weight: 700;
}

.nav-item:not(.active):hover .nav-icon-wrap {
    transform: translateY(-2px);
}

/* ===== LEGAL / ABOUT / TERMS / PRIVACY SECTIONS ===== */
.legal-section {
    background: linear-gradient(145deg, #161058, #1a1468, #121050);
    border-radius: 18px;
    margin-bottom: 14px;
    border: 1.5px solid rgba(80, 60, 180, .2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(120, 100, 220, .1);
    overflow: hidden;
    animation: sUp .6s .15s ease-out both;
}

.legal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    cursor: pointer;
    transition: background .3s;
    -webkit-tap-highlight-color: transparent;
}

.legal-header:active {
    background: rgba(100, 60, 220, .06);
}

.legal-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}

.legal-icon-blue {
    background: radial-gradient(circle at 35% 28%, #5a8cf5, #3a68d8 60%, #2850b0);
    color: #fff;
    box-shadow: 0 4px 10px rgba(58, 104, 216, .35), inset 0 1.5px 3px rgba(180, 200, 255, .25), inset 0 -1.5px 3px rgba(0, 0, 0, .2);
    border: 1px solid rgba(90, 140, 245, .15);
}

.legal-icon-purple {
    background: radial-gradient(circle at 35% 28%, #9b8aff, #6860f0 60%, #4840c8);
    color: #fff;
    box-shadow: 0 4px 10px rgba(80, 60, 200, .35), inset 0 1.5px 3px rgba(200, 180, 255, .25), inset 0 -1.5px 3px rgba(0, 0, 0, .2);
    border: 1px solid rgba(140, 120, 255, .15);
}

.legal-icon-teal {
    background: radial-gradient(circle at 35% 28%, #40d8b8, #1aa088 60%, #0a8070);
    color: #fff;
    box-shadow: 0 4px 10px rgba(26, 160, 136, .35), inset 0 1.5px 3px rgba(160, 255, 230, .25), inset 0 -1.5px 3px rgba(0, 0, 0, .2);
    border: 1px solid rgba(60, 200, 170, .15);
}

.legal-header-text {
    flex: 1;
    min-width: 0;
}

.legal-header-text h3 {
    font-size: .82rem;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 1px;
}

.legal-subtitle {
    font-size: .58rem;
    color: var(--dim);
    font-weight: 500;
}

.legal-arrow {
    font-size: .65rem;
    color: var(--dim);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    flex-shrink: 0;
}

.legal-arrow.rotated {
    transform: rotate(180deg);
    color: #a78bfa;
}

.legal-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s cubic-bezier(.4, 0, .2, 1), padding .35s;
    padding: 0 14px;
}

.legal-body.open {
    max-height: 2000px;
    padding: 0 14px 16px;
}

/* About Highlight */
.about-highlight {
    background: linear-gradient(135deg, rgba(90, 60, 220, .08), rgba(20, 160, 140, .06));
    border: 1px solid rgba(100, 70, 220, .12);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 8px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, .12), rgba(16, 160, 136, .08));
    border: 1px solid rgba(34, 197, 94, .2);
    font-size: .62rem;
    font-weight: 700;
    color: #86efac;
    margin-bottom: 10px;
}

.about-badge i {
    font-size: .62rem;
    color: #4ade80;
}

.about-mission {
    font-size: .76rem;
    color: var(--light);
    line-height: 1.75;
    margin: 0;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.about-card {
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(80, 60, 180, .1);
    border-radius: 12px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    transition: transform .2s, border-color .3s;
}

.about-card:hover {
    transform: translateY(-2px);
    border-color: rgba(120, 90, 240, .2);
}

.about-card strong {
    font-size: .68rem;
    color: var(--white);
}

.about-card small {
    font-size: .56rem;
    color: var(--dim);
    line-height: 1.45;
}

.about-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: #fff;
    margin-bottom: 2px;
}

.aci-purple {
    background: radial-gradient(circle at 35% 28%, #9b8aff, #6860f0 60%, #4840c8);
    box-shadow: 0 4px 10px rgba(80, 60, 200, .3), inset 0 1.5px 3px rgba(200, 180, 255, .2);
}

.aci-teal {
    background: radial-gradient(circle at 35% 28%, #40d8b8, #1aa088 60%, #0a8070);
    box-shadow: 0 4px 10px rgba(26, 160, 136, .3), inset 0 1.5px 3px rgba(160, 255, 230, .2);
}

.aci-green {
    background: radial-gradient(circle at 35% 28%, #5ae8a8, #30c878 60%, #1aa860);
    box-shadow: 0 4px 10px rgba(30, 180, 100, .3), inset 0 1.5px 3px rgba(160, 255, 210, .2);
}

.aci-pink {
    background: radial-gradient(circle at 35% 28%, #ff80b8, #e84090 60%, #c82870);
    box-shadow: 0 4px 10px rgba(220, 60, 140, .3), inset 0 1.5px 3px rgba(255, 180, 220, .2);
}

/* About Quote */
.about-quote {
    background: linear-gradient(135deg, rgba(100, 60, 220, .06), rgba(15, 10, 50, .4));
    border-left: 3px solid rgba(167, 139, 250, .4);
    border-radius: 0 10px 10px 0;
    padding: 14px 14px 14px 16px;
    position: relative;
}

.about-quote>i {
    font-size: .7rem;
    color: rgba(167, 139, 250, .35);
    margin-bottom: 6px;
    display: block;
}

.about-quote p {
    font-size: .7rem;
    color: var(--light);
    line-height: 1.7;
    margin: 0 0 8px;
    font-style: italic;
}

.about-quote-author {
    font-size: .6rem;
    color: #a78bfa;
    font-weight: 700;
}

/* Legal Items */
.legal-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(80, 60, 180, .06);
}

.legal-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.legal-item-num {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(100, 60, 220, .1);
    border: 1px solid rgba(100, 60, 220, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 800;
    color: #a78bfa;
    flex-shrink: 0;
    margin-top: 2px;
}

.legal-item-num i {
    font-size: .65rem;
}

.legal-item strong {
    display: block;
    font-size: .72rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 4px;
}

.legal-item p {
    font-size: .66rem;
    color: var(--dim);
    line-height: 1.65;
    margin: 0;
}

/* Footer */
.pub-footer {
    text-align: center;
    padding: 20px 10px 30px;
    animation: sUp .7s .2s ease-out both;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-logo-wrap {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: radial-gradient(circle at 35% 28%, #7c5cf0, #5535c8 60%, #3a20a0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: #fff;
    box-shadow: 0 3px 10px rgba(90, 50, 200, .3), inset 0 1.5px 3px rgba(200, 180, 255, .2);
}

.footer-brand strong {
    font-size: .78rem;
    color: var(--white);
    display: block;
    line-height: 1.15;
}

.footer-brand small {
    font-size: .55rem;
    color: var(--dim);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: .62rem;
    color: #a78bfa;
    text-decoration: none;
    font-weight: 600;
    transition: color .2s;
    padding: 4px 0;
}

.footer-links a:hover {
    color: #c4b5fd;
}

.footer-copy {
    font-size: .52rem;
    color: var(--dim);
    letter-spacing: .3px;
}