/* =========================
   ACADEMIE NEXAR V1
   STYLE PREMIUM
========================= */


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI", Arial, sans-serif;
}


html{
    scroll-behavior:smooth;
}


body{

    background:#050505;
    color:white;
    overflow-x:hidden;

}




/* =========================
   BACKGROUND ANIME
========================= */


.background{

    position:fixed;
    width:100%;
    height:100%;

    background:
    radial-gradient(circle at top left,#ff790033,transparent 40%),
    radial-gradient(circle at bottom right,#ff790022,transparent 35%);

    z-index:-1;

}



.background::before{

    content:"";

    position:absolute;

    width:300px;
    height:300px;

    background:#ff7900;

    filter:blur(150px);

    top:20%;
    left:10%;

    animation:moveGlow 8s infinite alternate;

}



@keyframes moveGlow{

from{
transform:translate(0,0);
}

to{
transform:translate(300px,150px);
}

}






/* =========================
   NAVBAR
========================= */


.navbar{

position:fixed;

top:0;
left:0;

width:100%;

padding:18px 40px;

background:#080808aa;

backdrop-filter:blur(15px);

border-bottom:1px solid #ff790055;

z-index:100;

}



.nav-container{

display:flex;

align-items:center;

justify-content:space-between;

}



.brand{

display:flex;

align-items:center;

gap:12px;

font-size:22px;

font-weight:700;

}



.brand img{

width:45px;

height:45px;

object-fit:contain;

}



.nav-links{

display:flex;

align-items:center;

gap:25px;

}



.nav-links a{

color:white;

text-decoration:none;

font-weight:600;

transition:.3s;

}



.nav-links a:hover{

color:#ff7900;

transform:translateY(-3px);

}





.discord-btn{

background:#ff7900;

padding:10px 18px;

border-radius:12px;

}



.discord-btn:hover{

background:white;

color:#ff7900!important;

}





/* =========================
   HERO
========================= */


.hero{

min-height:100vh;

display:flex;

align-items:center;

justify-content:center;

text-align:center;

padding:120px 20px 50px;

}



.hero-content{

max-width:900px;

}



.logo-box{

display:inline-block;

padding:20px;

border-radius:50%;

background:#111;

box-shadow:
0 0 30px #ff7900,
inset 0 0 30px #ff790033;

animation:floating 4s infinite ease-in-out;

}



.hero-logo{

width:180px;

height:180px;

object-fit:contain;

}



@keyframes floating{

50%{

transform:translateY(-15px);

}

}



.hero h1{

font-size:70px;

margin:30px 0;

}



.hero h1 span{

color:#ff7900;

}



.hero p{

font-size:22px;

color:#bbb;

}





/* BUTTONS */


.hero-buttons,
.cta-buttons{

margin-top:40px;

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

}



.primary-btn,
.secondary-btn{

padding:16px 30px;

border-radius:15px;

text-decoration:none;

font-weight:700;

transition:.35s;

}



.primary-btn{

background:#ff7900;

color:white;

box-shadow:0 0 20px #ff790077;

}



.primary-btn:hover{

transform:scale(1.08);

box-shadow:0 0 40px #ff7900;

}



.secondary-btn{

border:1px solid #ff7900;

color:#ff7900;

}



.secondary-btn:hover{

background:#ff7900;

color:white;

transform:scale(1.08);

}





/* =========================
   SECTIONS
========================= */


.section{

max-width:1200px;

margin:auto;

padding:90px 25px;

}



.section-title{

text-align:center;

margin-bottom:50px;

}



.section-title h2{

font-size:40px;

color:#ff7900;

margin-bottom:15px;

}



.section-title p{

color:#aaa;

font-size:18px;

}





/* =========================
   CARDS
========================= */


.features,
.services-grid,
.why-grid,
.stats{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:25px;

}



.feature-card,
.service-card,
.why-card,
.stat-card{


background:#111;

border:1px solid #ff790033;

border-radius:25px;

padding:35px;

transition:.4s;

position:relative;

overflow:hidden;

}



.feature-card::before,
.service-card::before,
.why-card::before{


content:"";

position:absolute;

width:100%;

height:3px;

background:#ff7900;

top:0;

left:-100%;

transition:.5s;

}



.feature-card:hover::before,
.service-card:hover::before,
.why-card:hover::before{

left:0;

}




.feature-card:hover,
.service-card:hover,
.why-card:hover,
.stat-card:hover{


transform:translateY(-12px);

box-shadow:0 0 35px #ff790044;

border-color:#ff7900;

}



.icon{

font-size:45px;

margin-bottom:20px;

}



.card h3,
.feature-card h3{

color:#ff7900;

margin-bottom:15px;

}





/* =========================
   STATS
========================= */


.stats-section{

padding:70px 25px;

max-width:1200px;

margin:auto;

}



.stat-card{

text-align:center;

}



.stat-card h2{

font-size:45px;

color:#ff7900;

}




/* =========================
   CTA
========================= */


.cta{

margin:80px auto;

max-width:1100px;

padding:60px 30px;

text-align:center;

background:#111;

border-radius:30px;

border:1px solid #ff7900;

box-shadow:0 0 40px #ff790033;

}



.cta h2{

font-size:40px;

color:#ff7900;

margin-bottom:20px;

}





/* =========================
   FOOTER
========================= */


footer{

text-align:center;

padding:50px 20px;

border-top:1px solid #222;

}



.footer-logo img{

width:90px;

margin-bottom:20px;

}



.footer-links{

margin:25px;

}



.footer-links a{

color:#ff7900;

margin:10px;

text-decoration:none;

}



.copyright{

color:#777;

margin-top:20px;

}






/* =========================
   ANIMATION SCROLL
========================= */


.reveal{

opacity:0;

transform:translateY(40px);

transition:1s;

}


.reveal.active{

opacity:1;

transform:none;

}







/* =========================
   MOBILE
========================= */


@media(max-width:800px){


.nav-container{

flex-direction:column;

gap:15px;

}


.nav-links{

flex-wrap:wrap;

justify-content:center;

}



.hero h1{

font-size:45px;

}



.hero-logo{

width:130px;

height:130px;

}



.section-title h2{

font-size:32px;

}



}