Check if a card number is valid.
Uses the Luhn algorithm to validate credit card number structure (not whether the card is active or has funds). Identifies the card network (Visa, Mastercard, Amex, Discover) from the IIN/BIN prefix.