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

.cp-hero{
    position:relative;
    overflow:hidden;
    min-height:100vh;
    display:flex;
    align-items:center;
    background:#050816;
    padding-top:140px;
    padding-bottom:100px;
}

/* =================================
   Background
================================= */

.cp-hero-bg{

    position:absolute;
    inset:0;

    overflow:hidden;

    z-index:0;

}

.cp-aurora{

    position:absolute;

    width:650px;
    height:650px;

    border-radius:50%;

    filter:blur(120px);

    opacity:.45;

    animation:auroraMove 16s linear infinite;

}

.cp-aurora-1{

    top:-200px;
    left:-120px;

    background:#3f6fff;

}

.cp-aurora-2{

    right:-200px;
    top:120px;

    background:#7b4dff;

    animation-delay:4s;

}

.cp-aurora-3{

    left:40%;
    bottom:-260px;

    background:#00d4ff;

    animation-delay:8s;

}

/* ================================= */

.cp-grid{

    position:absolute;

    inset:0;

    background-image:

        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);

    background-size:50px 50px;

    mask-image:linear-gradient(to bottom,rgba(0,0,0,1),transparent);

}

/* ================================= */

.cp-noise{

    position:absolute;

    inset:0;

    opacity:.08;

    background-image:

        radial-gradient(circle at 20% 30%,#ffffff22 1px,transparent 2px),
        radial-gradient(circle at 70% 60%,#ffffff22 1px,transparent 2px),
        radial-gradient(circle at 90% 20%,#ffffff22 1px,transparent 2px);

}

/* ================================= */

.cp-hero-wrapper{

    position:relative;

    z-index:2;

    display:grid;

    grid-template-columns:1.05fr .95fr;

    gap:70px;

    align-items:center;

}

/* =================================
   Left
================================= */

.cp-hero-content{

    max-width:640px;

}

.cp-hero-content h1{

    margin-top:28px;

    font-size:72px;

    line-height:1.05;

    font-weight:800;

    color:#fff;

}

.cp-hero-content h1 span{

    display:block;

    background:linear-gradient(
        90deg,
        #4F7CFF,
        #7C4DFF
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

}

.cp-hero-content p{

    margin-top:28px;

    font-size:18px;

    line-height:1.8;

    color:rgba(255,255,255,.72);

    max-width:600px;

}

/* ================================= */

.hero-buttons{

    display:flex;

    gap:18px;

    margin-top:45px;

}

/* ================================= */

.hero-stats{

    display:flex;

    gap:55px;

    margin-top:60px;

}

.hero-stats strong{

    display:block;

    color:#fff;

    font-size:34px;

    font-weight:700;

}

.hero-stats span{

    display:block;

    margin-top:8px;

    color:rgba(255,255,255,.65);

    font-size:14px;

}

/* ================================= */

.badge{

    display:inline-flex;

    align-items:center;

    gap:12px;

}

.badge-dot{

    width:10px;
    height:10px;

    border-radius:50%;

    background:#00ff9d;

    box-shadow:

        0 0 12px #00ff9d;

}

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

.cp-hero-dashboard{

    position:relative;

    height:620px;

}

.dashboard-card{

    position:absolute;

    right:20px;
    top:40px;

    width:420px;

    padding:35px;

    border-radius:32px;

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

    backdrop-filter:blur(30px);
    -webkit-backdrop-filter:blur(30px);

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

    box-shadow:
        0 30px 80px rgba(0,0,0,.35);

}

/* -------------------- */

.dashboard-head{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.dashboard-head small{

    display:block;

    color:rgba(255,255,255,.55);

    font-size:13px;

}

.dashboard-head h3{

    margin-top:6px;

    color:#fff;

    font-size:24px;

}

/* -------------------- */

.status{

    padding:8px 18px;

    border-radius:999px;

    background:
        rgba(30,255,120,.18);

    color:#6dffb4;

    font-size:13px;

    font-weight:600;

}

/* -------------------- */

.loan-value{

    margin-top:35px;

    color:#fff;

    font-size:52px;

    font-weight:800;

}

/* -------------------- */

.progress{

    width:100%;

    height:10px;

    margin-top:35px;

    border-radius:999px;

    overflow:hidden;

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

}

.progress-fill{

    width:92%;

    height:100%;

    border-radius:999px;

    background:
        linear-gradient(
            90deg,
            #4F7CFF,
            #7C4DFF
        );

}

/* -------------------- */

.dashboard-grid{

    margin-top:40px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

}

.dashboard-grid div{

    text-align:center;

    padding:20px;

    border-radius:20px;

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

}

.dashboard-grid strong{

    display:block;

    color:#fff;

    font-size:24px;

}

.dashboard-grid span{

    display:block;

    margin-top:8px;

    color:rgba(255,255,255,.60);

    font-size:13px;

}

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

.floating-card{

    position:absolute;

    padding:18px 22px;

    display:flex;

    align-items:center;

    gap:16px;

    border-radius:22px;

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

    backdrop-filter:blur(24px);

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

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

}

/* -------------------- */

.floating-card strong{

    display:block;

    color:#fff;

    font-size:20px;

}

.floating-card span{

    display:block;

    margin-top:4px;

    color:rgba(255,255,255,.65);

    font-size:13px;

}

/* -------------------- */

.icon{

    width:52px;
    height:52px;

    border-radius:16px;

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

    color:#fff;

    background:
        linear-gradient(
            135deg,
            #4F7CFF,
            #7C4DFF
        );

}

/* -------------------- */

.floating-card-1{

    left:0;
    top:0;

}

.floating-card-2{

    left:-20px;

    bottom:130px;

    text-align:center;

}

.floating-card-3{

    right:-10px;

    bottom:10px;

    text-align:center;

}

/* ======================================================
   ANIMATION
====================================================== */

@keyframes floatCard{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-14px);

    }

    100%{

        transform:translateY(0px);

    }

}

@keyframes auroraMove{

    0%{

        transform:translate(0,0);

    }

    25%{

        transform:translate(50px,-40px);

    }

    50%{

        transform:translate(-40px,30px);

    }

    75%{

        transform:translate(30px,50px);

    }

    100%{

        transform:translate(0,0);

    }

}

/* Base Glass Card */

.glass-card{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.15);
    border-radius:28px;
    backdrop-filter:blur(24px);
    -webkit-backdrop-filter:blur(24px);
    box-shadow:
        0 20px 60px rgba(0,0,0,.35);
}

/* Buttons */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:16px 30px;
    border-radius:999px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn-primary{
    background:linear-gradient(135deg,#4F7CFF,#7C4DFF);
    color:#fff;
}

.btn-secondary{
    border:1px solid rgba(255,255,255,.2);
    color:#fff;
    background:rgba(255,255,255,.05);
}