A greeting with an unexpected stress
Latvian words usually carry stress on the first syllable, but labdien is an exception. Give the second part, dien, more prominence. Its two written vowels belong to one syllable, so avoid pronouncing them as two separate beats. Listening to a local speaker and copying the rhythm can be more helpful than trying to read the word as though it were English.
What the ending of sveiks tells you
The familiar forms sveiks and sveika reflect the grammatical gender of the listener. When friends greet a group, sveiki is a useful option. There is also a feminine plural form, sveikas. If you are new to the language, you can avoid making a grammatical choice altogether by using labdien during a polite daytime encounter.
A small connection with Italian
Latvian čau belongs to the family of greetings borrowed from Italian ciao. The letter č sounds like the first consonant in church, and au makes a single gliding vowel sound. Like its Italian relative, it can open or close a familiar conversation. That flexibility makes it useful among friends, but it does not replace a more polite greeting when meeting someone in a formal setting.