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

html{
    scroll-behavior:smooth;
}

body{
    font-family:-apple-system,BlinkMacSystemFont,sans-serif;
    background:#070707;
    color:white;
    overflow-x:hidden;
}

/* NAV */
nav{
    position:fixed;
    width:100%;
    top:0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    backdrop-filter:blur(20px);
    background:rgba(7,7,7,.75);
    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:700;
    letter-spacing:2px;
    animation:logoIntro 1s ease;
}

.logo img{
    width:42px;
    height:42px;
}

.nav-links{
    display:flex;
    gap:30px;
}

.nav-links a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

.nav-links a:hover{
    opacity:.6;
}

/* HERO */
.hero{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:0 20px;
}

.hero-content{
    max-width:900px;
    animation:heroFade 1.2s ease;
}

.hero h1{
    font-size:5rem;
    line-height:1.05;
    margin-bottom:25px;
}

.hero p{
    color:#b8b8b8;
    font-size:1.2rem;
    line-height:1.8;
}

.hero-buttons{
    margin-top:35px;
}

.btn{
    display:inline-block;
    padding:16px 32px;
    margin:8px;
    border-radius:12px;
    text-decoration:none;
    color:white;
    background:#8e8e8e;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-5px);
}

.secondary{
    background:#222;
}

/* SECTIONS */
section{
    padding:120px 10%;
}

/* ANIMATION BASE */
.reveal{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/* TITLES */
h2{
    text-align:center;
    font-size:3rem;
    margin-bottom:50px;
}

/* GRID */
.stats-grid,
.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

/* CARDS */
.stat-card,
.project-card{
    background:#111;
    border:1px solid #222;
    border-radius:20px;
    padding:35px;
    transition:.4s;
}

/* GLOW HOVER EFFECT */
.stat-card:hover,
.project-card:hover{
    transform:translateY(-12px) scale(1.02);
    border-color:#666;
    box-shadow:0 0 25px rgba(255,255,255,0.08);
}

.stat-card h3{
    font-size:2.3rem;
    color:#d6d6d6;
}

/* ABOUT */
.about-text{
    max-width:900px;
    margin:auto;
    text-align:center;
    color:#b8b8b8;
    line-height:2;
    font-size:1.1rem;
}

/* COMMUNITY */
.community-links{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
}

.community-links a{
    text-decoration:none;
    color:white;
    background:#111;
    padding:18px 28px;
    border-radius:12px;
    transition:.3s;
}

.community-links a:hover{
    transform:translateY(-5px);
    box-shadow:0 0 15px rgba(255,255,255,0.08);
}

/* FOOTER */
footer{
    padding:40px;
    text-align:center;
    color:#888;
}

/* ANIMATIONS */
@keyframes heroFade{
    from{opacity:0;transform:translateY(60px);}
    to{opacity:1;transform:translateY(0);}
}

@keyframes logoIntro{
    from{opacity:0;transform:translateX(-20px);}
    to{opacity:1;transform:translateX(0);}
}

/* MOBILE */
@media(max-width:768px){

    .nav-links{
        display:none;
    }

    .hero h1{
        font-size:2.7rem;
    }

    h2{
        font-size:2rem;
    }

    .hero p{
        font-size:1rem;
    }
}