/* ===========================
   NEXO AI - style.css
=========================== */

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

body{
    font-family:'Space Grotesk',sans-serif;
    background:#05070d;
    color:#fff;
    overflow-x:hidden;
}

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

.background{
    position:fixed;
    inset:0;
    background:
        radial-gradient(circle at top,#2b5cff22,transparent 40%),
        radial-gradient(circle at bottom,#6a00ff22,transparent 45%),
        #05070d;
    z-index:-1;
}

/* ===========================
Header
=========================== */

header{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    position:fixed;
    top:0;
    left:0;
    backdrop-filter:blur(15px);
    background:rgba(5,7,13,.6);
    border-bottom:1px solid #ffffff10;
    z-index:1000;
}

.logo span{
    font-size:30px;
    font-weight:700;
    color:#5c8dff;
}

.logo small{
    display:block;
    color:#888;
    font-size:12px;
}

nav{
    display:flex;
    gap:30px;
}

nav a{
    transition:.3s;
}

nav a:hover{
    color:#5c8dff;
}

.button{
    padding:12px 24px;
    border-radius:12px;
    background:#4f7cff;
    transition:.3s;
}

.button:hover{
    box-shadow:0 0 20px #4f7cff;
}

/* ===========================
Hero
=========================== */

.hero{
    min-height:100vh;
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    padding:150px 8%;
    gap:70px;
}

.badge{
    display:inline-block;
    padding:10px 20px;
    border-radius:30px;
    background:#ffffff10;
    margin-bottom:25px;
}

.hero h1{
    font-size:65px;
    line-height:1.1;
    margin-bottom:25px;
}

.hero p{
    color:#b5b5b5;
    font-size:18px;
    line-height:1.7;
    max-width:600px;
}

.hero-buttons{
    margin-top:40px;
    display:flex;
    gap:20px;
}

.primary,
.secondary{
    padding:15px 28px;
    border-radius:12px;
    transition:.3s;
}

.primary{
    background:#4f7cff;
}

.secondary{
    border:1px solid #4f7cff;
}

.primary:hover,
.secondary:hover{
    transform:translateY(-4px);
    box-shadow:0 0 20px #4f7cff;
}

/* ===========================
Hero Card
=========================== */

.hero-card{
    display:flex;
    justify-content:center;
}

.card{
    width:350px;
    padding:35px;
    border-radius:20px;
    background:#111521;
    border:1px solid #ffffff15;
    box-shadow:0 0 40px #4f7cff20;
}

.card span{
    color:#888;
}

.card h2{
    margin:10px 0 20px;
}

.card li{
    list-style:none;
    margin:15px 0;
}

/* ===========================
Sections
=========================== */

section{
    padding:90px 8%;
}

section h2{
    font-size:40px;
    margin-bottom:40px;
}

/* ===========================
Grid
=========================== */

.grid,
.product-grid,
.timeline,
.stats{
    display:grid;
    gap:25px;
}

.grid{
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}

.product-grid{
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}

.timeline{
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}

.stats{
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
}

/* ===========================
Cards
=========================== */

.feature,
.product,
.step,
.stat{
    padding:30px;
    background:#111521;
    border-radius:18px;
    border:1px solid #ffffff12;
    transition:.3s;
}

.feature:hover,
.product:hover,
.step:hover,
.stat:hover{
    transform:translateY(-8px);
    box-shadow:0 0 25px #4f7cff33;
}

.feature i{
    font-size:40px;
    color:#4f7cff;
    margin-bottom:20px;
}

.feature h3,
.product h3{
    margin-bottom:12px;
}

.feature p,
.product p,
.about p,
.stat p{
    color:#b6b6b6;
}

.active{
    border-color:#4f7cff;
}

/* ===========================
About
=========================== */

.about{
    text-align:center;
}

.about p{
    max-width:700px;
    margin:20px auto 40px;
}

/* ===========================
Stats
=========================== */

.stat{
    text-align:center;
}

.stat h2{
    font-size:45px;
    color:#5c8dff;
}

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

footer{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
    padding:60px 8%;
    border-top:1px solid #ffffff12;
}

footer h3{
    margin-bottom:15px;
}

footer p,
footer a{
    color:#9d9d9d;
    display:block;
    margin:8px 0;
}

footer a:hover{
    color:#5c8dff;
}

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

@media(max-width:950px){

.hero{
    grid-template-columns:1fr;
    text-align:center;
}

.hero p{
    margin:auto;
}

.hero-buttons{
    justify-content:center;
}

nav{
    display:none;
}

header{
    padding:20px;
}

.hero h1{
    font-size:45px;
}

}
