/* ==========================================================
   GLOBAL
========================================================== */

:root {
    --white:#f8f9fa;
    --primary:#2563eb;
    --nav-link: #334155;
    --header: #0f172a;
    --text: #6f7880;
    --footer: #0f172a;

    --radius:18px;
    --shadow:
            0 15px 40px rgba(15,23,42,.08);
    --transition:.35s ease;
}

html.dark {
    --white: rgb(14 27 44);
    --nav-link: #cacacc;
    --header: #ffffff;
    --text: #e0e6ef;
    --footer: rgb(13 16 35);
}

#themeToggle{
    background: var(--white);
    border: none;
    padding: 3px;
    border-radius: 8px;
}


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

.text-tagl-secondary {
    color: var(--text) !important;
}

body{

    font-family:'Inter',sans-serif;

    background:var(--white);

    color:var(--header);

}

/* Wrapper to clip horizontal overflow without breaking position:fixed on mobile */
.page-wrapper {
    overflow-x: clip;
}

/* ==========================================================
   NAVBAR
========================================================== */

.navbar{

    transition:.35s;

    padding:18px 0;

}

.navbar-scrolled{

    background:var(--white);

    box-shadow:0 10px 35px rgba(0,0,0,.08);

    padding:10px 0;

}

.navbar-brand{

    letter-spacing:-1px;

}

.nav-link{

    font-weight:500;

    color:var(--nav-link);

    transition:.3s;

}

.nav-link:hover{

    color:var(--primary);

}

/* ==========================================================
   BUTTONS
========================================================== */

.btn{

    border-radius:14px;

    transition:var(--transition);

    position:relative;

    overflow:hidden;

}

.btn-primary{

    background:linear-gradient(135deg,#2563eb,#3b82f6);

    border:none;

}

.btn-primary:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(37,99,235,.3);

}

.btn-outline-dark:hover{

    transform:translateY(-3px);

}

/* Ripple */

.ripple{

    position:absolute;

    border-radius:50%;

    transform:scale(0);

    animation:ripple .6s linear;

    background:rgba(255,255,255,.45);

    pointer-events:none;

}

@keyframes ripple{

    to{

        transform:scale(4);

        opacity:0;

    }

}

/* ==========================================================
   HERO
========================================================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    background:

            radial-gradient(
                    circle at 85% 10%,
                    rgba(59, 130, 246, .18) 0%,
                    rgba(59, 130, 246, .08) 20%,
                    transparent 42%
            ),

            radial-gradient(
                    circle at 10% 90%,
                    rgba(37, 99, 235, .12) 0%,
                    transparent 40%
            ),

            var(--white);


}

#why, #analytics, .navbar{
    background: var(--white);
}


.hero h1{

    line-height:1.05;

    letter-spacing:-2px;

}

.hero .lead{

    font-size:1.15rem;

}

.badge{

    border-radius:40px;

}

/* ==========================================================
   DASHBOARD
========================================================== */

.dashboard-card{

    background:rgba(255,255,255);
    color: black;

    backdrop-filter:blur(16px);

    border-radius:25px;

    padding:30px;

    transition:.3s;

    box-shadow:

            0 25px 60px rgba(15,23,42,.12);

    border:1px solid rgba(255,255,255,.6);

}

.dashboard-card:hover{

    transform:translateY(-6px);

}

.stock-card{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:16px 18px;

    border-radius:15px;

    margin-bottom:14px;

    background:#fff;

    transition:.3s;

    border:1px solid #eef2f7;

}

.stock-card:hover{

    transform:translateX(6px);

    box-shadow:0 12px 30px rgba(0,0,0,.06);

}

.flash{

    animation:flash .45s;

}

@keyframes flash{

    0%{

        background:#dcfce7;

    }

    100%{

        background:#fff;

    }

}

/* ==========================================================
   FEATURE CARDS
========================================================== */

.feature-card{

    border-radius:22px;

    transition:.35s;

    overflow:hidden;

}

.feature-card:hover{

    transform:translateY(-8px);

    box-shadow:

            0 30px 60px rgba(15,23,42,.12);

}

.feature-card .card-body{

    padding:35px;

}

.icon-box{

    width:70px;

    height:70px;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

}

/* ==========================================================
   CARDS
========================================================== */

.card{

    border-radius:22px;

    transition:.35s;

}

.card.show{

    animation:fadeUp .8s;

}

