const CITIES={
'Bogota': {flag:'🇨🇴',country:'Colombia',visa:'Tourist 180d / DNV pending',rent:650,internet:45,coffee:2,meal:5,beer:2.5,cowork:80,speed:80,safety:5,temp:'14°C',dn:8.2,pros:'Great culture, low cost, improving infrastructure',cons:'Altitude, safety varies by zone'},
'Medellin': {flag:'🇨🇴',country:'Colombia',visa:'Tourist 180d / DNV pending',rent:700,internet:50,coffee:2,meal:5,beer:2.5,cowork:90,speed:90,safety:6,temp:'22°C',dn:8.8,pros:'Best year-round climate in Colombia, massive DN community',cons:'Gentrification raising costs, some unsafe areas'},
'Cartagena': {flag:'🇨🇴',country:'Colombia',visa:'Tourist 180d',rent:900,internet:40,coffee:2.5,meal:6,beer:3,cowork:100,speed:60,safety:6,temp:'30°C',dn:7.1,pros:'Beautiful colonial city, beach lifestyle',cons:'Hot and humid, tourist prices, limited coworking'},
'Valencia': {flag:'🇪🇸',country:'Spain',visa:'DNV (approved)',rent:1100,internet:80,coffee:1.5,meal:12,beer:2.5,cowork:150,speed:200,safety:8,temp:'18°C',dn:8.5,pros:'Great food, affordable for Spain, beach + city',cons:'Weather less warm than south'},
'Barcelona': {flag:'🇪🇸',country:'Spain',visa:'DNV (approved)',rent:1700,internet:80,coffee:2,meal:15,beer:3,cowork:200,speed:250,safety:7,temp:'17°C',dn:8.0,pros:'Architecture, nightlife, international crowd',cons:'Very expensive, tourist saturation'},
'Lisbon': {flag:'🇵🇹',country:'Portugal',visa:'D8 (Digital Nomad)',rent:1500,internet:70,coffee:1,meal:10,beer:2,cowork:180,speed:150,safety:9,temp:'17°C',dn:8.6,pros:'Safe, beautiful, great food, English widely spoken',cons:'Housing very expensive now, small city'},
'Porto': {flag:'🇵🇹',country:'Portugal',visa:'D8 (Digital Nomad)',rent:1100,internet:70,coffee:1,meal:9,beer:2,cowork:150,speed:130,safety:9,temp:'15°C',dn:8.3,pros:'More affordable than Lisbon, charming city',cons:'Smaller scene, Atlantic weather'},
'Athens': {flag:'🇬🇷',country:'Greece',visa:'Digital Nomad Visa',rent:900,internet:60,coffee:2,meal:10,beer:2.5,cowork:120,speed:80,safety:8,temp:'18°C',dn:7.8,pros:'History, food, 50% tax exemption for 7 years',cons:'Limited visa awareness, bureaucracy'},
'Panama City':{flag:'🇵🇦',country:'Panama',visa:'Short Stay (6mo)',rent:1200,internet:70,coffee:1.5,meal:8,beer:2.5,cowork:120,speed:100,safety:7,temp:'28°C',dn:7.5,pros:'USD economy, no-tax on foreign income, US infrastructure',cons:'Hot, expensive for region, limited culture scene'},
'Mexico City':{flag:'🇲🇽',country:'Mexico',visa:'Temporary Resident',rent:950,internet:65,coffee:2,meal:5,beer:2,cowork:100,speed:75,safety:6,temp:'18°C',dn:8.4,pros:'Largest nomad community in Americas, incredible food',cons:'Safety concerns in some zones'},
'Oaxaca': {flag:'🇲🇽',country:'Mexico',visa:'Temporary Resident',rent:700,internet:50,coffee:1.5,meal:4,beer:1.5,cowork:80,speed:50,safety:7,temp:'22°C',dn:7.9,pros:'Slower pace, amazing food culture, growing scene',cons:'Smaller, less flights, slower internet'},
'Bangkok': {flag:'🇹🇭',country:'Thailand',visa:'LTR 10yr / SETV',rent:800,internet:80,coffee:2,meal:3,beer:1.5,cowork:90,speed:100,safety:7,temp:'29°C',dn:8.1,pros:'Incredible food, cheap cost of living, great transport',cons:'Hot, air quality, visa restrictions for long stays'},
'Chiang Mai':{flag:'🇹🇭',country:'Thailand',visa:'LTR 10yr / SETV',rent:550,internet:70,coffee:1.5,meal:2.5,beer:1.5,cowork:70,speed:80,safety:8,temp:'26°C',dn:8.7,pros:'Invented the nomad lifestyle, very low cost, community',cons:'Landlocked, smoke season, visa hopping required'},
'Asuncion': {flag:'🇵🇾',country:'Paraguay',visa:'Residency easy',rent:500,internet:40,coffee:1,meal:4,beer:1.5,cowork:60,speed:50,safety:6,temp:'23°C',dn:7.0,pros:'Easiest permanent residency in SA, low taxes, low cost',cons:'Limited nomad scene, less infrastructure'},
'Santo Domingo':{flag:'🇩🇴',country:'Dominican Republic',visa:'Digital Nomad Visa',rent:800,internet:55,coffee:1.5,meal:6,beer:2,cowork:80,speed:60,safety:7,temp:'28°C',dn:7.2,pros:'Caribbean lifestyle, growing scene, easy visa',cons:'Infrastructure patchy outside capital'},
};
DN City Comparator
Compare any two cities across cost, internet, safety and lifestyle. Based on real research from the DN section.
vs