/* ================================
   EMI / EMC Engineering Toolkit
   Developed by Abinash Ponraman
================================ */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#071426;
    color:#fff;
    overflow-x:hidden;
}

/* ===============================
   Animated Background
================================ */

.background{
    position:fixed;
    width:100%;
    height:100%;
    background:linear-gradient(135deg,#071426,#0b2447,#102d5d);
    z-index:-2;
}

.background span{
    position:absolute;
    border-radius:50%;
    background:rgba(0,212,255,.08);
    animation:float 15s infinite ease-in-out;
}

.background span:nth-child(1){
    width:350px;
    height:350px;
    left:-100px;
    top:120px;
}

.background span:nth-child(2){
    width:250px;
    height:250px;
    right:80px;
    top:80px;
}

.background span:nth-child(3){
    width:180px;
    height:180px;
    bottom:80px;
    left:15%;
}

.background span:nth-child(4){
    width:300px;
    height:300px;
    bottom:-120px;
    right:20%;
}

.background span:nth-child(5){
    width:120px;
    height:120px;
    top:45%;
    left:48%;
}

@keyframes float{

0%,100%{
transform:translateY(0px);
}

50%{
transform:translateY(-40px);
}

}

/* ===============================
Navbar
================================ */

header{

position:fixed;

top:0;

width:100%;

display:flex;

justify-content:space-between;

align-items:center;

padding:20px 8%;

background:rgba(255,255,255,.08);

backdrop-filter:blur(18px);

border-bottom:1px solid rgba(255,255,255,.1);

z-index:1000;

}

.logo{

display:flex;

align-items:center;

font-size:24px;

font-weight:700;

color:#00d4ff;

}

.logo-icon{

margin-right:10px;

font-size:28px;

}

nav{

display:flex;

gap:35px;

}

nav a{

color:white;

text-decoration:none;

font-weight:500;

transition:.3s;

}

nav a:hover{

color:#00d4ff;

}

/* ===============================
Hero
================================ */

.hero{

height:100vh;

display:flex;

justify-content:center;

align-items:center;

text-align:center;

padding:30px;

}

.hero-content{

max-width:900px;

}

.hero h1{

font-size:65px;

margin-bottom:25px;

line-height:1.2;

}

.hero p{

font-size:22px;

color:#d1d5db;

margin-bottom:45px;

}

/* ===============================
Button
================================ */

.start-btn{

display:inline-block;

padding:18px 45px;

background:#00d4ff;

color:#071426;

text-decoration:none;

font-size:18px;

font-weight:700;

border-radius:50px;

transition:.3s;

}

.start-btn:hover{

background:#00ffa3;

transform:translateY(-6px);

box-shadow:0 0 25px rgba(0,255,163,.6);

}

/* ===============================
Features
================================ */

.features{

padding:100px 8%;

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:35px;

}

.feature{

background:rgba(255,255,255,.08);

backdrop-filter:blur(15px);

padding:35px;

border-radius:20px;

border:1px solid rgba(255,255,255,.12);

transition:.3s;

}

.feature:hover{

transform:translateY(-10px);

border-color:#00d4ff;

box-shadow:0 0 30px rgba(0,212,255,.3);

}

.feature h2{

margin-bottom:20px;

color:#00d4ff;

}

.feature p{

line-height:1.8;

color:#d6d6d6;

}

/* ===============================
Footer
================================ */

footer{

padding:40px;

text-align:center;

border-top:1px solid rgba(255,255,255,.1);

color:#cbd5e1;

}

/* ===============================
Responsive
================================ */

@media(max-width:900px){

header{

flex-direction:column;

gap:20px;

}

nav{

flex-wrap:wrap;

justify-content:center;

}

.hero h1{

font-size:42px;

}

.hero p{

font-size:18px;

}

}

/*==============================
Animation
==============================*/

.feature{

opacity:0;

transform:translateY(40px);

transition:all .8s ease;

}

.feature.show{

opacity:1;

transform:translateY(0);

}