.card:hover{

    transform:translateY(-6px);

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================================================
   CHART PLACEHOLDER
========================================================== */

.chart-placeholder{

    border-radius:22px;

    background:

            linear-gradient(135deg,#eff6ff,#ffffff);

    border:2px dashed #cbd5e1;

    display:flex;

    align-items:center;

    justify-content:center;

}

/* ==========================================================
   PROGRESS
========================================================== */

.progress{

    border-radius:30px;

    background:#e2e8f0;

    overflow:hidden;

}

.progress-bar{

    transition:2s;

}


/* ==========================================================
   ANALYTICS
========================================================== */

#analytics .card{
    border:none;
    overflow:hidden;
}

#markets .card{
    padding-top:1rem;
}

#analytics .card-body{
    padding:2rem;
}

#analytics .bi{
    transition:.35s;
}

#analytics .card:hover .bi{
    transform:scale(1.15) rotate(-6deg);
}

/* ==========================================================
   CTA
========================================================== */

.bg-primary.rounded-5{

    background:
            linear-gradient(135deg,#2563eb 0%,#3b82f6 55%,#60a5fa 100%) !important;

    position:relative;

    overflow:hidden;

}

.bg-primary.rounded-5::before{

    content:"";

    position:absolute;

    width:420px;
    height:420px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    right:-120px;
    top:-120px;

}

.bg-primary.rounded-5::after{

    content:"";

    position:absolute;

    width:260px;
    height:260px;

    border-radius:50%;

    background:rgba(255,255,255,.06);

    left:-70px;
    bottom:-70px;

}

.bg-primary.rounded-5>*{

    position:relative;
    z-index:2;

}

/* ==========================================================
   FORM
========================================================== */

.form-control{

    border-radius:14px;

    border:1px solid #dbe4f0;

    padding:.85rem 1rem;

    transition:.3s;

    box-shadow:none;

}

.form-control:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 .2rem rgba(37,99,235,.12);

}

.form-control-lg{

    font-size:1rem;

}

/* ==========================================================
   FOOTER
========================================================== */

footer{

    background:var(--footer) !important;

}

footer h3,
footer h6{

    color:#fff;

}

.footer-link{

    color:#94a3b8;

    text-decoration:none;

    transition:.3s;

}

.footer-link:hover{

    color:#fff;


}

footer i{

    transition:.3s;

}

footer i:hover{

    color:#3b82f6;

    transform:translateY(-3px);

}

/* ==========================================================
   BADGES
========================================================== */

.badge{

    font-weight:600;

    letter-spacing:.2px;

}

/* ==========================================================
   STOCK COLORS
========================================================== */

.text-success{

    font-weight:600;

}

.text-danger{

    font-weight:600;

}

.text-primary{

    font-weight:600;

}

/* ==========================================================
   SECTION SPACING
========================================================== */

section{

    position:relative;

}

section.py-5{

    padding-top:90px !important;

    padding-bottom:90px !important;

}

/* ==========================================================
   IMAGES
========================================================== */

img{

    max-width:100%;

    display:block;

}

/* ==========================================================
   SCROLLBAR
========================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#eef2f7;

}

::-webkit-scrollbar-thumb{

    background:#3b82f6;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#2563eb;

}

/* ==========================================================
   SELECTION
========================================================== */

::selection{

    background:#2563eb;

    color:#fff;

}

/* ==========================================================
   HOVER EFFECTS
========================================================== */

.card,
.dashboard-card,
.stock-card,
.feature-card{

    will-change:transform;

}

.card:hover{

    box-shadow:0 18px 45px rgba(15,23,42,.08);

}

.dashboard-card:hover{

    box-shadow:0 30px 70px rgba(37,99,235,.18);

}

.feature-card:hover .icon-box{

    transform:rotate(-8deg) scale(1.08);

}

.icon-box{

    transition:.35s;

}

/* ==========================================================
   UTILITIES
========================================================== */

.shadow-lg{

    box-shadow:0 18px 45px rgba(15,23,42,.08)!important;

}

.rounded-5{

    border-radius:28px!important;

}

.display-5,
.display-4,
.display-3{

    letter-spacing:-1.5px;

}

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

@media (max-width:1200px){

    .hero h1{

        font-size:3.2rem;

    }

}

@media (max-width:992px){

    .hero{

        padding-top:110px;

        text-align:center;

    }

    .hero .btn{

        width:100%;

    }

    .dashboard-card{

        margin-top:50px;

    }

    .navbar .btn{

        width:100%;

    }

    .navbar .d-flex{

        margin-top:20px;

        flex-direction:column;

    }

    footer .col-lg-8 .row {
        justify-content: flex-start !important;
    }

    .navbar-nav {
        text-align: center;
    }

}

