/* ==========================================================
   TraderDiary Landing Page
========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --bg:#070B14;
    --bg2:#0B1120;

    --card:#111827;

    --border:#243244;

    --primary:#22C55E;

    --secondary:#3B82F6;

    --text:#F8FAFC;

    --muted:#94A3B8;

}

body{

    font-family:'Poppins',sans-serif;

    background:linear-gradient(180deg,#070B14,#0B1120);

    color:white;

    overflow-x:hidden;

}

/* ==========================================================
   Animated Background
========================================================== */

body::before{

    content:"";

    position:fixed;

    top:-250px;

    right:-250px;

    width:650px;

    height:650px;

    background:radial-gradient(circle,#22C55E33,transparent 70%);

    filter:blur(70px);

    z-index:-2;

}

body::after{

    content:"";

    position:fixed;

    bottom:-300px;

    left:-300px;

    width:700px;

    height:700px;

    background:radial-gradient(circle,#3B82F633,transparent 70%);

    filter:blur(90px);

    z-index:-2;

}

/* ==========================================================
   Container
========================================================== */

.container{

    width:92%;

    max-width:1400px;

    margin:auto;

}

/* ==========================================================
   Navbar
========================================================== */

.navbar{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    backdrop-filter:blur(18px);

    background:rgba(10,15,25,.55);

    border-bottom:1px solid rgba(255,255,255,.06);

}

.navbar .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:80px;

}

.logo{

    font-size:30px;

    font-weight:800;

    color:#22C55E;

}

.navbar ul{

    display:flex;

    list-style:none;

    gap:18px;

    align-items:center;

}

.navbar a{

    color:#CBD5E1;

    text-decoration:none;

    font-weight:500;

    transition:.3s;

}

.navbar a:hover{

    color:white;

}

/* Buttons */

.login-btn{

    padding:10px 18px;

    border:1px solid #334155;

    border-radius:12px;

}

.register-btn{

    padding:11px 22px;

    border-radius:12px;

    background:#22C55E;

    color:white!important;

    font-weight:600;

}

.register-btn:hover{

    background:#16A34A;

}

/* ==========================================================
   Hero
========================================================== */

.hero{

    min-height:100vh;

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:70px;

    padding:120px 4% 60px;

}

.hero-left{

    animation:fadeUp .8s ease;

}

.badge{

    display:inline-block;

    padding:10px 18px;

    border-radius:50px;

    background:#142132;

    border:1px solid #2A3648;

    color:#CBD5E1;

    margin-bottom:25px;

}

.hero h1{

    font-size:62px;

    line-height:1.15;

    font-weight:800;

}

.hero h1 span{

    color:#22C55E;

}

.hero p{

    margin-top:25px;

    color:#94A3B8;

    font-size:20px;

    line-height:1.8;

    max-width:650px;

}

.hero-buttons{

    display:flex;

    gap:18px;

    margin-top:40px;

}

/* CTA */

.btn-primary{

    display:inline-block;

    padding:16px 34px;

    background:#22C55E;

    color:white;

    text-decoration:none;

    border-radius:14px;

    font-weight:700;

    transition:.35s;

}

.btn-primary:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 35px rgba(34,197,94,.35);

}

.btn-secondary{

    display:inline-block;

    padding:16px 34px;

    border-radius:14px;

    border:1px solid #334155;

    color:white;

    text-decoration:none;

    transition:.35s;

}

.btn-secondary:hover{

    background:#1E293B;

}

/* Stats */

.stats{

    display:flex;

    gap:60px;

    margin-top:60px;

}

.stats h2{

    font-size:38px;

    color:#22C55E;

}

.stats p{

    margin-top:8px;

    font-size:14px;

    color:#94A3B8;

}

/* ==========================================================
   Dashboard Preview
========================================================== */

.hero-right{

    display:flex;

    justify-content:center;

    align-items:center;

}

.dashboard-preview{

    position:relative;

    border-radius:24px;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:0 40px 90px rgba(0,0,0,.45);

    animation:float 5s ease-in-out infinite;

    transition:.4s;

}

.dashboard-preview:hover{

    transform:scale(1.03);

}

.dashboard-preview img{

    width:100%;

    display:block;

}

/* Glow */

.dashboard-preview::before{

    content:"";

    position:absolute;

    inset:-2px;

    background:linear-gradient(

    135deg,

    #22C55E,

    #3B82F6,

    #8B5CF6

    );

    z-index:-1;

    filter:blur(30px);

    opacity:.6;

}

/* ==========================================================
   Animations
========================================================== */

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-15px);

    }

    100%{

        transform:translateY(0);

    }

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================================================
   Responsive
========================================================== */

@media(max-width:992px){

.hero{

grid-template-columns:1fr;

text-align:center;

}

.hero-buttons{

justify-content:center;

}

.stats{

justify-content:center;

flex-wrap:wrap;

}

.hero h1{

font-size:44px;

}

.hero p{

margin-left:auto;
margin-right:auto;

}

.navbar ul{

display:none;

}

}
