/* =========================
   RESET
========================= */

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

:root{

    --bg:#0d1117;
    --card:#161b22;
    --border:#30363d;

    --text:#f0f6fc;
    --muted:#8b949e;

    --primary:#58a6ff;
    --secondary:#1f6feb;

    --glass:rgba(255,255,255,.05);

    --shadow:
    0 10px 30px rgba(0,0,0,.25);
}

body{

    font-family:'Poppins',sans-serif;

    background:var(--bg);

    color:var(--text);

    overflow-x:hidden;

    line-height:1.7;
}

/* =========================
   BLUR BACKGROUND
========================= */

.blur{

    position:fixed;

    width:350px;
    height:350px;

    border-radius:50%;

    filter:blur(120px);

    z-index:-1;
}

.blur1{

    background:#2563eb;

    top:-100px;
    left:-100px;
}

.blur2{

    background:#9333ea;

    right:-100px;
    bottom:-100px;
}

/* =========================
   NAVBAR
========================= */

header{

    position:sticky;

    top:0;

    z-index:999;

    backdrop-filter:blur(15px);

    background:rgba(13,17,23,.75);

    border-bottom:1px solid var(--border);
}

.navbar{

    max-width:1200px;

    margin:auto;

    padding:18px 25px;

    display:flex;

    justify-content:space-between;

    align-items:center;
}

.logo{

    font-size:1.3rem;

    font-weight:700;
}

.logo span{

    color:var(--primary);
}

.nav-links{

    display:flex;

    gap:25px;

    list-style:none;
}

.nav-links a{

    color:var(--text);

    text-decoration:none;

    transition:.3s;
}

.nav-links a:hover{

    color:var(--primary);
}

/* =========================
   HERO
========================= */

.hero{

    min-height:90vh;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:100px 20px;

    text-align:center;
}

.hero-content{

    max-width:850px;
}

.badge{

    display:inline-block;

    padding:10px 18px;

    border:1px solid var(--border);

    background:var(--glass);

    border-radius:999px;

    margin-bottom:25px;

    font-size:.9rem;
}

.hero h1{

    font-size:4rem;

    line-height:1.1;

    margin-bottom:25px;
}

.hero h1 span{

    color:var(--primary);
}

.hero p{

    font-size:1.15rem;

    color:var(--muted);

    max-width:700px;

    margin:auto;
}

.hero-buttons{

    margin-top:35px;

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;
}

.btn{

    padding:14px 24px;

    border-radius:12px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;
}

.primary{

    background:var(--secondary);

    color:white;
}

.primary:hover{

    transform:translateY(-3px);
}

.secondary{

    border:1px solid var(--border);

    color:white;
}

.secondary:hover{

    background:var(--card);
}

/* =========================
   SECTION
========================= */

.section{

    max-width:1200px;

    margin:auto;

    padding:80px 20px;
}

.section-title{

    text-align:center;

    font-size:2.3rem;

    margin-bottom:50px;
}

/* =========================
   STATS
========================= */

.stats{

    max-width:1200px;

    margin:auto;

    padding:30px 20px;

    display:grid;

    gap:20px;

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

.stat-card{

    background:var(--glass);

    border:1px solid var(--border);

    backdrop-filter:blur(15px);

    border-radius:20px;

    text-align:center;

    padding:35px;

    transition:.4s;
}

.stat-card:hover{

    transform:translateY(-8px);
}

.stat-card h2{

    color:var(--primary);

    font-size:2.5rem;
}

/* =========================
   GLASS CARD
========================= */

.glass-card{

    background:var(--glass);

    border:1px solid var(--border);

    border-radius:20px;

    backdrop-filter:blur(12px);

    padding:30px;

    box-shadow:var(--shadow);
}

/* =========================
   TABLE
========================= */

.overview-table{

    border:1px solid var(--border);

    border-radius:20px;

    overflow:hidden;
}

.table-row{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);
}

.table-row div{

    padding:20px;

    border:1px solid var(--border);
}

.head{

    background:var(--card);

    font-weight:700;
}

/* =========================
   TOPICS
========================= */

.topics-grid{

    display:grid;

    gap:25px;

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

.topic-card{

    background:var(--glass);

    border:1px solid var(--border);

    border-radius:20px;

    padding:25px;

    transition:.4s;
}

.topic-card:hover{

    transform:translateY(-8px);
}

.topic-card h3{

    margin-bottom:15px;
}

.topic-card ul{

    padding-left:20px;
}

.topic-card li{

    margin-bottom:10px;
}

/* =========================
   CATEGORY
========================= */

.category-container{

    display:grid;

    gap:25px;

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

/* =========================
   TIMELINE
========================= */

.timeline{

    max-width:800px;

    margin:auto;

    position:relative;
}

.timeline::before{

    content:"";

    position:absolute;

    left:18px;

    width:3px;

    height:100%;

    background:var(--primary);
}

.timeline-item{

    margin-left:60px;

    margin-bottom:35px;

    background:var(--glass);

    border:1px solid var(--border);

    border-radius:16px;

    padding:20px;

    position:relative;
}

.timeline-item::before{

    content:"";

    position:absolute;

    width:18px;
    height:18px;

    background:var(--primary);

    border-radius:50%;

    left:-51px;

    top:24px;
}

/* =========================
   AUTHOR
========================= */

.author-card{

    max-width:500px;

    margin:auto;

    text-align:center;

    background:var(--glass);

    border:1px solid var(--border);

    border-radius:24px;

    padding:40px;
}

.avatar{

    width:100px;
    height:100px;

    margin:auto;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--secondary);

    font-size:2rem;

    font-weight:700;

    margin-bottom:20px;
}

.author-card h3{

    margin-bottom:15px;
}

/* =========================
   SOCIAL
========================= */

.social-grid{

    display:grid;

    gap:20px;

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

.social-card{

    text-decoration:none;

    color:white;

    background:var(--glass);

    border:1px solid var(--border);

    padding:25px;

    border-radius:18px;

    text-align:center;

    transition:.3s;
}

.social-card i{

    display:block;

    font-size:2rem;

    margin-bottom:12px;
}

.social-card:hover{

    transform:translateY(-8px);

    border-color:var(--primary);
}

/* =========================
   FOOTER
========================= */

footer{

    border-top:1px solid var(--border);

    text-align:center;

    padding:50px 20px;
}

footer h3{

    margin-bottom:10px;
}

footer p{

    color:var(--muted);
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .navbar{

        flex-direction:column;

        gap:15px;
    }

    .nav-links{

        flex-wrap:wrap;

        justify-content:center;
    }

    .hero h1{

        font-size:2.5rem;
    }

    .hero p{

        font-size:1rem;
    }

    .table-row{

        grid-template-columns:1fr;
    }

    .section-title{

        font-size:1.8rem;
    }

    .timeline-item{

        margin-left:45px;
    }
}

@media(max-width:480px){

    .hero{

        min-height:80vh;
    }

    .hero h1{

        font-size:2rem;
    }

    .btn{

        width:100%;
    }

    .hero-buttons{

        flex-direction:column;
    }
}