@media (max-width:768px){

    .display-3{

        font-size:2.5rem;

    }

    .display-4{

        font-size:2.2rem;

    }

    .display-5{

        font-size:2rem;

    }

    .hero{

        padding-top:90px;

    }

    .dashboard-card{

        padding:24px;

    }

    .stock-card{

        padding:14px;

    }

    .navbar-nav {
        text-align: center;
    }

    .chart-placeholder{

        min-height:300px;
        height:auto;

    }

    section.py-5{

        padding-top:70px!important;

        padding-bottom:70px!important;

    }

}

@media (max-width:576px){

    .hero h1{

        font-size:2.2rem;

    }

    .lead{

        font-size:1rem;

    }

    .icon-box{

        width:58px;
        height:58px;

        font-size:24px;

    }

    #markets .card-body {
        padding: 12px;
    }

    #markets .card {
        padding-top: 0.5rem;
    }

    footer .col-lg-8 .col-md-4 {
        text-align: left !important;
    }

    footer .col-lg-4 p {
        text-align: left;
    }

    footer .col-lg-8 .col-md-4 + .col-md-4 {
        margin-top: 16px;
    }

    footer.pt-5 {
        padding-top: 32px !important;
    }

    footer.pb-4 {
        padding-bottom: 16px !important;
    }

    footer .col-lg-4 p.mt-3 {
        margin-top: 4px !important;
    }

    footer .col-md-4 h6.mb-3 {
        margin-bottom: 4px !important;
    }

    footer .col-md-4 ul li {
        margin-bottom: 2px !important;
    }

    footer hr.my-5 {
        margin-top: 20px !important;
        margin-bottom: 12px !important;
    }

    footer{

        text-align:left;

    }

    footer .text-lg-end{

        text-align:center!important;

    }

}

/* ==========================================================
   ANIMATIONS
========================================================== */

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-8px);

    }

    100%{

        transform:translateY(0);

    }

}

.dashboard-card{

    animation:float 6s ease-in-out infinite;

}

.feature-card{

    animation:fadeUp .8s both;

}


.market-tag {
    display: block;
    text-align: center;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: .85rem;
    font-weight: 600;
}

.market-tag.blue {
    background: #e8f1ff;
    color: #2563eb;
}

.market-tag.green {
    background: #eaf8ef;
    color: #15803d;
}

.market-tag.orange {
    background: #fff3e6;
    color: #ea580c;
}

.market-tag.purple {
    background: #f3e8ff;
    color: #7c3aed;
}

.market-tag.cyan {
    background: #e6f9fb;
    color: #0891b2;
}

.market-tag.gray {
    background: #f1f5f9;
    color: #475569;
}



.scroll-progress{

    position:fixed;

    bottom:8px;

    left:50%;

    transform:translateX(-50%);

    width:320px;
    max-width:calc(100vw - 32px);

    background:#fff;

    border-radius:14px;

    padding:10px 16px;

    box-shadow:0 10px 35px rgba(15,23,42,.12);

    z-index:998;

    border:1px solid #e5e7eb;

}

.progress-fill{

    width:0;

    height:100%;

    background:#16a34a;

    border-radius:10px;

    transition:.1s;

}

.progress-label{

    margin-top:12px;

    font-size:.85rem;

    color:#64748b;

    text-align:center;

}

.progress-end {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);

    width: 28px;
    height: 28px;

    background: #fff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    color: #94a3b8;

    z-index: 3;

    box-shadow: 0 4px 12px rgba(15,23,42,.08);
}

.progress-line {
    position: relative;
    height: 4px;
    background: #e2e8f0;
    border-radius: 10px;
    z-index: 1;
}


.progress-dot {
    position: absolute;

    top: 50%;

    transform: translate(-50%, -50%);

    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: #16a34a;

    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;

    z-index: 2;
    left: 0;
    transition: left .1s;
    box-shadow: 0 6px 16px rgba(22,163,74,.35);
}


.scroll-progress.hide {
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
    pointer-events: none;
}


.confetti {
    position: fixed;
    top: -10px;
    width: 8px;
    height: 14px;
    z-index: 2000;
    animation: fall 2s linear forwards;
}


@keyframes fall {

    0% {
        transform: translateY(0) rotate(0deg);
        opacity:1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity:0;
    }

}



.gtranslate_wrapper {
    float: none !important;
    display: block !important;
    z-index: 999999 !important;
    transform: none !important;
    -webkit-transform: none !important;
}

#gt_float_wrapper{
    transform: scale(0.8);
}

@media (max-width: 768px) {
    #gt_float_wrapper {
        bottom: 40px !important;
    }

    #gt_float_wrapper.gt-hidden {
        opacity: 0;
        pointer-events: none;
        transition: opacity .35s;
    }
}