/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:linear-gradient(180deg,#f8fafc,#ffffff);
    color:#0f172a;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

/* =========================
   BACKGROUND BLUR
========================= */

.bg{
    position:fixed;
    width:600px;
    height:600px;
    border-radius:50%;
    filter:blur(140px);
    opacity:0.12;
    z-index:-1;
    animation:float 8s ease-in-out infinite;
}

.bg.left{
    background:#2563EB;
    top:-200px;
    left:-200px;
}

.bg.right{
    background:#22C55E;
    bottom:-200px;
    right:-200px;
}

@keyframes float{
    0%{
        transform:translateY(0px);
    }
    50%{
        transform:translateY(25px);
    }
    100%{
        transform:translateY(0px);
    }
}

/* =========================
   NAVBAR
========================= */

.navbar{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
    backdrop-filter:blur(16px);
    background:rgba(255,255,255,0.85);
    border-bottom:1px solid rgba(15,23,42,0.08);
}

.nav-container{
    max-width:1200px;
    margin:auto;
    padding:14px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo-box{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo-box img{
    width:54px;
    height:54px;
    object-fit:contain;
}

.logo{
    font-family:'Poppins',sans-serif;
    font-size:24px;
    font-weight:800;
    color:#0f172a;
}

.logo span{
    color:#2563EB;
}

.nav-menu{
    display:flex;
    gap:30px;
    list-style:none;
}

.nav-menu a{
    color:#334155;
    font-weight:600;
    transition:.3s;
    position:relative;
}

.nav-menu a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0%;
    height:2px;
    background:#2563EB;
    transition:.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after{
    width:100%;
}

.nav-menu a:hover,
.nav-menu a.active{
    color:#2563EB;
}

/* =========================
   BUTTONS
========================= */

.btn{
    display:inline-block;
    background:linear-gradient(135deg,#2563EB,#1D4ED8);
    color:white;
    padding:13px 22px;
    border-radius:14px;
    font-weight:700;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 35px rgba(37,99,235,0.35);
}

.btn-outline{
    display:inline-block;
    padding:13px 22px;
    border-radius:14px;
    border:1px solid #cbd5e1;
    color:#0f172a;
    font-weight:700;
    transition:.3s;
    background:white;
}

.btn-outline:hover{
    border-color:#2563EB;
    color:#2563EB;
    transform:translateY(-4px);
}

/* =========================
   MAIN
========================= */

main{
    padding-top:90px;
}

/* =========================
   HERO
========================= */

.hero{
    max-width:1200px;
    margin:auto;
    padding:90px 20px 70px;
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    gap:50px;
    align-items:center;
}

.badge{
    display:inline-block;
    padding:8px 16px;
    background:#eff6ff;
    color:#2563EB;
    border-radius:999px;
    font-size:14px;
    font-weight:700;
    margin-bottom:20px;
    animation:fadeUp 1s ease;
}

.hero h1{
    font-family:'Poppins',sans-serif;
    font-size:58px;
    line-height:1.1;
    color:#0f172a;
    animation:fadeUp 1.2s ease;
}

.hero h1 span{
    color:#2563EB;
}

.hero p{
    margin-top:18px;
    color:#64748b;
    font-size:18px;
    line-height:1.8;
    animation:fadeUp 1.4s ease;
}

.hero-actions{
    margin-top:30px;
    display:flex;
    gap:16px;
    flex-wrap:wrap;
    animation:fadeUp 1.6s ease;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* =========================
   EXPLORE CARD
========================= */

.explore-card{
    background:white;
    border-radius:28px;
    padding:35px;
    border:1px solid rgba(15,23,42,0.08);
    box-shadow:0 24px 60px rgba(15,23,42,0.10);
    transition:.4s;
}

.explore-card:hover{
    transform:translateY(-8px);
}

.market-box{
    padding:24px;
    border-radius:22px;
    background:linear-gradient(135deg,#dbeafe,#ecfdf5);
    margin-bottom:18px;
}

.market-box h3{
    font-size:24px;
    margin-bottom:10px;
}

.market-box p{
    color:#475569;
    line-height:1.7;
}

.signal{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px;
    border-radius:16px;
    background:#f8fafc;
    margin-top:12px;
    transition:.3s;
}

.signal:hover{
    transform:translateX(8px);
    background:#eef4ff;
}

.signal strong{
    color:#22C55E;
}

/* =========================
   SECTION
========================= */

.section{
    max-width:1200px;
    margin:auto;
    padding:80px 20px;
}

.section-title{
    text-align:center;
    max-width:760px;
    margin:auto;
}

.section-title h2{
    font-family:'Poppins',sans-serif;
    font-size:44px;
    color:#0f172a;
}

.section-title p{
    margin-top:14px;
    color:#64748b;
    line-height:1.8;
}

/* =========================
   GRID CARDS
========================= */

.grid{
    margin-top:50px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:28px;
}

.card{
    background:white;
    padding:32px;
    border-radius:24px;
    border:1px solid rgba(15,23,42,0.08);
    box-shadow:0 10px 30px rgba(15,23,42,0.05);
    transition:.4s;
    position:relative;
    overflow:hidden;
}

.card::before{
    content:"";
    position:absolute;
    width:100%;
    height:5px;
    background:linear-gradient(90deg,#2563EB,#22C55E);
    top:0;
    left:0;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 24px 55px rgba(15,23,42,0.12);
}

.icon{
    width:60px;
    height:60px;
    border-radius:16px;
    background:#eff6ff;
    color:#2563EB;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    margin-bottom:20px;
    transition:.3s;
}

.card:hover .icon{
    transform:rotate(10deg) scale(1.1);
}

.card h3{
    font-size:24px;
    margin-bottom:12px;
}

.card p{
    color:#64748b;
    line-height:1.8;
}

/* =========================
   FOOTER
========================= */

footer{
    margin-top:90px;
    background:linear-gradient(180deg,#f8fafc,#eef4ff);
    border-top:1px solid rgba(15,23,42,0.08);
    padding:70px 20px 28px;
    position:relative;
    overflow:hidden;
}

.footer-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1fr;
    gap:40px;
}

.footer-logo{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:18px;
}

.footer-logo img{
    width:52px;
    height:52px;
    object-fit:contain;
}

.footer-logo-text{
    font-family:'Poppins',sans-serif;
    font-size:24px;
    font-weight:800;
    color:#0f172a;
}

.footer-logo-text span{
    color:#2563EB;
}

footer h3{
    color:#0f172a;
    margin-bottom:16px;
    font-size:20px;
    font-weight:800;
}

footer p{
    color:#64748b;
    line-height:1.8;
}

footer a{
    display:block;
    color:#64748b;
    line-height:1.8;
    margin-top:9px;
    transition:.3s;
    font-weight:500;
}

footer a:hover{
    color:#2563EB;
    transform:translateX(5px);
}

.copy{
    max-width:1200px;
    margin:45px auto 0;
    padding-top:22px;
    border-top:1px solid rgba(15,23,42,0.08);
    display:flex;
    justify-content:center;
    align-items:center;
    color:#94a3b8;
    font-size:14px;
}

/* =========================
   MOBILE
========================= */

@media(max-width:900px){

    .hero{
        grid-template-columns:1fr;
        text-align:center;
    }

    .hero-actions{
        justify-content:center;
    }

    .hero h1{
        font-size:42px;
    }

    .footer-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){

    .nav-menu{
        display:none;
    }

    .section-title h2{
        font-size:34px;
    }

    .footer-grid{
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-logo{
        justify-content:center;
    }
}