/* ==========================================
   Global Variables
========================================== */

:root{

    --bg:#0F172A;
    --surface:#1E293B;
    --surface-light:#243246;

    --primary:#3B82F6;
    --primary-hover:#2563EB;
    --primary-light:#60A5FA;

    --text:#F8FAFC;
    --muted:#94A3B8;

    --border:rgba(255,255,255,.08);

    --radius:22px;

    --transition:.35s ease;

    --max-width:1400px;

}

/* ==========================================
   Reset
========================================== */

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

html{
    scroll-behavior:smooth;
}

body{

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

    background:var(--bg);

    color:var(--text);

    overflow-x:hidden;

    line-height:1.6;

}

a{
    text-decoration:none;
    color:inherit;
}

img{
    display:block;
    max-width:100%;
}

.container{

    width:min(90%,var(--max-width));

    margin:auto;

}

/* ==========================================
   Navbar
========================================== */

.navbar{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px 10%;

    background:rgba(15,23,42,.80);

    backdrop-filter:blur(16px);

    border-bottom:1px solid var(--border);

    z-index:1000;

}

.logo{

    display:flex;

    align-items:center;

    gap:14px;

    font-size:28px;

    font-weight:800;

}

.logo img{

    width:64px;

    height:64px;

    object-fit:contain;

    transition:var(--transition);

}

.logo:hover img{

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

}

.logo span{

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--primary-light)
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}

nav{

    display:flex;

    gap:40px;

}

nav a{

    color:#CBD5E1;

    transition:var(--transition);

    position:relative;

}

nav a:hover{

    color:var(--primary);

}

nav a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:var(--transition);

}

nav a:hover::after{

    width:100%;

}

/* ==========================================
   Buttons
========================================== */

.btn-primary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:16px 34px;

    border-radius:14px;

    background:var(--primary);

    color:white;

    font-weight:600;

    transition:var(--transition);

}

.btn-primary:hover{

    background:var(--primary-hover);

    transform:translateY(-4px);

    box-shadow:

        0 18px 40px rgba(59,130,246,.35);

}

.btn-secondary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 34px;

    border-radius:14px;

    background:var(--surface);

    border:1px solid #334155;

    transition:var(--transition);

}

.btn-secondary:hover{

    transform:translateY(-4px);

    border-color:var(--primary);

    box-shadow:

        0 15px 35px rgba(59,130,246,.15);

}

/* ==========================================
   Section Title
========================================== */

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title span{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 22px;

    border-radius:999px;

    background:rgba(59,130,246,.12);

    border:1px solid rgba(59,130,246,.28);

    color:var(--primary);

    font-size:14px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:1.5px;

}

.section-title h2{

    font-size:clamp(2.4rem,4vw,3rem);

    margin:24px 0 18px;

}

.section-title p{

    max-width:720px;

    margin:auto;

    color:var(--muted);

    line-height:1.8;

}

/* ==========================================
   Badge
========================================== */

.badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:12px 22px;

    border-radius:999px;

    background:rgba(59,130,246,.12);

    border:1px solid rgba(59,130,246,.30);

    color:var(--primary-light);

    font-size:15px;

    font-weight:600;

}

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

.blur{

    position:fixed;

    border-radius:50%;

    filter:blur(120px);

    z-index:-1;

    pointer-events:none;

}

.blur-one{

    width:320px;

    height:320px;

    background:#2563EB;

    top:-80px;

    left:-80px;

    opacity:.25;

}

.blur-two{

    width:420px;

    height:420px;

    background:#60A5FA;

    right:-140px;

    bottom:-140px;

    opacity:.18;

}

/* ==========================================
   Footer
========================================== */

footer{

    margin-top:120px;

    background:#0B1120;

    border-top:1px solid var(--border);

}

.footer-content{

    max-width:var(--max-width);

    margin:auto;

    padding:70px 10%;

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:50px;

}

.footer-brand img{

    width:60px;

    margin-bottom:20px;

}

.footer-brand p{

    color:var(--muted);

    margin-top:15px;

    line-height:1.8;

}

.footer-links{

    display:flex;

    flex-direction:column;

    gap:14px;

}

.footer-links h4{

    margin-bottom:12px;

}

.footer-links a{

    color:var(--muted);

    transition:var(--transition);

}

.footer-links a:hover{

    color:var(--primary-light);

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.06);

    padding:25px;

    text-align:center;

    color:#64748B;

}

/* ==========================================
   Responsive
========================================== */

@media (max-width:900px){

    .navbar{

        padding:18px 8%;

    }

    .logo{

        font-size:22px;

    }

    .logo img{

        width:52px;

        height:52px;

    }

    nav{

        gap:20px;

        font-size:15px;

    }

    .footer-content{

        grid-template-columns:1fr;

        gap:40px;

        padding:60px 8%;

    }

}