/* ==========================================================
   🧠 StackCheckMate Official Landing Page  
   Theme: Dark Red & Silver by Quick Red Tech  
   Author: Chisom Life Eke  
   Motive: Building Tools that Build Developers
   ========================================================== */

/* 🔧 RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", "Segoe UI", sans-serif;
}

/* 🌑 GLOBAL */
body {
    background-color: #0b0b0b;
    color: silver;
    text-align: center;
    overflow-x: hidden;
}

/* 🌍 NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 20, 20, 0.9);
    padding: 0.8rem 10%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 0, 0, 0.3);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    color: silver;
    text-shadow: 0 0 10px red;
}

.nav-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

/* 🔽 HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    transition: 0.3s ease;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: silver;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* 🧭 NAV LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    transition: 0.3s ease;
}

.nav-links a {
    color: silver;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: red;
}

/* 🏠 HERO */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #000, #1a1a1a, #8b0000);
    background-size: 300% 300%;
    animation: gradientShift 6s infinite alternate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 10% 4rem;
    margin-top: 70px;
}

.logo {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3rem;
    color: silver;
    text-shadow: 0 0 15px red;
}

.tagline {
    color: #ddd;
    margin: 1rem 0;
    font-size: 1.2rem;
}

.btn-download {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: red;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 0 10px red;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: silver;
    color: black;
    box-shadow: 0 0 20px white;
}

/* 📦 SECTIONS */
section {
    padding: 4rem 10%;
    text-align: center;
}

.about, .features, .download, .developer {
    background-color: #111;
    border-top: 2px solid red;
    border-bottom: 2px solid red;
}

/* 🔑 FEATURES */
.features ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.features li {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: silver;
}

/* 👨‍💻 DEVELOPER */
.developer h2 {
    color: red;
    margin-bottom: 1rem;
}

.dev-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 15px 0;
    box-shadow: 0 0 20px red;
}

.developer .bio {
    max-width: 600px;
    margin: 1rem auto;
    color: #ccc;
    line-height: 1.6;
}

/* ⚙️ FOOTER */
footer {
    text-align: center;
    padding: 2rem;
    background: #000;
    color: silver;
    font-size: 0.9rem;
}

footer a {
    color: red;
    text-decoration: none;
}

footer a:hover {
    color: silver;
}

/* 🎨 ANIMATION */
@keyframes gradientShift {
    from { background-position: left; }
    to { background-position: right; }
}

/* 📱 RESPONSIVE */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.4s ease;
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 0, 0, 0.3);
    }

    .nav-links.active {
        height: 200px;
        opacity: 1;
        padding-top: 15px;
    }

    .hamburger.active div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active div:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero h1 {
        font-size: 2.3rem;
    }
    .tagline {
        font-size: 1rem;
    }
    .btn-download {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .tagline {
        font-size: 0.9rem;
    }
    .btn-download {
        font-size: 0.9rem;
        padding: 8px 18px;
    }
    .dev-photo {
        width: 70px;
        height: 70px;
    }
}