/* ==================================================
   RESET
================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Segoe UI',sans-serif;

    background:#020617;

    color:#ffffff;

    overflow-x:hidden;
}

/* ==================================================
   VARIÁVEIS
================================================== */

:root{

    --bg:#020617;

    --card:#0f172a;

    --card-hover:#1e293b;

    --primary:#2563eb;

    --secondary:#06b6d4;

    --success:#10b981;

    --text:#ffffff;

    --glass:
    rgba(255,255,255,.05);

}

/* ==================================================
   CANVAS
================================================== */

#neural-network{

    position:fixed;

    inset:0;

    width:100%;

    height:100%;

    z-index:-2;

    background:
    radial-gradient(
        circle at center,
        #081225,
        #020617
    );
}

/* ==================================================
   PROGRESS BAR
================================================== */

#progress-bar{

    position:fixed;

    top:0;

    left:0;

    width:0;

    height:4px;

    background:
    linear-gradient(
        90deg,
        #2563eb,
        #06b6d4
    );

    z-index:9999;
}

/* ==================================================
   HEADER
================================================== */

header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:1000;

    backdrop-filter:blur(15px);

    background:
    rgba(2,6,23,.7);

    border-bottom:
    1px solid
    rgba(255,255,255,.05);

    padding:20px 60px;

    display:flex;

    justify-content:space-between;

    align-items:center;
}

.logo{

    font-size:1.5rem;

    font-weight:700;

    color:#fff;
}

nav ul{

    display:flex;

    gap:25px;

    list-style:none;
}

nav a{

    color:#fff;

    text-decoration:none;

    transition:.3s;
}

nav a:hover{

    color:#06b6d4;
}

/* ==================================================
   HERO
================================================== */

.hero{

    min-height:100vh;

    display:grid;

    grid-template-columns:
    1fr 500px;

    align-items:center;

    gap:80px;

    width:90%;

    max-width:1400px;

    margin:auto;
}

.badge{

    display:inline-block;

    padding:10px 20px;

    border-radius:30px;

    background:
    rgba(37,99,235,.15);

    border:
    1px solid
    rgba(37,99,235,.4);

    margin-bottom:20px;
}

.hero h1{

    font-size:4.5rem;

    margin-bottom:20px;
}

.hero h2{

    color:#06b6d4;

    min-height:50px;

    margin-bottom:20px;
}

.hero p{

    font-size:1.1rem;

    line-height:1.8;
}

.hero-buttons{

    margin-top:30px;

    display:flex;

    gap:20px;
}

.btn-primary{

    background:#2563eb;

    color:#fff;

    padding:15px 30px;

    border-radius:12px;

    text-decoration:none;

    transition:.4s;
}

.btn-primary:hover{

    transform:
    translateY(-5px);

    box-shadow:
    0 0 20px
    rgba(37,99,235,.5);
}

.btn-secondary{

    border:
    1px solid #2563eb;

    color:#fff;

    padding:15px 30px;

    border-radius:12px;

    text-decoration:none;
}

/* ==================================================
   FOTO PRINCIPAL
================================================== */

.hero-image{

    display:flex;

    justify-content:center;
}

.hero-image img{

    width:100%;

    max-width:450px;

    border-radius:30px;

    border:
    3px solid #2563eb;

    box-shadow:

    0 0 40px
    rgba(37,99,235,.4),

    0 0 80px
    rgba(37,99,235,.2);

    transition:.4s;
}

.hero-image img:hover{

    transform:scale(1.03);
}

/* ==================================================
   SEÇÕES
================================================== */

.section{

    padding:120px 8%;
}

.section-title{

    text-align:center;

    margin-bottom:60px;

    font-size:2.8rem;
}

/* ==================================================
   CARDS
================================================== */

.card-grid{

    display:grid;

    grid-template-columns:
    repeat(
    auto-fit,
    minmax(250px,1fr)
    );

    gap:30px;
}

.card{

    background:var(--glass);

    backdrop-filter:blur(12px);

    border-radius:20px;

    padding:40px;

    text-align:center;

    transition:.4s;

    border:
    1px solid
    rgba(255,255,255,.05);
}

.card:hover{

    transform:
    translateY(-10px);

    box-shadow:
    0 0 30px
    rgba(37,99,235,.2);
}

.card img{

    width:80px;

    height:80px;

    margin-bottom:20px;

    object-fit:contain;
}

/* ==================================================
   PROJETOS
================================================== */

.project-grid{

    display:grid;

    grid-template-columns:
    repeat(
    auto-fit,
    minmax(350px,1fr)
    );

    gap:40px;
}

.project-card{

    overflow:hidden;

    border-radius:20px;

    background:
    rgba(255,255,255,.05);

    backdrop-filter:blur(12px);

    transition:.4s;
}

.project-card:hover{

    transform:
    translateY(-10px);
}

.project-card img{

    width:100%;

    height:240px;

    object-fit:cover;
}

.project-content{

    padding:25px;
}

/* ==================================================
   ESTATÍSTICAS
================================================== */

.stats{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:30px;

    padding:80px;
}

.stat-box{

    text-align:center;
}

.counter{

    font-size:3rem;

    color:#06b6d4;

    font-weight:bold;
}

/* ==================================================
   CONTATO
================================================== */

.contact-grid{

    display:grid;

    grid-template-columns:
    repeat(
    auto-fit,
    minmax(250px,1fr)
    );

    gap:20px;
}

.contact-grid a{

    padding:25px;

    background:
    rgba(255,255,255,.05);

    border-radius:15px;

    text-decoration:none;

    color:#fff;

    text-align:center;

    transition:.4s;
}

.contact-grid a:hover{

    background:
    rgba(37,99,235,.2);
}

/* ==================================================
   WHATSAPP
================================================== */

.whatsapp-float{

    position:fixed;

    right:25px;

    bottom:25px;

    width:70px;

    height:70px;

    border-radius:50%;

    background:#25d366;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:2rem;

    text-decoration:none;

    box-shadow:
    0 0 30px
    rgba(37,211,102,.5);

    z-index:999;
}

/* ==================================================
   RESPONSIVO
================================================== */

@media(max-width:991px){

    .hero{

        grid-template-columns:1fr;

        text-align:center;

        padding-top:120px;
    }

    .hero-buttons{

        justify-content:center;
    }

    .hero h1{

        font-size:3rem;
    }

    .stats{

        grid-template-columns:
        repeat(2,1fr);
    }

    header{

        padding:20px;
    }
}

@media(max-width:768px){

    nav{

        display:none;
    }

    .stats{

        grid-template-columns:1fr;
    }

    .hero h1{

        font-size:2.5rem;
    }
}