/* --- GLOBAL & ROOT STYLES --- */
*, *::before, *::after { 
    box-sizing: border-box; 
}

:root { 
    --page-bg: #111827; 
    --card-bg: #1F2937; 
    --heading-color: #F0F3F6; 
    --text-color: #8B949E; 
    --accent-color: #10B981; 
    --border-color: #30363D; 
    --warning-color: #E53E3E; 
    --font-main: 'Inter', sans-serif, system-ui; 
}

html { 
    scroll-behavior: smooth; 
}

body { 
    background-color: var(--page-bg); 
    font-family: var(--font-main); 
    color: var(--text-color); 
    margin: 0; 
    padding: 0; 
    overflow-x: hidden; 
}

/* --- HEADER & NAVIGATION STYLES --- */
.main-header { 
    background-color: var(--page-bg); 
    border-bottom: 1px solid var(--border-color); 
    padding: 15px 20px; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}

.main-nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.nav-brand { 
    font-size: 20px; 
    font-weight: 700; 
    color: var(--heading-color); 
    text-decoration: none; 
}

.nav-menu { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}

.nav-menu ul { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    gap: 20px; 
}

.nav-menu a { 
    text-decoration: none; 
    color: var(--text-color); 
    font-weight: 500; 
    font-size: 16px; 
    padding: 10px 5px; 
    transition: color 0.2s ease; 
}

.nav-menu a:hover { 
    color: var(--heading-color); 
}

.nav-menu a.active { 
    color: var(--accent-color); 
    font-weight: 600; 
}

.login-btn { 
    background-color: var(--accent-color); 
    color: white !important; 
    font-weight: 600; 
    padding: 12px 24px; 
    border-radius: 8px; 
    transition: all 0.2s ease; 
    text-decoration: none;
}

.login-btn:hover { 
    background-color: #059669; 
    transform: translateY(-2px); 
}

.hamburger-btn { 
    display: none; 
    flex-direction: column; 
    justify-content: space-around; 
    width: 30px; 
    height: 24px; 
    background: transparent; 
    border: none; 
    cursor: pointer; 
    padding: 0; 
    z-index: 1001; 
}

.hamburger-btn span { 
    width: 30px; 
    height: 3px; 
    background-color: var(--heading-color); 
    border-radius: 3px; 
    transition: all 0.3s ease-in-out; 
}

/* --- FOOTER STYLES --- */
.main-footer { 
    background-color: #1c283a; 
    padding: 50px 20px; 
}

.footer-content { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 40px; 
    max-width: 1200px; 
    margin: 0 auto 40px auto; 
}

.footer-column h4 { 
    font-size: 18px; 
    color: var(--heading-color); 
    margin-bottom: 20px; 
}

.footer-column p { 
    font-size: 15px; 
    line-height: 1.7; 
    color: var(--text-color); 
    margin: 0 0 10px 0; 
}

.footer-column ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.footer-column ul li { 
    margin-bottom: 12px; 
}

.footer-column ul a { 
    text-decoration: none; 
    color: var(--text-color); 
    font-size: 15px; 
    transition: color 0.2s ease; 
}

.footer-column ul a:hover { 
    color: var(--accent-color); 
}

.app-store-buttons { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    align-items: flex-start; 
}

.app-store-btn { 
    display: inline-block; 
    transition: transform 0.2s ease; 
}

.app-store-btn:hover { 
    transform: scale(1.05); 
}

.app-store-btn img { 
    height: 40px; 
    width: auto; 
}

.footer-bottom { 
    border-top: 1px solid var(--border-color); 
    padding-top: 30px; 
    text-align: center; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.footer-bottom p { 
    margin: 5px 0; 
    font-size: 14px; 
    color: var(--text-color); 
    line-height: 1.6; 
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 850px) {
    .main-nav { 
        justify-content: space-between; 
    }
    .nav-brand { 
        flex-grow: 1; 
        text-align: center; 
        margin-left: 40px; 
    }
    .nav-menu { 
        position: fixed; 
        top: 0; 
        left: -100%; 
        background-color: var(--card-bg); 
        width: 250px; 
        height: 100vh; 
        padding-top: 80px; 
        transition: left 0.3s ease-in-out; 
        z-index: 1000; 
    }
    .nav-menu.is-active { 
        left: 0; 
    }
    .nav-menu ul { 
        flex-direction: column; 
        align-items: center; 
        gap: 30px; 
    }
    .hamburger-btn { 
        display: flex; 
        z-index: 1001; 
    }
    .hamburger-btn.is-active span:nth-child(1) { 
        transform: translateY(10.5px) rotate(45deg); 
    }
    .hamburger-btn.is-active span:nth-child(2) { 
        opacity: 0; 
    }
    .hamburger-btn.is-active span:nth-child(3) { 
        transform: translateY(-10.5px) rotate(-45deg); 
    }
}

@media (max-width: 768px) { 
    .footer-content { 
        text-align: center; 
    } 
    .app-store-buttons { 
        align-items: center; 
    } 
}