*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Segoe UI;
scroll-behavior:smooth;
}

body{
background:#0f172a;
color:white;
overflow-x:hidden;
}

/* Progress Bar */
#progressBar{
position:fixed;
top:0;
left:0;
height:5px;
background:#38bdf8;
width:0%;
z-index:9999;
}

/* NAVBAR */
header{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 50px;
position:fixed;
width:100%;
background:rgba(0,0,0,0.5);
backdrop-filter:blur(10px);
z-index:1000;
}

nav ul{
display:flex;
gap:30px;
list-style:none;
}

nav a, nav button{
color:white;
background:none;
border:none;
cursor:pointer;
}

.menu-toggle{
display:none;
cursor:pointer;
}

/* HERO */
.hero{
height:100vh;
position:relative;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
}

#bgVideo{
position:absolute;
width:100%;
height:100%;
object-fit:cover;
z-index:-2;
}

#particles-js{
position:absolute;
width:100%;
height:100%;
z-index:-1;
}

.hero-content{
background:rgba(0,0,0,0.6);
padding:40px;
border-radius:15px;
}

.services{
padding:100px 50px;
text-align:center;
}

.cards{
display:flex;
justify-content:center;
gap:40px;
}

.card{
background:#1e293b;
padding:40px;
border-radius:20px;
transition:0.4s;
}

.card:hover{
transform:scale(1.1) rotateY(15deg);
background:#334155;
}

/* API */
.api{
padding:100px 50px;
text-align:center;
}

/* MODAL */
.modal{
display:none;
position:fixed;
width:100%;
height:100%;
background:rgba(0,0,0,0.8);
justify-content:center;
align-items:center;
}

.modal-content{
background:white;
color:black;
padding:30px;
border-radius:10px;
display:flex;
flex-direction:column;
gap:15px;
}

.close{
cursor:pointer;
font-size:20px;
align-self:flex-end;
}

/* Responsive */
@media(max-width:768px){
nav ul{
display:none;
flex-direction:column;
background:#020617;
position:absolute;
top:70px;
right:20px;
padding:20px;
}
.menu-toggle{
display:block;
}
}